fix: allow loading property files from nested folder (#420)
parent
acfd21a51a
commit
1ab1620c7b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue