mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-17 14:19:36 +00:00
These references haven't been visible for years. Related to: - https://github.com/gohugoio/gohugoioTheme/issues/24 - https://github.com/gohugoio/gohugoioTheme/pull/216
552 B
552 B
title, description, date, publishdate, lastmod, categories, menu, keywords, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
| title | description | date | publishdate | lastmod | categories | menu | keywords | signature | workson | hugoversion | relatedfuncs | deprecated | aliases | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| strings.HasSuffix | Determine whether or not a given string ends with the provided trailing suffix string. | 2019-08-13 | 2019-08-13 | 2019-08-13 |
|
|
|
|
|
false |
{{ $pdfPath := "/path/to/some.pdf" }}
{{ strings.HasSuffix $pdfPath "pdf" }} → true
{{ strings.HasSuffix $pdfPath "txt" }} → false