{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_almondb/columns1

    almondb 1 column layout template.

    Context variables required for this template:
    * sitename - The name of the site
    * output - The core renderer for the page
    * bodyattributes - attributes for the body tag as a string of html attributes

    Example context (json):
    {
        "sitename": "Moodle",
        "output": {
            "doctype": "<!DOCTYPE html>",
            "page_title": "Test page",
            "favicon": "favicon.ico",
            "main_content": "<h1>Headings make html validators happier</h1>"
         },
         "bodyattributes":""
    }
}}

{{> theme_almondb/frontpage/head }}

<body {{{ bodyattributes }}}>

{{> core/local/toast/wrapper}}
<!-- Start Header Area -->
    {{#frontpagenavchoice2}}
         {{> theme_almondb/frontpage/header2}}
    {{/frontpagenavchoice2}}
    {{#frontpagenavchoice3}}
         {{> theme_almondb/frontpage/header3}}
    {{/frontpagenavchoice3}}
<!-- End Header Area -->
<!-- Start Slider Area  -->
    {{> theme_almondb/frontpage/slider}}
    {{#frontpagenavchoice1}}
         {{> theme_almondb/frontpage/header1}}
    {{/frontpagenavchoice1}}
<!-- End Slider Area -->
<!-- Start section -->
    {{> theme_almondb/frontpage/frontpage_1 }}
<!-- End section -->
<div>
    {{! go to top is sticky to footer so needs to be sibling }}
    <a role="button" href="#" aria-label="{{#str}} totop, theme_almondb {{/str}}">
        <i class="fa fa-angle-up scrollUp"></i>
    </a>
</div>

{{> theme_almondb/frontpage/setup1}} 

</body>   
</html>

{{#js}}
    M.util.js_pending('theme_boost/loader');
    require(['theme_boost/loader'], function() {
        M.util.js_complete('theme_boost/loader');
    });
{{/js}}
