Show section in meta
This commit is contained in:
parent
54ac42ad64
commit
0b9fb12420
|
@ -1,3 +1,8 @@
|
|||
{{ if not (eq .FirstSection.RelPermalink .RelPermalink) }}
|
||||
<div class="item">
|
||||
<a href="{{ .FirstSection.RelPermalink }}">{{ .FirstSection.Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<time class="dt-published" 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>
|
||||
|
|
Reference in New Issue