diff --git a/index.hbs b/index.hbs index 3211e35..ca34824 100644 --- a/index.hbs +++ b/index.hbs @@ -1,201 +1,74 @@ - - +{{!< default}} - - - - {{meta_title}} - - - {{#is "home"}} - {{#if @site.cover_image}} - +
+ {{#if @custom.flip_columns}} + {{#if @custom.primary_header}} +

{{{@custom.primary_header}}}

{{/if}} - {{/is}} - - - - - - - - {{ghost_head}} - - - - - - - - -
- -
-
-
-
- {{#if @site.logo}} - {{#if @custom.link_of_lottie_json_file}} - - {{#if @custom.show_site_title}} - - {{else}} - - {{#if @custom.show_site_title}} - - {{/if}} - {{else}} - - {{/if}} -
- {{#if @custom.show_search_icon}} - + {{/if}} +
+ {{^if @custom.flip_columns}} + {{#match @custom.header_section_layout "!=" "Typographic profile"}} + {{#if @site.cover_image}} + {{@site.title}} {{/if}} - -
+ {{else}} + {{#if @site.icon}} + {{@site.title}} + {{/if}} + {{/match}} + {{/if}} + +
+
+ {{#if @custom.primary_header}} +

{{{@custom.primary_header}}}

+ {{/if}} + {{#if @custom.secondary_header}} +

{{{@custom.secondary_header}}}

+ {{/if}} + {{#if @site.members_enabled}} + {{#unless @member}} +
+ jamie@example.com + Subscribe +
+ {{/unless}} + {{/if}}
-
+ {{#if @custom.flip_columns}} + {{#match @custom.header_section_layout "!=" "Typographic profile"}} + {{#if @site.cover_image}} + {{@site.title}} + {{/if}} + {{else}} + {{#if @site.icon}} + {{@site.title}} + {{/if}} + {{/match}} + {{/if}} +
+
- {{{body}}} +
+
+ {{#foreach posts}} + {{> "loop"}} + {{/foreach}} +
+
- - - - -{{#is "post, page"}} - {{> "pswp"}} -{{/is}} - - - - - -{{ghost_foot}} - - - - \ No newline at end of file +{{#contentFor "body_class"}}{{#match @custom.header_section_layout "Side by side"}} has-side-about{{/match}}{{#match @custom.header_section_layout "Large background"}}{{#if @site.cover_image}} is-head-transparent has-background-about{{else}} has-side-about{{/if}}{{/match}}{{#match @custom.header_section_layout "Typographic profile"}}{{#if @site.icon}} has-typographic-about{{else}} has-side-about{{/if}}{{/match}}{{/contentFor}}