mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
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
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">
|
<main id="site-main" class="site-main">
|
||||||
<article class="article {{post_class}}">
|
<article class="article {{post_class}}">
|
||||||
|
|
||||||
|
{{#if 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>
|
||||||
@ -34,6 +35,7 @@ into the {body} tag of the default.hbs template --}}
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<section class="gh-content gh-canvas">
|
<section class="gh-content gh-canvas">
|
||||||
{{content}}
|
{{content}}
|
||||||
|
Loading…
Reference in New Issue
Block a user