From 451f9502b74658c48a52bf7bd162be083fe2ff19 Mon Sep 17 00:00:00 2001 From: Richard Kettelerij Date: Wed, 2 Oct 2024 09:57:13 +0200 Subject: [PATCH] fix: use thumbnailUrl instead of thumbnail --- internal/ogc/common/geospatial/templates/collection.go.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ogc/common/geospatial/templates/collection.go.html b/internal/ogc/common/geospatial/templates/collection.go.html index 61b204d3..377764f4 100644 --- a/internal/ogc/common/geospatial/templates/collection.go.html +++ b/internal/ogc/common/geospatial/templates/collection.go.html @@ -34,7 +34,7 @@ "license": "{{ .Config.License.URL }}", "isAccessibleForFree": true {{- if and .Params.Metadata .Params.Metadata.Thumbnail }} - ,"thumbnail": "{{ .Config.BaseURL }}/resources/{{ .Params.Metadata.Thumbnail }}" + ,"thumbnailUrl": "{{ .Config.BaseURL }}/resources/{{ .Params.Metadata.Thumbnail }}" {{- end }} {{- if and .Params.Metadata .Params.Metadata.LastUpdated }} ,"version": "{{ toDate "2006-01-02T15:04:05Z07:00" .Params.Metadata.LastUpdated | date "2006-01-02" }}"