Skip to content
Permalink
Browse files
Don't add translated title for archives.
  • Loading branch information
felixfontein committed Jun 4, 2017
1 parent 884a488 commit 93cfc3e0500ce2049314c71297f451260403f94d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
@@ -24,7 +24,11 @@
<div class="translationslist translations">
<h3 class="translationslist-intro">${messages("Also available in:")}</h3>
%for language, classification, name in other_languages:
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)} (${name|h})</a></p>
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)}
%if kind != 'archive':
(${name|h})
%endif
</a></p>
%endfor
</div>
%endif
@@ -20,7 +20,11 @@
<div class="translationslist translations">
<h3 class="translationslist-intro">${messages("Also available in:")}</h3>
%for language, classification, name in other_languages:
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)} (${name|h})</a></p>
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)}
%if kind != 'archive':
(${name|h})
%endif
</a></p>
%endfor
</div>
%endif
@@ -20,7 +20,11 @@
<div class="translationslist translations">
<h3 class="translationslist-intro">${messages("Also available in:")}</h3>
%for language, classification, name in other_languages:
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)} (${name|h})</a></p>
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)}
%if kind != 'archive':
(${name|h})
%endif
</a></p>
%endfor
</div>
%endif
@@ -43,7 +43,11 @@
<div class="translationslist translations">
<h3 class="translationslist-intro">${messages("Also available in:")}</h3>
%for language, classification, name in other_languages:
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)} (${name|h})</a></p>
<p><a href="${_link(kind, classification, language)}" rel="alternate">${messages("LANGUAGE", language)}
%if kind != 'archive':
(${name|h})
%endif
</a></p>
%endfor
</div>
%endif

0 comments on commit 93cfc3e

Please sign in to comment.