alejandr0angul0.dev/themes/alejandro-angulo/layouts/index.html
2021-10-01 17:46:00 -07:00

10 lines
278 B
HTML

{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages.ByPublishDate.Reverse "Type" "posts") }}
{{ range $paginator.Pages}}
<p>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "metadata.html" . }}
</p>
{{ end }}
{{ end }}