{{!
    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_trema/footer

    Page footer.
}}
<div id="goto-top-link">
    {{! go to top is sticky to footer so needs to be sibling }}
    <a class="btn btn-light" role="button" href="#" aria-label="{{#str}} totop, theme_boost {{/str}}">
        {{#pix}} i/up, core{{/pix}}
    </a>
</div>
<footer id="page-footer">
    <div class="container">
        <div class="row gtr-200 gtr-uniform">
            <section class="col-12 text-center col-12-medium col-12-xsmall footer-info">
                <div class="tool_usertours-resettourcontainer"></div>
                <nav class="nav navbar-nav d-md-none">
                    {{# output.custom_menu_flat }}
                        <ul class="list-unstyled pt-3">
                            {{> theme_boost/custom_menu_footer }}
                        </ul>
                    {{/ output.custom_menu_flat }}
                </nav>
            </section>

            <section class="col-12 footer-info">
                {{{defaultfrontpagefooter}}}
            </section>

            {{# output.page_doc_link }}
                <div class="helplink col-12 text-center col-12-medium col-12-xsmall footer-info smalltext">{{{ output.page_doc_link }}}</div>
            {{/ output.page_doc_link }}
            <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext {{^footerinfo}}d-none{{/footerinfo}}">
                {{{ output.login_info }}}
                {{{ output.standard_footer_html }}}
                {{{ output.standard_end_of_body_html }}}
            </section>
        </div>
    </div>
    {{#footerinfo}}
        <div class="copyleft"><span>&copy;</span>{{#str}}footertitle, theme_trema{{/str}}</div>
    {{/footerinfo}}
</footer>