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

34 lines
1.1 KiB
Handlebars
Raw Normal View History

2021-04-14 08:24:27 +00:00
{{!< 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>
2019-11-08 20:59:26 +00:00
</div>
2021-04-14 08:24:27 +00:00
<div class="page-header__contents">
<div class="post-header container mx-auto main">
<p>
<span class="post-header__tag-name">Tag</span>
</p>
2021-04-22 13:34:59 +00:00
<div class="post-header__heading post-header__heading--tag">
2021-04-14 08:24:27 +00:00
{{#if accent_color}}
2021-04-22 13:34:59 +00:00
<span class="post-header__heading--tag-color" style="background-color: {{accent_color}};"></span>
2021-04-14 08:24:27 +00:00
{{else}}
2021-04-22 13:34:59 +00:00
<span class="post-header__heading--tag-color"></span>
2021-04-14 08:24:27 +00:00
{{/if}}
2021-04-22 13:34:59 +00:00
<h1 class="post-header__heading--tag-text">
2021-04-14 08:24:27 +00:00
{{name}}
</h1>
</div>
2021-04-22 13:34:59 +00:00
<p class="page-header__text">{{description}}</p>
2021-04-14 08:24:27 +00:00
</div>
2020-11-11 19:54:23 +00:00
</div>
2019-11-08 20:59:26 +00:00
</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}}