diff --git a/mymodule/themes/fancytheme/default/base.twig b/mymodule/themes/fancytheme/default/base.twig new file mode 100644 index 0000000000000000000000000000000000000000..b19f451e0527d8423ac0bbc8f6e49af9ca18a541 --- /dev/null +++ b/mymodule/themes/fancytheme/default/base.twig @@ -0,0 +1,36 @@ +{% spaceless %} +<!DOCTYPE html> +<html lang="{{ currentLanguage }}" xml:lang="{{ currentLanguage }}"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="viewport" content="initial-scale=1.0"> + <title>{{ pagetitle }}</title> + <link rel="stylesheet" href="{{ asset("css/stylesheet.css") }}"> + <link rel="stylesheet" href="/css/bootstrap.min.css"> + <link rel="stylesheet" href="/css/m4lab.css"> + <link rel="icon" href="{{ asset("icons/favicon.ico") }}"> + {% if isRTL %} + <link rel="stylesheet" href="{{ asset("assets/css/src/default-rtl.css") }}"> + {% endif %} + <meta name="robots" content="noindex, nofollow"> + <link rel="preload" href="{{ asset('js/bundle.js') }}" as="script"> + {% block preload %}{% endblock %} + </head> + <body id="{{ templateId }}"> + <div id="layout"> + {% block header %}{% include "_header.twig" %}{% endblock %} + <div id="content"> + <div class="wrap"> + {% block contentwrapper %}{% block content %}{% endblock %}{% endblock contentwrapper %} + </div> + </div>{# content #} + <div id="push"></div> + </div>{# layout #} + <div id="foot"> + {% block footer %}{% include "_footer.twig" %}{% endblock %} + </div> + <script src="{{ asset('js/bundle.js') }}"></script> + {% block postload %}{% endblock %} + </body> +</html> +{% endspaceless %}