How to highlight active link with Snap?
===

Could someone give an example of highlighting the "active" link on the menu on the site with [Snap][1]? Or at least tell me how you would go about it - as I have no idea. 

In other web-frameworks I usually set a context variable called `active` to what the active page should be, and then my html simply checks it:
 
    <ul> 
       {% ifequal active "home" %}
       <li class="active">
       {% else %}
       <li>
       {% endifqual %}
       <a href="/">Home</a>
       </li>

       {% ifequal active "about" %}
       <li class="active">
       {% else %}
       <li>
       {% endifequal %}
       <a href="/about">About Us</a>
       </li>
    
     </ul>

There are splices in heist, but I am not sure how you would use them to figure out what the current url is or set the context variable. 

     



  [1]: http://snapframework.com/