bop-hugo-theme/layouts/_default/list.html

16 lines
288 B
HTML

{{ define "main" }}
<section>
<h2>{{ .Title }}</h2>
{{ with .Content }}
{{ . }}
{{ end }}
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}