hugo-battheme/layouts/_default/list.html

20 lines
466 B
HTML
Raw Normal View History

2022-04-09 16:00:33 +00:00
{{ 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>
2022-04-09 22:15:21 +00:00
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</a>
2022-04-09 16:00:33 +00:00
</li>
{{ end }}
</ul>
</main>
{{ end }}