TL;DR
Ghost 0.11.7: Critical Fix for Custom Theme Templates
This patch release fixes a critical bug introduced in 0.11.6 that prevented Ghost from serving custom theme templates. The issue caused themes to ignore all templates except for index.hbs and post.hbs, severely limiting theme functionality. This quick follow-up release restores the ability to use all custom templates in your Ghost themes.
Highlight of the Release
- Fixed critical bug that prevented custom theme templates from being served
- Restored full theme template functionality beyond just index.hbs and post.hbs
- Maintained backward compatibility with existing theme structures
Migration Guide
No migration steps are required for this patch release. Simply upgrade to Ghost 0.11.7 to restore proper theme template functionality.
The fix maintains backward compatibility with existing theme structures, so no changes to themes or templates are needed after upgrading.
Upgrade Recommendations
Immediate Upgrade Recommended
If you're running Ghost 0.11.6, an immediate upgrade to 0.11.7 is strongly recommended to restore proper theme functionality.
This patch release fixes a critical bug that prevents custom theme templates from working correctly. Without this update, your site may be experiencing limited theme functionality with only index.hbs and post.hbs templates being recognized.
The upgrade process is straightforward with no migration steps required:
- Back up your Ghost installation
- Follow the standard Ghost update procedure
- No theme modifications are needed after upgrading
Bug Fixes
Critical Theme Template Fix
This release addresses a severe bug introduced in 0.11.6 that prevented Ghost from serving custom theme templates. The issue caused themes to only recognize index.hbs and post.hbs templates, ignoring all other template files.
The fix restores Ghost's ability to serve any custom template within a theme, maintaining backward compatibility with existing theme structures. This ensures that specialized templates like page.hbs, tag.hbs, author.hbs, and custom templates continue to function as expected.
For theme developers, this means all your custom templates will now work properly again without requiring any changes to your theme structure.
New Features
No new features were introduced in this patch release. This version focuses exclusively on fixing the critical theme template bug introduced in 0.11.6.
Security Updates
No security fixes were included in this patch release. The focus was on fixing the critical theme template bug.
Performance Improvements
No specific performance improvements were included in this patch release. The focus was on fixing the critical theme template bug.
Impact Summary
Ghost 0.11.7 addresses a critical bug that severely limited theme functionality by preventing custom templates from being served. This issue affected all Ghost sites running version 0.11.6, causing themes to only recognize index.hbs and post.hbs templates while ignoring all others.
The impact was significant for sites using custom templates for specialized page layouts, tag pages, author pages, or other content types. These pages would have defaulted to using either the index or post templates, potentially breaking site layout and functionality.
This patch release restores full theme template functionality without requiring any changes to existing theme structures. After upgrading, all custom templates will function correctly again, returning your site to its intended appearance and behavior.
Full Release Notes
Please read the release blog post for more details.
0.11.7 contains a fix for an awful custom template bug we shipped in 0.11.6.
Highlights
- [Fixed] Themes ignoring all templates except index.hbs and post.hbs
From 0.11.6:
- [Improved] Subscriber: sanitize email
- [Improved] Refactored packages, apps and more
- [Fixed] Old accesstokens are not cleaned up
- [Fixed] Fix cors middleware
- [Fixed] Fix incorrect icon on AMP app page
- [Fixed] Ensure config is update when deleting theme
- [Fixed] Fix version check error for minor versions >= 10
You can see the full change log for the details of every change included in this release.