Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/last.md')
-rw-r--r--docs/content/en/functions/last.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/content/en/functions/last.md b/docs/content/en/functions/last.md
new file mode 100644
index 000000000..f992b980a
--- /dev/null
+++ b/docs/content/en/functions/last.md
@@ -0,0 +1,29 @@
+---
+title: last
+linktitle: last
+description: "slices an array to only the last <em>N</em>th elements."
+godocref:
+date: 2017-02-01
+publishdate: 2017-02-01
+lastmod: 2017-02-01
+keywords: []
+categories: [functions]
+menu:
+ docs:
+ parent: "functions"
+toc:
+signature: ["last INDEX COLLECTION"]
+workson: [lists, taxonomies, terms, groups]
+hugoversion:
+relatedfuncs: []
+deprecated: false
+draft: false
+aliases: []
+---
+
+
+```
+{{ range last 10 .Pages }}
+ {{ .Render "summary" }}
+{{ end }}
+```