{function article}
   {url s=article IDa=$article.id TITLE=$article.seo_url assign=article_url}
   <div class="article {$article_class|default:"article-sm"}">
      <a href="{$article_url}" title="{$article.title}">
         {$photo_dimensions = $cfg.Photo.types[$article_image].size}
         <img src="{get_photo photo=$article.image size=$article_image}" class="img-responsive"
              alt="{$article.title}" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}">
      </a>
      <div class="content">
         {if $article.section}
            <a class="article-flag article-flag-{$article.section.id}"
               href="{path('kupshop_content_articles_articles_1', ['IDb' => $article.section.id])}">
               {$article.section.name}
            </a>
         {/if}
         <p class="title {if $article_class == "article-lg"}h1{else}h2{/if}"><a href="{$article_url}">{$article.title}</a></p>
         <p class="data"><span>{$article.date|date_format:"%d.%m.%y"}</span> <span>{$article.seen}x {t}přečteno{/t}</span></p>
         <p class="descr">{$article.lead}</p>
         <a href="{$article_url}" class="btn btn-link">{t}Přečíst{/t}</a>
      </div>
   </div>
{/function}

<h2 class="home-articles-title"><a href="{url s=articles}">{t}Blog{/t}</a></h2>

{foreach $blog.articles|array_slice:0:1 as $article}
   {$size = "article_thumb"}
   {if $cfg.Photo.types.article_thumb_lg}
      {$size = "article_thumb_lg"}
   {/if}
   {article article_class="article-lg" article_image=$size}
{/foreach}

<div class="articles-sm-row">
   <div class="articles-sm-col">
      {foreach $blog.articles|array_slice:1 as $article}
         {article article_image="article_thumb"}
      {/foreach}
   </div>

   {block "articles-side"}
   {/block}

   <a href="{url s=articles}" class="btn btn-primary">{t}Další články na blogu{/t}</a>
</div>
