<div class="footer-menu">
   {foreach $menu as $item}
      {if $item.children}
         <div class="{$footer_column_class|default:"column"}">
            <p class="{$title_class|default:"title-default"}">{$item.title}</p>
            <ul class="list-unstyled">
               {foreach $item.children as $subitem}
                  <li {if $subitem.selected}class="active"{/if}>
                     <a href="{$subitem.url}" {if $subitem.target != ''}target="{$subitem.target}"
                        rel="noreferrer"{/if}>{$subitem.title}</a>
                  </li>
               {/foreach}
            </ul>
         </div>
      {/if}
   {/foreach}
</div>
