mirror of
https://github.com/Damillora/Yuika
synced 2024-11-25 02:27:33 +00:00
42 lines
1.1 KiB
Handlebars
42 lines
1.1 KiB
Handlebars
{{!< default}}
|
|
<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>
|
|
{{#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>
|
|
{{/tag}}
|
|
|
|
<main class="post-list container mx-auto">
|
|
{{#foreach posts}}
|
|
{{> "post-card"}}
|
|
{{/foreach}}
|
|
</main>
|
|
|
|
{{#contentFor "scripts"}}
|
|
{{/contentFor}} |