I personally use the following way:
- In a template page:
<li
#if $
page.name() == "index.html"
class="selected"#end if
><a href="index.html">home</a></li>
<li
#if $
page.name() == "contact.html"
class="selected"#end if
><a href="contact.html">contact</a></li>
- Then, index.html and contact.html pages should extend this template.
But I don't know if it is neatest way for doing this...
--
Johan