1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 17:27:32 +00:00
Yuika/tag.hbs

42 lines
1.1 KiB
Handlebars
Raw Normal View History

2021-07-10 21:23:59 +00:00
{{!< default}}
<div class="page-header page-header--short">
<div class="page-header__background">
2021-04-14 08:24:27 +00:00
<div class="page-header__overlay"></div>
2019-11-08 20:59:26 +00:00
</div>
2021-04-14 08:24:27 +00:00
<div class="page-header__contents">
2020-11-11 19:54:23 +00:00
</div>
2019-11-08 20:59:26 +00:00
</div>
2021-07-10 21:23:59 +00:00
{{#tag}}
<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">
<h1 class="post-header__heading">
{{name}}
</h1>
{{#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}}
</div>
{{#if description}}
<p>{{description}}</p>
{{/if}}
{{#if feature_image}}
<figure class="post-header__featured-image">
<img src="{{feature_image}}" alt="{{name}}" loading="lazy">
</figure>
{{/if}}
</div>
2021-04-14 08:24:27 +00:00
{{/tag}}
2019-11-08 20:59:26 +00:00
2021-04-14 08:24:27 +00:00
<main class="post-list container mx-auto">
{{#foreach posts}}
2019-11-09 21:10:51 +00:00
{{> "post-card"}}
2021-04-14 08:24:27 +00:00
{{/foreach}}
</main>
{{#contentFor "scripts"}}
{{/contentFor}}