22 lines
755 B
HTML
22 lines
755 B
HTML
<div class="flex uppercase text-sm flex-col {{ if not .card }}md:flex-row items-center md:justify-between{{ end }}">
|
|
<div class="flex flex-row gap-1">
|
|
<div>{{ .post.Date | time.Format "2 Jan 2006" }}</div>
|
|
<div class="text-gray-500">•</div>
|
|
<div>{{ .post.ReadingTime }} min read</div>
|
|
</div>
|
|
{{ with .post.Param "tags" }}
|
|
<div class="flex flex-row flex-wrap gap-x-2 gap-y-0">
|
|
{{ range $index, $tag := . }}
|
|
{{ with site.GetPage (printf "/tags/%s" $tag) }}
|
|
<a
|
|
href="{{ .Permalink }}"
|
|
class="text-sky-700 dark:text-sky-500 hover:text-sky-800 hover:dark:text-sky-400">
|
|
{{ $tag | humanize }}
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|