\r\n\r\n// Here! `- test content ...` repeat render! it shows two.\r\n- test content ...\r\n```\n\n### Expected behavior\n\nSuccessfully rendered only once.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.5\r\n CPU: (8) x64 Apple M1\r\n Memory: 43.79 MB / 8.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm\r\n Browsers:\r\n Chrome: 104.0.5112.101\r\n Safari: 15.6\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.13 => 1.0.0-alpha.13\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1109\" alt=\"image\" src=\"https://user-images.githubusercontent.com/50652358/187465157-4ea24772-f3ef-4ec3-8717-298579837525.png\">\r\n\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3068],{"name":3048,"color":3049},1261,"closed","Unexpected render after the build.","2023-01-21T14:26:49Z","https://github.com/vuejs/vitepress/issues/1261",0.6746772,{"description":3076,"labels":3077,"number":3079,"owner":3025,"repository":3026,"state":3070,"title":3080,"updated_at":3081,"url":3082,"score":3083},"### Describe the bug\r\n\r\nFrontmatter properties as JSON does not seem to be applying to pages using the following:\r\n\r\n```\r\n---\r\n{\r\n 'title': 'Changelogs',\r\n 'meta':\r\n [\r\n { 'property': 'og:title', 'content': 'Changelogs' },\r\n { 'name': 'description', 'content': 'Various Changelogs.' },\r\n { 'property': 'og:description', 'content': 'Various Changelog.' },\r\n { 'name': 'keywords', 'content': 'changelogs' },\r\n ],\r\n}\r\n---\r\n```\r\n\r\nadditionally, when using yaml the properties are not \"merged\" but added in addition to the regular meta definitions in `/.vitepress/config.js` resulting in double tags.\r\n\r\n### Reproduction\r\n\r\nApply Frontmatter meta configuration to any index.md page and view the rendered content. Only the title and description data in `/.vitepress/config.js` is applying to the page.\r\n\r\n### Expected behavior\r\n\r\nThe meta tags in the `\u003Chead>` of the rendered page should match what is in the Frontmatter of the markdown page.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 12.1\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 168.33 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 16.16.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 8.12.1 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.134\r\n Firefox: 102.0.1\r\n Safari: 15.2\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3078],{"name":3048,"color":3049},1063,"Frontmatter JSON not applying, also Frontmatter YAML is applied twice","2023-01-21T14:30:08Z","https://github.com/vuejs/vitepress/issues/1063",0.68321174,{"description":3085,"labels":3086,"number":1316,"owner":3025,"repository":3026,"state":3070,"title":3088,"updated_at":3089,"url":3090,"score":3091},"### Describe the bug\n\nAdding the following frontmatter, as suggested in the [docs](https://vitepress.vuejs.org/config/frontmatter-configs.html#aside) is not hiding the aside content.\r\n```\r\n---\r\naside: false\r\n---\r\n```\n\n### Reproduction\n\n1. Place `aside: false` within the file's frontmatter.\r\n2. View `aside` HTML and CSS still loading into the webpage.\n\n### Expected behavior\n\nI expect that the website will no longer render any `aside` related HTML or CSS after adding the `aside: false` frontmatter.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.5\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 807.22 MB / 32.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node\r\n Yarn: 1.22.15 - ~/.nvm/versions/node/v16.14.2/bin/yarn\r\n npm: 8.7.0 - ~/.nvm/versions/node/v16.14.2/bin/npm\r\n Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman\r\n Browsers:\r\n Chrome: 103.0.5060.134\r\n Safari: 15.6\r\n```\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3087],{"name":3048,"color":3049},"aside frontmatter config not doing as the docs suggest","2023-01-21T14:22:43Z","https://github.com/vuejs/vitepress/issues/1100",0.6846202,{"description":3093,"labels":3094,"number":3095,"owner":3025,"repository":3026,"state":3070,"title":3096,"updated_at":3097,"url":3098,"score":3099},"### Describe the bug\n\nAfter upgrading to version 2.0.0-alpha7, pages in createContentLoader is rendered asynchronously, the docs seem to be wrong.\n\n### Reproduction\n\nTo minimize disruption, I pasted the example codes to my project, and the issue is still existing.\n\n```posts.data.js\nimport { createContentLoader } from 'vitepress'\n\nexport default createContentLoader('posts/*.md', {\n includeSrc: true, // include raw markdown source?\n render: true, // include rendered full page HTML?\n excerpt: true, // include excerpt?\n transform(rawData) {\n // map, sort, or filter the raw data as you wish.\n // the final result is what will be shipped to the client.\n return rawData.sort((a, b) => {\n return +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date)\n }).map((page) => {\n page.src // raw markdown source\n page.html // rendered full page HTML\n page.excerpt // rendered excerpt HTML (content above first `---`)\n return {/* ... */}\n })\n }\n})\n```\n\n```posts.html\n\u003Cscript setup>\nimport { data as posts } from './posts.data.js'\n\u003C/script>\n\n\u003Cbody>\n \u003Ch1>All Blog Posts\u003C/h1>\n \u003Cul>\n \u003Cli v-for=\"post of posts\">\n \u003Ca :href=\"post.url\">{{ post.frontmatter.title }}\u003C/a>\n \u003Cspan>by {{ post.frontmatter.author }}\u003C/span>\n \u003C/li>\n \u003C/ul>\n\u003Cbody>\n```\n\n### Expected behavior\n\nThe post list should not be empty.\n\n### System Info\n\n```Text\nSystem:\n OS: Windows 11 10.0.26100\n CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-13700K\n Memory: 4.18 GB / 11.98 GB \nBinaries:\n Node: 22.17.0 - C:\\Program Files\\nodejs\\node.EXE\n npm: 11.4.2 - C:\\Program Files\\nodejs\\npm.CMD\nBrowsers:\n Edge: Chromium (129.0.2792.65)\nnpmPackages:\n vitepress: ^2.0.0-alpha.7 => 2.0.0-alpha.7\n```\n\n### Additional context\n\nI have checked following steps:\n\n- Codes I copied are not modified except path.\n- The paths are correct.\n- The file list is not empty.\n\nIf you can not reproduct the issue, I can provide my project.\n\n### Validations\n\n- [x] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [x] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [x] Read the [docs](https://vitepress.dev).\n- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],4822,"docs issue in createContentLoader","2025-07-03T05:06:00Z","https://github.com/vuejs/vitepress/issues/4822",0.6914428,{"description":3101,"labels":3102,"number":3104,"owner":3025,"repository":3026,"state":3070,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### Describe the bug\n\n1. see https://github.com/docschina/vue-tips-weekly/blob/main/posts/070.md . the file front-matter set head link \r\n2. clone, install, build\r\n3. see view-source:https://vue-tips-weekly.vercel.app/070.html , the rendered source html file not have head link \r\n4. visit https://vue-tips-weekly.vercel.app/070.html in browser, have the head link\n\n### Reproduction\n\n- source https://github.com/docschina/vue-tips-weekly/blob/main/posts/070.md\r\n- site https://vue-tips-weekly.vercel.app/070.html \n\n### Expected behavior\n\nrendered source html file have head link\n\n### System Info\n\n```shell\n\"vitepress\": \"^1.0.0-alpha.4\",\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3103],{"name":3048,"color":3049},1069,"md set formatter head tag but rendered html not have head tag","2023-01-21T14:30:07Z","https://github.com/vuejs/vitepress/issues/1069",0.69180226,{"description":3110,"labels":3111,"number":3113,"owner":3025,"repository":3026,"state":3070,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### Describe the bug\r\n\r\nOn setting frontmatter like below, the page title is still changed to `Home | foo`. It works fine if `home: true` is removed.\r\n\r\n```md\r\n---\r\nhome: true\r\n# ...\r\ntitle: ' '\r\n---\r\n```\r\n\r\nExpected title to be `foo` instead. (`foo` is set as `title` in `.vitepress/config.ts`, using `DefaultTheme`.)\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\r\n- [X] Read the [docs](https://vitepress.vuejs.org/).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3112],{"name":3048,"color":3049},492,"`title: x` is not respected if `home: true`","2023-01-21T16:20:14Z","https://github.com/vuejs/vitepress/issues/492",0.69664806,["Reactive",3119],{},["Set"],["ShallowReactive",3122],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f3GYO8DCuVAux_VP38QB5L-aswneemqXzBgOH5Aoww9g":-1},"/vuejs/vitepress/2748"]