Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'

This commit is contained in:
Bjørn Erik Pedersen
2024-06-21 09:41:24 +02:00
475 changed files with 7408 additions and 4720 deletions

View File

@@ -60,9 +60,16 @@ It is also possible to use the `GroupBy` functions in combination with paginatio
## Build the navigation
The `.Paginator` contains enough information to build a paginator interface.
{{% note %}}
To override Hugo's embedded pagination template, copy the [source code] to a file with the same name in the layouts/partials directory, then call it from your templates using the [`partial`] function:
The easiest way to add this to your pages is to include the built-in template (with `Bootstrap`-compatible styles):
`{{ partial "pagination" . }}`
[`partial`]: /functions/partials/include/
[source code]: {{% eturl pagination %}}
{{% /note %}}
The easiest way to add this to your pages is to include the embedded template:
```go-html-template
{{ template "_internal/pagination.html" . }}
@@ -151,4 +158,4 @@ The pages are built on the following form (`BLANK` means no value):
[`after`]: /functions/collections/after/
[configuration]: /getting-started/configuration/
[lists]: /templates/lists/
[`where`]: /functions/collections/where
[`where`]: /functions/collections/where/