You can see the full change log for the details of every change included in this release.
We've also updated themes.ghost.org.
Tag Name: 1.13.0
Release Date: 10/10/2017
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost 1.13.0 introduces custom post templates and primary tag filtering, giving theme developers and content creators more flexibility in designing and organizing their content. This release enhances the theming system by allowing specific templates for individual posts and improves content organization with primary tag filtering capabilities. These features provide more granular control over content presentation and better organization options for Ghost-powered websites.
If you're a theme developer, you should be aware of the new template priority system:
post/page-{{slug}}.hbs{{custom_template}}.hbspost/page.hbsYour theme's custom templates will now be automatically detected by Ghost and made available for content creators to select.
When using the primary_tag filter in the API, be aware that there are currently limitations on combining it with other tag filters. Until Ghost Query Language (GQL) is refactored, it won't be possible to create filters that use primary_tag AND/OR other tag filters together.
This is a feature release that adds significant new capabilities without breaking existing functionality. It's recommended for all users to upgrade to take advantage of the new custom post templates and primary tag filtering features.
Theme developers should review their themes to ensure compatibility with the new custom template system and consider adding custom templates to enhance their themes' flexibility.
API users should test any implementations that rely on tag filtering to ensure compatibility with the new primary_tag filtering capabilities.
Fixed issues with hardcoded URL structures in RSS feeds that prevented proper functioning with custom channels. The system now generates feed URLs dynamically rather than relying on hardcoded configurations.
Improved the controller/routing system for blogs by splitting preview and single controllers from the index, making the codebase less confusing and more maintainable.
Ghost now supports custom templates for individual posts, giving theme developers and content creators more flexibility in designing unique layouts. The template priority system has been updated to:
post/page-{{slug}}.hbs{{custom_template}}.hbspost/page.hbsThis feature allows for more granular control over how specific content is displayed without requiring custom code for each post.
Content can now be filtered based on primary_tag, which is a calculated field representing the first tag assigned to a post. This enhancement improves content organization capabilities and makes it easier to create tag-based navigation and filtering systems.
Ghost now allows custom contexts to use existing channel logic, enabling the creation of custom tag-based channels that inherit the same metadata logic as built-in channels.
A new request ID header has been added to help track requests through different systems. This header is case-insensitive and improves debugging and monitoring capabilities.
Hardcoded URL structures have been removed from RSS feeds, ensuring that feeds work properly for custom channels. This change makes RSS feeds more flexible and adaptable to different site configurations.
No specific security fixes were mentioned in this release.
The splitting of preview and single controllers from the index represents a step toward a more efficient and less confusing controller/routing system for blogs, which should improve code maintainability and potentially performance.
Ghost 1.13.0 significantly enhances the theming system with custom post templates and improves content organization through primary tag filtering. These features give both theme developers and content creators more control over how content is presented and organized.
The custom post templates feature allows for unique layouts for individual posts without requiring custom code for each one, streamlining the process of creating visually diverse content. This is particularly valuable for sites that feature different types of content that benefit from distinct presentations.
The primary tag filtering capability enhances content organization by allowing filtering based on the first tag assigned to a post. This makes it easier to create tag-based navigation systems and improves content discoverability.
Additional improvements to RSS feeds and the introduction of request ID headers enhance the platform's flexibility and monitoring capabilities. The controller restructuring represents ongoing efforts to improve Ghost's codebase organization and maintainability.
Overall, this release focuses on giving users more control and flexibility while maintaining Ghost's commitment to a clean, user-friendly publishing experience.
You can see the full change log for the details of every change included in this release.
We've also updated themes.ghost.org.