15 lines
394 B
HTML
15 lines
394 B
HTML
{{ define "main" -}}
|
|
<!-- category.html -->
|
|
<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 }}
|