From d8221a24747db12ca45000df2892ad593b07d5b0 Mon Sep 17 00:00:00 2001 From: Worktop Date: Mon, 12 Feb 2024 13:00:10 -0500 Subject: [PATCH] rename apiKey to geoapifyApiKey --- layouts/shortcodes/maps.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }}