We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8709d1b commit 2f28e48Copy full SHA for 2f28e48
.vitepress/shared.mts
@@ -30,8 +30,8 @@ export const shared = defineConfig({
30
31
transformHead: ({ pageData }) => {
32
const head: HeadConfig[] = [];
33
- const title = pageData.frontmatter.title || 'Frontend Fundamentals';
34
- const description = pageData.frontmatter.description || 'Guidelines for easily modifiable frontend code';
+ const title = pageData.frontmatter.title || pageData.title || 'Frontend Fundamentals';
+ const description = pageData.frontmatter.description || pageData.description || 'Guidelines for easily modifiable frontend code';
35
36
head.push(['meta', { property: 'og:title', content: title }]);
37
head.push(['meta', { property: 'og:description', content: description }]);
0 commit comments