summaryrefslogtreecommitdiff
path: root/layouts/partials/metadata.html
blob: 35385a13bffb63f489cd3c2b568a99f2d66625afba0af669e02e5fb21f6c00e7 (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 }}