Skip to content

Commit

Permalink
fix translation links
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 7, 2015
1 parent dd49ef6 commit b07ef5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nikola/data/themes/bootstrap3/templates/base_helper.tmpl
Expand Up @@ -156,7 +156,11 @@ lang="${lang}">
</%def>

<%def name="html_translations()">
${parent.html_translations()}
%for langname in sorted(translations):
%if langname != lang:
<li><a href="${abs_link(_link("root", None, langname))}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></li>
%endif
%endfor
</%def>

<%def name="html_feedlinks()">
Expand Down

0 comments on commit b07ef5d

Please sign in to comment.