From 6199807c21480dd48b43b06235fa364b1c30c9f6 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Mon, 9 Jun 2014 18:08:37 +0400 Subject: [PATCH] add rss support --- _config.yml | 4 ++++ _layouts/default.html | 5 +++++ authors.html | 1 + feed.xml | 24 ++++++++++++++++++++++++ index.html | 1 + resources/feed-icon-14x14.png | Bin 0 -> 689 bytes ru/authors.html | 1 + ru/feed.xml | 24 ++++++++++++++++++++++++ ru/index.html | 1 + 9 files changed, 61 insertions(+) create mode 100644 feed.xml create mode 100755 resources/feed-icon-14x14.png create mode 100644 ru/feed.xml diff --git a/_config.yml b/_config.yml index e61731d..e6cafbe 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,7 @@ +#for rss feed +name: arcanis' blog +url: http://arcanis.name/ + source: . destination: ./_site plugins: ./_plugins diff --git a/_layouts/default.html b/_layouts/default.html index 32bb8e3..2239c5b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,6 +11,11 @@ + {% if page.category == "ru" %} + + {% else %} + + {% endif %} + {% else %} + + {{ post.title | xml_escape }} + {{ post.description | xml_escape }} + {{ post.date | date_to_string }} + {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url }} + + {% endif %} + {% endfor %} + + diff --git a/index.html b/index.html index 5fc0561..029a8c8 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,7 @@ title: arcanis' homepage