diff options
| author | tdro <tdro@noreply.example.com> | 2024-07-25 00:00:00 +0000 |
|---|---|---|
| committer | tdro <tdro@noreply.example.com> | 2024-07-25 00:00:00 +0000 |
| commit | ddb1104491ca6264d7235650de507618478acfef (patch) | |
| tree | a45053d5d36b75033146a09cfa0f19e3c9f8856a | |
| parent | ebb58d243824bfc8e3821a16579bf2ad2037218b (diff) | |
| download | canory-ddb1104491ca6264d7235650de507618478acfef.tar.gz canory-ddb1104491ca6264d7235650de507618478acfef.tar.bz2 canory-ddb1104491ca6264d7235650de507618478acfef.zip | |
themes/default/layouts/_default/section: Fix home and feed links location
| -rw-r--r-- | themes/default/layouts/_default/section.following.html | 2 | ||||
| -rw-r--r-- | themes/default/layouts/_default/section.webring.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/section.following.html b/themes/default/layouts/_default/section.following.html index fb29a01..cf56c21 100644 --- a/themes/default/layouts/_default/section.following.html +++ b/themes/default/layouts/_default/section.following.html @@ -74,7 +74,7 @@ </article> <a title="Follow {{ $distinct.FeedName }}" - href="{{ $href }}"> + href="{{ $distinct.FeedSourceLink }}"> {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) }} <span>Feed</span> </a> diff --git a/themes/default/layouts/_default/section.webring.html b/themes/default/layouts/_default/section.webring.html index 58181e1..78bf4a4 100644 --- a/themes/default/layouts/_default/section.webring.html +++ b/themes/default/layouts/_default/section.webring.html @@ -51,7 +51,7 @@ <a data-hover title="{{ .FeedSourceDescription }}" - href="{{ or .FeedSourceHome .FeedSourceLink }}"> + href="{{ or .FeedSourceHome (print "http://" .FeedSourceDomain) }}"> {{ .FeedSourceTitle }} </a> </p> |
