Skip to content

Commit

Permalink
replace the deprecated .RSSLink
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed May 31, 2023
1 parent ac55746 commit 4e5492a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/footer.html
@@ -1,8 +1,10 @@
<footer class="footer">
<ul class="footer-links">
{{ with .OutputFormats.Get "RSS" }}
<li>
<a href="{{ .Site.RSSLink | relURL }}" type="application/rss+xml" target="_blank">RSS feed</a>
<a href="{{ .RelPermalink }}" type="application/rss+xml" target="_blank">RSS feed</a>
</li>
{{ end }}
<li>
<a href="https://gohugo.io/" class="footer-links-kudos">Made with <img src="{{ "images/hugo-logo.png" | relURL }}" alt="Img link to Hugo website" width="22" height="22"></a>
</li>
Expand Down

0 comments on commit 4e5492a

Please sign in to comment.