mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
Arguments in example
This commit is contained in:
committed by
Kaushal Modi
parent
5d9c7327fd
commit
f1f9b7cd63
@@ -20,7 +20,7 @@ aliases: []
|
||||
|
||||
Given the string `"abba"`, leading `"a"`'s can be removed a follows:
|
||||
|
||||
{{ strings.TrimLeft "abba" "a" }} → "bba"
|
||||
{{ strings.TrimLeft "a" "abba" }} → "bba"
|
||||
|
||||
Numbers can be handled as well:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user