Skip to content

Enabling RSS feed in footer #441

Answered by chrisrummel
ppipada asked this question in Q&A
Mar 14, 2022 · 5 comments · 12 replies
Discussion options

You must be logged in to vote

Here is how I did that:
I copied themes/hugo-theme-bootstrap/layouts/partials/helpers/social-links.html to layouts/partials/helpers/social-links.html so I have a local copy of that file I can change. Make sure to have an eye on possible future changes of that file so you can apply changes.

What I changed:

$ diff themes/hugo-theme-bootstrap/layouts/partials/helpers/social-links.html layouts/partials/helpers/social-links.html
53c53
<     <a class="nav-link social-link" target="_blank" href="{{ .Permalink }}" title="RSS" rel="noopener noreferrer">
---
>     <a class="nav-link social-link" target="_blank" href="/index.xml" title="RSS" rel="noopener noreferrer">

Replies: 5 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@ppipada
Comment options

Answer selected by ppipada
Comment options

You must be logged in to vote
5 replies
@chrisrummel
Comment options

@ppipada
Comment options

@razonyang
Comment options

@ppipada
Comment options

@razonyang
Comment options

Comment options

You must be logged in to vote
3 replies
@ppipada
Comment options

@razonyang
Comment options

@chrisrummel
Comment options

Comment options

You must be logged in to vote
1 reply
@ppipada
Comment options

Comment options

You must be logged in to vote
2 replies
@razonyang
Comment options

@ppipada
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants