1
0
Fork 0
hugo/docs/content/en/methods/pages/Reverse.md

17 lines
324 B
Markdown

---
title: Reverse
description: Returns the given page collection in reverse order.
categories: []
keywords: []
action:
related: []
returnType: page.Pages
signatures: [PAGES.Reverse]
---
```go-html-template
{{ range .Pages.ByDate.Reverse }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
```