Replies: 2 comments 8 replies
-
So you want to say you're on Child Page 1 even though you're on Parent? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Sort of, cause Child Page 1 is "Introduction". I did it this way, because all the other pages require a reusable info from the parent page (ie. product specialty, product code). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using this code for my links within a product page:
class="{{ if is_current }} font-semibold
{{ endif }}`It works fine for all my links which are basically child pages inside a page except for the first page because the first page is a URL redirect - to the parent page.
Any ideas on how to solve this?
Parent Page
So it only works when I am in Pages 2-5.
Beta Was this translation helpful? Give feedback.
All reactions