Hide 'Get Premium' button if user is premium

This commit is contained in:
2024-12-04 11:33:13 +01:00
parent c110ccd35e
commit 3bf2701f2c

View File

@@ -4,7 +4,9 @@
</button>
<nav id="page_navigation" class="page_navigation">
<a href="/home#">Home</a>
<a href="/home#pro">Get Premium</a>
{{if eq .User.Subscription.ID ""}}
<a href="/home#pro">Get Premium</a>
{{end}}
<hr />
{{if .Authenticated}}
<a href="/user">{{.User.Username}}</a>