From 82bb18176fdae9c0370f0ba75b03fcde7a8cd549 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Mon, 25 May 2015 16:09:16 -0400 Subject: [PATCH] use jekyll-feed --- Gemfile | 1 + site/_config.yml | 7 ++++++ site/_includes/top.html | 2 +- site/feed.xml | 48 ----------------------------------------- 4 files changed, 9 insertions(+), 49 deletions(-) delete mode 100644 site/feed.xml diff --git a/Gemfile b/Gemfile index 1a594a9b..5f10b999 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ gem 'toml', '~> 0.1.0' gem 'jekyll-paginate', '~> 1.0' gem 'jekyll-gist', '~> 1.0' gem 'jekyll-coffeescript', '~> 1.0' +gem 'jekyll-feed' platform :ruby, :mswin, :mingw do gem 'pygments.rb', '~> 0.6.0' diff --git a/site/_config.yml b/site/_config.yml index 46ba6f99..d1cd5367 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -12,3 +12,10 @@ help_url: https://github.com/jekyll/jekyll-help collections: docs: output: true + +name: Jekyll • Simple, blog-aware, static sites +description: Transform your plain text into static websites and blogs +url: http://jekyllrb.com + +gems: + - jekyll-feed diff --git a/site/_includes/top.html b/site/_includes/top.html index 35ba2f26..2d12d1bd 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -5,7 +5,7 @@ {{ page.title }} - + {% feed_meta %} diff --git a/site/feed.xml b/site/feed.xml deleted file mode 100644 index 1a683be1..00000000 --- a/site/feed.xml +++ /dev/null @@ -1,48 +0,0 @@ ---- -permalink: /feed.xml ---- - - - - - Jekyll • Simple, blog-aware, static sites - - http://jekyllrb.com/ - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - en-US - Jekyll v{{ jekyll.version }} - Transform your plain text into static websites and blogs. - - Transform your plain text into static websites and blogs. - http://jekyllrb.com/img/logo-rss.png - Jekyll • Simple, blog-aware, static sites - http://jekyllrb.com/ - 144 - 73 - - {% for post in site.posts %} - - {{ post.title | xml_escape}} - http://jekyllrb.com{{ post.url }} - {{ post.date | date_to_rfc822 }} - {{ post.author }} - {% for tag in post.tags %} - {{ tag | xml_escape }} - {% endfor %} - {% for cat in post.categories %} - {{ cat | xml_escape }} - {% endfor %} - http://jekyllrb.com{{ post.url }} - {{ post.content | xml_escape }} - - {% endfor %} - -