mirror of
https://github.com/Damillora/Yuika
synced 2024-11-05 02:17:32 +00:00
24 lines
712 B
Handlebars
24 lines
712 B
Handlebars
{{!< 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>
|
|
</div>
|
|
<div class="page-header__contents">
|
|
<div class="container mx-auto main">
|
|
{{#if @site.logo}}
|
|
<img src="{{img_url @site.logo size=" l"}}" alt="{{@site.title}}" class="page-header__icon">
|
|
{{/if}}
|
|
<h1>{{@site.title}}</h1>
|
|
<p>{{@site.description}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<main class="post-list container mx-auto">
|
|
{{#foreach posts}}
|
|
{{> "post-card"}}
|
|
{{/foreach}}
|
|
</main>
|
|
{{#contentFor "scripts"}}
|
|
{{/contentFor}} |