diff --git a/layouts/shortcodes/maps.html b/layouts/shortcodes/maps.html index a6b2af3..2e6b719 100644 --- a/layouts/shortcodes/maps.html +++ b/layouts/shortcodes/maps.html @@ -1,8 +1,8 @@ {{/* Required params. Fail if missing. */}} -{{ $apiKey := .Site.Params.apiKey }} +{{ $apiKey := .Site.Params.geoapifyApiKey }} {{ if not $apiKey }} - {{ errorf "Error: 'apiKey' is a required site parameter for this shortcode." }} + {{ errorf "Error: 'geoapifyApiKey' is a required site parameter for this shortcode." }} {{ end }} {{ $adr := .Get "address" }}