Works
{
"params": {
"imageurl": "images/discount-bright-outline.svg"
}
}
Does not work
{
"params": {
"imageUrl": "images/discount-bright-outline.svg"
}
}
Is there any documentation about this?
Yes, any key under .Params
is lowercased.
Page-level .Params
are only accessible in lowercase.
EDIT: OP Asking about .Params
under Menu Entry, but lt looks like Page and Menu Params both have same behaviour.
1 Like
bep
3
What version of Hugo is this? If this is a recent version, that smells like a bug. Could you raise an issue on GitHub?