From 4f01edb9230f58ff84b0dd892c931ec8ac9aad55 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 13 Sep 2022 12:56:08 +0200 Subject: move src out of srv, clean up default.nix and Makefile --- src/http/tpl/draft-posts.html | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/http/tpl/draft-posts.html (limited to 'src/http/tpl/draft-posts.html') diff --git a/src/http/tpl/draft-posts.html b/src/http/tpl/draft-posts.html new file mode 100644 index 0000000..53261b9 --- /dev/null +++ b/src/http/tpl/draft-posts.html @@ -0,0 +1,50 @@ +{{ define "body" }} + +

+ Back to Admin +

+ +

Drafts

+ +

+ New Draft +

+ + {{ if ge .Payload.PrevPage 0 }} +

+ < < Previous Page +

+ {{ end }} + + + + {{ range .Payload.Posts }} + + + + + + {{ end }} + +
{{ .Title }} + + Edit + + +
+ +
+
+ + {{ if ge .Payload.NextPage 0 }} +

+ Next Page > > +

+ {{ end }} + +{{ end }} + +{{ template "base.html" . }} -- cgit v1.2.3