aitomic-m-nav-base
v2.0.0
Published
Template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' under condition of variable `$ident` or `$subIdent` using macro `{import '../path-to-latte-template'}` and dec
Downloads
217
Readme
Template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' under condition of variable $ident
or $subIdent
using macro {import '../path-to-latte-template'}
and declare this block as {include #m-nav-base}
. There are available hooks to customization CSS classes of list, item and link:
{import '../path-to-latte-template'}
{include #m-nav-base, menuClass => '...', itemClass => '...', linkClass => '...'}