2024-06-05 20:43:19 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<h2>{{ .Title }}</h2>
|
2024-06-06 10:24:56 +02:00
|
|
|
<header id="links">
|
2024-06-05 20:43:19 +02:00
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
{{ range .Page.Params.links -}}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .url }}" title="{{ .name }}">{{- .name -}}</a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2024-06-06 10:24:56 +02:00
|
|
|
</header>
|
2024-06-05 20:43:19 +02:00
|
|
|
|
|
|
|
{{ .Content }}
|
2024-06-05 21:43:47 +02:00
|
|
|
|
|
|
|
{{ if compare.Gt .Pages.Len 0 }}
|
|
|
|
<h3>{{ i18n "posts.title" }}</h3>
|
|
|
|
<ul id="posts">
|
|
|
|
{{- range .Pages }}
|
|
|
|
{{ .Render "li" }}
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
|
2024-06-05 20:43:19 +02:00
|
|
|
{{ end }}
|