Page template integrated 👍🏼
This commit is contained in:
parent
9659e310c6
commit
6540ac76cc
File diff suppressed because one or more lines are too long
|
@ -5,8 +5,10 @@
|
||||||
|
|
||||||
{{> 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">{{title}}</h1>
|
<h1 class="m-hero-title bigger">{{title}}</h1>
|
||||||
<p class="m-hero-description">{{excerpt}}</p>
|
{{#if excerpt}}
|
||||||
|
<p class="m-hero-description">{{excerpt}}</p>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main role="main">
|
<main role="main">
|
||||||
|
|
31
page.hbs
Normal file
31
page.hbs
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{{!< default}}
|
||||||
|
|
||||||
|
{{#post}}
|
||||||
|
{{> header background=feature_image}}
|
||||||
|
|
||||||
|
{{> hero background=feature_image}}
|
||||||
|
<div class="m-hero__content" data-aos="fade-down">
|
||||||
|
<h1 class="m-hero-title bigger">{{title}}</h1>
|
||||||
|
{{#if excerpt}}
|
||||||
|
<p class="m-hero-description">{{excerpt}}</p>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<main role="main">
|
||||||
|
<article>
|
||||||
|
<section class="l-content">
|
||||||
|
<div class="l-wrapper in-post" data-aos="fade-up" data-aos-delay="300">
|
||||||
|
<div class="l-post-content">
|
||||||
|
<section class="pos-relative js-post-content">
|
||||||
|
{{content}}
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
{{/post}}
|
||||||
|
|
||||||
|
{{#contentFor "scripts"}}
|
||||||
|
<script defer src="{{asset "js/page.js"}}"></script>
|
||||||
|
{{/contentFor}}
|
2
tag.hbs
2
tag.hbs
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{{> 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">{{name}}</h1>
|
<h1 class="m-hero-title bigger">{{name}}</h1>
|
||||||
<p class="m-heading__description">
|
<p class="m-heading__description">
|
||||||
{{plural ../pagination.total empty="No posts" singular="% post" plural="% posts"}} with this tag
|
{{plural ../pagination.total empty="No posts" singular="% post" plural="% posts"}} with this tag
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue