mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 12:25:07 +01:00
Update date format
This commit is contained in:
parent
0c2967146e
commit
c287d992dc
@ -6,7 +6,7 @@
|
|||||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
<span class="post-date">
|
<span class="post-date">
|
||||||
{{ .Date.Year }}-{{ sub .Date.Month 0 }}-{{ .Date.Day }}
|
{{ .Date.Format "2006-01-02" }}
|
||||||
</span>
|
</span>
|
||||||
<span class="post-author">Written by {{ .Params.Author }}</span>
|
<span class="post-author">Written by {{ .Params.Author }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
|
<h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
<span class="post-date">
|
<span class="post-date">
|
||||||
{{ .Date.Year }}-{{ sub .Date.Month 0 }}-{{ .Date.Day }}
|
{{ .Date.Format "2006-01-02" }}
|
||||||
</span>
|
</span>
|
||||||
<span class="post-author">Written by {{ .Params.Author }}</span>
|
<span class="post-author">Written by {{ .Params.Author }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user