mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 08:55:29 -04:00
parent
07e9963f66
commit
9d639b182a
@ -610,6 +610,12 @@ e.g.
|
||||
* `{{substr "BatMan" 0 -3}}` → "Bat"
|
||||
* `{{substr "BatMan" 3 3}}` → "Man"
|
||||
|
||||
### hasPrefix
|
||||
|
||||
HasPrefix tests whether a string begins with prefix.
|
||||
|
||||
* `{{ hasPrefix "Hugo" "Hu" }}` → true
|
||||
|
||||
### title
|
||||
Converts all characters in string to titlecase.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user