diff options
author | tdro <tdro@noreply.example.com> | 2023-11-06 20:15:38 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-11-06 20:15:38 -0500 |
commit | e1f3254c256edf715f75b778513d14f18e865e67 (patch) | |
tree | 6187820d0c23f3a174923190ed0e00a1e0250ce2 /themes/default/layouts/_default | |
parent | b8b1cba41c944610f4d51d6368902425d5c32143 (diff) | |
download | canory-e1f3254c256edf715f75b778513d14f18e865e67.tar.gz canory-e1f3254c256edf715f75b778513d14f18e865e67.tar.bz2 canory-e1f3254c256edf715f75b778513d14f18e865e67.zip |
themes/default/layouts: Remove author dependency
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/index.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/index.html b/themes/default/layouts/_default/index.html index f1ab369..2f97bbd 100644 --- a/themes/default/layouts/_default/index.html +++ b/themes/default/layouts/_default/index.html @@ -30,13 +30,14 @@ {{- end -}} {{- define "right" -}} + {{- $author := "Section" -}} {{- partial "author-list.html" . -}} - {{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.gallery) -}} + {{- range first 1 (where .Site.Pages $author .Site.Author.default.gallery) -}} {{- partial "gallery.html" . -}} {{- end -}} - {{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) -}} + {{- range first 1 (where .Site.Pages $author .Site.Author.default.webring) -}} {{- partial "following-list.html" . -}} {{- partial "webring.html" . -}} {{- end -}} |