pages: fix edit page on github links

Fixes #206
This commit is contained in:
Matilde Park 2022-10-26 09:09:37 -07:00
parent 27a0aeff8d
commit cacdc6219a
3 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ export default function GuidePage({
<a
className="font-semibold rounded-xl block p-2 text-wall-400 hover:text-green-400"
target="_blank"
href={`https://github.com/urbit/developers.urbit.org/blob/master/content/guides/${params.slug?.join("/") || "_index"
href={`https://github.com/urbit/developers.urbit.org/blob/main/content/guides/${params.slug?.join("/") || "_index"
}.md`}
>
Edit this page on GitHub

View File

@ -83,7 +83,7 @@ export default function Overview({
<a
className="font-semibold rounded-xl block p-2 text-wall-400 hover:text-green-400"
target="_blank"
href={`https://github.com/urbit/developers.urbit.org/blob/master/content/guides/${params.slug?.join("/") || "_index"
href={`https://github.com/urbit/developers.urbit.org/blob/main/content/overview/${params.slug?.join("/") || "_index"
}.md`}
>
Edit this page on GitHub

View File

@ -82,7 +82,7 @@ export default function GuidePage({
<a
className="font-semibold rounded-xl block p-2 text-wall-400 hover:text-green-400"
target="_blank"
href={`https://github.com/urbit/developers.urbit.org/blob/master/content/guides/${params.slug?.join("/") || "_index"
href={`https://github.com/urbit/developers.urbit.org/blob/main/content/reference/${params.slug?.join("/") || "_index"
}.md`}
>
Edit this page on GitHub