binario/layouts/partials/entry/meta.html

11 lines
315 B
HTML
Raw Normal View History

{{- $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 }}