sandvich.xyz/layouts/_default/list.html

27 lines
698 B
HTML
Raw Permalink Normal View History

2022-09-12 19:20:07 -07:00
{{ partial "head.html" . }}
{{ partial "header.html" }}
<div class="root">
<div class="content">
<h1>
2022-10-30 19:47:39 -07:00
{{ if eq .Section "tags" }}
Posts tagged with #
{{- end }}
{{- .Title }}
2022-09-12 19:20:07 -07:00
</h1>
2022-10-30 19:47:39 -07:00
{{ if eq .Section "tools" }}
{{ range .Pages }}
{{ partial "tool.html" . }}
{{ end }}
2024-03-09 17:31:25 -08:00
{{ else if eq .Section "music" }}
{{ range .Pages }}
{{ partial "music.html" . }}
{{ end }}
2022-10-30 19:47:39 -07:00
{{ else }}
{{ partial "post-list.html" .Pages }}
{{ end }}
2022-09-12 19:20:07 -07:00
</div>
</div>
2022-10-30 19:47:39 -07:00
<ul class="shortlist links">
{{ partial "links.html" }}
</ul>