binario/layouts/partials/post_meta.html

7 lines
218 B
HTML
Raw Normal View History

2018-11-15 19:21:34 +00:00
{{ $currentPage := . }}
{{- with .Param "post_meta" }}
{{- range $metaField := . -}}
{{- $metaFieldPath := printf "post_meta/%s.html" $metaField -}}
{{- partial $metaFieldPath $currentPage -}}
{{ end }}
{{ end }}