I am new to hugo. It seems to me that I can get RSS feed from index.xml
under the root directory. Can I depends on that for other people’s hugo sites? Also, I observed that many blog like sites have:
<link rel="alternate" type="application/rss+xml" href="index.xml">
in the generated index.html
, so it is relatively easy to figure out the correct rss feed programmatically. However, some site has it, some doesn’t. This is probably a template issue.
The reason I want to ask is I want to write a tool to derive the RSS link through heuristics so one can easily subscribe in a feed aggregator. Hugo is very popular and the RSS functionality is built right in; it would be nice to have consistent and easy rules to do what I want.