1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-25 10:37:32 +00:00
Yuika/index.hbs

24 lines
766 B
Handlebars
Raw Permalink Normal View History

2021-04-14 08:24:27 +00:00
{{!< default}} {{> header-background background=@site.cover_image}}
<div class="page-header">
<div class="page-header__background responsive-header-img">
<div class="page-header__overlay"></div>
2019-11-08 20:59:26 +00:00
</div>
2021-04-14 08:24:27 +00:00
<div class="page-header__contents">
<div class="container mx-auto main">
{{#if @site.logo}}
2021-04-22 15:04:40 +00:00
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="page-header__icon">
2021-04-14 08:24:27 +00:00
{{/if}}
2021-04-22 13:34:59 +00:00
<h1 class="page-header__heading">{{@site.title}}</h1>
<p class="page-header__text">{{@site.description}}</p>
2020-11-11 19:54:23 +00:00
</div>
2020-11-11 10:59:27 +00:00
</div>
</div>
2020-11-11 04:54:56 +00:00
2021-04-14 08:24:27 +00:00
<main class="post-list container mx-auto">
{{#foreach posts}}
2019-11-09 21:10:51 +00:00
{{> "post-card"}}
2021-04-14 08:24:27 +00:00
{{/foreach}}
</main>
{{#contentFor "scripts"}}
{{/contentFor}}