<section class='container'>
    <h1>{{GetCode(Annonce.Category)}}</h1>
    
    
    {{foreach Category}}
    
    <a href='{{GetPath(/Annonce/Category/{{element->Code->Value}})}}'>
    <div class='col-md-3'>
        <div class='block' style='height:350px'>
            <span style='display:block; width:100%; height: 100px; background-size: cover;background-image: url({{element->GetImagePath()}})'>
            </span>

            <h3 style="min-height:60px"> {{element->Name->Value}}
            </h3>
             <div style='height:130px;margin'>{{element->Description->Value}}</div>

        </div>
    </div>
</a>
    {{/foreach Category}}
    
</section>