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