Change Date Format
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user