diff --git a/themes/devopsdays/layouts/index.html b/themes/devopsdays/layouts/index.html index 24f7eecdd0b..6028e1b8492 100644 --- a/themes/devopsdays/layouts/index.html +++ b/themes/devopsdays/layouts/index.html @@ -8,9 +8,15 @@

Upcoming devopsdays events

{{ range $.Site.Data.events }} {{ if eq .status "current" }} - {{ .city }} - + {{ $.Scratch.Add "events" "" }} + {{ $.Scratch.Add "events" .city }} + {{ $.Scratch.Add "events" " - " }} + {{ end }} {{ end }} + {{ substr ($.Scratch.Get "events") 0 -3 | safeHTML }}