fix: allow loading property files from nested folder (#420)

uci-hugo-doc
Robert Kaussow 2022-05-26 17:07:38 +02:00 committed by GitHub
parent acfd21a51a
commit 1ab1620c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>