blob: 9a8b0a3e56f6828abb306a70b0035d6018fedc24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{ range where .Pages.ByPublishDate.Reverse "Section" "post" }}
<p>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ $customDateFormat := "January 2, 2006" }}
{{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
<br>
<small class="text-secondary">{{ .PublishDate.Format $customDateFormat }}</small>
{{ range .Params.tags }}
<small><code><a href="{{ "/tags/" | absURL }}{{ . | urlize }}">{{ . }}</a></code></small>
{{ end }}
{{ if eq .Site.Params.showPostSummary true }}
<br>
{{ .Summary }}
{{ end }}
</p>
{{ end }}
|