Skip to content

Commit

Permalink
RSS button: link to XML via RelPermalink (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jan 15, 2024
1 parent 068e57b commit ce52bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/blog/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</aside>
<main class="col-12 col-md-9 col-xl-8 ps-md-5 pe-md-4" role="main">
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
<a class="td-rss-button" title="RSS" href="{{ .Permalink | safeURL }}" target="_blank" rel="noopener">
<a class="td-rss-button" title="RSS" href="{{ .RelPermalink | safeURL }}" target="_blank" rel="noopener">
<i class="fa-solid fa-rss" aria-hidden="true"></i>
</a>
{{ end -}}
Expand Down

0 comments on commit ce52bb0

Please sign in to comment.