djangosnippets.org: Latest snippets tagged with 'ifactive'https://djangosnippets.org/tags/ifactive/2008-10-23T13:56:57.262523-05:00template tag for highlighting currently active page
2008-10-23T13:56:57.262523-05:00adunarhttps://djangosnippets.org/snippets/1153/<p>This module defines a template tag <code>{% ifactive %}</code> that lets you determine which page is currently active. A common use case is for highlighting the current page in a navigation menu.
</p>
<p>It uses the same syntax for specifying views as the <code>{% url %}</code> tag, and determines whether a …</p>
Freely redistributable