Updated hiding page title and feature image implementation (#946)
https://github.com/TryGhost/Product/issues/3568
This commit is contained in:
parent
d9c9390e17
commit
a60e3e976a
1 changed files with 2 additions and 2 deletions
4
page.hbs
4
page.hbs
|
@ -10,7 +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}}
|
||||
{{#match @page.show_title_and_feature_image}}
|
||||
<header class="article-header gh-canvas">
|
||||
|
||||
<h1 class="article-title">{{title}}</h1>
|
||||
|
@ -35,7 +35,7 @@ into the {body} tag of the default.hbs template --}}
|
|||
{{/if}}
|
||||
|
||||
</header>
|
||||
{{/if}}
|
||||
{{/match}}
|
||||
|
||||
<section class="gh-content gh-canvas">
|
||||
{{content}}
|
||||
|
|
Loading…
Reference in a new issue