{# -*- 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 %} {{ feeds_translations.head(classification=None, kind='index', other=False) }} {% 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_bundles %} {% if use_cdn %} {% else %} {% endif %} {% else %} {% if use_cdn %} {% else %} {% endif %} {% endif %} {% if date_fanciness != 0 %} {% if use_cdn %} {% else %} {% endif %} {% if not use_bundles %} {% endif %} {% endif %} {{ social_buttons_code }} {% endmacro %} {% macro html_stylesheets() %} {% if use_bundles %} {% if use_cdn %} {% else %} {% endif %} {% else %} {% if has_custom_css %} {% endif %} {% endif %} {% if needs_ipython_css %} {% endif %} {% endmacro %} {# This function is deprecated; use feed_helper directly. #} {% macro html_feedlinks() %} {{ feeds_translations.head(classification=None, kind='index', other=False) }} {% endmacro %} {% macro html_translations() %} {% endmacro %}