a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add edit link to post metadata

+15 -1
+15 -1
app/lish/[did]/[publication]/[rkey]/page.tsx
··· 132 132 </p> 133 133 </> 134 134 ) : null} 135 + {identity && 136 + identity.atp_did === 137 + document.documents_in_publications[0]?.publications 138 + .identity_did && ( 139 + <> 140 + {" "} 141 + | 142 + <a 143 + href={`https://leaflet.pub/${document.leaflets_in_publications[0].leaflet}`} 144 + > 145 + Edit Post 146 + </a> 147 + </> 148 + )} 135 149 </div> 136 150 </div> 137 151 <PostContent blocks={blocks} did={did} /> ··· 142 156 <a 143 157 href={`https://leaflet.pub/${document.leaflets_in_publications[0].leaflet}`} 144 158 > 145 - edit post 159 + Edit Post 146 160 </a> 147 161 ) : ( 148 162 <SubscribeWithBluesky