diff options
| -rw-r--r-- | gospeladlershof.de/layouts/partials/header.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gospeladlershof.de/layouts/partials/header.tmpl b/gospeladlershof.de/layouts/partials/header.tmpl index cea1df6..7884bfe 100644 --- a/gospeladlershof.de/layouts/partials/header.tmpl +++ b/gospeladlershof.de/layouts/partials/header.tmpl @@ -1,3 +1,4 @@ +{{ $termine := getJSON "https://www.gospeladlershof.de/" "api/v1/termine" }} <!DOCTYPE html> <html lang="{{ $.Site.Params.language }}"> @@ -6,7 +7,10 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="description" content="Wir sind der Gospelchor Adlershof. Nächstes Konzert: {{.Site.Data.termine.konzert.termin}}. Wir proben alle zwei Wochen am Montag. Schau doch mal vorbei!"> + {{ $k := index $termine "konzert"}} + {{range $k}} + <meta name="description" content="Wir sind der Gospelchor Adlershof. Nächstes Konzert: {{index . "termin"}}. Wir proben alle zwei Wochen am Montag. Schau doch mal vorbei!"> + {{end}} <meta name="author" content="{{.Site.Params.author}}"> <!--title>Gospelchor Adlershof</title--> |
