web/website/themes/prql-theme/layouts/_default/home.html
{{ with .Params.why_prql_section }} {{ if .enable }}
{{ range .items }}
{{/* Probably there's a more general way of formatting this padding; the default is 2em, which looked too indented */}} {{ range .content }} - {{ . | markdownify }} {{ end }}
{{ end }}
{{ end }} {{ end }} {{ with .Params.showcase_section }} {{ if .enable }}
{{ range .content }}
{{ . }}
{{ end }} {{ range .buttons }} {{ .label }} {{ end }}
{{ range $index, $e := .examples }} {{ $example := index $.Site.Data.examples $e }}
{{ $example.prql }}
{{ $example.sql }}
{{ end }}
{{ end }} {{ end }} {{ with .Params.principles_section }} {{/* TODO: can we integrate this with section-cards? It's very similar */}} {{ if .enable }}
{{ range .items }}
{{ .main_text | markdownify }}
{{ .content | markdownify }}
{{ end }}
{{ end }} {{ end }} {{ with .Params.videos_section }} {{ if .enable }}
{{ range .items }}
{{ end }}
{{ end }} {{ end }} {{ partial "section-cards" .Params.integrations_section }} {{ partial "section-cards" .Params.tools_section }} {{ partial "section-cards" .Params.bindings_section }} {{ partial "section-testimonials" .Params.testimonials_section }}