lower

将以下英文翻译为中文:

lower

https://gohugo.io/functions/lower/

Converts all characters in the provided string to lowercase.

语法

lower INPUT
strings.ToLower INPUT

Note that lower can be applied in your templates in more than one way:

1
2
{{ lower "BatMan" }} → "batman"
{{ "BatMan" | lower }} → "batman"

另请参阅