32bit.cafe/layouts/news/list.html

12 lines
274 B
HTML

{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
{{ range .Pages }}
<section>
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<h3>{{ .PublishDate.Format "January 02, 2006" }}</h3>
{{ .Content }}
</section>
{{ end }}
{{ end }}