I'm trying to check {% if homepage %} then show <img ...> {% endif %}

I'm not sure how to go about a test to check the current page if it's my 
homepage. Do I need to mess around with context processors? What's the 
usual way of doing it? And how would the {% if ... %} look like?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/0e6Qif6N9QQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to