15 lines
273 B
HTML
15 lines
273 B
HTML
{{ define "main" }}
|
|
<main>
|
|
{{ if or .Title .Content }}
|
|
<div>
|
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ range .Paginator.Pages }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
</main>
|
|
{{ end }}
|