Use custom_excerpt instead of excerpt
This commit is contained in:
parent
677ddec8a1
commit
2e698dc474
|
@ -15,8 +15,8 @@ into the {body} of the default.hbs template --}}
|
||||||
{{> hero background=feature_image}}
|
{{> hero background=feature_image}}
|
||||||
<div class="m-hero__content" data-aos="fade-down">
|
<div class="m-hero__content" data-aos="fade-down">
|
||||||
<h1 class="m-hero-title bigger">{{title}}</h1>
|
<h1 class="m-hero-title bigger">{{title}}</h1>
|
||||||
{{#if excerpt}}
|
{{#if custom_excerpt}}
|
||||||
<p class="m-hero-description">{{excerpt}}</p>
|
<p class="m-hero-description">{{custom_excerpt}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
4
page.hbs
4
page.hbs
|
@ -15,8 +15,8 @@ into the {body} of the default.hbs template --}}
|
||||||
{{> hero background=feature_image}}
|
{{> hero background=feature_image}}
|
||||||
<div class="m-hero__content" data-aos="fade-down">
|
<div class="m-hero__content" data-aos="fade-down">
|
||||||
<h1 class="m-hero-title bigger">{{title}}</h1>
|
<h1 class="m-hero-title bigger">{{title}}</h1>
|
||||||
{{#if excerpt}}
|
{{#if custom_excerpt}}
|
||||||
<p class="m-hero-description">{{excerpt}}</p>
|
<p class="m-hero-description">{{custom_excerpt}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue