Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpl: Add hasSuffix alias #10773

Merged
merged 1 commit into from
Mar 8, 2023
Merged

Conversation

jfish2
Copy link
Contributor

@jfish2 jfish2 commented Mar 1, 2023

strings.HasPrefix already has an alias of hasPrefix but strings.HasSuffix has no such alias.
This PR adds a hasSuffix alias to the funcs mapping with corresponding documentation.
It also adds a minor update to the hasPrefix function documentation re: keywords and relatedfuncs.

Completes #10474

strings.HasPrefix already has an alias of hasPrefix
but strings.HasSuffix has no such alias.
This PR adds a hasSuffix alias to the tpl function with corresponding
function documentation.
It also adds a Minor update to the hasPrefix function documentation
re: keywords and relatedfuncs.

 Completes gohugoio#10474
@bep bep merged commit d171d15 into gohugoio:master Mar 8, 2023
@jmooring jmooring mentioned this pull request May 20, 2023
Copy link

github-actions bot commented Mar 8, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants