{{!
    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/block11_1

    Moodle template for the frontpage block11 design 1.
}}
<div class="blockbgcolor gray-bg hy-mt-50">
    <div class="container">
        <div class="row">
            {{! Courses }}
            <div class="col-md-12" >
                <div class="section-title-fp hytext text-center">
                    <h4>{{block11header}}</h4>
                </div>
                <div class="item-content text-center pt-5 pb-5">    
                    {{{block11caption}}}
                </div>
            </div>
        </div>
    </div>
</div>
<div class="block11design1 gray-bg hy-pb-30">
    <div class="container">  
        <div class="row">  
            {{#block11}}
            <div class="col-md-4 col-lg-4 col-sm-12 mb-4">
                <div class="card h-100">
                    <div class="tag-top">
                        {{{userpicture}}} {{{username}}}
                    </div>   
                    <div class="course-project" style= "background-image: url({{{imgurl}}});">
                         
                    </div>    
                    <div class="tag-top">
                       {{{userdate}}}
                    </div>     
                    <div class="card-body">
                        <h5 class="card-title post-heading"><a href="{{postURL}}" class="text-decoration-none">
                            {{subject}}
                        </a></h5>
                        
                        <div class="card-text">{{#shortentext}} 200, {{{summary}}} {{/shortentext}}</div>
                        
                    </div>
                    <div class="card-footer">
                        {{{tag}}}
                    </div>
                </div>
            </div> 
            {{/block11}}
            
        </div> 
    </div>
</div>
