mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
23 lines
474 B
Markdown
23 lines
474 B
Markdown
---
|
|
title: singularize
|
|
linktitle: singularize
|
|
description: Converts a word according to a set of common English singularization rules.
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
tags: [strings,singular]
|
|
signature:
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
`singularize` converts a word according to a set of common English singularization rules.
|
|
|
|
`{{ "cats" | singularize }}` → "cat"
|
|
|