diff --git a/Rules b/Rules index c8f6823..6257966 100644 --- a/Rules +++ b/Rules @@ -44,8 +44,7 @@ route '*/json/' do end route %r{.*/feed/} do - path = Pathname(item.identifier) - path.cleanpath.to_s + '.xml' + item.identifier + 'index.xml' end route '/robots/' do diff --git a/content/about.html b/content/about.html index ce7d336..0275e7f 100644 --- a/content/about.html +++ b/content/about.html @@ -14,7 +14,7 @@ This site is written in [Markdown][markdown], generated using [nanoc][nanoc], en Crucial Paradigm VPS running [Debian GNU/Linux][debian] and [nginx][nginx]. -The content is split into two primary sections: [Technical](/technical/articles/) and [Personal](/personal/articles/). There is a [combined feed](http://localhost:3000/feed.xml) containing all posts as well as separate ones for [technical](/technical/feed.xml) and [personal](/personal/feed.xml) posts. +The content is split into two primary sections: [Technical](/technical/articles/) and [Personal](/personal/articles/). There is a [combined feed](http://feeds.feedburner.com/wezm) containing all posts as well as separate ones for [technical](http://feeds.feedburner.com/wezm-technical) and [personal](http://feeds.feedburner.com/wezm-personal) posts. Projects -------- diff --git a/content/feed.yaml b/content/feed.yaml index ae062ae..a4f1283 100644 --- a/content/feed.yaml +++ b/content/feed.yaml @@ -4,3 +4,4 @@ author_name: Wesley Moore author_uri: http://www.wezm.net/about/ #feed_url: http://feeds.feedburner.com/wezm/ is_hidden: true +feed_url: http://feeds.feedburner.com/wezm \ No newline at end of file diff --git a/content/personal/feed.yaml b/content/personal/feed.yaml index 8bda377..cdc1a3b 100644 --- a/content/personal/feed.yaml +++ b/content/personal/feed.yaml @@ -3,3 +3,4 @@ title: WezM.net - Personal Articles author_name: Wesley Moore author_uri: http://www.wezm.net/about/ is_hidden: true +feed_url: http://feeds.feedburner.com/wezm-personal \ No newline at end of file diff --git a/content/technical/feed.yaml b/content/technical/feed.yaml index ba1a35d..00884a8 100644 --- a/content/technical/feed.yaml +++ b/content/technical/feed.yaml @@ -3,3 +3,4 @@ title: WezM.net - Technical Articles author_name: Wesley Moore author_uri: http://www.wezm.net/about/ is_hidden: true +feed_url: http://feeds.feedburner.com/wezm-technical \ No newline at end of file diff --git a/layouts/_head.html b/layouts/_head.html index b81954d..8e16790 100644 --- a/layouts/_head.html +++ b/layouts/_head.html @@ -4,6 +4,6 @@ - - - + + + diff --git a/layouts/_header.html b/layouts/_header.html index be8eb3a..247b6f8 100644 --- a/layouts/_header.html +++ b/layouts/_header.html @@ -5,8 +5,8 @@
  • About
  • Projects
  • - White Feed Icon - Feed + White Feed Icon + Feed
  • WezM.net diff --git a/layouts/articles.html b/layouts/articles.html index 8591081..d180c9f 100644 --- a/layouts/articles.html +++ b/layouts/articles.html @@ -40,7 +40,8 @@ <% menu.each do |menu_item| label, count = menu_item path = (label != "All" ? '/' + label.downcase : '') + "/articles/" - feed = (label != "All" ? '/' + label.downcase : '') + "/feed.xml" + feed = 'http://feeds.feedburner.com/wezm' + feed += "-#{label.downcase}" if label != "All" active = (@item.identifier.sub(%r{page/$}, '') == path) %>
  • diff --git a/layouts/home.html b/layouts/home.html index a557472..5549308 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -14,7 +14,7 @@

    Technical - Black Feed Icon + Black Feed Icon

      <% technical_articles[0..4].each do |article| %> @@ -28,7 +28,7 @@

      Personal - +

        <% personal_articles[0..4].each do |article| %>