You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you set a custom meta description within the config.js and set a description at a page level using frontmatter, the build output has 2 meta descriptions
To Reproduce
Add a description in the vitepress config
// .vitepress/config.jsmodule.exports={// ...description: 'Hey 👋 I'm building Laravel & Vue projects and would like to share my journey with you.',// ...}
Add a description for a page
// about/index.md
---
title: About
description: "My name's Harlan. I am a full stack developer living and working out of Sydney, Australia."
head:
-- meta
- name: description
content: "My name's Harlan. I am a full stack developer living and working out of Sydney, Australia."
---# {{ $page.title }}
Hey! Thank you for checking out my site 😊
Describe the bug
When you set a custom meta description within the config.js and set a description at a page level using frontmatter, the build output has 2 meta descriptions
To Reproduce
Add a description in the vitepress config
Add a description for a page
Live example: https://harlanzw.com/about/
Expected behavior
A single meta description should be present, with the description from the page (about.md) taking precedence over the vitepress config description.
System Info
The text was updated successfully, but these errors were encountered: