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

Make uniq work for Pages #5852

Closed
bep opened this issue Apr 13, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Copy link
Member

commented Apr 13, 2019

I just used it and expected that to just work. It did not. Not sure what the history of that is, but we should do some work to unify these collection funcs so they can be intermixed freely.

Here was a test case I tried:

{{ $unionWeightedPages := (.Site.Taxonomies.tags.blue | union .Site.Taxonomies.tags.green ).Pages | uniq }}

/cc @moorereason

@bep bep added the Enhancement label Apr 13, 2019

@bep bep added this to the v0.56 milestone Apr 13, 2019

bep added a commit to bep/hugo that referenced this issue Apr 18, 2019

@bep bep closed this in #5874 Apr 18, 2019

bep added a commit that referenced this issue Apr 18, 2019

bep added a commit that referenced this issue Apr 19, 2019

@bep bep modified the milestones: v0.56, v0.55.3 Apr 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.