1
0
Fork 0
hugo/docs/content/en/configuration/page.md

922 B

title linkTitle description categories keywords
Configure page Page Configure page behavior.

{{< new-in 0.133.0 />}}

{{% glossary-term "default sort order" %}}

Hugo uses the default sort order to determine the next and previous page relative to the current page when calling these methods on a Page object:

This is based on this default site configuration:

{{< code-toggle config=page />}}

To reverse the meaning of next and previous:

{{< code-toggle file=hugo >}} [page] nextPrevInSectionSortOrder = 'asc' nextPrevSortOrder = 'asc' {{< /code-toggle >}}

[!note] These settings do not apply to the Next or Prev methods on a Pages object.