{{- /* Indicates that the enclosed text is an extended quotation. @param {string} author Author of the quote. @param {string} url Link to quote. @returns {template.HTML} @examples {{< quote "Aldous Huxley" "https://example.com" >}} Words can be like X-rays, if you use them properly - they’ll go through anything. You read and you’re pierced. {{< /quote >}} */ -}} {{- if (.IsNamedParams) -}} {{ $author := (.Get "author") }} {{ $url := (.Get "url") }}
{{ with (.Inner) }}{{ (. | $.Page.RenderString (dict "display" "block")) }}{{ end }}
{{ with ($author) }} {{ end }}
{{- else -}} {{ (partial "alerts/no_params" .) }} {{- end -}}