Skip to content

Commit a60e3e9

Browse files
authored
Updated hiding page title and feature image implementation (#946)
https://github.com/TryGhost/Product/issues/3568
1 parent d9c9390 commit a60e3e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ into the {body} tag of the default.hbs template --}}
1010
<main id="site-main" class="site-main">
1111
<article class="article {{post_class}}">
1212

13-
{{#if show_title_and_feature_image}}
13+
{{#match @page.show_title_and_feature_image}}
1414
<header class="article-header gh-canvas">
1515

1616
<h1 class="article-title">{{title}}</h1>
@@ -35,7 +35,7 @@ into the {body} tag of the default.hbs template --}}
3535
{{/if}}
3636

3737
</header>
38-
{{/if}}
38+
{{/match}}
3939

4040
<section class="gh-content gh-canvas">
4141
{{content}}

0 commit comments

Comments
 (0)