How to update navigation templates


#1

What would be the best method of updating a template that’s used for navigation? For instance, if you have the following code.

<html>
{{> navigation}}
{{> body}}
</html> 

Then the site directs to different pages within the body template but you want the class of links to change in the navigation template such that they update to show that’s the active link.


#2

I found a module for it.
https://atmospherejs.com/zimme/active-route