[*] fix: 0001-01-01 when doesn't provide a date
This commit is contained in:
parent
83381f44e1
commit
786243dc1d
@ -3,9 +3,11 @@
|
||||
<h1 class="post-title">
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
<div class="post-meta">
|
||||
{{ if .Params.Date }}
|
||||
<span class="post-date">
|
||||
{{ .Date.Format "2006-01-02" }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ with .Params.Author }}
|
||||
<span class="post-author">::
|
||||
{{ . }}
|
||||
|
Loading…
Reference in New Issue
Block a user