Changing date format to YYYY-MM-dd for datetime attribute.
This commit is contained in:
parent
bcf4127174
commit
878c8fc421
5 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
<div class="postmeta">
|
||||
{{ with .Params.location }}Photos taken in {{ . }} on {{ end }}
|
||||
<time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2, 2006" }}</time>
|
||||
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{ with .Params.camera }} with {{ . }}{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue