<nav> <a href="#" {% if section == "profile" %}class="selected"{% endif %}>Profile</a> <a href="#" {% if section == "interface" %}class="selected"{% endif %}>Interface</a> <a href="#" {% if section == "filtering" %}class="selected"{% endif %}>Filtering</a> </nav>