diff options
Diffstat (limited to 'layouts/partials/post-meta.html')
| -rw-r--r-- | layouts/partials/post-meta.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html new file mode 100644 index 0000000..a539c54 --- /dev/null +++ b/layouts/partials/post-meta.html @@ -0,0 +1,9 @@ +<div class="post-meta"> + {{- $root := . -}} + {{- with .Param "post_meta" -}} + {{- range $field := . -}} + {{- $p := printf "post-meta/%s.html" $field -}} + {{- partial $p $root -}} + {{- end -}} + {{- end -}} +</div> |
