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

35 lines
978 B
Handlebars
Raw Normal View History

2019-11-08 20:59:26 +00:00
{{!< default}}
2019-11-09 06:03:26 +00:00
2019-11-08 20:59:26 +00:00
{{#tag}}
2019-11-13 11:50:52 +00:00
{{> "site-header"}}
2019-11-11 17:10:20 +00:00
<div class="relative group index-header">
2019-11-08 20:59:26 +00:00
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
2019-11-14 05:41:19 +00:00
<div class="w-full h-full opacity-50 bg-black">
2019-11-08 20:59:26 +00:00
</div>
</div>
2019-11-11 17:10:20 +00:00
<div class="absolute bottom-0 py-6 h-full left-0 right-0">
2019-11-12 17:51:01 +00:00
<div class="container mx-auto content-full h-full flex flex-col justify-end items-begin">
2019-11-25 19:25:00 +00:00
<div class="my-2">
<span class="tag-header">Tag</span>
2019-11-08 20:59:26 +00:00
</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>
2019-11-11 17:02:59 +00:00
</div>
2019-11-08 20:59:26 +00:00
</div>
</div>
{{/tag}}
<div class="post-feed content w-full px-2">
2019-11-09 21:10:51 +00:00
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
2019-11-08 20:59:26 +00:00
</div>