mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 20:55:59 -05:00
17 lines
324 B
Markdown
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 }}
|
||
|
```
|