<div class="row articles-row">
    {foreach $articles as $article}
        {url s=article IDa=$article.id TITLE=$article.seo_url assign=article_url}
        {$photo_dimensions = $cfg.Photo.types['article_thumb'].size}

       <div class="col-md-6 col-xxs-12">
          <div class="article">
             <a href="{$article_url}" title="{$article.title}" class="img">
                <img src="{get_photo photo=$article.image size='article_thumb'}" alt="{$article.title}"
                     class="img-fluid" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}" loading="lazy">
             </a>
             <div class="content">
                <p class="title"><a href="{$article_url}">{$article.title}</a></p>
                <p class="data">
                   <span>{$article.date|date_format:"%d. %m. %Y"}</span>
                    {foreach $article.authors as $author}
                        {if $author.active == "Y"}
                           <span>{$author.name} {$author.surname}</span>
                            {break}
                        {/if}
                    {/foreach}
                   {if $article.section}
                      <span>{$article.section.name}</span>
                   {/if}
                </p>
                <a href="{$article_url}">{t}Přečíst{/t}</a>
             </div>
          </div>
       </div>
    {/foreach}
</div>
