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

15 lines
394 B
HTML
Raw Permalink Normal View History

2020-05-25 22:47:43 +03:00
{{ define "main" -}}
2022-10-07 12:55:54 +03:00
<!-- category.html -->
2020-05-25 22:47:43 +03:00
<ul class="posts">
<h1>Category: {{ .Title }}</h1>
2020-06-15 20:52:15 +03:00
{{ range .Data.Pages -}}
2020-05-25 22:47:43 +03:00
<li>
2021-02-25 22:56:48 +02:00
<div class="flex">
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
2022-04-06 14:31:04 +03:00
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "2. 1. 2006" }}</time>
2021-02-25 22:56:48 +02:00
</div>
2020-05-25 22:47:43 +03:00
</li>
{{- end }}
</ul>
{{- end }}