{{ define "main" }} {{ $home := .Site.Data.site.home }} {{ if $home.hero.enabled }}
{{ if $home.hero.eyebrow }}

{{ $home.hero.eyebrow }}

{{ end }}

{{ $home.hero.headline | default "Fat Kiss" }}

{{ if $home.hero.subheadline }}

{{ $home.hero.subheadline }}

{{ end }} {{ if $home.hero.body }}

{{ $home.hero.body }}

{{ end }}
{{ if $home.hero.primary_cta_label }} {{ $home.hero.primary_cta_label }} {{ end }} {{ if $home.hero.secondary_cta_label }} {{ $home.hero.secondary_cta_label }} {{ end }}
{{ end }} {{ if $home.brand_statement.enabled }}

{{ $home.brand_statement.headline }}

{{ $home.brand_statement.body }}

{{ end }} {{ if $home.featured_products.enabled }}

Meet the collection

{{ $slugs := $home.featured_products.product_slugs }} {{ range where .Site.RegularPages "Section" "products" }} {{ if in $slugs .File.ContentBaseName }} {{ partial "product-card.html" . }} {{ end }} {{ end }}
{{ end }} {{ if $home.ethos.enabled }}
{{ partial "svg-logo.html" . }}

{{ $home.ethos.title }}

{{ $home.ethos.body }}

{{ if $home.ethos.cta_label }} {{ $home.ethos.cta_label }} {{ end }}
{{ end }} {{ if and $home.reviews.enabled .Site.Data.reviews }}

What people are saying

{{ $reviews := slice }} {{ range .Site.Data.reviews }} {{ $reviews = $reviews | append . }} {{ end }} {{ range first ($home.reviews.max_items | default 3) (where $reviews "enabled" true) }}

"{{ .review_text }}"

{{ .reviewer_name }}

{{ with .reviewer_location }}

{{ . }}

{{ end }}
{{ end }}
{{ end }} {{ if and $home.journal_preview.enabled (where .Site.RegularPages "Section" "journal" | len | gt 0) }}

Notes from the studio

{{ range first ($home.journal_preview.max_items | default 2) (where .Site.RegularPages "Section" "journal") }} {{ with .Params.hero_image }}
{{ $.Title }}
{{ end }}

{{ .Date.Format "January 2, 2006" }}

{{ .Title }}

{{ with .Params.summary }}

{{ . }}

{{ end }}
{{ end }}
{{ end }} {{ if and $home.newsletter.enabled (ne .Site.Data.site.settings.enable_newsletter false) }}
{{ partial "newsletter-signup.html" . }}
{{ end }} {{ if $home.waitlist.enabled }}

{{ $home.waitlist.title }}

{{ $home.waitlist.body }}

{{ $home.waitlist.cta_label }}
{{ end }} {{ end }}