## Signal — routes.yaml
##
## Upload this file in Ghost Admin → Settings → Labs → "Upload routes file",
## then restart or re-upload whenever it changes. It powers the /episodes/ and
## /blog/ listings and the /topics/ and /people/ archives.
##
## Optional — to set the heading and SEO for your Episodes and Blog listings,
## create published Pages slugged "episodes-index" and "blog-index". Your Library,
## Subscribe, Guests, Hosts, Contact, and About screens are ordinary Pages: create
## each one with its matching slug. Step-by-step guide:
## https://docs.enova.studio/docs/signal/getting-started/installation

routes:
  /:
    template: index

collections:
  /blog/:
    permalink: /blog/{slug}/
    template: page-blog
    filter: 'tag:hash-blog'
    data: page.blog-index
  /episodes/:
    permalink: /episodes/{slug}/
    template: page-episodes
    filter: 'tag:-hash-blog'
    data: page.episodes-index

taxonomies:
  tag: /topics/{slug}/
  author: /people/{slug}/
