{{ define "main" }}

{{ .Site.Title }}

{{ .Site.Params.Moto }}

{{ .Site.Params.Description}}

{{ $hero := resources.GetMatch "images/pages/tailbliss-rocket-indigo.png" }} {{ $thumb := ($hero.Fill "400x400 webp q90") }} {{ $large := ($hero.Fill "576x576 webp q90") }} TailBliss Hero
{{ $p1image := resources.Get .Site.Params.P1.Image }} {{ with $p1image }} {{ with .Resize (printf "%dx%d webp q90" .Width .Height) }} P1 {{ end }}> {{ end }}
Workcation

Tincidunt integer commodo, cursus etiam aliquam neque, et. Consectetur pretium in volutpat, diam. Montes, magna cursus nulla feugiat dignissim id lobortis amet.

John Doe, CEO at TailBliss

{{ .Site.Params.P1.Heading }}

{{ range .Site.Params.P1.Content }}

{{ .text }}

{{ end }}

{{ .Site.Params.P2.Heading }}

{{ range .Site.Params.P2.Content }}

{{ .text }}

{{ end }}

{{ $p2image := resources.Get .Site.Params.P2.Image }} {{ with $p2image }} {{ with .Resize (printf "%dx%d webp q90" .Width .Height) }} p2 {{ end }} {{ end }}
{{ range .Site.Params.P3.Logos }}
{{ if .image }} {{ $sponsor := resources.Get .image }} {{ .alt }} {{ else }} {{ $sponsor := resources.Get "images/global/sample-logo.svg" }} {{ .alt }} {{ end }}
{{ end }}

{{ .Site.Params.P3.Heading }}

{{ range .Site.Params.P3.Content }}

{{ .text }}

{{ end }} {{ range .Site.Params.P3.Links }} {{ end }}

{{ .Site.Params.P4.Heading }}

{{ range .Site.Params.P4.Content }}

{{ .text }}

{{ end }}
{{ range (.Paginator 3).Pages }}
{{ with .Params.featured_image }} {{ with resources.Get . }} {{ $postimage := (.Resize "500x webp q90").RelPermalink }} {{ .Title }} {{ end }} {{ end }}
{{ .Title }}

{{ .Params.summary }}

Tags: {{ range $elem_index, $elem_val := (.GetTerms "tags") }} {{- if gt $elem_index 0 }}, {{ end -}} {{ .LinkTitle }} {{- end -}}
{{ .Params.author }} {{ with .Params.authorimage }} {{ with resources.Get . }} {{ $authorimage := (.Resize "400x webp").RelPermalink }} {{ end }} {{ end }}

{{ .Params.author }}

{{ math.Round (div (countwords .Content) 220.0) }} min read
{{ end }}
{{ if not .Site.Params.Disable_stay_uptodate}}

{{ .Site.Params.P5.Heading }}

{{ range .Site.Params.P5.Content }}

{{ .text }}

{{ end }}
{{ end }}
{{ end }}