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/generate-authors.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/generate-authors.html')
-rw-r--r-- | themes/default/layouts/partials/generate-authors.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/generate-authors.html b/themes/default/layouts/partials/generate-authors.html index 29c991d..d1fc0c2 100644 --- a/themes/default/layouts/partials/generate-authors.html +++ b/themes/default/layouts/partials/generate-authors.html @@ -1,6 +1,6 @@ {{- range $author := .Site.Author.list -}} - {{- if not (fileExists (print "data/" $author ".yaml")) -}} + {{- if not (fileExists (print "data/authors/" $author ".yaml")) -}} {{- $configuration := resources.Get "templates/author.yaml" -}} {{- $configuration := resources.ExecuteAsTemplate |