aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/methods/pages/Reverse.md
blob: e03e0ea472f8ad2ca225d8d0057d91bb17db4389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
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 }}
```