You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
819 B
43 lines
819 B
{{ define "body" }}
|
|
|
|
<h1 id="post-headline">
|
|
{{ .Payload.Title }}
|
|
</h1>
|
|
|
|
{{ if ne .Payload.Description "" }}
|
|
<p>
|
|
<em>- {{ .Payload.Description }}</em>
|
|
</p>
|
|
{{ end }}
|
|
|
|
<hr/>
|
|
|
|
{{ .Payload.Body }}
|
|
|
|
<p><em>
|
|
Published {{ DateTimeFormat .Payload.PublishedAt }}
|
|
</em></p>
|
|
|
|
{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}
|
|
<hr/>
|
|
<p><em>
|
|
This post is part of a series.<br/>
|
|
|
|
{{ if .Payload.SeriesPrevious }}
|
|
Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a>
|
|
{{ end }}
|
|
|
|
{{ if (and .Payload.SeriesNext .Payload.SeriesPrevious) }}
|
|
</br>
|
|
{{ end }}
|
|
|
|
{{ if .Payload.SeriesNext }}
|
|
Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br>
|
|
{{ end }}
|
|
|
|
</em></p>
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ template "base.html" . }}
|
|
|