Config.toml lookup order with themes

Hi nice Hugo people,

I currently have a theme with a couple of params in its config.toml, and a user has suggested adding a couple more.

  • is there any value in adding params to the theme config versus site configs (default/non-null value for the parameter for all sites using the theme, even if they don’t have it in their own configuration?)
  • what is the lookup order for theme config.toml versus site config.toml, ie how do you override theme configuration values?

I’ve already had to re-add some params from the theme config.toml to my example site config because it’s inside the theme and Hugo can’t seem to read the theme config from there…

Many thanks for any help!