From f365b0975778984281b69d66150ee2d026e2613b Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 19 Aug 2022 21:47:38 -0600 Subject: implemented draft publishing and removed New Posts link/capability --- srv/src/http/tpl/edit-post.html | 20 ++++++++++++++++++-- srv/src/http/tpl/posts.html | 6 ------ 2 files changed, 18 insertions(+), 8 deletions(-) (limited to 'srv/src/http/tpl') diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index ea1f2c1..ea07680 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -90,6 +90,7 @@

+ - {{ else if eq .Payload.Post.ID "" }} - + + + + + + + {{ else }} {{ end }} diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html index 946c713..5f75168 100644 --- a/srv/src/http/tpl/posts.html +++ b/srv/src/http/tpl/posts.html @@ -2,12 +2,6 @@

Posts

-

- - New Post - -

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

< < Previous Page -- cgit v1.2.3