{foreach $children as $Child} {assign var=isInPath value=0} {if $Child->getId() == $Site->getId() || QUI::getRewrite()->isIdInPath($Child->getId())} {assign var=isInPath value=1} {/if}
- {$Child->getAttribute('title')} {assign var=subchildren value=$Child->getNavigation()} {if count($subchildren)}
  {foreach $subchildren as $SubChild} {assign var=isInPathSubChild value=0} {if $SubChild->getId() == $Site->getId() || QUI::getRewrite()->isIdInPath($SubChild->getId())} {assign var=isInPathSubChild value=1} {/if}
  - {image src=$SubChild->getAttribute('image_site') width="40" loading="lazy"} {$SubChild->getAttribute('title')} {if $SubChild->getAttribute('short') !== ''} {$SubChild->getAttribute('short')} {/if}
  {/foreach}
  {else} {if $Child->getAttribute('short')}
  {$Child->getAttribute('short')}
  {/if} {/if}
{/foreach}