Skip to content

Commit

Permalink
Merge pull request #1584 from getnikola/rss-in-gallery
Browse files Browse the repository at this point in the history
Add RSS feeds to gallery's HEAD (Issue #786)
  • Loading branch information
Kwpolska committed Jan 17, 2015
2 parents 90b5782 + 4a6ee65 commit f55b6ed
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -4,6 +4,8 @@ New in master
Features
--------

* Added RSS feeds to gallery HEAD (part of Issue #786)

Bugfixes
--------

Expand Down
5 changes: 5 additions & 0 deletions nikola/data/themes/base-jinja/templates/gallery.tmpl
Expand Up @@ -34,3 +34,8 @@
{{ comments.comment_form(None, permalink, title) }}
{% endif %}
{% endblock %}

{% block extra_head %}
{{ super() }}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
{% endblock %}
5 changes: 5 additions & 0 deletions nikola/data/themes/base/templates/gallery.tmpl
Expand Up @@ -34,3 +34,8 @@
${comments.comment_form(None, permalink, title)}
%endif
</%block>

<%block name="extra_head">
${parent.extra_head()}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
</%block>
1 change: 1 addition & 0 deletions nikola/data/themes/bootstrap-jinja/templates/gallery.tmpl
Expand Up @@ -40,6 +40,7 @@

{% block extra_head %}
{{ super() }}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<style type="text/css">
.image-block {
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions nikola/data/themes/bootstrap/templates/gallery.tmpl
Expand Up @@ -40,6 +40,7 @@ ${comments.comment_form(None, permalink, title)}

<%block name="extra_head">
${parent.extra_head()}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<style type="text/css">
.image-block {
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions nikola/data/themes/bootstrap3-jinja/templates/gallery.tmpl
Expand Up @@ -41,6 +41,7 @@

{% block extra_head %}
{{ super() }}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<style type="text/css">
.image-block {
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions nikola/data/themes/bootstrap3/templates/gallery.tmpl
Expand Up @@ -41,6 +41,7 @@ ${comments.comment_form(None, permalink, title)}

<%block name="extra_head">
${parent.extra_head()}
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<style type="text/css">
.image-block {
display: inline-block;
Expand Down

0 comments on commit f55b6ed

Please sign in to comment.