know about JavaScript? Where does the backend developer need to get involved? JavaScript now IS a server-side language! (Node.js) This will continue to change...
available pages as array, contains [id, url, name] currentPage - Current page ID user - Logged in user object search - Any previous search (false if not available) --}} <nav><ul> {% for p in pages %} {% if p.id == currentPage %} <li class="current"><a href="{{ a.url }}">{{ a.name }}</a></li {% else %} <li><a href="{{ a.url }}">{{ a.name }}</a></li> {% endif %} {% endfor %} </ul></nav>