diff --git a/themes/nluug/layouts/partials/include-event-sponsors.html b/themes/nluug/layouts/partials/include-event-sponsors.html new file mode 100644 index 0000000..5d8cc15 --- /dev/null +++ b/themes/nluug/layouts/partials/include-event-sponsors.html @@ -0,0 +1,13 @@ +{{ range $key,$val := .Scratch.Get "event_sponsors" }} + {{ with (index $.Site.Data.sponsoren .) }} +
+ {{ .name }} + {{ if .icon_small }} + {{ $alttext := printf "Logo van %s" .name }} + {{ if .url }}{{ end }} + {{ partial "show-image.html" (dict "context" . "image" .icon_small "alt" $alttext) }} + {{ if .url }}{{ end }} + {{ end }} +
+ {{ end }} +{{ end }}