{{!
    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/>.
}}
<div class="block09 block09design2 blockbgwhite">
    <div class="container">
        <div class="row">
            {{#block09}}
            {{#block09background}}
            <div class="col-12 col-md-6 m-auto col-lg-4 pb-4">
                <div class="card text-center">
                    <div class="card-body {{^ bgcolor }}single-box{{/ bgcolor}} {{# bgcolor }}single-box-color{{/ bgcolor }}" 
                        {{# imgurl }}  style= "background-image: url({{{imgurl}}});" {{/ imgurl}}
                        {{# bgcolor }} style= "background-color: {{bgcolor}};" {{/ bgcolor}}
                        >
                        <div class="{{^bgcolor}}single-box-alt{{/bgcolor}}{{#bgcolor}}single-box-alt-color{{/bgcolor}}"
                                    style="background-color: {{sitecolor}} ;">
                            <a class="text-decoration-none text-white" href="{{catagoryURL}}">
                            <h6 class="card-title">{{#shortentext}} 37, {{catagoryname}} {{/shortentext}}</h6>
                            </a>
                            <p class="card-text text-white">{{#str}} over, theme_almondb {{/str}} {{coursecount}} {{#str}}courses, moodle {{/str}}</p>
                        </div>  
                    </div>
                </div>
            </div>
            {{/block09background}}
            {{^block09background}}
            <div class="col-12 col-md-6 m-auto col-lg-4 pb-4">
                <div class="card text-center">
                    <div class="card-body">
                    <a class="text-decoration-none hytext" href="{{catagoryURL}}">
                        <h6 class="card-title">{{#shortentext}} 37, {{catagoryname}} {{/shortentext}}</h6>
                        <p class="card-text">{{#str}} over, theme_almondb {{/str}} {{coursecount}} {{#str}}courses, moodle {{/str}}</p>
                    </a>
                    </div>
                </div>
            </div>
            {{/block09background}}
            {{/block09}}
        </div>  
    </div>
</div>
