From 09acb111a2b22f5794541fac175b024dd0f9100e Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 11:17:31 -0600 Subject: Rename api package to http --- srv/src/api/tpl/posts.html | 61 ---------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 srv/src/api/tpl/posts.html (limited to 'srv/src/api/tpl/posts.html') diff --git a/srv/src/api/tpl/posts.html b/srv/src/api/tpl/posts.html deleted file mode 100644 index 714cf07..0000000 --- a/srv/src/api/tpl/posts.html +++ /dev/null @@ -1,61 +0,0 @@ -{{ define "posts-nextprev" }} - - {{ if or (ge .Payload.PrevPage 0) (ge .Payload.NextPage 0) }} -
- - {{ if ge .Payload.PrevPage 0 }} - Newer - {{ end }} - - {{ if ge .Payload.NextPage 0 }} - Older - {{ end }} - -
- {{ end }} - -{{ end }} - -{{ define "body" }} - - {{ $csrfFormInput := .CSRFFormInput }} - - -

- - - -

- - {{ template "posts-nextprev" . }} - - - - {{ range .Payload.Posts }} - - - - - - - {{ end }} - -
{{ .PublishedAt }}{{ .Title }} - - - - -
- {{ $csrfFormInput }} - -
-
- - {{ template "posts-nextprev" . }} - -{{ end }} - -{{ template "base.html" . }} -- cgit v1.2.3