From bb6c715a0ec9470c2cd5fdf5f86a2bf0b2c41f39 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 16 Aug 2022 22:24:39 -0600 Subject: more polish, use table on index page --- srv/src/http/tpl/edit-post.html | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'srv/src/http/tpl/edit-post.html') diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index 9376f2e..5db0600 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -1,16 +1,5 @@ {{ define "body" }} -{{ if gt (len .Payload.Tags) 0 }} -

- Existing tags: - - {{ range $i, $tag := .Payload.Tags }} - {{ if ne $i 0 }} {{ end }}{{ $tag }} - {{ end }} - -

-{{ end }} -
@@ -34,9 +23,7 @@ - + -- cgit v1.2.3
-

Tags (space separated)

-
Tags (space separated) + + {{ if gt (len .Payload.Tags) 0 }} + + Existing tags: + {{ range $i, $tag := .Payload.Tags }} + {{ if ne $i 0 }} {{ end }}{{ $tag }} + {{ end }} + + {{ end }}