{{!
    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/frontpage/block09_1

    Moodle template for the frontpage block09 design 1.
}}
<div class="block09 block09design1 blockbgwhite">
    <div class="container">
        <div class="row">
            {{#block09}}
            <div class="col-12 col-md-6 m-auto col-lg-4 pb-4">
                <a class="text-decoration-none" href="{{catagoryURL}}">
                <div class="fdb-box fdb-touch " 
                    {{# imgurl }}style= "background-image: url({{{imgurl}}}); background-size: cover;" {{/ imgurl}}
                    {{# bgcolor }}style="background-color: {{bgcolor}};" {{/ bgcolor }}>
                    <div class="block-text-box text-center">
                        <h6>{{#shortentext}} 37, {{catagoryname}} {{/shortentext}}</h6>
                        <h6>{{#str}} over, theme_almondb {{/str}} {{coursecount}} {{#str}}courses, moodle {{/str}}</h6>
                    </div>
                </div>
                </a>
            </div>
            {{/block09}}
        </div>
    </div>
</div>
