aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-12-23 22:31:20 -0500
committertdro <tdro@noreply.example.com>2022-12-23 22:33:20 -0500
commitbaaac565e9b4c082a73efb2044b224e2d906d6af (patch)
treeaf8ba47a0ed9e1b2c4c4cb879175c6c218d2c6d9 /themes/default/layouts
parent970de83a59457ee6e245fb35c61a6adee0e8080d (diff)
downloadcanory-baaac565e9b4c082a73efb2044b224e2d906d6af.tar.gz
canory-baaac565e9b4c082a73efb2044b224e2d906d6af.tar.bz2
canory-baaac565e9b4c082a73efb2044b224e2d906d6af.zip
themes/default/layouts/partials/webring: Use author data
Instead of using feed fetch path
Diffstat (limited to 'themes/default/layouts')
-rw-r--r--themes/default/layouts/partials/webring.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/webring.html b/themes/default/layouts/partials/webring.html
index 0f97624..9179280 100644
--- a/themes/default/layouts/partials/webring.html
+++ b/themes/default/layouts/partials/webring.html
@@ -1,9 +1,9 @@
-{{- $feeds := partial "function-generate-feeds.html" . -}}
+{{- $author := partial "function-authors-data.html" . -}}
{{- $webring := print "public/" .Section "/webring.html" -}}
<web-ring>
<h1>Web Ring</h1>
- {{ if and $feeds (fileExists $webring) }}
+ {{ if and $author.feeds.rss (fileExists $webring) }}
<aside>
{{- (resources.Get $webring).Content | safeHTML -}}
</aside>