Adding sections to the site.yml

I am trying to build a theme mostly from scratch, and I’m having issues getting custom sections added to the panel. I have an event page type. I have the following files set up:

  • site/blueprints/pages/event.yml
  • site/blueprints/sections/events.yml
  • site/templates/event.php
  • content/2_events/event.txt

Still, when I add the following to my site.yml, I get an error for an invalid section type

sections:
  # ...
  events:
    type: sections/events

I’m following this sample from the reference, but it doesn’t mention the site.yml. I’ve also tried referencing other free templates, but I don’t see them using this strategy.

what am I missing?

This needs to read:

events:
  extends: sections/events

Ooooh, that does make sense with what I’ve seen for making custom fields. Thank you!