rename apiKey to geoapifyApiKey
This commit is contained in:
parent
a096f71b5f
commit
d8221a2474
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user