mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-23 14:38:36 +00:00
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 }} |