personal-website/layouts/_default/list.html

12 lines
321 B
HTML
Raw Normal View History

2023-09-03 20:29:35 +02:00
{{ define "page" }}
<content>
<h1>{{ .Title }}</h1>
{{ range .Site.Sections }}
<div class="section-page-item">
<h2>{{ .Title }}</a></h2>
<div class="summary">{{ or .Params.Description .Summary }}</div>
<a href="{{ .RelPermalink }}">Read more</a>
</div>
{{ end }}
</content>
{{ end }}