aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/head.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-28 16:51:55 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-28 16:51:55 -0400
commitc779ad791612bef126d50e975bf7b5a855c9e82e (patch)
treeef467f6a28be30c61f102b92321e7aa6dbf5cfc3 /.themes/classic/source/_includes/head.html
parent49a67785dcdfbdeca751ea600f0386080349a8ef (diff)
downloadmy_new_personal_website-c779ad791612bef126d50e975bf7b5a855c9e82e.tar.xz
my_new_personal_website-c779ad791612bef126d50e975bf7b5a855c9e82e.zip
Now rss link in head will update correctly with changes to the config
Diffstat (limited to '.themes/classic/source/_includes/head.html')
-rw-r--r--.themes/classic/source/_includes/head.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html
index ff3ac21e..e7663eaf 100644
--- a/.themes/classic/source/_includes/head.html
+++ b/.themes/classic/source/_includes/head.html
@@ -27,7 +27,8 @@
<script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script>
<link href='http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'>
- <link href="{{ root_url }}/atom.xml" rel="alternate" title="{{site.title}}" type="application/atom+xml"/>
+ {% capture rss_url %}{% if site.subscribe_rss contains ':' %}{{ site.subscribe_rss }}{% else %}{{ root_url }}{{ site.subscribe_rss }}{% endif %}{% endcapture %}
+ <link href="{{ rss_url }}" rel="alternate" title="{{site.title}}" type="application/atom+xml"/>
{% include google_analytics.html %}
{% include google_plus_one.html %}
{% include twitter_sharing.html %}