## -*- coding: utf-8 -*- <%def name="meta_translations(post)"> %if len(translations) > 1: %for langname in sorted(translations): %if langname != lang and post.is_translation_available(langname): %endif %endfor %endif %def> <%def name="html_tags(post)"> %if post.tags:
%endif %def> <%def name="html_pager(post)"> %if post.prev_post or post.next_post: %endif %def> <%def name="open_graph_metadata(post)"> %if use_open_graph: %if post.description(): %else: %endif %if post.previewimage: %endif ### Will only work with Pintrest and breaks everywhere else who expect a [Facebook] URI. ### %if post.author(): ### ### %endif %if post.date.isoformat(): %endif %if post.tags: %for tag in post.tags: %endfor %endif %endif %def> <%def name="twitter_card_information(post)"> %if twitter_card and twitter_card['use_twitter_cards']: %if 'site:id' in twitter_card: %elif 'site' in twitter_card: %endif %if 'creator:id' in twitter_card: %elif 'creator' in twitter_card: %endif %endif %def> <%def name="mathjax_script(post)"> %if post.is_mathjax: %endif %def>