Skip to content

Commit f8fcb2f

Browse files
committed
fix rel for html
1 parent 644a8e2 commit f8fcb2f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal/controller/generator/mapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func addMetadataLinks(metadataLinks pdoknlv3.MetadataLink, ownerInfo smoothopera
196196
return err
197197
}
198198
link := atomfeed.Link{
199-
Rel: "related",
199+
Rel: "describedby",
200200
Href: href,
201201
Type: "text/html",
202202
Title: htmlTitle,

internal/controller/test_data/maximum-atom/expected-output/configmap.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: ConfigMap
33
metadata:
4-
name: maximum-atom-generator-8gk8292cf2
4+
name: maximum-atom-generator-d9bhh28t99
55
namespace: default
66
labels:
77
test: test
@@ -37,7 +37,7 @@ data:
3737
rel: describedby
3838
type: application/xml
3939
- href: https://test.com/html/00000000-0000-0000-0000-000000000000
40-
rel: related
40+
rel: describedby
4141
type: text/html
4242
title: NGR pagina voor deze download service
4343
- href: https://test.com/open/00000000-0000-0000-0000-000000000000.xml
@@ -105,7 +105,7 @@ data:
105105
rel: describedby
106106
type: application/xml
107107
- href: https://test.com/html/00000000-0000-0000-0000-000000000001
108-
rel: related
108+
rel: describedby
109109
type: text/html
110110
title: NGR pagina voor deze dataset
111111
- href: https://test.com/encodingrule.pdf
@@ -172,7 +172,7 @@ data:
172172
rel: describedby
173173
type: application/xml
174174
- href: https://test.com/html/00000000-0000-0000-0000-000000000003
175-
rel: related
175+
rel: describedby
176176
type: text/html
177177
title: NGR pagina voor deze dataset
178178
rights: rights

0 commit comments

Comments
 (0)