2022-05-13 17:47:29 +00:00
|
|
|
{{ define "body" }}
|
|
|
|
|
|
|
|
<header id="post-header">
|
|
|
|
<h1 id="post-headline">
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ .Payload.Title }}
|
2022-05-13 17:47:29 +00:00
|
|
|
</h1>
|
|
|
|
<div class="light">
|
2022-05-20 16:13:46 +00:00
|
|
|
{{ DateTimeFormat .Payload.PublishedAt }}
|
2022-05-13 17:47:29 +00:00
|
|
|
•
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if not .Payload.LastUpdatedAt.IsZero }}
|
2022-05-20 16:13:46 +00:00
|
|
|
(Updated {{ DateTimeFormat .Payload.LastUpdatedAt }})
|
2022-05-13 17:47:29 +00:00
|
|
|
•
|
|
|
|
{{ end }}
|
2022-05-17 21:54:20 +00:00
|
|
|
<em>{{ .Payload.Description }}</em>
|
2022-05-13 17:47:29 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}
|
2022-05-13 17:47:29 +00:00
|
|
|
<p class="light"><em>
|
|
|
|
This post is part of a series:<br/>
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if .Payload.SeriesPrevious }}
|
2022-05-20 14:36:52 +00:00
|
|
|
Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></br>
|
2022-05-13 17:47:29 +00:00
|
|
|
{{ end }}
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if .Payload.SeriesNext }}
|
2022-05-20 14:36:52 +00:00
|
|
|
Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br>
|
2022-05-13 17:47:29 +00:00
|
|
|
{{ end }}
|
|
|
|
</em></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<div id="post-content">
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ .Payload.Body }}
|
2022-05-13 17:47:29 +00:00
|
|
|
</div>
|
|
|
|
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}
|
2022-05-13 17:47:29 +00:00
|
|
|
<p class="light"><em>
|
|
|
|
If you liked this post, consider checking out other posts in the series:<br/>
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if .Payload.SeriesPrevious }}
|
2022-05-20 14:36:52 +00:00
|
|
|
Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></br>
|
2022-05-13 17:47:29 +00:00
|
|
|
{{ end }}
|
2022-05-17 21:54:20 +00:00
|
|
|
{{ if .Payload.SeriesNext }}
|
2022-05-20 14:36:52 +00:00
|
|
|
Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br>
|
2022-05-13 17:47:29 +00:00
|
|
|
{{ end }}
|
|
|
|
</em></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ template "base.html" . }}
|