mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-18 07:17:49 +00:00
Add updated date
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
<h1 class="post-title">{{ .Title }}</h1>
|
<h1 class="post-title">{{ .Title }}</h1>
|
||||||
<time datetime="{{ .Date.Format "2006-01-02" }}" class="post-date">
|
<time datetime="{{ .Date.Format "2006-01-02" }}" class="post-date">
|
||||||
{{ .Date.Format .Site.Params.date_format }}
|
{{ .Date.Format .Site.Params.date_format }}
|
||||||
|
{{ if isset .Params "updated" }}
|
||||||
|
(updated on {{ .Params.updated | dateFormat .Site.Params.date_format }})
|
||||||
|
{{ end }}
|
||||||
</time>
|
</time>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|||||||
Reference in New Issue
Block a user