diff options
Diffstat (limited to 'themes/default/layouts')
-rw-r--r-- | themes/default/layouts/partials/webring.html | 4 |
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> |