Updated hiding page title and feature image implementation (#946)

https://github.com/TryGhost/Product/issues/3568
This commit is contained in:
Sanne de Vries 2023-07-17 14:31:26 +02:00 committed by GitHub
parent d9c9390e17
commit a60e3e976a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ into the {body} tag of the default.hbs template --}}
<main id="site-main" class="site-main"> <main id="site-main" class="site-main">
<article class="article {{post_class}}"> <article class="article {{post_class}}">
{{#if show_title_and_feature_image}} {{#match @page.show_title_and_feature_image}}
<header class="article-header gh-canvas"> <header class="article-header gh-canvas">
<h1 class="article-title">{{title}}</h1> <h1 class="article-title">{{title}}</h1>
@ -35,7 +35,7 @@ into the {body} tag of the default.hbs template --}}
{{/if}} {{/if}}
</header> </header>
{{/if}} {{/match}}
<section class="gh-content gh-canvas"> <section class="gh-content gh-canvas">
{{content}} {{content}}