Routes Setup

Routes Setup

To upload the routes.yaml follow these steps:

  1. Unzip the theme file
  2. Go to Settings → Advanced → Labs
  3. Click Open → Beta features
  4. Under Routes section, click Upload routes file button
  5. Select and upload the routes.yaml file from the theme folder

Ghost routes settings

Note: upload routes.yaml after uploading the theme zip.
There will already be a default routes.yaml file uploaded to Ghost. You must upload your theme's routes.yaml to override the default.

Do this separately after uploading your theme zip file.

The routes.yaml is required to properly map the custom routes provided by the theme:

  • /tag/*/ - List of all posts with the tag
  • /author/*/ - List of all posts by the author