move published date to bottom of post

This commit is contained in:
Brian Picciano 2022-08-16 22:29:04 -06:00
parent bb6c715a0e
commit a125226825

View File

@ -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>