mirror of
https://github.com/Damillora/Yuika
synced 2024-11-16 23:07:33 +00:00
34 lines
1.1 KiB
Handlebars
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}} |