To enable automatic feed generation, you must add the following line to your site's _config.yml file:
gems:
jekyll-feed
If you don't have a _config.yml file, you will need to create one in the root of your GitHub Pages repository. For more information, see the Jekyll documentation.
You may also wish to add the {% feed_meta %} tag to your layout's
section to allow browsers to more easily discover your site's feed.
https://help.github.com/articles/atom-rss-feeds-for-github-pages/
To enable automatic feed generation, you must add the following line to your site's _config.yml file:
gems:
You may also wish to add the {% feed_meta %} tag to your layout's
section to allow browsers to more easily discover your site's feed.Testing locally
To preview the output of your feed locally:
Add jekyll-feed to your site's _config.yml file Make sure you're using the latest version of the GitHub Pages Gem https://help.github.com/articles/using-jekyll-with-pages#keeping-jekyll-up-to-date
You should see a new feed.xml file generated in your Jekyll _site folder.
For more information, see the Jekyll Feed Gem. https://github.com/jekyll/jekyll-feed
Note: If a feed.xml file exists in the root of your repository, GitHub Pages will not override it.