Skip to content

Commit 58122b6

Browse files
committed
Removed explicit achor from links
1 parent b4bb8e0 commit 58122b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ func serializeLinks(urir string, basetm *list.List, format string, dataCh chan s
352352
}
353353
dataCh <- fmt.Sprintf(`<%s>; rel="%s"; datetime="%s",`+"\n", lnk.Href, rels, lnk.Datetime)
354354
}
355-
dataCh <- fmt.Sprintf(`<%s/timemap/link/%s>; anchor="%s"; rel="timemap"; type="application/link-format",`+"\n", *proxy, urir, urir)
356-
dataCh <- fmt.Sprintf(`<%s/timemap/json/%s>; anchor="%s"; rel="timemap"; type="application/json",`+"\n", *proxy, urir, urir)
357-
dataCh <- fmt.Sprintf(`<%s/timemap/cdxj/%s>; anchor="%s"; rel="timemap"; type="application/cdxj+ors",`+"\n", *proxy, urir, urir)
358-
dataCh <- fmt.Sprintf(`<%s/timegate/%s>; anchor="%s"; rel="timegate"`+"\n", *proxy, urir, urir)
355+
dataCh <- fmt.Sprintf(`<%s/timemap/link/%s>; rel="timemap"; type="application/link-format",`+"\n", *proxy, urir)
356+
dataCh <- fmt.Sprintf(`<%s/timemap/json/%s>; rel="timemap"; type="application/json",`+"\n", *proxy, urir)
357+
dataCh <- fmt.Sprintf(`<%s/timemap/cdxj/%s>; rel="timemap"; type="application/cdxj+ors",`+"\n", *proxy, urir)
358+
dataCh <- fmt.Sprintf(`<%s/timegate/%s>; rel="timegate"`+"\n", *proxy, urir)
359359
case "json":
360360
dataCh <- fmt.Sprintf("{\n"+` "original_uri": "%s",`+"\n", urir)
361361
if !navonly {

0 commit comments

Comments
 (0)