Custom Pages URLs
The Scope theme includes several types of built-in pages. This guide explains how to customize these pages and manage their navigation links throughout your site.
Built-in Pages Overview
The theme includes pages with predefined templates that require creation in Ghost admin:
- Authors (
/authors/) - Recommendations (
/recommendations/) - Tags (
/tags/) - Blog (
/blog/) - when using landing routes
Customizing Page URLs
Pages with Custom Routes
When using the landing page feature, you can modify routes in routes-landing.yaml:
routes:
/:
template: landing
/home/:
template: home
collections:
# Original
/blog/:
permalink: /{slug}/
template: blog
# Example of custom URL
/articles/:
permalink: /{slug}/
template: blogSave the file and upload it back to Ghost admin.
Pages with Predefined Templates
For pages using predefined templates (authors, recommendations, and tags), follow these steps:
- Rename the respective template file in your theme folder:
page-authors.hbs→page-your-new-slug.hbspage-recommendations.hbs→page-your-new-slug.hbspage-tags.hbs→page-your-new-slug.hbs
- Update the page URL in Ghost admin to match your new slug
Managing Navigation Links
The theme includes built-in links to some pages in various templates. You can manage these links through the locales file.
Completely Removing Links
Some links can be completely removed from theme templates by setting them to "false" in /locales/en.json:
{
"/recommendations/": "false",
"/blog/": "false"
}Tips
- Always backup your theme before making URL changes
- Update your navigation menu to reflect new URLs
- Test all links after making changes
- Remember to update any internal links in your content