I know javascript could do it but I'd rather prevent it from from getting 
rendered at all in the template level rather than just hiding it.

On Thursday, January 14, 2016 at 10:15:49 AM UTC-5, Kenneth Bolton wrote:
>
> Hi Robert,
>
> Spitballing here, how about using JavaScript to read the path and parse 
> the 'page' query parameter, e.g. `?page=3`, to assess whether or not to 
> show the banner?
>
> hth!
>
> -ken
>
> On Thu, Jan 14, 2016 at 12:38 AM, Robert Wolf <rober...@gmail.com 
> <javascript:>> 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-use...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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