1
Fork 0

HTML time tag is a thing apparently

This commit is contained in:
Jake Howard 2017-10-25 22:10:52 +01:00
parent 0469144447
commit 444c19c262
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -7,7 +7,7 @@
{{ $month := (print .Key "-01") }} {{ $month := (print .Key "-01") }}
<h3 class="mt-5"> <h3 class="mt-5">
{{ if ne .Key "0001-01" }} {{ if ne .Key "0001-01" }}
{{ dateFormat "2006-01" $month }} <time class="posts-archive-month" datetime="{{ $month }}">{{ dateFormat "2006-01" $month }}</time>
{{ end }} {{ end }}
</h3> </h3>
{{ range .Pages.ByDate }} {{ range .Pages.ByDate }}