[md][datahub] updated links from portaljs.org to portaljs.com
This commit is contained in:
@@ -12,7 +12,7 @@ export default function JSONLD({
|
||||
return <></>;
|
||||
}
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://portaljs.org';
|
||||
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://portaljs.com';
|
||||
const pageUrl = `${baseUrl}/${meta.urlPath}`;
|
||||
|
||||
const imageMatches = source.match(
|
||||
|
||||
@@ -26,7 +26,7 @@ function useTableOfContents(tableOfContents) {
|
||||
})
|
||||
.filter((el) => !!el);
|
||||
}, []);
|
||||
|
||||
console.log(getHeadings,"getheadings");
|
||||
useEffect(() => {
|
||||
if (tableOfContents.length === 0) return;
|
||||
const headings = getHeadings(tableOfContents);
|
||||
@@ -67,6 +67,7 @@ export default function Layout({
|
||||
sidebarTree?: [];
|
||||
isHomePage?: boolean;
|
||||
}) {
|
||||
console.log(children)
|
||||
// const { toc } = children.props;
|
||||
const { theme, setTheme } = useTheme();
|
||||
|
||||
@@ -81,7 +82,6 @@ export default function Layout({
|
||||
}
|
||||
return section.children.findIndex(isActive) > -1;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{title && <NextSeo title={title} description={description} />}
|
||||
|
||||
Reference in New Issue
Block a user