{# -*- coding: utf-8 -*- #} {% import 'feeds_translations_helper.tmpl' as feeds_translations with context %} {% macro html_headstart() %} {% if description %} {% endif %} {% if title == blog_title %} {{ blog_title|e }} {% else %} {{ title|e }} | {{ blog_title|e }} {% endif %} {{ html_stylesheets() }} {% if meta_generator_tag %} {% endif %} {{ html_feedlinks() }} {% if favicons %} {% for name, file, size in favicons %} {% endfor %} {% endif %} {% if comment_system == 'facebook' %} {% endif %} {% if prevlink %} {% endif %} {% if nextlink %} {% endif %} {% if use_cdn %} {% else %} {% endif %} {{ extra_head_data }} {% endmacro %} {% macro late_load_js() %} {% if use_cdn %} {% endif %} {% if use_bundles and use_cdn %} {% elif use_bundles %} {% else %} {% if not use_cdn %} {% endif %} {% endif %} {% if date_fanciness != 0 %} {% if date_fanciness == 2 %} {% endif %} {% if use_cdn %} {% else %} {% endif %} {% if not use_bundles %} {% endif %} {% endif %} {{ social_buttons_code }} {% endmacro %} {% macro html_stylesheets() %} {% if use_cdn %} {% endif %} {% if use_bundles and use_cdn %} {% elif use_bundles %} {% else %} {% if not use_cdn %} {% endif %} {% if has_custom_css %} {% endif %} {% endif %} {% if needs_ipython_css %} {% endif %} {% endmacro %} {% macro html_navigation_links() %} {{ html_navigation_links_entries(navigation_links) }} {% endmacro %} {% macro html_navigation_links_entries(navigation_links_source) %} {% for url, text in navigation_links_source[lang] %} {% if isinstance(url, tuple) %} {% endif %} {% endfor %} {% endmacro %}