aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2014-09-25 00:40:23 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2014-09-25 00:40:23 +0200
commit34e975a6400f380157a1c4f2a6136fc778fe1879 (patch)
tree6609c3ec37f9746bd27f52e5bb93729c2871eeaa /tuxlite_tbs
parentb879f580f1fed6091edb882c399ee0810fb8e438 (diff)
parent8ef32802eef326da10838348a80c38c6bf465aad (diff)
downloadpelican-themes-34e975a6400f380157a1c4f2a6136fc778fe1879.tar.gz
Merge pull request #150 from tverrbjelke/master
Theme become compatible with Pelican documentation, enable firefox to dynamic-bookmark the feeds by adding meta data.
Diffstat (limited to 'tuxlite_tbs')
-rw-r--r--tuxlite_tbs/templates/base.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html
index 4dd1f52..866d6a5 100644
--- a/tuxlite_tbs/templates/base.html
+++ b/tuxlite_tbs/templates/base.html
@@ -18,6 +18,20 @@
<link href="{{ SITEURL }}/theme/local.css" rel="stylesheet">
<link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet">
+ <!-- So Firefox can bookmark->"abo this site" -->
+ {% if FEED_ALL_ATOM %}
+ <link href="{{ FEED_ALL_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
+ {% endif %}
+ {% if FEED_ATOM %}
+ <link href="{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
+ {% endif %}
+ {% if FEED_RSS %}
+ <link href="{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
+ {% endif %}
+ {% if FEED_ALL_RSS %}
+ <link href="{{ FEED_ALL_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
+ {% endif %}
+
</head>
<body>
@@ -70,10 +84,22 @@
<li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Archives</a>
<li><a href="{{ SITEURL }}/tags.html">Tags</a>
+
+
+
+ {% if FEED_ALL_ATOM %}
+ <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate">Atom feed</a></li>
+ {% endif %}
+ {% if FEED_ATOM %}
<li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">Atom feed</a></li>
+ {% endif %}
{% if FEED_RSS %}
<li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
{% endif %}
+ {% if FEED_ALL_RSS %}
+ <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate">RSS feed</a></li>
+ {% endif %}
+
</ul>
</div>