11 lines
193 B
HTML
11 lines
193 B
HTML
{{ define "main" }}
|
|
<h2>{{ .Title }}</h2>
|
|
{{ .Content }}
|
|
|
|
<ul class="post-list">
|
|
{{ range sort .Pages "Title" }}
|
|
{{ partial "post.html" (dict "page" .) }}
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|