rename apiKey to geoapifyApiKey

This commit is contained in:
worktop 2024-02-12 13:00:10 -05:00
parent a096f71b5f
commit d8221a2474

View File

@ -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" }}