fix: allow loading property files from nested folder (#420)
This commit is contained in:
parent
acfd21a51a
commit
1ab1620c7b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{{- if .Site.Data.properties }}
|
{{- if .Site.Data.properties }}
|
||||||
<dl class="gdoc-props">
|
<dl class="gdoc-props">
|
||||||
{{- with (index .Site.Data.properties $name) }}
|
{{- with (index .Site.Data.properties (split $name ".")) }}
|
||||||
{{- range $key, $value := .properties }}
|
{{- range $key, $value := .properties }}
|
||||||
<dt class="flex flex-wrap align-center gdoc-props__meta">
|
<dt class="flex flex-wrap align-center gdoc-props__meta">
|
||||||
<span class="gdoc-props__title">{{ $key }}</span>
|
<span class="gdoc-props__title">{{ $key }}</span>
|
||||||
|
|
Loading…
Reference in a new issue