{foreach $children as $Child}
- {$Child->getAttribute('title')} {assign var=subchildren value=$Child->getNavigation()} {if count($subchildren)}
  {foreach $subchildren as $SubChild}
  - {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}