Sign in

Access label from config.json select in Publii template

Avatar photoBob

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


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!