{{- /* A single testimonial card. Use inside a `quotes` block. Params: name - person's name title - person's role, shown on its own line under the name company - company name, used as the logo's accessible label (and shown as text when no logo is given) logo - filename of an SVG in the post's page bundle, or a static path. Bundle SVGs are inlined so currentColor tracks the theme. The quote text goes in the shortcode body. Markdown is supported. */ -}} {{- $name := .Get "name" -}} {{- $title := .Get "title" -}} {{- $company := .Get "company" -}} {{- $logo := .Get "logo" -}}
{{- with $logo -}} {{- with $.Page.Resources.GetMatch . -}} {{- if eq .MediaType.SubType "svg" -}} {{- else -}} {{- end -}} {{- else -}} {{- end -}} {{- else -}} {{- end }}
“{{ trim .Inner " \n" | .Page.RenderString }}”
{{ $name }} {{- with $title }} {{ . }} {{- end }}