From 9e126e0c3a9546974f91fc83edcdaf5310728c2a Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 30 Dec 2023 16:39:52 -0500 Subject: config: Data mounting nesting Apparently nesting/namespacing works. Dicey code bootstrapping/generation. --- themes/default/layouts/partials/base-footer.html | 2 +- themes/default/layouts/partials/base-title.html | 2 +- themes/default/layouts/partials/function-authors-data.html | 2 +- themes/default/layouts/partials/function-authors-slice.html | 2 +- themes/default/layouts/partials/generate-authors.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'themes/default/layouts/partials') diff --git a/themes/default/layouts/partials/base-footer.html b/themes/default/layouts/partials/base-footer.html index 3873153..cae0cbf 100644 --- a/themes/default/layouts/partials/base-footer.html +++ b/themes/default/layouts/partials/base-footer.html @@ -1,5 +1,5 @@ {{- $kind := in (slice "home" "taxonomy" "term") .Page.Kind -}} -{{- $author := index .Site.Data .Section -}} +{{- $author := index .Site.Data.authors .Section -}}