Closed xdega closed 3 months ago
Also, just tried out the tool today, and really loving it so far. Just hoping I can find a way to not have to reproduce the nav for each template, just to highlight a particular nav item.
I just figured it out, but posting in case someone else has a similar problem. You can add the following to the top of your template:
<!--
title: liamhockley.me
origin_page: index <-- THIS
-->
Then in the include, you can simply call {{ origin_page }}
to get that value.
Once again. Great project. I look forward to using this moving forward, and maybe even find some opportunities to help our where needed. 👍🏻
Gonna close this up, since it's not an outstanding issue.
I have been battling with this issue, and failing to find good documentation. Basically, I have the following block for a header and nav menu:
And it's in my main template like so:
I want to pass in a variable to this component, so that I can appropriately set an "active" CSS. Is this possible? How? If it's not possible, would this be a potential feature that could be added?