aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar James Fleeting <hello@jamesfleeting.com> 2015-12-02 19:00:30 -0500
committerGravatar James Fleeting <hello@jamesfleeting.com> 2015-12-02 19:00:30 -0500
commit6d291c90df9164453c9bb1947aa08e4e99de529c (patch)
tree9db0831b7d6b25405e67427b3b62f3140f4812c1
parent0b7e2f516b3e1121eada6059a7996255c34f9886 (diff)
downloadkompetenzbolzen.github.io-6d291c90df9164453c9bb1947aa08e4e99de529c.tar.gz
Adding the official jekyll-feed gem for atom/rss feed.
-rw-r--r--_config.yml3
-rw-r--r--feed.xml21
2 files changed, 2 insertions, 22 deletions
diff --git a/_config.yml b/_config.yml
index cebf496..f62e5d0 100644
--- a/_config.yml
+++ b/_config.yml
@@ -25,7 +25,7 @@ footer-links:
instagram:
linkedin:
pinterest:
- rss: # just type anything here for a working RSS icon, make sure you set the "url" above!
+ rss: # just type anything here for a working RSS icon
twitter: jekyllrb
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers"
youtube: # channel/<your_long_string> or user/<user-name>
@@ -67,6 +67,7 @@ sass:
# Use the following plug-ins
gems:
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
+ - jekyll-feed # Create an Atom feed using the official Jekyll feed gem
# Exclude these files from your production _site
exclude:
diff --git a/feed.xml b/feed.xml
deleted file mode 100644
index cd2321b..0000000
--- a/feed.xml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-layout: null
----
-<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ site.name | xml_escape }}</title>
- <description>{{ site.description | xml_escape }}</description>
- <link>{{ site.url }}</link>
- <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
- {% for post in site.posts limit:10 %}
- <item>
- <title>{{ post.title | xml_escape }}</title>
- <description>{{ post.content | xml_escape }}</description>
- <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
- <link>{{ site.url }}{{ post.url }}</link>
- <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
- </item>
- {% endfor %}
- </channel>
-</rss> \ No newline at end of file