From 88fa9ba889ff04987166ee01b8ae950a1a368fd4 Mon Sep 17 00:00:00 2001 From: Michael Sverdlik Date: Sun, 22 Nov 2015 15:11:26 +0200 Subject: [PATCH] potential fix for #34 but please lets look if there's better solution because this makes me want to poke my eyes out --- themes/devopsdays/layouts/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 }}