mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 14:20:49 +00: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 }}
|
||
|
```
|