From 85920b8c7a2696115d1f77c046f48f6f00d639f1 Mon Sep 17 00:00:00 2001 From: ivar Date: Tue, 7 Apr 2026 00:23:24 +0200 Subject: Init --- templates/admin/list.html | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 templates/admin/list.html (limited to 'templates/admin/list.html') diff --git a/templates/admin/list.html b/templates/admin/list.html new file mode 100644 index 0000000..8e488b6 --- /dev/null +++ b/templates/admin/list.html @@ -0,0 +1,50 @@ +{{define "list-content"}} +{{if .Posts}} + + + + + + + + + + + + {{range .Posts}} + + + + + + + + {{end}} + +
TittelDatoEmneStatus
{{.Title}}{{.Date}} + {{if .Tags}} +
+ {{range .Tags}}{{.}} {{end}} +
+ {{end}} +
+ {{if .Draft}}Ikke publisert{{else}}Publisert{{end}} + +
+ Rediger + +
+
+{{else}} +
Ingen innlegg
+{{end}} + + +{{end}} \ No newline at end of file -- cgit v1.3