Hi,
I have a question about marking up the loc=”” for multiple static pages that share the same template.
My static Pages module has three pages : about , services, contact.
My embed navigation: {embed="global_embeds/.top_nav" loc="about" } displays about page.
I tried : {embed="global_embeds/.top_nav" loc="about|services" }, but it doesn’t work..
I am asking about this, because I have the current state for pages css-ed, but can’t figure out how to display the services with it:
<li id="home" {if embed:loc== "home"}class="cur"{/if}><a href="http://{homepage}">Home</a></li>
<li id="about" {if embed:loc=="about"}class="cur"{/if}><a href="http://{path=/about}">About</a></li>
<li id="contact" {if embed:loc=="contact"}class="cur"{/if}><a href="http://{path=/contact}">Contact</a></li>
<li id="services" {if embed:loc=="services"}class="cur"{/if}><a href="http://{path=/services}">Services</a></li>
<li id="design" {if embed:loc=="design"}class="cur"{/if}><a href="http://{path=/design}">Design</a></li>
Thank you,
Marta