Remove title from feed content bottom links

master
Will Faught 5 months ago
parent 176d24e38d
commit 7c5520de70

@ -122,7 +122,7 @@
{{ if and $content $external }} {{ if and $content $external }}
{{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }} {{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }}
{{ $footer := printf `<p><a href="%s" title="%s">%s</a></p>` .Permalink (htmlEscape .Title) $text | safeHTML }} {{ $footer := printf `<p><a href="%s">%s</a></p>` .Permalink $text | safeHTML }}
{{ $content = print $content $footer }} {{ $content = print $content $footer }}
{{ end }} {{ end }}

@ -120,7 +120,7 @@
{{ if and $description $external }} {{ if and $description $external }}
{{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }} {{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }}
{{ $footer := printf `<p><a href="%s" title="%s">%s</a></p>` .Permalink (htmlEscape $title) $text | safeHTML }} {{ $footer := printf `<p><a href="%s">%s</a></p>` .Permalink $text | safeHTML }}
{{ $description = print $description $footer }} {{ $description = print $description $footer }}
{{ end }} {{ end }}

Loading…
Cancel
Save