github.com/rabbouni145/gg@v0.47.1/docs/content/en/functions/singularize.md (about)

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