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,28 +1,19 @@
|
||||
---
|
||||
title: strings.ToLower
|
||||
linkTitle: lower
|
||||
description: Converts all characters in the provided string to lowercase.
|
||||
categories: [functions]
|
||||
description: Returns the given string, converting all characters to lowercase.
|
||||
categories: []
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: functions
|
||||
function:
|
||||
action:
|
||||
aliases: [lower]
|
||||
related:
|
||||
- functions/strings/FirstUpper
|
||||
- functions/strings/Title
|
||||
- functions/strings/ToUpper
|
||||
returnType: string
|
||||
signatures: [strings.ToLower INPUT]
|
||||
relatedFunctions:
|
||||
- strings.FirstUpper
|
||||
- strings.Title
|
||||
- strings.ToLower
|
||||
- strings.ToUpper
|
||||
aliases: [/functions/lower]
|
||||
---
|
||||
|
||||
|
||||
Note that `lower` can be applied in your templates in more than one way:
|
||||
|
||||
```go-html-template
|
||||
{{ lower "BatMan" }} → "batman"
|
||||
{{ "BatMan" | lower }} → "batman"
|
||||
{{ lower "BatMan" }} → batman
|
||||
```
|
||||
|
Reference in New Issue
Block a user