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

Allow non string variant on partialCached #6572

Closed
regisphilibert opened this issue Dec 2, 2019 · 0 comments · Fixed by #6574
Closed

Allow non string variant on partialCached #6572

regisphilibert opened this issue Dec 2, 2019 · 0 comments · Fixed by #6574
Labels
Milestone

Comments

@regisphilibert
Copy link

@regisphilibert regisphilibert commented Dec 2, 2019

Currently variant arguments to partialCached are limited to strings.

This would be convenient to allow more types as variants are often factored by Front Matter slices (authors, taxonomies) or maps.

@bep bep added Enhancement and removed Proposal labels Dec 2, 2019
@bep bep added this to the v0.61 milestone Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
@bep bep closed this in #6574 Dec 2, 2019
bep added a commit that referenced this issue Dec 2, 2019
@bep bep modified the milestones: v0.61, v0.60.2 Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.