diff options
author | tdro <tdro@noreply.example.com> | 2024-02-24 18:33:47 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-02-24 18:33:47 -0500 |
commit | dba447fbb70e07f32c71310a022fd301b18d22c3 (patch) | |
tree | 362045e9606ab3b7e3ad0d5bd996d6c13f2eef45 /themes/default/layouts/_default | |
parent | 7f22b67259215194ab21d48876f57dd29e819c0d (diff) | |
download | canory-dba447fbb70e07f32c71310a022fd301b18d22c3.tar.gz canory-dba447fbb70e07f32c71310a022fd301b18d22c3.tar.bz2 canory-dba447fbb70e07f32c71310a022fd301b18d22c3.zip |
themes/default/layouts/_default/rss: Always link away
There is no distinction between upper #TAG and lower #tag
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/rss.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/rss.xml b/themes/default/layouts/_default/rss.xml index a103543..16aee5f 100644 --- a/themes/default/layouts/_default/rss.xml +++ b/themes/default/layouts/_default/rss.xml @@ -91,13 +91,14 @@ <item> <title>{{ (or .Summary .Title) | htmlUnescape }}</title> - <link>{{ .Permalink }}</link> + <link>{{ or .Params.Feed.link .Permalink }}</link> <pubDate>{{ .Date | time.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> <guid>{{ .Permalink }}</guid> <description> {{ partial "function-content.html" . | html -}} {{- print "<br /><br />" | html -}} - {{- partial "tags.html" (dict "Format" "rss" "Context" .) | html }} + {{- printf `<a href=%q>Permalink</a> ` .Permalink | html }} + {{ partial "tags.html" (dict "Format" "rss" "Context" .) | html }} </description> <atom:author> <atom:name>{{ $atomAuthorName }}</atom:name> |