{# -*- coding: utf-8 -*- #} {# Override only the functions that differ from base_helper.tmpl #} {% macro html_headstart() %} {% if description %} {% endif %} {{ title|e }} | {{ blog_title|e }} {{ html_stylesheets() }} {{ html_feedlinks() }} {% if permalink %} {% endif %} {% if favicons %} {% for name, file, size in favicons %} {% endfor %} {% endif %} {% if comment_system == 'facebook' %} {% endif %} {{ mathjax_config }} {% if use_cdn %} {% else %} {% endif %} {{ extra_head_data }} {% endmacro %} {% macro html_stylesheets() %} {% if use_bundles %} {% if use_cdn %} {% else %} {% endif %} {% else %} {% if use_cdn %} {% else %} {% endif %} {% if has_custom_css %} {% endif %} {% endif %} {% if annotations and post and not post.meta('noannotations') %} {{ notes.css() }} {% elif not annotations and post and post.meta('annotations') %} {{ notes.css() }} {% endif %} {% endmacro %} {% macro late_load_js() %} {% if use_bundles %} {% if use_cdn %} {% else %} {% endif %} {% else %} {% if use_cdn %} {% else %} {% endif %} {% endif %} {{ social_buttons_code }} {% endmacro %} {% macro html_feedlinks() %} {% if rss_link %} {{ rss_link }} {% elif generate_rss %} {% if translations|length > 1 %} {% for language in translations %} {% endfor %} {% else %} {% endif %} {% endif %} {% endmacro %} {% macro html_navigation_links() %} {% for url, text, icon in navigation_links[lang] %} {% if rel_link(permalink, url) == "#" %}
  • {% else %}
  • {% endif %} {% endfor %} {% endmacro %} {% macro html_tags(post) %} {% if post.tags %}
    {% endif %} {% endmacro %} {% macro html_title() %} {% if title and not post.meta('hidetitle') %}

    {{ title|e }}

    {% endif %} {% endmacro %} {% macro html_translations(post) %} {% if translations|length > 1 %} {% for langname in translations.keys() %} {% if langname != lang and post.is_translation_available(langname) %} {{ messages("LANGUAGE", langname) }} {% endif %} {% endfor %} {% endif %} {% endmacro %} {% macro html_sourcelink() %} {% if show_sourcelink %}   |   {{ messages("Source") }} {% endif %} {% endmacro %}