aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/rss.xml
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-03-14 15:11:23 -0400
committertdro <tdro@noreply.example.com>2023-03-14 15:11:23 -0400
commitef2611e3c2c07b42f4c8d32ad8cce7d5d634e822 (patch)
tree8a87daba0eb4a355f732ec7e5f3bf3e9bfe3ad7b /themes/default/layouts/_default/rss.xml
parentbde0c042a2d050a8549707f62dec57844c56a0c5 (diff)
downloadcanory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.gz
canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.bz2
canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.zip
themes/default/layouts/partials/function-paths: Return dict here
Diffstat (limited to 'themes/default/layouts/_default/rss.xml')
-rw-r--r--themes/default/layouts/_default/rss.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/_default/rss.xml b/themes/default/layouts/_default/rss.xml
index fb11d98..3e8e337 100644
--- a/themes/default/layouts/_default/rss.xml
+++ b/themes/default/layouts/_default/rss.xml
@@ -26,7 +26,7 @@
{{- $description = print .Site.Title " Tags: #" .Title -}}
{{- end -}}
-{{- $image := print "/" (partial "function-paths.html" "media")
+{{- $image := print "/" (partial "function-paths.html").media
"/" $author.user "/" $author.user "-profile" (path.Ext $author.picture.profile)
-}}
@@ -81,7 +81,7 @@
{{- $author = partial "function-authors-data.html" . -}}
- {{- $image = print "/" (partial "function-paths.html" "media")
+ {{- $image = print "/" (partial "function-paths.html").media
"/" $author.user "/" $author.user "-profile" (path.Ext $author.picture.profile)
-}}
@@ -93,7 +93,7 @@
{{- $atomAuthorName := or .Params.Feed.name $author.name -}}
{{- if .Params.Feed.favicon -}}
- {{- $favicon := print "/" (partial "function-paths.html" "media") "/favicon." (.Params.Feed.source | anchorize) ".png" -}}
+ {{- $favicon := print "/" (partial "function-paths.html").media "/favicon." (.Params.Feed.source | anchorize) ".png" -}}
{{- if not (fileExists (print "public/" $favicon)) -}}
{{- $favicon = "/data/media/404.png" -}}
{{- end -}}