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

    Page footer.

    Example context (json):
    {
    }
}}

<footer id="page-footer">
    <style>
        footer {
            background: {{{footer_background_color}}};
        }
        footer * {
            color: {{{footer_background_text_color}}};
        }
    </style>
    {{#footercount}}
        <div class="footer-container footer-container-{{{footercount}}} container">
            {{#footercontents}}
                <div class="footer-section-wrapper">
                    {{#footertitle}}
                        <h6 class="footer-title">{{{footertitle}}}</h6>
                    {{/footertitle}}
                    {{{footerhtml}}}
                </div>
            {{/footercontents}}
        </div>
    {{/footercount}}
    {{#footer_show_copywriter}}
        <div class="footer-foot">
            <div class="container">
                <p class="text-center text-white">
                    {{#str}}footer_copywriter,theme_boost_magnific{{/str}}
                    <a href="https://eduardokraus.com" target="_blank" class="text-white">Eduardo Kraus</a> -
                    Powered by <a href="https://moodle.org" target="_blank" class="text-white">Moodle</a>
                </p>
            </div>
        </div>
    {{/footer_show_copywriter}}
    {{#editing}}
        <p class="text-center">
            <a href="{{{config.wwwroot}}}/theme/boost_magnific/quickstart/"
               class="btn text-white">{{#str}}quickstart_title,theme_boost_magnific{{/str}}</a>
        </p>
    {{/editing}}
    <div class="footer-content-debugging footer-dark bg-dark text-light d-none">
        <div class="container-fluid footer-dark-inner">
            {{{ output.debug_footer_html }}}
            {{{ output.standard_footer_html }}}
        </div>
    </div>
</footer>

{{{ output.standard_end_of_body_html }}}
