Sign in

Post config options

#3712
Bob

Hi btrem,

Everything is fine except one thing: because you are trying to use post config options outside the post page you have to use the postViewConfig object and that’s exactly what you did, but the syntax is wrong, do not use at sign (@):

<div class="scientificName">{{postViewConfig.scientificName}}</div>

more in this topic: https://getpublii.com/dev/theme-settings-api/#howtoaccessoptionvaluesofthethemesettingsinthetheme and https://getpublii.com/dev/post-config-options/

--
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!