Use created date and not last modified date in posts header and summary.
This commit is contained in:
parent
b09452be93
commit
50e0196151
1 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<h1 class="hidden">{{ .Title }}</h1>
|
||||
<p>
|
||||
{{ with $.Param "author" }}<span class="author">{{ . }}</span> – {{ end -}}
|
||||
<time class="modified-date" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
|
||||
<time class="created-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
|
||||
</p>
|
||||
</header>
|
||||
<div class="content">
|
||||
|
|
|
|||
Loading…
Reference in a new issue