{{ define "partials/sponsor-logo-resize" }} {{- if gt .img.Width .width -}} {{- $rimg := .img.Resize (printf "%dx" .width) -}} {{- $rimg.RelPermalink }} {{ $rimg.Width -}}w, {{- end -}} {{ end }} {{ define "partials/sponsor-logo" }} {{ $img := resources.Get .logo }} {{ end }} {{ with $sponsors := $.Site.Data.sponsors.sponsors }}

Sponsors

{{ range $sponsor := sort $sponsors "name" "asc" }} {{ partial "sponsor-logo" (dict "name" $sponsor.name "url" $sponsor.url "logo" $sponsor.logo) }} {{ end }}
{{ end }} {{ $links := .Site.Params.links }} {{ define "footer-links-block" }} {{ end }}