7bffa43920
* .Site.Params.post_meta → .Site.Params.Entry.meta * .Site.Params.toc → .Site.Params.Entry.toc * .Site.Params.tocOpen → .Site.Params.Entry.tocOpen
11 lines
No EOL
315 B
HTML
11 lines
No EOL
315 B
HTML
{{- $page := .page -}}
|
|
{{- $pageMeta := default $page.Site.Params.Entry.meta $page.Params.meta -}}
|
|
|
|
{{- with $pageMeta }}
|
|
<div class="entry__meta meta {{ $.class }}">
|
|
{{- range . }}
|
|
{{- $metaFieldPath := printf "entry/meta/%s.html" . -}}
|
|
{{- partial $metaFieldPath $page -}}
|
|
{{- end }}
|
|
</div>
|
|
{{- end }} |