mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 11:12:07 -05:00
413 B
413 B
title | description | categories | menu | keywords | signature | relatedfuncs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.Contains | Reports whether a string contains a substring. |
|
|
|
|
|
{{ strings.Contains "Hugo" "go" }} → true
The check is case sensitive:
{{ strings.Contains "Hugo" "Go" }} → false