aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Barry Clark <barry@barryclark.co> 2015-12-06 14:45:55 -0500
committerGravatar Barry Clark <barry@barryclark.co> 2015-12-06 14:45:55 -0500
commite7aa699373921f5d0f2e98562e6dbcef37e96159 (patch)
treec5747ee20e46da25ed0cefec67191b13ea1f0c6e
parentca05a8339dbc113e9f3c1efb9f8ba6b66f627124 (diff)
parent6d291c90df9164453c9bb1947aa08e4e99de529c (diff)
downloadkompetenzbolzen.github.io-e7aa699373921f5d0f2e98562e6dbcef37e96159.tar.gz
Merge pull request #343 from fleeting/master
Replacing the custom feed.xml with the official jekyll-feed gem.
-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