From 1ab1620c7b6159f7cc3e749cce19316d270b23d7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 26 May 2022 17:07:38 +0200 Subject: [PATCH] fix: allow loading property files from nested folder (#420) --- layouts/shortcodes/propertylist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}
- {{- with (index .Site.Data.properties $name) }} + {{- with (index .Site.Data.properties (split $name ".")) }} {{- range $key, $value := .properties }}
{{ $key }}