Do post config options work in theme overrides? I tried to add a field to posts in blank-override/config.json :
"postConfig": [
{
"name": "scientificName",
"label": "Scientific name:",
"placeholder": "Enter scientific name of plant",
"value": "",
"type": "text"
}
],
I entered text in the “Scientific name” text box in the post editor.
I added elements in my front page index.hbs :
{{#each posts}}
<article class="plant">
<header>
{{! post title }}
<h1>{{title}}</h1>
{{! /post title }}
<p class="scientificName">{{@config.post.scientificName}}</p>
{{@postViewConfig.scientificName}}
Result:
<article class="plant">
<header>
<h1>aster</h1>
<p class="scientificName"></p>