aboutsummaryrefslogtreecommitdiffstats
path: root/built-texts
diff options
context:
space:
mode:
authorTaiju Muto <hello@tai2.net>2014-07-03 22:58:31 +0900
committerTaiju Muto <hello@tai2.net>2014-07-03 22:58:31 +0900
commit5562ef70c93c6b342e16ab44d9e28f2c2082427b (patch)
tree0c79baa9048e32f7978ba940b62a58abddcb20db /built-texts
parent84bc59ad9b5d3369bd1314995b435d1ef0a0f507 (diff)
downloadpelican-themes-5562ef70c93c6b342e16ab44d9e28f2c2082427b.zip
pelican-themes-5562ef70c93c6b342e16ab44d9e28f2c2082427b.tar.gz
pelican-themes-5562ef70c93c6b342e16ab44d9e28f2c2082427b.tar.bz2
Put feed links in head tag.
Diffstat (limited to 'built-texts')
-rw-r--r--built-texts/templates/base.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/built-texts/templates/base.html b/built-texts/templates/base.html
index c15ed67..397cda3 100644
--- a/built-texts/templates/base.html
+++ b/built-texts/templates/base.html
@@ -13,6 +13,13 @@
<script src="{{ SITEURL }}/theme/html5.js"></script>
<![endif]-->
+ {% if FEED_RSS %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+ {% endif %}
+ {% if FEED_ATOM %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
+ {% endif %}
+
<!-- Le styles -->
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap.no-icons.min.css" rel="stylesheet">
<link href="{{ SITEURL }}/theme/local.css" rel="stylesheet">