From 9099b119de3e4fc04757d910bb7a2a96fb37bf4f Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 19 Feb 2017 17:33:02 +0100 Subject: Wir halbieren die API-Calls bei jedem Rebuild. ;) --- gospeladlershof.de/layouts/impressum/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gospeladlershof.de/layouts/impressum/single.html b/gospeladlershof.de/layouts/impressum/single.html index f34a2e9..fcc1f43 100644 --- a/gospeladlershof.de/layouts/impressum/single.html +++ b/gospeladlershof.de/layouts/impressum/single.html @@ -1,4 +1,3 @@ -{{ $termine := getJSON "https://www.gospeladlershof.de/" "api/v1/termine" }} {{partial "header.tmpl" .}} {{partial "navbar.tmpl" .}} @@ -59,6 +58,7 @@ -{{$.Scratch.Set "build" $termine.build}} +{{/* Wir setzen eine sinnlose Konstante, da wir den Wert hier eh nicht brauchen.*/}} +{{$.Scratch.Set "build" "0000"}} {{partial "footer.tmpl" .}} {{partial "js.tmpl" .}} -- cgit v1.2.3