Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaussow <mail@thegeeklab.de>2022-05-26 18:07:38 +0300
committerGitHub <noreply@github.com>2022-05-26 18:07:38 +0300
commit1ab1620c7b6159f7cc3e749cce19316d270b23d7 (patch)
tree21953b83382a0fe46be21be50eb8b9374b7dd477
parentacfd21a51af2a3e373a0cec6f6aba36ef1f55197 (diff)
fix: allow loading property files from nested folder (#420)v0.30.2
-rw-r--r--layouts/shortcodes/propertylist.html2
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>