Change Date Format

This commit is contained in:
2022-03-24 10:00:01 +01:00
parent 94a444f7b6
commit 74ec5f43e0
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<article class="post-title">
<a href="{{ .RelPermalink }}" class="post-link">{{ .Title }}</a>
<div class="flex-break"></div>
<span class="post-date">{{ dateFormat "January 2, 2006" .Date }}</span>
<span class="post-date">{{ dateFormat "2 January, 2006" .Date }}</span>
</article>

View File

@@ -4,7 +4,7 @@
<h1>{{ .Title }}</h1>
<small role="doc-subtitle">{{ .Description }}</small>
<p class="post-date">
{{ dateFormat "January 2, 2006" .Date }}
{{ dateFormat "2 January, 2006" .Date }}
</p>
<ul class="post-tags">