sandvich.xyz/layouts/_default/list.html

23 lines
558 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 }}
{{ partial "post-list.html" .Pages }}
{{ end }}
</div>
</div>
<ul class="shortlist links">
{{ partial "links.html" }}
</ul>