## -*- coding: utf-8 -*- <%namespace name="helper" file="post_helper.tmpl"/> <%namespace name="comments" file="comments_helper.tmpl"/> <%def name="html_title()"> %if title and not post.meta('hidetitle'):

${post.title()|h}

%endif <%def name="html_translations(post)"> % if len(post.translated_to) > 1:

${messages("Also available in:")}

% for langname in translations.keys(): % if langname != lang and post.is_translation_available(langname):

${messages("LANGUAGE", langname)}

% endif % endfor
% endif <%def name="html_sourcelink()"> % if show_sourcelink:

${messages("Source")}

% endif <%def name="html_post_header()">
% if not post.meta('nocomments') and site_has_comments:

${comments.comment_link(post.permalink(), post._base_path)} % endif ${html_sourcelink()} % if post.meta('link'):

${messages("Original site")}

% endif %if post.description(): %endif
${html_translations(post)}