tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
add rel=alternate links to at-uris
awarm.space
4 months ago
889e4e4c
fdf3149b
+12
2 changed files
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
page.tsx
layout.tsx
+6
app/lish/[did]/[publication]/[rkey]/page.tsx
···
41
let docRecord = document.data as PubLeafletDocument.Record;
42
43
return {
0
0
0
0
0
0
44
title:
45
docRecord.title +
46
" - " +
···
41
let docRecord = document.data as PubLeafletDocument.Record;
42
43
return {
44
+
icons: {
45
+
other: {
46
+
rel: "alternate",
47
+
url: document.uri,
48
+
},
49
+
},
50
title:
51
docRecord.title +
52
" - " +
+6
app/lish/[did]/[publication]/layout.tsx
···
46
return {
47
title: pubRecord?.name || "Untitled Publication",
48
description: pubRecord?.description || "",
0
0
0
0
0
0
49
alternates: pubRecord?.base_path
50
? {
51
types: {
···
46
return {
47
title: pubRecord?.name || "Untitled Publication",
48
description: pubRecord?.description || "",
49
+
icons: {
50
+
other: {
51
+
rel: "alternate",
52
+
url: publication.uri,
53
+
},
54
+
},
55
alternates: pubRecord?.base_path
56
? {
57
types: {