hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

singularize.md (545B)

    1 ---
    2 title: singularize
    3 # linktitle: singularize
    4 description: Converts a word according to a set of common English singularization rules.
    5 date: 2017-02-01
    6 publishdate: 2017-02-01
    7 lastmod: 2017-02-01
    8 categories: [functions]
    9 menu:
   10   docs:
   11     parent: "functions"
   12 keywords: [strings,singular]
   13 signature: ["singularize INPUT"]
   14 workson: []
   15 hugoversion:
   16 relatedfuncs: []
   17 deprecated: false
   18 aliases: []
   19 ---
   20 
   21 `{{ "cats" | singularize }}` → "cat"
   22 
   23 See also the `.Data.Singular` [taxonomy variable](/variables/taxonomy/) for singularizing taxonomy names.