{# Numeric pagination partial. Renders "« 1 2 3 … N »" with the current
page highlighted. Used on every listing surface (cars, motorcycles,
bicycles, scooters, atvs, accessories).
Required context:
paginator — Django Paginator instance (cars.paginator etc).
current — current page number (int).
has_next — bool, whether a next page exists.
has_prev — bool, whether a previous page exists.
next_qs — querystring for `page=current+1` (filters preserved).
prev_qs — querystring for `page=current-1` (filters preserved).
params_no_page — querystring of all filters MINUS `page=` (no leading ?).
page_range — list of page numbers + ELLIPSIS strings, pre-elided
centered on `current`. Django templates can't call
`paginator.get_elided_page_range(current)` with kwargs,
so the view pre-computes this.
Numeric pagination replaces prev/next-only. Per audit § B2.3,
prev/next-only forced Googlebot into sequential page-by-page crawl;
numeric exposes the full chain in one hop from any page. See
/home/john/seo/playbook/13-internal-linking-and-orphans.md § Source 2. #}
{# Numeric pagination partial. Renders "« 1 2 3 … N »" with the current
page highlighted. Used on every listing surface (cars, motorcycles,
bicycles, scooters, atvs, accessories).
Required context:
paginator — Django Paginator instance (cars.paginator etc).
current — current page number (int).
has_next — bool, whether a next page exists.
has_prev — bool, whether a previous page exists.
next_qs — querystring for `page=current+1` (filters preserved).
prev_qs — querystring for `page=current-1` (filters preserved).
params_no_page — querystring of all filters MINUS `page=` (no leading ?).
page_range — list of page numbers + ELLIPSIS strings, pre-elided
centered on `current`. Django templates can't call
`paginator.get_elided_page_range(current)` with kwargs,
so the view pre-computes this.
Numeric pagination replaces prev/next-only. Per audit § B2.3,
prev/next-only forced Googlebot into sequential page-by-page crawl;
numeric exposes the full chain in one hop from any page. See
/home/john/seo/playbook/13-internal-linking-and-orphans.md § Source 2. #}
Contact the seller
Please login or create an account to contact the seller