Skip to content

Commit ce52bb0

Browse files
authored
RSS button: link to XML via RelPermalink (google#1786)
1 parent 068e57b commit ce52bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/blog/baseof.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</aside>
2121
<main class="col-12 col-md-9 col-xl-8 ps-md-5 pe-md-4" role="main">
2222
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
23-
<a class="td-rss-button" title="RSS" href="{{ .Permalink | safeURL }}" target="_blank" rel="noopener">
23+
<a class="td-rss-button" title="RSS" href="{{ .RelPermalink | safeURL }}" target="_blank" rel="noopener">
2424
<i class="fa-solid fa-rss" aria-hidden="true"></i>
2525
</a>
2626
{{ end -}}

0 commit comments

Comments
 (0)