helper: set active class on current page #9

Closed
jonschlinkert opened this Issue Mar 21, 2013 · 1 comment

Projects

None yet

2 participants

@jonschlinkert
Owner

No description provided.

@doowb doowb was assigned Mar 29, 2013
Owner

There is a better way to accomplish this. Example:

<ul class="nav">
  <li{{#is title "Home"}} class="active"{{/is}}>
    <a href="./index.html">Home</a>
  </li>
  <li{{#is title "Partials"}} class="active"{{/is}}>
    <a href="./partials.html">Partials</a>
  </li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment