diff --git a/default.hbs b/default.hbs
index b7eead4..a8d94eb 100644
--- a/default.hbs
+++ b/default.hbs
@@ -9,7 +9,12 @@
{{#is "home"}}
{{#if @site.cover_image}}
+ {{#match @custom.header_section_layout "Large background"}}
+ {{else match @custom.header_section_layout "Side by side"}}
+
+ {{/match}}
+
{{/if}}
{{/is}}
@@ -46,8 +51,8 @@
{{#if @site.logo}}
{{else}}
diff --git a/index.hbs b/index.hbs
index aa126d0..54bf64a 100644
--- a/index.hbs
+++ b/index.hbs
@@ -18,9 +18,8 @@
{{#if @site.cover_image}}
{{/if}}
{{/match}}
diff --git a/partials/loop.hbs b/partials/loop.hbs
index 1485933..fbba59c 100644
--- a/partials/loop.hbs
+++ b/partials/loop.hbs
@@ -8,10 +8,14 @@
{{#match @custom.post_feed_layout "Parallax"}}class="jarallax-img"{{/match}}
srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 720w,
- {{img_url feature_image size="l"}} 960w,
+ {{img_url feature_image size="l"}} 960w
+ {{#match @custom.post_feed_layout "=" "Parallax"}},
{{img_url feature_image size="xl"}} 1200w,
{{img_url feature_image size="xxl"}} 2000w"
- sizes="(max-width: 1200px) 100vw, 1200px"
+ sizes="(max-width: 1440px) 100vw, 1440px"
+ {{else}}
+ sizes="(max-width: 991px) 100vw, 50vw"
+ {{/match}}
src="{{img_url feature_image size="m"}}"
alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}"
>