mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
adds seo title description and h1 changes
This commit is contained in:
@@ -28,10 +28,12 @@ export function indexPages() {
|
||||
const childRoutesData = await Promise.all(
|
||||
childRoutes.map(async route => {
|
||||
const { parsed } = contentProvider.loadContent(route.fsPath, 'frontmatter');
|
||||
const slug = route.slug;
|
||||
const title = await route.getNavText();
|
||||
return {
|
||||
...parsed?.data,
|
||||
slug: route.slug,
|
||||
title: await route.getNavText(),
|
||||
slug,
|
||||
title,
|
||||
};
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user