Initial sessions implementation
This commit is contained in:
@ -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}}
|
||||
|
Reference in New Issue
Block a user