<div class="home-articles-wrapper">
   <h2 class="text-center">{t}Blog{/t}</h2>
   {if !$hide_sections}
      {insert_article_sections assign="sections"}
      <div class="home-article-sections">
         {foreach $sections as $section}
            {if $section.articles_count}
               <a href="{path('kupshop_content_articles_articles_1', ['IDb' => $section.id])}"
                  class="sections-item">{$section.name}</a>
            {/if}
         {/foreach}
      </div>
   {/if}
   {include "block.articles.tpl" articles=$articles lazyload=true}
   <a class="btn btn-primary btn-block btn-resp" href="{url s=articles}">{t}Další články na blogu{/t}</a>
</div>
