drizzle icon indicating copy to clipboard operation
drizzle copied to clipboard

Consider using a navigation helper to determine current page instead of JavaScript

Open tylersticka opened this issue 9 years ago • 2 comments
trafficstars

Currently, the "current page" is identified using some JavaScript on the client side.

It'd be nice if this could be determined during compilation, so while iterating through nav objects we could check for an attribute (current or active or whatevs) and style things that way.

Low priority, just a thought!

tylersticka avatar Apr 18 '16 21:04 tylersticka

This relates to #23

erikjung avatar May 03 '16 18:05 erikjung

Noting this for future consideration: https://github.com/helpers/handlebars-helper-isActive

erikjung avatar May 19 '16 23:05 erikjung