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

16 lines
407 B
HTML
Raw Normal View History

2017-09-07 22:41:16 +03:00
{{ define "main" -}}
<ul class="posts">
2020-02-10 20:38:11 +02:00
<h1>{{ .Title }}</h1>
2020-06-15 20:52:15 +03:00
{{ range .Data.Pages -}}
2017-09-07 22:41:16 +03:00
<li>
2021-02-25 22:56:48 +02:00
<div class="flex">
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
{{ if eq .Kind "page" }}
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
{{ end }}
</div>
2017-09-07 22:41:16 +03:00
</li>
2020-02-10 20:38:11 +02:00
{{- end }}
2017-09-07 22:41:16 +03:00
</ul>
{{- end }}