mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Adding documentation page for function 'strings.FirstUpper' (#1901)
This commit is contained in:
committed by
GitHub
parent
d533f7c9c8
commit
1686f60b14
@@ -1,16 +1,12 @@
|
||||
---
|
||||
linktitle: ""
|
||||
description: ""
|
||||
publishdate: ""
|
||||
lastmod: ""
|
||||
categories: [functions]
|
||||
tags: []
|
||||
ns: ""
|
||||
signature: []
|
||||
workson: []
|
||||
hugoversion: ""
|
||||
aliases: []
|
||||
relatedfuncs: []
|
||||
toc: false
|
||||
deprecated: false
|
||||
---
|
||||
|
||||
@@ -8,7 +8,7 @@ categories: [functions]
|
||||
menu:
|
||||
docs:
|
||||
parent: "functions"
|
||||
keywords: []
|
||||
keywords: [replace]
|
||||
signature: ["strings.Replace INPUT OLD NEW [LIMIT]", "replace INPUT OLD NEW [LIMIT]"]
|
||||
workson: []
|
||||
hugoversion:
|
||||
|
||||
@@ -5,7 +5,7 @@ categories: [functions]
|
||||
menu:
|
||||
docs:
|
||||
parent: functions
|
||||
keywords: [regex]
|
||||
keywords: [replace regex]
|
||||
signature:
|
||||
- "replaceRE PATTERN REPLACEMENT INPUT [LIMIT]"
|
||||
- "strings.ReplaceRE PATTERN REPLACEMENT INPUT [LIMIT]"
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: strings.FirstUpper
|
||||
description: Capitalizes the first character of a given string.
|
||||
categories: [functions]
|
||||
menu:
|
||||
docs:
|
||||
parent: "functions"
|
||||
keywords: [strings capitalize uppercase first]
|
||||
signature: ["strings.FirstUpper STRING"]
|
||||
hugoversion:
|
||||
aliases: []
|
||||
---
|
||||
|
||||
{{ strings.FirstUpper "foo" }} → "Foo"
|
||||
Reference in New Issue
Block a user