All documentation

Routes & the templates map

Upload routes.yaml so collections and custom pages resolve.

Ghost needs routes.yaml to know about the theme's collections and custom pages. Upload it in Settings → Labs → Routes.

Trailing slashes & dotted paths

Every custom route needs a trailing slash. Ghost rejects paths containing dots, so ads.txt and llms.txt are served via redirects.yaml instead of routes.