summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:29:04 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:29:04 -0600
commita125226825eac13cf30f512068b8bd0a50c0111a (patch)
treeb7c1f71e4c42245b63c08c31a9aef4e335c789e1
parentbb6c715a0ec9470c2cd5fdf5f86a2bf0b2c41f39 (diff)
move published date to bottom of post
-rw-r--r--srv/src/http/tpl/post.html14
1 files 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" }}
-<p><em>
- Published {{ DateTimeFormat .Payload.PublishedAt }}
- {{ if not .Payload.LastUpdatedAt.IsZero }}
- <br/>Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }}
- {{ end }}
-</em></p>
-
<h1 id="post-headline">
{{ .Payload.Title }}
</h1>
@@ -19,6 +12,13 @@
{{ .Payload.Body }}
+<p><em>
+ Published {{ DateTimeFormat .Payload.PublishedAt }}
+ {{ if not .Payload.LastUpdatedAt.IsZero }}
+ <br/>Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }}
+ {{ end }}
+</em></p>
+
{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}
<hr/>
<p><em>