aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/metadata.html
blob: aec5e8c154358bf62226a319d6b900357b058500fd4c5c680fec67e4463c4489 (plain)
1
2
3
4
5
6
7
8
9
{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }}
<article>
  <header>
    <p>{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read<br>
    <a href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p>
  </header>
</article>
{{ end }}