diff options
author | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2020-06-30 16:40:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 16:40:37 +0300 |
commit | f4f4854e9143de5b9b27a8b7e20fd6526bd62d75 (patch) | |
tree | 87bc976d8f38a15a4633d8a666e417afad0c6513 /exampleSite/config.toml | |
parent | 0be5f3502a7712aa4ec3ebaa29af572b24a010bf (diff) |
Add google map enable param (#267)
* add googlemap enable in config param
* enable googlemap
* add enableGoogleMaps desc in README.md
* improve Google Maps widget documentation
* Added if condition to div map.
Co-authored-by: helight <helight@helight.info>
Co-authored-by: Salim B <salim@posteo.de>
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r-- | exampleSite/config.toml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3e7d4ce..ed76603 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -79,9 +79,13 @@ paginate = 10 twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@') default_sharing_image = "img/sharing-default.png" - # Google Maps API key (if not set will default to not passing a key.) + # 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 googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" + latitude = "-12.043333" + longitude = "-77.028333" + # Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet style = "default" @@ -118,8 +122,6 @@ paginate = 10 <strong>Great Britain</strong> </p> """ - latitude = "-12.043333" - longitude = "-77.028333" [Permalinks] blog = "/blog/:year/:month/:day/:filename/" |