Routes Setup
Upload the theme's routes.yaml to unlock its full page structure and custom layouts. This step is required for the theme to work correctly.
The theme will not function correctly until routes.yaml is uploaded and active. Without it, some pages may appear blank or fall back to Ghost's default layout.
Your theme package includes a routes.yaml file that maps the theme's custom pages and collections to the right templates. Uploading it is a required setup step.
Uploading routes.yaml
- In your Ghost Admin, go to Settings → Labs.
- Under Beta features, find the Routes section.
- Click Upload routes file and select the
routes.yamlfile from your unzipped theme package. - Refresh your homepage to confirm the new structure is live.
Uploading a routes file replaces your current routing configuration. If you have customized routes before, back up your existing routes.yaml first.
What routes.yaml Does
- Registers the theme's custom pages (such as the Articles and Podcasts templates).
- Maps collections and filters to the correct templates.
- Enables the optimized URL structure the theme is built around.
Note: You only need to upload
routes.yamlonce. Re-upload it only if you switch themes or receive an updated file in a theme update.