diff options
Diffstat (limited to 'pelican-bootstrap3/templates/base.html')
-rw-r--r-- | pelican-bootstrap3/templates/base.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index ab505eb..6d7a5a0 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -52,13 +52,21 @@ <!-- JavaScript plugins (requires jQuery) --> <script src="http://code.jquery.com/jquery.js"></script> + {% if page_name == "index" %} {% if FEED_ALL_ATOM %} <link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed"/> {% endif %} - {% if FEED_ALL_RSS %} - <link href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" type="application/atom+xml" rel="alternate" - title="{{ SITENAME }} RSS Feed"/> + {% endif %} + + {% if tag and TAG_FEED_ATOM %} + <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM|format(tag) }}" type="application/atom+xml" rel="alternate" + title="{{ SITENAME }} {{ tag }} ATOM Feed"/> + {% endif %} + + {% if category and CATEGORY_FEED_ATOM %} + <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category) }}" type="application/atom+xml" rel="alternate" + title="{{ SITENAME }} {{ category }} ATOM Feed"/> {% endif %} {% include 'includes/ga.html' %} @@ -118,6 +126,7 @@ <!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) --> <script src="{{ SITEURL }}/theme/js/respond.min.js"></script> + {% include 'includes/disqus_script.html' %} </body> -</html>
\ No newline at end of file +</html> |