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

conflict in Related with .Site.Params.tags (similar to already fixed (#9188) #12609

Open
bryndin opened this issue Jun 19, 2024 · 0 comments
Open
Labels
Milestone

Comments

@bryndin
Copy link

bryndin commented Jun 19, 2024

#9188 is still happening. The problem is similar to this report: #9188 (comment)

defining Params.tags in hugo.toml freaks out .Site.RegularPages.Related

[params.tags]
  disable = false # Disables and hides the widget
{{ $related := .Site.RegularPages.Related . | first .Site.Params.relatedPosts.Limit }}

Error: error calling Related: indexing currently not supported for index "tags" and type maps.Params

Renaming params to, say [params.tags2222] fixes the problem.

What version of Hugo are you using (hugo version)?

hugo v0.127.0-74e0f3bd63c51f3c7a0f07a7c779eec9e922957e+extended linux/amd64 BuildDate=2024-06-05T10:27:59Z VendorInfo=snap:0.127.0

Does this issue reproduce with the latest release?

@bep bep added this to the v0.130.0 milestone Jul 22, 2024
@bep bep removed the NeedsTriage label Jul 22, 2024
@bep bep modified the milestones: v0.130.0, v0.131.0 Jul 30, 2024
@bep bep modified the milestones: v0.131.0, v0.133.0 Aug 9, 2024
@bep bep modified the milestones: v0.133.0, Unscheduled Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants