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

16 lines
408 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" }}
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
{{ 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 }}