{{!
    // 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/>.

    /**
     * @package    theme_enlightlite
     * @copyright  2015 onwards LMSACE Dev Team (http://www.lmsace.com)
     * @authors    LMSACE Dev Team
     * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
     */
}}
<footer id="page-footer">
    <div id="site-footer">
        {{# footermain }}
        <div class="footer-main">
            <div class="bgtrans-overlay"></div><!--Overlay transparent bg layer-->
            <div class="container-fluid footer-main-wrap">
                <div class="row {{{footerb1 }}}">
                    {{# footerb1}}
                    <div class="{{ colClass }}">
                        <h6>{{{ fb1title }}}</h6>
                        <div class="footer-links">

                            {{{ footerblink1 }}}

                        </div>
                    </div>
                    {{/ footerb1}}

                    {{# footerb2}}
                    <div class="{{ colClass }}">
                        <h6> {{{ fb2title }}} </h6>
                        <div class="footer-links">
                            <ul>
                            {{{ footerblink2 }}}
                            </ul>
                        </div>
                    </div>
                    {{/ footerb2}}

                    {{# footerb3}}
                        <div class="{{ colClass }}">
                            <h6>{{{ fb3title }}}</h6>
                            <div class="footer-links">
                                <ul>
                                    {{{ footerblink3 }}}
                                </ul>
                            </div>
                        </div>
                    {{/ footerb3}}

                    {{# footerb4}}
                        <div class="{{ colClass }}">
                            <h6> {{{ fb4title }}} </h6>
                            {{{footerAddress}}}
                            <div class="social-media {{footericonclass}}">
                                <ul>
                                    {{{ social_links }}}
                                </ul>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                    {{/ footerb4}}
                </div>
            </div>
        </div>
        {{/ footermain}}

        <div class="footer-bottom">
            {{# copyright}}
            <div class="container">
                <p>{{{copyright}}}</p>
            </div>
            {{/ copyright}}
        </div>
    </div>
    <div data-region="footer-container-popover">
        <button class="btn btn-icon bg-secondary icon-no-margin btn-footer-popover" data-action="footer-popover" aria-label="{{#str}}showfooter, theme_boost{{/str}}">
            {{#pix}}e/question, core{{/pix}}
        </button>
    </div>
    <div class="footer-content-popover container" data-region="footer-content-popover">
        {{# output.has_popover_links }}
            <div class="footer-section p-3 border-bottom">
                {{# output.page_doc_link }}
                    <div>{{{ output.page_doc_link }}}</div>
                {{/ output.page_doc_link }}

                {{# output.services_support_link }}
                    <div>{{{ output.services_support_link }}}</div>
                {{/ output.services_support_link }}

                {{# output.supportemail }}
                    <div>{{{ output.supportemail }}}</div>
                {{/ output.supportemail }}
            </div>
        {{/ output.has_popover_links }}
        <div class="footer-section p-3 border-bottom">
            <div class="logininfo">
                {{{ output.login_info }}}
            </div>
            <div class="tool_usertours-resettourcontainer">
            </div>

            {{{ output.standard_footer_html }}}
            {{{ output.standard_end_of_body_html }}}
        </div>
        <div class="footer-section p-3">
            <div>{{#str}}poweredbymoodle, core{{/str}}</div>
            {{#output.moodle_release}}
                <div>
                    {{#str}}version, core{{/str}} {{{ output.moodle_release }}}
                </div>
            {{/output.moodle_release}}
        </div>
    </div>
    {{{ output.debug_footer_html }}}
</footer>

 {{#js}}
require(['theme_boost/footer-popover'], function(FooterPopover) {
    FooterPopover.init();
});
{{/js}}