aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2014-09-25 00:41:02 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2014-09-25 00:41:02 +0200
commit03476ad73ebb0c5bd9235ff99fa5e2dac32acf25 (patch)
tree575ab89dc064fc6a88861fb79acaf4ce5e9ef9c4
parent34e975a6400f380157a1c4f2a6136fc778fe1879 (diff)
parentcfa5f40283668540cda45794200809640f251acd (diff)
downloadpelican-themes-03476ad73ebb0c5bd9235ff99fa5e2dac32acf25.tar.gz
Merge pull request #146 from pnf/master
Tag and category-specific ATOM feed links in header of respective web pages
-rw-r--r--pelican-bootstrap3/templates/base.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 29f3576..070dad2 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -31,6 +31,15 @@
<meta name="author" content="{{ AUTHOR }}" />
{% endblock %}
+ <!-- Enable latex plugin -->
+ {% if article and article.latex %}
+ {{ article.latex }}
+ {% endif %}
+ {% if page and page.latex %}
+ {{ page.latex }}
+ {% endif %}
+
+
{# Open Graph tags #}
{% if USE_OPEN_GRAPH is not defined %}
{% set USE_OPEN_GRAPH = True %}
@@ -85,6 +94,16 @@
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 %}
+
</head>
<body>