Dear Couch-People,
i'm currently trying to find a way to inject a header for all the pages of my site - i have set up Couch for all pages, but i am currently making many small changes to the header and navigation bar and i don't want to repeatedly copypaste the new header to all pages.
I know that it is possible to embed snipptes with Couch, but the problem is:
The currently active navigation item has a specific class (class="active") so that it is highlighted in the nav-bar. Because of that, i would need the snippet to be dynamically changed for the currently active nav-bar item.
Is there a way to achieve this?
Thanks in advance
Kind regards
Sundance
i'm currently trying to find a way to inject a header for all the pages of my site - i have set up Couch for all pages, but i am currently making many small changes to the header and navigation bar and i don't want to repeatedly copypaste the new header to all pages.
I know that it is possible to embed snipptes with Couch, but the problem is:
The currently active navigation item has a specific class (class="active") so that it is highlighted in the nav-bar. Because of that, i would need the snippet to be dynamically changed for the currently active nav-bar item.
Is there a way to achieve this?
Thanks in advance

Kind regards
Sundance