20 lines
358 B
HTML
20 lines
358 B
HTML
{{ define "main" }}
|
|
<article>
|
|
<header>
|
|
<h1>{{ .Title | humanize }}</h1>
|
|
</header>
|
|
{{ .Content }}
|
|
{{if gt (len .Pages) 0}}
|
|
<br />
|
|
<h3>Posts</h3>
|
|
<ul class='contents'>
|
|
{{ range .Pages }}
|
|
<br />
|
|
<a href='{{ .RelPermalink }}'>
|
|
<li>{{ partial "summary.html" . }}</li>
|
|
</a>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</article>
|
|
{{ end }} |