diff --git a/site/components/Anchor.js b/site/components/Anchor.js index da9815f..b75dbf4 100644 --- a/site/components/Anchor.js +++ b/site/components/Anchor.js @@ -24,7 +24,7 @@ export const Anchor = (props) => { if (routerPath === '/guide' || !urlIsRelative(url)) { return null } - const currentPageMdUrl = [siteConfig.rawContentBaseUrl, routerPath].join(""); + const currentPageMdUrl = [siteConfig.repoRawContentRoot, routerPath].join(""); return new URL(href, currentPageMdUrl).href; } diff --git a/site/config/siteConfig.js b/site/config/siteConfig.js index 7672dfc..fd765e8 100644 --- a/site/config/siteConfig.js +++ b/site/config/siteConfig.js @@ -5,7 +5,7 @@ const siteConfig = { url: "https://web3.lifeitself.us", repoRoot: "https://github.com/life-itself/web3", repoEditPath: "/edit/main/", - rawContentBaseUrl: "https://raw.githubusercontent.com/life-itself/web3/main", + repoRawContentRoot: "https://raw.githubusercontent.com/life-itself/web3/main", tagline: "", description: "Introductions to key concepts and ideas in crypto and web3. Plus in-depth evaluation of its potential impact.",