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: Make the eq template func check a 'Equals' interface #3807

Closed
bep opened this issue Aug 16, 2017 · 1 comment · Fixed by #3810
Closed

tpl: Make the eq template func check a 'Equals' interface #3807

bep opened this issue Aug 16, 2017 · 1 comment · Fixed by #3810

Comments

@bep
Copy link
Member

bep commented Aug 16, 2017

See c265c10

It would be nice if we could just do similar with eq etc.

@bep bep added this to the v0.27 milestone Aug 16, 2017
bep added a commit to bep/hugo that referenced this issue Aug 17, 2017
And use it in `eq` and `ne` so `Page` values can be compared directly in the templates without thinking about it being a `Page` or a `PageOutput` wrapper.

Fixes gohugoio#3807
bep added a commit to bep/hugo that referenced this issue Aug 17, 2017
And use it in `eq` and `ne` so `Page` values can be compared directly in the templates without thinking about it being a `Page` or a `PageOutput` wrapper.

Fixes gohugoio#3807
bep added a commit to bep/hugo that referenced this issue Aug 17, 2017
And use it in `eq` and `ne` so `Page` values can be compared directly in the templates without thinking about it being a `Page` or a `PageOutput` wrapper.

Fixes gohugoio#3807
@bep bep closed this as completed in #3810 Aug 18, 2017
bep added a commit that referenced this issue Aug 18, 2017
And use it in `eq` and `ne` so `Page` values can be compared directly in the templates without thinking about it being a `Page` or a `PageOutput` wrapper.

Fixes #3807
miltador pushed a commit to miltador-forks/hugo that referenced this issue Aug 28, 2017
And use it in `eq` and `ne` so `Page` values can be compared directly in the templates without thinking about it being a `Page` or a `PageOutput` wrapper.

Fixes gohugoio#3807
@github-actions
Copy link

This issue 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 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant