I prefer template if-statements to javascript for this type of thing. 
Something like:

{% if request.get_full_path == /blog/ %}


On Thursday, January 14, 2016 at 12:41:11 AM UTC-5, Robert Wolf wrote:
>
> I'm looking for a way to have it so that on the first page of 
> blog_post_list.html, there can be a banner image at the top but only on the 
> first page. Currently, the banner is appearing on every paginated view, so 
> I wasn't sure if there was a template conditional if statement that could 
> easily determine it.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to