mirror of
https://github.com/Damillora/Yuika
synced 2024-11-14 05:57:33 +00:00
Damillora
a91bb8a901
- Upgrade Tailwind to 1.4, integrating CSS grid and transition utilities - Upgrade other dependencies - Change design
35 lines
978 B
Handlebars
35 lines
978 B
Handlebars
{{!< default}}
|
|
|
|
{{#tag}}
|
|
{{> "site-header"}}
|
|
<div class="relative group index-header">
|
|
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
|
|
<div class="w-full h-full opacity-50 bg-black">
|
|
</div>
|
|
</div>
|
|
<div class="absolute bottom-0 py-6 h-full left-0 right-0">
|
|
<div class="container mx-auto content-full h-full flex flex-col justify-end items-begin">
|
|
<div class="my-2">
|
|
<span class="tag-header">Tag</span>
|
|
</div>
|
|
<div>
|
|
<h1 class="text-white text-2xl md:text-4xl">{{name}}</h1>
|
|
</div>
|
|
<div class="text-white">
|
|
{{#if description}}
|
|
<p>{{description}}</p>
|
|
{{else}}
|
|
<p>A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{/tag}}
|
|
|
|
<div class="post-feed content w-full px-2">
|
|
{{#foreach posts}}
|
|
{{> "post-card"}}
|
|
{{/foreach}}
|
|
</div>
|