The quick version: When adding new posts, I want them to have the layout default to post, but the value does not get set upon post save unless the value is selected from the dropdown.
The details:
When following the docs for setting default values, the default value for the layout does not save to the frontmatter of the created markdown file. The layout only saves when selecting an item from the drop-down, even if the value appears to be prepropulated. Here is a gif showing the current way I get the layout to save:
As seen in the gif, once a value is selected from the dropdown, the x appears. Before the selection, the value is pre-populated by does not save.
The quick version: When adding new posts, I want them to have the layout default to
post
, but the value does not get set upon post save unless the value is selected from the dropdown.The details:
When following the docs for setting default values, the default value for the layout does not save to the frontmatter of the created markdown file. The layout only saves when selecting an item from the drop-down, even if the value appears to be prepropulated. Here is a gif showing the current way I get the layout to save:
As seen in the gif, once a value is selected from the dropdown, the
x
appears. Before the selection, the value is pre-populated by does not save.Here is the defaults in the site's
_config.yml
:Is there anything on my end that I need to change or more info I can provide? Is this the right place to open this issue? Thank you!