Add Permalink to date in meta
This commit is contained in:
parent
6f2e43e913
commit
04d5f3b2db
|
@ -1,7 +1,7 @@
|
|||
{{ if not .Params.nometa }}
|
||||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<time class="dt-published text" datetime="{{.Date.Format "2006-01-02 15:04"}}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
|
||||
<time class="dt-published text" datetime="{{.Date.Format "2006-01-02 15:04"}}"><a class="u-url" href="{{ .RelPermalink }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</a></time>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if ne .Date .Lastmod }}
|
||||
|
|
Reference in New Issue