{# -*- coding: utf-8 -*- #} {% macro meta_translations(post) %} {% if translations|length > 1 %} {% for langname in translations.keys() %} {% if langname != lang and post.is_translation_available(langname) %} {% endif %} {% endfor %} {% endif %} {% endmacro %} {% macro html_tags(post) %} {% if post.tags %}
{% for tag in post.tags %} {% if tag not in hidden_tags %} {% endif %} {% endfor %}
{% endif %} {% endmacro %} {% macro html_pager(post) %} {% if post.prev_post or post.next_post %} {% endif %} {% endmacro %} {% macro 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 %} {% endmacro %} {% macro 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 %} {% endmacro %} {% macro mathjax_script(post) %} {% if post.is_mathjax %} {% endif %} {% endmacro %}