h***@gmail.com
2015-01-09 18:37:52 UTC
Hi,
is there an easy way to check if we are within the navigation to mark a
menu entry as 'active', either in the main nav where i have a ul/li list in
template/default.html, something like $if(isactive)$class="active"$endif$,
or in sub navigations, like the blog example: $for(posts)$<li
$if(isactive)$class="active"$endif$ ><a href="$fullurl$">.....
well, not a big fan of google groups, i wonder if the examples above come
out correct ;)
is there an easy way to check if we are within the navigation to mark a
menu entry as 'active', either in the main nav where i have a ul/li list in
template/default.html, something like $if(isactive)$class="active"$endif$,
or in sub navigations, like the blog example: $for(posts)$<li
$if(isactive)$class="active"$endif$ ><a href="$fullurl$">.....
well, not a big fan of google groups, i wonder if the examples above come
out correct ;)
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.