Use time tag for date on posts.
This commit is contained in:
parent
38a7cfc25b
commit
6d0f291fdd
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<p class="submitted">
|
||||
{{ with $.Param "author" }}<span class="author">{{ . }}</span> – {{ end -}}
|
||||
<span class="created-date">{{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}</span>
|
||||
<time class="modified-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue