Skip to content

Commit

Permalink
feat: add extra fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Oct 1, 2024
1 parent e4397bb commit 93b4e20
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions internal/ogc/common/geospatial/templates/collection.go.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@
{{- if .Config.Support }}
"creator":{
"@type":"Organization",
"name":"{{ .Config.Support.Name }}"
}
"name":"haha {{ .Config.Support.Name }}"
},
{{- end }}
{{- if and .Params.Metadata .Params.Metadata.Thumbnail }}
"thumbnail": "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" }}"
{{- end }}
}
</script>
Expand Down

0 comments on commit 93b4e20

Please sign in to comment.