diff options
Diffstat (limited to 'themes/new_theme/layouts/partials/post_meta.html')
-rw-r--r-- | themes/new_theme/layouts/partials/post_meta.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/new_theme/layouts/partials/post_meta.html b/themes/new_theme/layouts/partials/post_meta.html new file mode 100644 index 0000000..f357ddb --- /dev/null +++ b/themes/new_theme/layouts/partials/post_meta.html @@ -0,0 +1,7 @@ +{{- $root := . -}} +{{- with .Param "post_meta" -}} + {{- range $field := . -}} + {{- $p := printf "post_meta/%s.html" $field -}} + {{- partial $p $root -}} + {{- end -}} +{{- end -}}
\ No newline at end of file |