blob: 77907b217430e4960fd9bc465ff57cfc381bf874 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{ 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>
{{ partial "tags" . }}
{{ if eq .Site.Params.showPostSummary true }}
<br>
{{ .Summary }}
{{ end }}
</p>
{{ end }}
|