Fix Last modified date.
This commit is contained in:
parent
b5b164efc8
commit
ede80b634c
@ -8,9 +8,9 @@
|
||||
{{- .Date.Format (default "01-02-2006" .Site.Params.dateFmt) -}}
|
||||
</time>;
|
||||
{{- if ne .Date .Lastmod }}
|
||||
<span>Last modified:</span> [
|
||||
<time datetime="{{- .Lastmod.Format "2006-01-02T15:04:05Z07:00" -}}">
|
||||
{{ .Lastmod.Format (default "01-02-2006" .Site.Params.dateFmt) }}
|
||||
<span>Last modified:</span>
|
||||
<time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">
|
||||
{{- .Lastmod.Format (default "01-02-2006" .Site.Params.dateFmt) -}}
|
||||
</time>;
|
||||
{{- end }} <!-- if ne .Date .Lastmod -->
|
||||
{{- end }} <!-- if $showdate -->
|
||||
|
Reference in New Issue
Block a user