github.com/lyeb/hugo@v0.47.1/docs/content/en/functions/last.md (about)

     1  ---
     2  title: last
     3  linktitle: last
     4  description: "slices an array to only the last <em>N</em>th elements."
     5  godocref:
     6  date: 2017-02-01
     7  publishdate: 2017-02-01
     8  lastmod: 2017-02-01
     9  keywords: []
    10  categories: [functions]
    11  menu:
    12    docs:
    13      parent: "functions"
    14  toc:
    15  signature: ["last INDEX COLLECTION"]
    16  workson: [lists, taxonomies, terms, groups]
    17  hugoversion:
    18  relatedfuncs: []
    19  deprecated: false
    20  draft: false
    21  aliases: []
    22  ---
    23  
    24  
    25  ```
    26  {{ range last 10 .Pages }}
    27      {{ .Render "summary" }}
    28  {{ end }}
    29  ```