Your Name 3 years ago
parent
commit
8429688b74
2 changed files with 2 additions and 1 deletions
  1. 1 0
      layouts/partials/scripts.html
  2. 1 1
      webSite/config.toml

+ 1 - 0
layouts/partials/scripts.html

@@ -10,6 +10,7 @@
 {{ if .Site.Params.googleMapsApiKey }}
 <script src="//maps.googleapis.com/maps/api/js?key={{.Site.Params.googleMapsApiKey}}&v=3.exp"></script>
 {{ else }}
+<script src="//maps.googleapis.com/maps/api/js?v=3.exp"></script>
 {{ end }}
 <script src="{{ "js/hpneo.gmaps.js" | relURL }}"></script>
 <script src="{{ "js/gmaps.init.js" | relURL }}"></script>

+ 1 - 1
webSite/config.toml

@@ -88,7 +88,7 @@ page = ["HTML"]
     default_sharing_image = "img/sharing-default.png"
 
     # Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget).
-    enableGoogleMaps = true
+    enableGoogleMaps = false
     googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
 
     latitude = "-12.043333"