hugo-theme-minima/layouts/partials/list.html

10 lines
377 B
HTML
Raw Normal View History

2021-11-27 16:56:38 +01:00
<div class="flex justify-between sm:flex-col-reverse my-4 sm:mb-6 sm:mt-3">
2022-01-30 08:12:29 +01:00
{{ if .Page.Params.link }}
<a class="" href="{{ .Page.Params.link }}">{{ .Title }}</a>
{{ else }}
2021-11-08 17:46:22 +01:00
<a class="" href="{{ .RelPermalink }}">{{ .Title }}</a>
2022-01-30 08:12:29 +01:00
{{ end }}
2021-10-28 18:03:48 +02:00
{{ if .Site.Params.displayDate }}
2021-11-08 17:46:22 +01:00
<div class="sm:mb-2 sm:text-sm">{{ dateFormat .Site.Params.timeformat .Date }}</div>
2021-10-28 18:01:17 +02:00
{{ end }}
2021-09-09 09:56:22 +02:00
</div>