Skip to content
Permalink
Browse files

Renaming link to feed_link.

  • Loading branch information
felixfontein committed Jun 10, 2017
1 parent 805e23d commit 7439dab26c433b45626ec122f3458e0730c60092
@@ -16,7 +16,7 @@
<p>{{ description }}</p>
{% endif %}
<div class="metadata">
{{ translation_links.link(author) }}
{{ translation_links.feed_link(author) }}
</div>
</header>
{% if posts %}
@@ -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>
@@ -24,7 +24,7 @@
</ul>
{% endif %}
<div class="metadata">
{{ translation_links.link(tag) }}
{{ translation_links.feed_link(tag) }}
</div>
{{ translation_links.translation_link() }}
</header>
@@ -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 %}
@@ -16,7 +16,7 @@
<p>${description}</p>
%endif
<div class="metadata">
${translation_links.link(author)}
${translation_links.feed_link(author)}
</div>
</header>
%if posts:
@@ -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>
@@ -24,7 +24,7 @@
</ul>
%endif
<div class="metadata">
${translation_links.link(tag)}
${translation_links.feed_link(tag)}
</div>
${translation_links.translation_link()}
</header>
@@ -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:

0 comments on commit 7439dab

Please sign in to comment.
You can’t perform that action at this time.