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