diff options
author | Taiju Muto <hello@tai2.net> | 2014-07-03 22:58:31 +0900 |
---|---|---|
committer | Taiju Muto <hello@tai2.net> | 2014-07-03 22:58:31 +0900 |
commit | 5562ef70c93c6b342e16ab44d9e28f2c2082427b (patch) | |
tree | 0c79baa9048e32f7978ba940b62a58abddcb20db | |
parent | 84bc59ad9b5d3369bd1314995b435d1ef0a0f507 (diff) | |
download | pelican-themes-5562ef70c93c6b342e16ab44d9e28f2c2082427b.tar.gz |
Put feed links in head tag.
-rw-r--r-- | built-texts/templates/base.html | 7 |
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"> |