add templates for kontor-gin
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s

This commit is contained in:
Thomas Peetz
2026-09-21 19:55:46 +02:00
parent 652aa3005b
commit f2f4a0aaf6
28 changed files with 787 additions and 41 deletions
+12
View File
@@ -0,0 +1,12 @@
{{ define "navbar.tmpl" }}
<div class="topnav">
<a href="/">Kontor</a>
<a href="/comic/comics">Comics</a>
<a href="/media/files">Media</a>
{{ if .user }}
<a style="float:right" href="/auth/logout/">Logout</a></li>
{{ else }}
<a style="float:right" href="/auth/login/">Login</a></li>
{{ end }}
</div>
{{ end }}