1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 09:17:33 +00:00
Yuika/tag.hbs
2021-04-22 20:34:59 +07:00

34 lines
1.1 KiB
Handlebars

{{!< default}} {{#tag}} {{> header-background background=feature_image}}
<div class="page-header">
<div class="page-header__background responsive-header-img">
<div class="page-header__overlay"></div>
</div>
<div class="page-header__contents">
<div class="post-header container mx-auto main">
<p>
<span class="post-header__tag-name">Tag</span>
</p>
<div class="post-header__heading post-header__heading--tag">
{{#if accent_color}}
<span class="post-header__heading--tag-color" style="background-color: {{accent_color}};"></span>
{{else}}
<span class="post-header__heading--tag-color"></span>
{{/if}}
<h1 class="post-header__heading--tag-text">
{{name}}
</h1>
</div>
<p class="page-header__text">{{description}}</p>
</div>
</div>
</div>
{{/tag}}
<main class="post-list container mx-auto">
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
</main>
{{#contentFor "scripts"}}
{{/contentFor}}