2019-10-01 17:04:01 +00:00
|
|
|
{{ $currentPage := .page }}
|
|
|
|
{{- if .page.Param "post_meta" }}
|
2018-11-16 14:50:56 +00:00
|
|
|
<div class="post__meta meta {{ .class }}">
|
2019-10-01 17:04:01 +00:00
|
|
|
{{- range $metaField := .page.Param "post_meta" -}}
|
2018-11-16 14:50:56 +00:00
|
|
|
{{- $metaFieldPath := printf "post_meta/%s.html" $metaField -}}
|
|
|
|
{{- partial $metaFieldPath $currentPage -}}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2018-11-15 19:21:34 +00:00
|
|
|
{{ end }}
|