Code snippets for: https://forum.getpublii.com/topic/looking-for-the-best-way-to-include-schema-markup/
- Create a theme override
- Duplicate the "head.hbs" partial and name it something new (ie "head-recipes.hbs")
- Create a custom post template that you'll use for recipes (ie "post-Recipes.hbs"). In this custom template, swap out the old
{{> head}}
for the new head partial{{> head-recipes}}
- Create a new version of "config.json" in your theme override. Edit this file, and add a custom post setting for this new template via the Theme Settings API (textarea type):