Closed vncntvandriessche closed 7 years ago
Hugo does this out of the box and the minimal theme supports it already by embedding {{ .RSSLink }}
in the header.html
file. I didn't do anything special to my website to get RSS working, you can view it here: https://www.jamestharpe.com/index.xml
Are you looking for more than that? If so, what specifically?
@jamestharpe Thanks for clearing that up, I now see that the site actually generates the link.
It seems the generated site isn't actually displaying the link though? Am I doing something wrong?
Make sure don't have disableRSS = true
in your config.toml
. You might also try setting it explicitly to false
. Also make sure your theme is up-to-date.
I've tried all of your suggestions, but now that I think about it it seems logical to me that there's no visible link to the RSS feed, as there's no element in the body-section of the generated HTML to show the link?
Ooohhh... you want a VISIBLE link 😃 ! IME, RSS readers understand the <link ...
code and a visible link isn't usually necessary. That said, you can add this by adding a [[menu.icon]]
entry in your config.toml
. Here's an example:
[[menu.icon]]
url = "/index.xml"
name = "rss"
weight = 6
A note on how this works, in case you (or anyone else) want to add more icons to the menu.icon
- the name
of the menu-icon
entry just has to match an fa-
class from Font-Awesome. So, for example, if you wanted people to contact you in the shower, you could specify name = bath
in your config.toml
😁
@jamestharpe That is what I was looking for and BEYOND 😆 .
Thank you so much!
I'm looking for support for RSS feeds (I like using RSS feeds myself)
Willing to look into it myself if I could get some directions of course!