From a125226825eac13cf30f512068b8bd0a50c0111a Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 16 Aug 2022 22:29:04 -0600 Subject: move published date to bottom of post --- srv/src/http/tpl/post.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srv/src/http/tpl/post.html b/srv/src/http/tpl/post.html index c7ffc30..23500eb 100644 --- a/srv/src/http/tpl/post.html +++ b/srv/src/http/tpl/post.html @@ -1,12 +1,5 @@ {{ define "body" }} -

- Published {{ DateTimeFormat .Payload.PublishedAt }} - {{ if not .Payload.LastUpdatedAt.IsZero }} -
Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }} - {{ end }} -

-

{{ .Payload.Title }}

@@ -19,6 +12,13 @@ {{ .Payload.Body }} +

+ Published {{ DateTimeFormat .Payload.PublishedAt }} + {{ if not .Payload.LastUpdatedAt.IsZero }} +
Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }} + {{ end }} +

+ {{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}

-- cgit v1.2.3