Sign in

Access label from config.json select in Publii template

#3962
Avatar photoBob

Your field name is “state” not “stateName”, so the @config variable should contain “state, and finally looks like this:

<abbr>{{@config.custom.state}}</abbr>

The “title” attribute phrases should be placed in the language file.

--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!