The @page
object provides access to page properties, which are available anywhere in your theme.
@page.show_title_and_feature_image
- true (default) or false value from Ghost Editor@page.show_title_and_feature_image
is always present and defaults to true
, supporting this feature in your theme won’t break anything for anyone using the old editor.
Using the @page
object is not backward-compatible with earlier versions of Ghost: once implemented the theme will only be compatible with Ghost 5.54.1 or later.
.kg-width-full
), remove spacing between the top navigation and content (on pages only)..kg-card-hascaption
, and maintaining spacing is desirable in this case.
The implementation of these changes will look different on every theme. Find examples of these recommended changes in Casper here (1 and 3) and here (2).