{# this is html5, xmlish variant #} {%- import "snippets.html" as snippets with context %} {%- set head = snippets.head() %} {%- set scripts = snippets.scripts() %} {%- set stylesheets = snippets.stylesheets() %} {# This allows child templates passing their header_search macro to the common layout (eg blog). If there is no header_search macro defined in child templates use the default one. #} {% if not header_search %} {% from "utils.html" import header_search %} {% endif %}
{% block head %} {% block head_meta %} {# must be at the beginning #} {% if pi_refresh -%} {{ '' % pi_refresh }} {%- endif %} {% for name, content in theme_supp.meta_items -%} {% endfor %} {% endblock %} {{ head }} {% block head_title %}