Is there a way in the Django template language to reference the URL? I want to use it on static pages to avoid live links. Can this be accomplished without JavaScript?
I am hoping to achieve something similar to:
{% if current_url == "/about/" %}
About
{% else %}
<a href='/about/'>About</a>
{% endif %}
This is for a basic blog with no specific views created for those pages.