tangled
alpha
login
or
join now
patricktree.me
/
overreacted
forked from
danabra.mov/overreacted
0
fork
atom
my blog https://overreacted.io
0
fork
atom
overview
issues
pulls
pipelines
tangled
danabra.mov
5 months ago
4a97da8b
6aa7caaa
+4
-4
1 changed file
expand all
collapse all
unified
split
app
[slug]
page.tsx
+4
-4
app/[slug]/page.tsx
···
33
33
}
34
34
let Wrapper = postComponents.Wrapper ?? Fragment;
35
35
const { content, data } = matter(file);
36
36
-
const isDraft = new Date(data.date).getFullYear() > new Date().getFullYear();
37
37
-
const editUrl = `https://github.com/gaearon/overreacted.io/edit/main/public/${encodeURIComponent(
36
36
+
const editUrl = `https://tangled.org/@danabra.mov/overreacted/blob/main/public/${encodeURIComponent(
38
37
slug,
39
39
-
)}/index.md`;
38
38
+
)}/index.md?code=true`;
40
39
return (
41
40
<>
42
41
<article>
···
197
196
·
198
197
</>
199
198
)}
200
200
-
<Link href={editUrl}>Edit on GitHub</Link>
199
199
+
{/* TODO: This should say Edit when Tangled adds an editor. */}
200
200
+
<Link href={editUrl}>Fork on Tangled</Link>
201
201
</p>
202
202
</div>
203
203
</article>