mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -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 }}
|
||
|
```
|