Skip to content

Commit

Permalink
fix: remove creator since it's not always the same as the support party
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Oct 1, 2024
1 parent af71dfe commit 6148c51
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
6 changes: 1 addition & 5 deletions internal/engine/testdata/expected_dataset_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
"isPartOf": "http:\/\/localhost:8080?f=html",
"name": "Demo of all OGC specs in one API - Addresses",
"url": "http:\/\/localhost:8080/collections/addresses?f=html","license": "https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/deed.nl",
"isAccessibleForFree": true,
"creator":{
"@type":"Organization",
"name":"Example Support"
}
"isAccessibleForFree": true
}
4 changes: 0 additions & 4 deletions internal/engine/testdata/expected_dataset_landingpage.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
"keywords": ["keyword1, keyword2"],
"license": "https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/deed.nl",
"isAccessibleForFree": true,
"creator":{
"@type":"Organization",
"name":"Example Support"
},
"hasPart": [
{
"@type": "URL",
Expand Down
6 changes: 0 additions & 6 deletions internal/ogc/common/core/templates/landing-page.go.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
{{- end }}
"license": "{{ .Config.License.URL }}",
"isAccessibleForFree": true
{{- if .Config.Support }}
,"creator":{
"@type":"Organization",
"name":"{{ .Config.Support.Name }}"
}
,"hasPart": [
{{- range $index, $coll := .Config.AllCollections.Unique }}
{{- if $index }},{{ end }}
Expand All @@ -29,7 +24,6 @@
}
{{- end }}
]
{{- end }}
}
</script>

Expand Down
6 changes: 0 additions & 6 deletions internal/ogc/common/geospatial/templates/collection.go.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
{{- end -}}
"license": "{{ .Config.License.URL }}",
"isAccessibleForFree": true
{{- if .Config.Support }}
,"creator":{
"@type":"Organization",
"name":"{{ .Config.Support.Name }}"
}
{{- end }}
{{- if and .Params.Metadata .Params.Metadata.Thumbnail }}
,"thumbnail": "resources/{{ .Params.Metadata.Thumbnail }}",
{{- end }}
Expand Down

0 comments on commit 6148c51

Please sign in to comment.