If Lastmod exist add dates to bottom of posts.
This commit is contained in:
parent
59bc1494af
commit
239044e927
1 changed files with 13 additions and 1 deletions
|
|
@ -12,6 +12,8 @@
|
|||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
|
||||
{{- if not .Lastmod.IsZero }}{{ partial "dates.html" . -}}{{ end -}}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue