From 6db3f0bccaea32ae26f60094c1e92eb240d2f9c8 Mon Sep 17 00:00:00 2001 From: Barry Clark Date: Sat, 17 May 2014 18:09:58 -0400 Subject: RSS feed option added --- _config.yml | 2 +- feed.xml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 feed.xml diff --git a/_config.yml b/_config.yml index 9292b94..6902b49 100644 --- a/_config.yml +++ b/_config.yml @@ -31,7 +31,7 @@ footer-links: instagram: linkedin: pinterest: - rss: + rss: # for rss, add the entire URL of our site, e.g. http://www.barryclark.co twitter: your-username # diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..899221c --- /dev/null +++ b/feed.xml @@ -0,0 +1,21 @@ +--- +layout: none +--- + + + + {{ site.name | xml_escape }} + {{ site.description | xml_escape }} + {{ site.footer-links.rss }} + + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.footer-links.rss }}/{{ post.url }} + {{ site.footer-links.rss }}/{{ post.url }} + + {% endfor %} + + \ No newline at end of file -- cgit v1.2.3