`{{ range .Site.Pages }}
In 0.18.1 .Params.icons is only set on the last site (on every other site it is empty?!) - with 0.17 it works as expected and Params are set correctly on every site
`{{ range .Site.Pages }}
In 0.18.1 .Params.icons is only set on the last site (on every other site it is empty?!) - with 0.17 it works as expected and Params are set correctly on every site
What do you mean by last site? Multiple sites was new in 0.18.
Can you supply a link to your site source?
I have 1.md, 2.md, 3.md - each has ‘icon = “blabla”’
Code pasted above (iterating over .Site.Pages):
Page 1: .Params map empty NOK - should have a icon value
Page 2: .Params map empty NOK - should have a icon value
Page 3: .Params map includes icon value OK
i just replaced hugo.exe from 0.18.1 to 0.17 and then the icon values where correct
Try .Site.RegularPages
Ok works - thx. But thats not straight forward ^^
It is in the release notes.