From 18717955978f1f3cf5002e69e2fe1289430a0382 Mon Sep 17 00:00:00 2001 From: Shoichiro Masuoka Date: Mon, 16 Mar 2020 13:10:11 +0900 Subject: [PATCH] [fix] avoid 400 @ access shortcodes if var 'googlemap_url' is null --- layouts/shortcodes/access.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/layouts/shortcodes/access.html b/layouts/shortcodes/access.html index c2df03b..ac9cc7d 100644 --- a/layouts/shortcodes/access.html +++ b/layouts/shortcodes/access.html @@ -3,15 +3,10 @@ {{ with $.Site.GetPage $val }} {{ .Title }} {{ .Content }} - - {{ end }} - - - - - - - + {{ if .Params.googlemap_url }} + + {{ end }} + {{ end }}
{{ end }} -- GitLab