mirror of
https://github.com/Damillora/Yuika
synced 2024-11-05 02:17:32 +00:00
37 lines
1.1 KiB
Handlebars
37 lines
1.1 KiB
Handlebars
{{!< default}}
|
|
|
|
{{#tag}}
|
|
<div class="relative group index-header">
|
|
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
|
|
<div class="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 px-2 sm:px-8 md:px-16 lg:px-32 xl:px-64 h-full flex flex-col justify-end items-begin">
|
|
<div>
|
|
<p class="bg-blue-700 w-auto inline-block px-2 py-1 text-white text-sm">Tag</p>
|
|
</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 class="w-full flex flex-row justify-begin items-center absolute top-0 index-navbar">
|
|
{{> "site-header"}}
|
|
</div>
|
|
</div>
|
|
{{/tag}}
|
|
|
|
<div class="flex flex-wrap justify-start post-feed content w-full px-4">
|
|
{{#foreach posts}}
|
|
{{> "post-card"}}
|
|
{{/foreach}}
|
|
</div>
|