<div class="article-sections">
   <p>{t}Témata{/t}</p>

   <ul>
      <li><a href="{url s=articles}" class="article-flag">{t}Vše{/t}</a></li>
      {foreach $sections as $section}
         {if $section.articles_count}
            <li>
               <a href="{path('kupshop_content_articles_articles_1', ['IDb' => $section.id])}"
                  class="article-flag{if $section.id == $body.id} active{/if}">
                  {$section.name}
               </a>
            </li>
         {/if}
      {/foreach}
   </ul>
</div>
