bf4 / bf4.github.com

jekyll blog on github pages
http://benjaminfleischer.com
MIT License
2 stars 0 forks source link

use jekyll-feed #8

Open bf4 opened 8 years ago

bf4 commented 8 years ago

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.