1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-17 07:17:32 +00:00
Yuika/page.hbs
2021-07-11 04:23:59 +07:00

33 lines
835 B
Handlebars

{{!< default}} {{#post}} <div class="relative group index-header">
<div class="page-header page-header--short">
<div class="page-header__background">
<div class="page-header__overlay"></div>
</div>
<div class="page-header__contents">
</div>
</div>
<div class="post-header container mx-auto main">
<h1 class="post-header__heading">{{title}}</h1>
{{#if feature_image}}
<figure class="post-header__featured-image">
<img src="{{feature_image}}" alt="{{feature_image_alt}}" loading="lazy">
{{#if feature_image_caption}}
<figcaption>{{feature_image_caption}}</figcaption>
{{/if}}
</figure>
{{/if}}
</div>
<main id="post" class="container mx-auto main">
{{content}}
</main>
{{/post}}
{{#contentFor "scripts"}}
<script>
</script>
{{/contentFor}}