Create a placeholder element that will add @class="active" and remove @href and @onclick, to any <a> element with a @href of the query string (starting with '?').


{calli:activate-nav(<nav class="nav-tabs">
    <a href="?view">View</a>
    <a href="?edit">Edit</a>
</nav>)}