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

This commit is contained in:
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

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>