a tool for shared writing and social publishing

add rel=alternate links to at-uris

+12
+6
app/lish/[did]/[publication]/[rkey]/page.tsx
··· 41 let docRecord = document.data as PubLeafletDocument.Record; 42 43 return { 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 || "", 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: {