website/layouts/index.html

10 lines
336 B
HTML

{{ partial "head.html" . }}
{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
{{- if .OutputFormats.Get "html" }}
<div class="list p-3 rounded-3">
<a href="{{.Permalink}}">{{.Title}}</a>
<span><br>{{.Date.Format "January 2, 2006"}}</span>
</div>
{{ end }}
{{ end }}
{{ partial "foot.html" . }}