Fix .Lastmod context
This commit is contained in:
parent
0e14937d31
commit
855855cd60
3 changed files with 7 additions and 7 deletions
|
@ -4,9 +4,9 @@
|
|||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
</h1>
|
||||
<div class="post-meta">
|
||||
{{ with .Date }}
|
||||
{{ if .Date }}
|
||||
<time class="post-date">
|
||||
{{ .Format "2006-01-02" }} ::
|
||||
{{ .Date.Format "2006-01-02" }} ::
|
||||
{{ if $.Site.Params.showLastUpdated }}
|
||||
[{{or $.Site.Params.updatedDatePrefix "Updated"}} :: {{ .Lastmod.Format "2006-01-02" }}]
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue