2023-04-24 03:16:28 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<div id="layout">
|
|
|
|
<article>
|
|
|
|
|
|
|
|
{{ partial "content.header.html" . }}
|
|
|
|
|
2023-04-25 16:19:09 +02:00
|
|
|
{{ with .Content }}
|
|
|
|
<section>
|
|
|
|
{{ . }}
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
|
2023-04-24 03:16:28 +02:00
|
|
|
<section class="list-page">
|
2023-04-25 19:14:27 +02:00
|
|
|
|
|
|
|
<!-- preambles -->
|
|
|
|
|
2023-05-25 13:03:42 +02:00
|
|
|
{{- if .RegularPages -}}
|
2023-04-25 19:14:27 +02:00
|
|
|
<ul>
|
2023-05-25 13:03:42 +02:00
|
|
|
{{ range .RegularPages.ByTitle }}
|
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}{{- if .Draft -}} :: Draft{{- end -}}</a></li>
|
2023-04-25 19:14:27 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-05-25 13:03:42 +02:00
|
|
|
{{- end -}}
|
2023-04-25 19:14:27 +02:00
|
|
|
|
|
|
|
<!-- sub categories -->
|
|
|
|
|
2023-05-25 13:03:42 +02:00
|
|
|
{{- if .Sections -}}
|
2023-04-24 03:16:28 +02:00
|
|
|
<ul>
|
2023-05-25 13:03:42 +02:00
|
|
|
{{ range .Sections.ByTitle }}
|
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}{{- if .Draft -}} :: Draft{{- end -}}</a></li>
|
2023-04-24 03:16:28 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-05-25 13:03:42 +02:00
|
|
|
{{- end -}}
|
|
|
|
|
2023-04-24 03:16:28 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|
2023-04-29 06:18:01 +02:00
|
|
|
{{ partial "nav.html" . }}
|
2023-04-24 03:16:28 +02:00
|
|
|
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ end }}
|