2013-05-11 10:16:11 +00:00
|
|
|
{{!< default}}
|
2017-05-15 20:03:47 +00:00
|
|
|
{{!-- The tag above means: insert everything in this file
|
|
|
|
into the {body} of the default.hbs template --}}
|
2013-08-20 16:53:02 +00:00
|
|
|
|
2021-11-05 12:14:53 +00:00
|
|
|
{{#match @custom.publication_cover_style "!=" "None"}}
|
2022-05-06 06:12:11 +00:00
|
|
|
<div class="site-header-content outer{{#match @custom.publication_cover_style "Large"}} large{{/match}}">
|
|
|
|
|
|
|
|
{{#if @site.cover_image}}
|
|
|
|
{{!-- This is a responsive image, it loads different sizes depending on device
|
|
|
|
https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}}
|
|
|
|
<img class="site-header-cover"
|
|
|
|
srcset="{{img_url @site.cover_image size="s"}} 300w,
|
|
|
|
{{img_url @site.cover_image size="m"}} 600w,
|
|
|
|
{{img_url @site.cover_image size="l"}} 1000w,
|
|
|
|
{{img_url @site.cover_image size="xl"}} 2000w"
|
|
|
|
sizes="100vw"
|
|
|
|
src="{{img_url @site.cover_image size="xl"}}"
|
|
|
|
alt=""
|
|
|
|
/>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<section class="site-header-inner inner">
|
|
|
|
{{#if @site.icon}}
|
|
|
|
<img class="site-icon" src="{{@site.icon}}" alt="{{@site.title}}">
|
2021-03-03 20:44:25 +00:00
|
|
|
{{/if}}
|
2022-05-06 06:12:11 +00:00
|
|
|
<div class="site-header-wrapper">
|
|
|
|
<h1 class="site-title">{{@site.title}}</h1>
|
|
|
|
<p class="site-description">{{@site.description}}</p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</div>
|
2021-11-05 12:14:53 +00:00
|
|
|
{{/match}}
|
2013-08-20 16:53:02 +00:00
|
|
|
|
2017-05-15 20:03:47 +00:00
|
|
|
{{!-- The main content area --}}
|
2018-04-17 20:19:05 +00:00
|
|
|
<main id="site-main" class="site-main outer">
|
2019-10-21 05:43:34 +00:00
|
|
|
<div class="inner posts">
|
2013-08-10 13:06:01 +00:00
|
|
|
|
2021-11-05 12:14:53 +00:00
|
|
|
<div class="post-feed{{#match @custom.feed_layout "List"}} list{{/match}}">
|
2021-03-04 04:20:10 +00:00
|
|
|
{{#foreach posts}}
|
2017-06-12 09:01:00 +00:00
|
|
|
|
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2013-09-01 15:02:37 +00:00
|
|
|
|
2017-05-15 20:03:47 +00:00
|
|
|
</div>
|
2015-02-28 12:34:58 +00:00
|
|
|
</main>
|