mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
Remove hasPrefix and hasSuffix in favor of namespaced versions
This commit is contained in:
1 parent
3c6d2cfe5a
commit
feed2d1c0d
2 files changed
-41
No files matched your search
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
title: hasprefix
|
|
||||||
description: Tests whether a string begins with prefix.
|
|
||||||
date: 2017-02-01
|
|
||||||
publishdate: 2017-02-01
|
|
||||||
lastmod: 2017-02-01
|
|
||||||
categories: [functions]
|
|
||||||
menu:
|
|
||||||
docs:
|
|
||||||
parent: "functions"
|
|
||||||
keywords: [strings]
|
|
||||||
signature: ["hasPrefix STRING PREFIX"]
|
|
||||||
workson: []
|
|
||||||
hugoversion:
|
|
||||||
relatedfuncs: [hasSuffix]
|
|
||||||
deprecated: false
|
|
||||||
aliases: []
|
|
||||||
---
|
|
||||||
|
|
||||||
* `{{ hasPrefix "Hugo" "Hu" }}` → true
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
title: hassuffix
|
|
||||||
linkTitle: hasSuffix
|
|
||||||
description: Tests whether a string ends with suffix.
|
|
||||||
date: 2023-03-01
|
|
||||||
publishdate: 2023-03-01
|
|
||||||
lastmod: 2023-03-01
|
|
||||||
categories: [functions]
|
|
||||||
menu:
|
|
||||||
docs:
|
|
||||||
parent: "functions"
|
|
||||||
keywords: [strings]
|
|
||||||
signature: ["hasSuffix STRING SUFFIX"]
|
|
||||||
workson: []
|
|
||||||
hugoversion:
|
|
||||||
relatedfuncs: [hasPrefix]
|
|
||||||
deprecated: false
|
|
||||||
aliases: []
|
|
||||||
---
|
|
||||||
|
|
||||||
* `{{ hasSuffix "Hugo" "go" }}` → true
|
|
||||||
Reference in new issue
Block a user