Back to Velero

{{ $.Param "hero.headline" }}

site/layouts/index.html

1.18.01.4 KB
Original Source

{{ define "main" }}

{{ $.Param "hero.headline" }}

{{ $.Param "hero.content" }}

{{ $.Param "hero.cta_link1.text" }}{{ $.Param "hero.cta_link2.text" }}

{{ if $.Param "hero.promo1.url" }}

{{ $.Param "hero.promo1.title" }}

{{ else }}

{{ $.Param "hero.promo1.title" }}

{{ end }}

{{ $.Param "hero.promo1.content" }}

{{ if $.Param "hero.promo2.url" }}

{{ $.Param "hero.promo2.title" }}

{{ else }}

{{ $.Param "hero.promo2.title" }}

{{ end }}

{{ $.Param "hero.promo2.content" }}

{{ if $.Param "hero.promo3.url" }}

{{ $.Param "hero.promo3.title" }}

{{ else }}

{{ $.Param "hero.promo3.title" }}

{{ end }}

{{ $.Param "hero.promo3.content" }}

{{ $.Param "secondary_ctas.cta1.title" }}

{{ $.Param "secondary_ctas.cta1.content" }}

{{ $.Param "secondary_ctas.cta2.title" }}

{{ $.Param "secondary_ctas.cta2.content" }}

Features

{{ .Scratch.Set "limit" "3" }} {{ partial "case-studies-alternating.html" . }}

Blog Highlights

{{ .Scratch.Set "posts" (first 3 (.Site.GetPage "/posts").Pages) }} {{ partial "blog-posts.html" . }}

See All Posts

{{ partial "contributors.html" . }}

{{ end }}