Fixed home menu issue with translated languages
This commit is contained in:
parent
8ded80530a
commit
ad61934adf
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@
|
|||
{continue}
|
||||
{/if}
|
||||
{if $menu@iteration < 6}
|
||||
{if $menu.name|lower == 'home'}
|
||||
{if $menu.this|lower == 'home'}
|
||||
{continue}
|
||||
{/if}
|
||||
{if $menu.name == "home"}
|
||||
{if $menu.this == "home"}
|
||||
{continue}
|
||||
{/if}
|
||||
<li {if $menu.name|lower == $smarty.const.THIS_PAGE|lower || $menu.name|lower == $currentPage}class="active"{/if}><a href="{$menu.link}">{$menu.name}</a></li>
|
||||
|
|
Loading…
Add table
Reference in a new issue