diff options
Diffstat (limited to 'pelican-bootstrap3/templates/base.html')
-rw-r--r-- | pelican-bootstrap3/templates/base.html | 19 |
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> |