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

33 lines
1001 B
Handlebars
Raw Normal View History

2019-11-08 20:59:26 +00:00
{{!< default}}
2019-11-14 07:15:38 +00:00
<div class="relative group index-header">
2020-11-11 04:54:56 +00:00
{{> header-background background=@site.cover_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>
2020-11-11 10:59:27 +00:00
<div class="absolute bottom-0 py-4 left-0 right-0">
2020-11-11 19:54:23 +00:00
<div class="container mx-auto content-full flex flex-col py-4">
2020-11-11 10:59:27 +00:00
{{#if @site.logo}}
<div class="w-24 h-24 py-4">
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="w-full h-full object-contain">
</div>
{{/if}}
2020-11-11 19:54:23 +00:00
<div class="block flex flex-col pl-4 flex-grow">
2020-11-11 10:59:27 +00:00
<div class="">
2020-11-11 11:46:22 +00:00
<h1 class="text-2xl md:text-4xl font-light text-white">{{@site.title}}</h1>
2020-11-11 10:59:27 +00:00
</div>
<div class="">
2020-11-11 11:46:22 +00:00
<p class="text-lg md:text-xl font-light text-white">{{@site.description}}</p>
2020-11-11 10:59:27 +00:00
</div>
2020-11-11 19:54:23 +00:00
</div>
2020-11-11 10:59:27 +00:00
</div>
</div>
2019-11-08 20:59:26 +00:00
</div>
2020-11-11 04:54:56 +00:00
<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>
2019-11-09 06:03:26 +00:00
{{#contentFor "scripts"}}
{{/contentFor}}