finally, updated dates are showing
This commit is contained in:
parent
f71f286333
commit
535a069386
@ -1,9 +1,16 @@
|
||||
<div class="post-meta">
|
||||
|
||||
<div>
|
||||
<span>
|
||||
<div style="float:left; font-size:medium; font-weight: bold;">
|
||||
<i class="fa fa-calendar fa-fw"></i>
|
||||
<time>{{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04" }}{{ end }}</time>
|
||||
<time> {{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04 BST" }}{{ end }}</time>
|
||||
</div>
|
||||
<div style="float:right; font-size:x-small; font-weight: bold;">
|
||||
<i class="fa fa-calendar fa-fw"></i>
|
||||
<time>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </time>
|
||||
</div>
|
||||
<br/>
|
||||
</span>
|
||||
|
||||
{{ $baseUrl := .Site.BaseURL }}
|
||||
|
||||
@ -29,7 +36,5 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ .Lastmod }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user