When using the centerTheme parameter and setting it to true in config.toml, the changes do not apply. However, (cond ($.Site.Params.centerTheme | default false) "container center" "container") can be changed to (cond ($.Site.Params.centerTheme | default true) "container center" "container") to make it work.