diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-06-05 16:57:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-06-05 16:57:53 +0200 |
commit | 983b64ca51f5e769f790a5ebc55e3808157b8d94 (patch) | |
tree | 4fb52d8e2f449e44a51ed0549cec9debbcd3d157 /themes/new_theme/layouts/partials/post_meta.html | |
parent | ff7e6bde0be9ac60e694097ce3598f9b552c4807 (diff) | |
download | www-andreasbaumann-cc-983b64ca51f5e769f790a5ebc55e3808157b8d94.tar.gz www-andreasbaumann-cc-983b64ca51f5e769f790a5ebc55e3808157b8d94.tar.bz2 |
updated to newest theme supporting newer hugo versions
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 |