Inserting chunks of code into a template on a per-page basis

Here are some options:

  1. Use a custom Kirbytag http://getkirby.com/docs/advanced/kirbytext
  2. Insert a snippet via a custom Kirbytag Embedding Snippets
  3. Use the page builder plugin Plugin for an extended structure field with more then one kind of field set