{% extends "/themes/default/core.html" %} {% use "/themes/default/header.html" with css as header_css, body as header, js as header_js %} {% use "/themes/default/footer.html" with css as footer_css, body as footer, js as footer_js %} {% use '/themes/default/hotline/index.html' with css as hotline_css, body as hotline_body, js as hotline_js, js_init as hotline_js_init %} {% block css %} {{ parent() }} {{ block('header_css') }} {{ block('footer_css') }} {{ block('hotline_css') }} {% endblock %} {% block body %} {{ block('header') }} {% block menu %} {% if menu %} {{ menu|raw }} {% else %}
{% endif %} {% endblock %}
{% block main %} {{ main|raw }} {% endblock %}
{{ block('footer') }} {% endblock %} {% block js %} {{ parent() }} {{ block('footer_js') }} {{ block('header_js') }} {{ block('hotline_js') }} {{ block('hotline_js_init') }} {% endblock %}