Skip to content

Commit

Permalink
Use an attribute that exists
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 13, 2016
1 parent 188560d commit e771600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/post_helper.tmpl
Expand Up @@ -3,7 +3,7 @@
<%def name="meta_translations(post)">
%if len(translations) > 1:
%for langname in sorted(translations):
%if langname != lang and (post.show_untranslated or post.is_translation_available(langname)):
%if langname != lang and ((not post.skip_untranslated) or post.is_translation_available(langname)):
<link rel="alternate" hreflang="${langname}" href="${post.permalink(langname)}">
%endif
%endfor
Expand Down

0 comments on commit e771600

Please sign in to comment.