thrrgilag.net/themes/binario/layouts/partials/post_meta.html
Morgan McMillian 022c04d286 new site theme
2019-09-07 12:40:58 -07:00

9 lines
No EOL
300 B
HTML

{{ $currentPage := .dot }}
{{- if .dot.Param "post_meta" }}
<div class="post__meta meta {{ .class }}">
{{- range $metaField := .dot.Param "post_meta" -}}
{{- $metaFieldPath := printf "post_meta/%s.html" $metaField -}}
{{- partial $metaFieldPath $currentPage -}}
{{ end }}
</div>
{{ end }}