Back to Prql

Home

web/website/themes/prql-theme/layouts/_default/home.html

0.13.121.5 KB
Original Source

{{ with .Params.why_prql_section }} {{ if .enable }}

{{ .title | markdownify }}

{{ range .items }}

{{ .title | markdownify }}

{{/* 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 }}

{{ .title | markdownify }}

{{ range .content }}

{{ . }}

{{ end }} {{ range .buttons }} {{ .label }} {{ end }}

{{ range $index, $e := .examples }} {{ $example := index $.Site.Data.examples $e }}

prql
{{ $example.prql }}
sql
{{ $example.sql }}

{{ end }}

{{ end }} {{ end }} {{ with .Params.principles_section }} {{/* TODO: can we integrate this with section-cards? It's very similar */}} {{ if .enable }}

{{ .title | markdownify }}

{{ range .items }}

{{ .title | markdownify }}

{{ .main_text | markdownify }}

{{ .content | markdownify }}

{{ end }}

{{ end }} {{ end }} {{ with .Params.videos_section }} {{ if .enable }}

{{ .title | markdownify }}

{{ range .items }}

Embedded content

{{ 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 }}