Skip to content
Permalink
Browse files

Use an attribute that exists

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 13, 2016
1 parent 188560d commit e771600ffe6c3c6c8c01017478bea8332bf5da04
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/data/themes/base/templates/post_helper.tmpl
@@ -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

0 comments on commit e771600

Please sign in to comment.