mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
@@ -1,23 +1,19 @@
|
||||
---
|
||||
title: strings.FirstUpper
|
||||
description: Capitalizes the first character of a given string.
|
||||
categories: [functions]
|
||||
description: Returns the given string, capitalizing the first character.
|
||||
categories: []
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: functions
|
||||
function:
|
||||
action:
|
||||
aliases: []
|
||||
related:
|
||||
- functions/strings/Title
|
||||
- functions/strings/ToLower
|
||||
- functions/strings/ToUpper
|
||||
returnType: string
|
||||
signatures: [strings.FirstUpper STRING]
|
||||
relatedFunctions:
|
||||
- strings.FirstUpper
|
||||
- strings.Title
|
||||
- strings.ToLower
|
||||
- strings.ToUpper
|
||||
aliases: [/functions/strings.firstupper]
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ strings.FirstUpper "foo" }} → "Foo"
|
||||
{{ strings.FirstUpper "foo" }} → Foo
|
||||
```
|
||||
|
Reference in New Issue
Block a user