pi-www-theme-soho/layouts/_default/category.html

14 lines
370 B
HTML

{{ define "main" -}}
<ul class="posts">
<h1>Category: {{ .Title }}</h1>
{{ range .Data.Pages -}}
<li>
<div class="flex">
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "2. 1. 2006" }}</time>
</div>
</li>
{{- end }}
</ul>
{{- end }}