mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'
This commit is contained in:
28
docs/content/en/functions/strings/ToLower.md
Normal file
28
docs/content/en/functions/strings/ToLower.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: strings.ToLower
|
||||
linkTitle: lower
|
||||
description: Converts all characters in the provided string to lowercase.
|
||||
categories: [functions]
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: functions
|
||||
function:
|
||||
aliases: [lower]
|
||||
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"
|
||||
```
|
Reference in New Issue
Block a user