Skip to content

Commit

Permalink
fix: allow loading property files from nested folder (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored May 26, 2022
1 parent acfd21a commit 1ab1620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/propertylist.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1ab1620

Please sign in to comment.