Use custom_excerpt instead of excerpt

This commit is contained in:
Eduardo Gomez 2019-05-14 09:52:33 +02:00
parent 677ddec8a1
commit 2e698dc474
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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>