binario/layouts/partials/post_meta.html
2018-11-15 14:21:34 -05:00

7 lines
No EOL
218 B
HTML

{{ $currentPage := . }}
{{- with .Param "post_meta" }}
{{- range $metaField := . -}}
{{- $metaFieldPath := printf "post_meta/%s.html" $metaField -}}
{{- partial $metaFieldPath $currentPage -}}
{{ end }}
{{ end }}