How to access Site params from within config.toml

I’d like to add a param like this to my config.toml:

[[params.social]]
icon = "tf-ion-android-mail"
link = "mailto:foo@bar.com"

But rather than duplicating the email address, refer to the previously defined:

email = "foo@bar.com"

Is this possible?

Not possible, but if you are using YAML, you can use YAML anchors.

1 Like