diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2022-05-26 18:07:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 18:07:38 +0300 |
commit | 1ab1620c7b6159f7cc3e749cce19316d270b23d7 (patch) | |
tree | 21953b83382a0fe46be21be50eb8b9374b7dd477 | |
parent | acfd21a51af2a3e373a0cec6f6aba36ef1f55197 (diff) |
fix: allow loading property files from nested folder (#420)v0.30.2
-rw-r--r-- | layouts/shortcodes/propertylist.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/propertylist.html b/layouts/shortcodes/propertylist.html index 3b68c9a..e592f82 100644 --- a/layouts/shortcodes/propertylist.html +++ b/layouts/shortcodes/propertylist.html @@ -2,7 +2,7 @@ {{- if .Site.Data.properties }} <dl class="gdoc-props"> - {{- with (index .Site.Data.properties $name) }} + {{- with (index .Site.Data.properties (split $name ".")) }} {{- range $key, $value := .properties }} <dt class="flex flex-wrap align-center gdoc-props__meta"> <span class="gdoc-props__title">{{ $key }}</span> |