Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Renaming link to feed_link.
  • Loading branch information
felixfontein committed Jun 10, 2017
1 parent 805e23d commit 7439dab
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/author.tmpl
Expand Up @@ -16,7 +16,7 @@
<p>{{ description }}</p>
{% endif %}
<div class="metadata">
{{ translation_links.link(author) }}
{{ translation_links.feed_link(author) }}
</div>
</header>
{% if posts %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/sectionindex.tmpl
Expand Up @@ -11,7 +11,7 @@
<div class="sectionindex">
<header>
<h2><a href="{{ _link('section_index', section) }}">{{ title|e }}</a></h2>
{{ translation_links.link(section) }}
{{ translation_links.feed_link(section) }}
</header>
{{ super() }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/tag.tmpl
Expand Up @@ -24,7 +24,7 @@
</ul>
{% endif %}
<div class="metadata">
{{ translation_links.link(tag) }}
{{ translation_links.feed_link(tag) }}
</div>
{{ translation_links.translation_link() }}
</header>
Expand Down
Expand Up @@ -45,7 +45,7 @@
{% endif %}
{% endmacro %}

{% macro link(classification) %}
{% macro feed_link(classification) %}
{% if translations|length > 1 %}
{% for language in translations|sort %}
{% if generate_atom or generate_rss %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/author.tmpl
Expand Up @@ -16,7 +16,7 @@
<p>${description}</p>
%endif
<div class="metadata">
${translation_links.link(author)}
${translation_links.feed_link(author)}
</div>
</header>
%if posts:
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/sectionindex.tmpl
Expand Up @@ -11,7 +11,7 @@
<div class="sectionindex">
<header>
<h2><a href="${_link('section_index', section)}">${title|h}</a></h2>
${translation_links.link(section)}
${translation_links.feed_link(section)}
</header>
${parent.content()}
</div>
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/tag.tmpl
Expand Up @@ -24,7 +24,7 @@
</ul>
%endif
<div class="metadata">
${translation_links.link(tag)}
${translation_links.feed_link(tag)}
</div>
${translation_links.translation_link()}
</header>
Expand Down
Expand Up @@ -45,7 +45,7 @@
% endif
</%def>

<%def name="link(classification)">
<%def name="feed_link(classification)">
% if len(translations) > 1:
% for language in sorted(translations):
% if generate_atom or generate_rss:
Expand Down

0 comments on commit 7439dab

Please sign in to comment.