Initial sessions implementation

This commit is contained in:
2024-03-03 09:16:49 +01:00
parent 655992c8b2
commit e5bdc235b6
12 changed files with 267 additions and 103 deletions

View File

@ -2,6 +2,10 @@
<h2>Hub</h2>
<button hx-post="/write-article/" hx-target="#page-content">Artikel schreiben</button>
<button hx-post="/rss/" hx-target="#page-content">RSS Feed</button>
{{if eq . 0}}
<button hx-post="/create-user/" hx-target="#page-content">Benutzer hinzufügen</button>
{{end}}
{{if lt . 2}}
<button hx-post="/unpublished-articles/" hx-target="#page-content">Unveröffentlichte Artikel</button>
{{end}}
{{end}}