Skip to content

Commit f55b6ed

Browse files
committedJan 17, 2015
Merge pull request #1584 from getnikola/rss-in-gallery
Add RSS feeds to gallery's HEAD (Issue #786)
2 parents 90b5782 + 4a6ee65 commit f55b6ed

File tree

7 files changed

+16
-0
lines changed

7 files changed

+16
-0
lines changed
 

‎CHANGES.txt

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ New in master
44
Features
55
--------
66

7+
* Added RSS feeds to gallery HEAD (part of Issue #786)
8+
79
Bugfixes
810
--------
911

‎nikola/data/themes/base-jinja/templates/gallery.tmpl

+5
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@
3434
{{ comments.comment_form(None, permalink, title) }}
3535
{% endif %}
3636
{% endblock %}
37+
38+
{% block extra_head %}
39+
{{ super() }}
40+
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
41+
{% endblock %}

‎nikola/data/themes/base/templates/gallery.tmpl

+5
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@
3434
${comments.comment_form(None, permalink, title)}
3535
%endif
3636
</%block>
37+
38+
<%block name="extra_head">
39+
${parent.extra_head()}
40+
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
41+
</%block>

‎nikola/data/themes/bootstrap-jinja/templates/gallery.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040

4141
{% block extra_head %}
4242
{{ super() }}
43+
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
4344
<style type="text/css">
4445
.image-block {
4546
display: inline-block;

‎nikola/data/themes/bootstrap/templates/gallery.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ${comments.comment_form(None, permalink, title)}
4040

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

‎nikola/data/themes/bootstrap3-jinja/templates/gallery.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
{% block extra_head %}
4343
{{ super() }}
44+
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
4445
<style type="text/css">
4546
.image-block {
4647
display: inline-block;

‎nikola/data/themes/bootstrap3/templates/gallery.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ ${comments.comment_form(None, permalink, title)}
4141

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

0 commit comments

Comments
 (0)
Please sign in to comment.