Skip to content

Commit 7439dab

Browse files
committedJun 10, 2017
Renaming link to feed_link.
1 parent 805e23d commit 7439dab

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
 

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<p>{{ description }}</p>
1717
{% endif %}
1818
<div class="metadata">
19-
{{ translation_links.link(author) }}
19+
{{ translation_links.feed_link(author) }}
2020
</div>
2121
</header>
2222
{% if posts %}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="sectionindex">
1212
<header>
1313
<h2><a href="{{ _link('section_index', section) }}">{{ title|e }}</a></h2>
14-
{{ translation_links.link(section) }}
14+
{{ translation_links.feed_link(section) }}
1515
</header>
1616
{{ super() }}
1717
</div>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ul>
2525
{% endif %}
2626
<div class="metadata">
27-
{{ translation_links.link(tag) }}
27+
{{ translation_links.feed_link(tag) }}
2828
</div>
2929
{{ translation_links.translation_link() }}
3030
</header>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{% endif %}
4646
{% endmacro %}
4747

48-
{% macro link(classification) %}
48+
{% macro feed_link(classification) %}
4949
{% if translations|length > 1 %}
5050
{% for language in translations|sort %}
5151
{% if generate_atom or generate_rss %}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<p>${description}</p>
1717
%endif
1818
<div class="metadata">
19-
${translation_links.link(author)}
19+
${translation_links.feed_link(author)}
2020
</div>
2121
</header>
2222
%if posts:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="sectionindex">
1212
<header>
1313
<h2><a href="${_link('section_index', section)}">${title|h}</a></h2>
14-
${translation_links.link(section)}
14+
${translation_links.feed_link(section)}
1515
</header>
1616
${parent.content()}
1717
</div>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ul>
2525
%endif
2626
<div class="metadata">
27-
${translation_links.link(tag)}
27+
${translation_links.feed_link(tag)}
2828
</div>
2929
${translation_links.translation_link()}
3030
</header>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
% endif
4646
</%def>
4747

48-
<%def name="link(classification)">
48+
<%def name="feed_link(classification)">
4949
% if len(translations) > 1:
5050
% for language in sorted(translations):
5151
% if generate_atom or generate_rss:

0 commit comments

Comments
 (0)
Please sign in to comment.