github.io/layouts/_default/list.html

19 lines
330 B
HTML
Raw Normal View History

{{ define "main" }}
2022-03-30 15:06:21 +00:00
<article>
<header>
<h1>{{ .Title }}</h1>
2022-03-30 15:06:21 +00:00
</header>
{{ .Content }}
{{if gt (len .Pages) 0}}
<br />
<h3>Posts</h3>
<ul class='contents'>
2022-03-30 15:06:21 +00:00
{{ range .Pages }}
2022-08-18 13:41:11 +00:00
<li><a href='{{ .RelPermalink }}'>
{{ partial "summary.html" . }}
</a></li>
2022-03-30 15:06:21 +00:00
{{ end }}
</ul>
{{ end }}
2022-03-30 15:06:21 +00:00
</article>
{{ end }}