New micro

This commit is contained in:
Fundor333
2025-07-13 01:47:10 +02:00
parent 6479fbb997
commit a3c303d51f
2 changed files with 17 additions and 2 deletions

View File

@@ -13,13 +13,13 @@
{{ if eq .Type "post" }}
<i class="fa-regular fa-typewriter"></i> {{.Site.Params.Author.name }} |
{{ $configDateFormat := .Site.Params.dateFormat | default ":date_medium" }}
{{ with .Date }}
{{- with .Date }}
{{ $ISO_time := dateFormat "2006-01-02T15:04:05-07:00" . }}
<i class="fa-regular fa-calendar-range"></i>
<time datetime="{{ $ISO_time }}" class="dt-published" itemprop="datePublished">
{{ . | time.Format $configDateFormat }}
</time> |
{{ end }}
{{ end -}}
<i class="fa-regular fa-mug-tea"></i></i> Reading time {{.ReadingTime}} minutes |
<i class="fa-regular fa-pen-nib"></i></i> Word count {{.WordCount}}
{{ end }}