Added support for hidden title and feature image on pages (#943)
* Added support for hidden title and feature image on pages Refs https://github.com/TryGhost/Product/issues/3568 * Switched from match to if helper for show_title_and_feature_image Refs https://github.com/TryGhost/Product/issues/3568
This commit is contained in:
parent
4ae190c1a6
commit
d3483498d4
1 changed files with 23 additions and 21 deletions
2
page.hbs
2
page.hbs
|
@ -10,6 +10,7 @@ into the {body} tag of the default.hbs template --}}
|
|||
<main id="site-main" class="site-main">
|
||||
<article class="article {{post_class}}">
|
||||
|
||||
{{#if show_title_and_feature_image}}
|
||||
<header class="article-header gh-canvas">
|
||||
|
||||
<h1 class="article-title">{{title}}</h1>
|
||||
|
@ -34,6 +35,7 @@ into the {body} tag of the default.hbs template --}}
|
|||
{{/if}}
|
||||
|
||||
</header>
|
||||
{{/if}}
|
||||
|
||||
<section class="gh-content gh-canvas">
|
||||
{{content}}
|
||||
|
|
Loading…
Reference in a new issue