hugo-theme-minima/layouts/partials/list.html
2022-02-17 18:18:35 +08:00

10 lines
No EOL
377 B
HTML

<div class="flex justify-between sm:flex-col-reverse my-3 sm:mb-6 sm:mt-3">
{{ if .Page.Params.link }}
<a class="" href="{{ .Page.Params.link }}">{{ .Title }}</a>
{{ else }}
<a class="" href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ if .Site.Params.displayDate }}
<div class="sm:mb-1 sm:text-xs">{{ dateFormat .Site.Params.timeformat .Date }}</div>
{{ end }}
</div>