sandvich.xyz/layouts/_default/list.html

27 lines
698 B
HTML

{{ partial "head.html" . }}
{{ partial "header.html" }}
<div class="root">
<div class="content">
<h1>
{{ if eq .Section "tags" }}
Posts tagged with #
{{- end }}
{{- .Title }}
</h1>
{{ if eq .Section "tools" }}
{{ range .Pages }}
{{ partial "tool.html" . }}
{{ end }}
{{ else if eq .Section "music" }}
{{ range .Pages }}
{{ partial "music.html" . }}
{{ end }}
{{ else }}
{{ partial "post-list.html" .Pages }}
{{ end }}
</div>
</div>
<ul class="shortlist links">
{{ partial "links.html" }}
</ul>