hugo-battheme/layouts/_default/list.html

19 lines
466 B
HTML

{{ define "main" }}
<main>
<article>
<header>
<h1>List - {{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
{{ range .Pages }}
<li>
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</a>
</li>
{{ end }}
</ul>
</main>
{{ end }}