Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

current page django

<a href="/some/path/to/be/highlighted/"{% if request.path == '/some/path/to/be/highlighted/' %} class="active"{% endif %}>Some Link</a>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #page #django
ADD COMMENT
Topic
Name
5+5 =