adding the news, man

This commit is contained in:
vfs committed 2025-10-05 18:48:53 +02:00
1 parent c3b570dd24
commit 673fe6cd69
4 files changed
+67 -14

No files matched your search

+11 -10
View File
@@ -22,17 +22,18 @@
<nav>
<a href="/"><h1 class="maintitle">Alfheim</h1></a>
<div class="navbuttons">
{{if not .ActiveSubscription}}
<a href="/subscribe"><div class="loginbutton"><strong>Subscribe</strong></div></a>
{{end}}
<a href="/news"><div class="alfheimbutton"><strong>News</strong></div></a>
{{if not .ActiveSubscription}}
<a href="/subscribe"><div class="alfheimbutton"><strong>Subscribe</strong></div></a>
{{end}}
{{if .AuthenticatedUser}}
<a href="/account"><div class="loginbutton"><strong>Account</strong></div></a>
<a href="/logout"><div class="loginbutton"><strong>Log out</strong></div></a>
{{else}}
<a href="/login"><div class="loginbutton"><strong>Log in</strong><img src="/static/login_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt=""/></div></a>
<a href="/register"><div class="loginbutton"><strong>Register</strong></div></a>
{{end}}
{{if .AuthenticatedUser}}
<a href="/account"><div class="alfheimbutton"><strong>Account</strong></div></a>
<a href="/logout"><div class="alfheimbutton"><strong>Log out</strong></div></a>
{{else}}
<a href="/login"><div class="alfheimbutton"><strong>Log in</strong><img src="/static/login_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt=""/></div></a>
<a href="/register"><div class="alfheimbutton"><strong>Register</strong></div></a>
{{end}}
</div>
</nav>
</header>