diff options
author | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
commit | 9e126e0c3a9546974f91fc83edcdaf5310728c2a (patch) | |
tree | 4f2934710bf87bf219a873fbfadcb92905f6b503 /themes/default/layouts/partials/function-authors-slice.html | |
parent | c3f5fba9a08339035b5a409e7acef144f76fa975 (diff) | |
download | canory-9e126e0c3a9546974f91fc83edcdaf5310728c2a.tar.gz canory-9e126e0c3a9546974f91fc83edcdaf5310728c2a.tar.bz2 canory-9e126e0c3a9546974f91fc83edcdaf5310728c2a.zip |
config: Data mounting nesting
Apparently nesting/namespacing works. Dicey code bootstrapping/generation.
Diffstat (limited to 'themes/default/layouts/partials/function-authors-slice.html')
-rw-r--r-- | themes/default/layouts/partials/function-authors-slice.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/function-authors-slice.html b/themes/default/layouts/partials/function-authors-slice.html index 3f622b9..fc25554 100644 --- a/themes/default/layouts/partials/function-authors-slice.html +++ b/themes/default/layouts/partials/function-authors-slice.html @@ -1,7 +1,7 @@ {{- $authors := slice -}} {{- range $user := .Site.Author.list -}} - {{- with $author := index $.Site.Data $user -}} + {{- with $author := index $.Site.Data.authors $user -}} {{- $authors = $authors | append $author.user -}} {{- end -}} {{- end -}} |