\r\n \u003Cbr />\r\n \u003Cdiv id=\"disqus_thread\">\u003C/div>\r\n \u003C/template>\r\n \u003C/Layout>\r\n\u003C/template>\r\n```\r\n2. 修改了`docs/.vitepress/theme/index.ts`; 2. Modified `docs/.vitepress/theme/index.ts`\r\n```ts\r\nimport DefaultTheme from 'vitepress/theme';\r\n\r\nimport Discussion from '../../components/Discussion.vue';\r\n\r\nexport default {\r\n ...DefaultTheme,\r\n Layout: Discussion,\r\n};\r\n```\n\n### Expected behavior\n\nvitepress 能够正常的和Disqus合并,并在生产环境正常工作\r\nVitepress can merge with Disqus normally and work normally in production environment.\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.5\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 1.38 GB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.16.0 - ~/Library/pnpm/node\r\n npm: 9.5.1 - ~/Library/pnpm/npm\r\n pnpm: 8.6.3 - ~/Library/pnpm/pnpm\r\n Browsers:\r\n Chrome: 115.0.5790.170\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.4 => 1.0.0-rc.4\n```\n\n\n### Additional context\n\ngithub 提示我日志太长,我将日志分享到了谷歌网盘,地址:https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\r\n\r\nGithub prompted me that the log was too long, and I shared the log to Google disk at https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\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.",[2929],{"name":2930,"color":2931},"bug: pending triage","e99695",2824,"Compilation failed after merging vitepress and Disqus, request help","2023-08-29T00:04:21Z","https://github.com/vuejs/vitepress/issues/2824",0.71879065,{"description":2938,"labels":2939,"number":2941,"owner":2875,"repository":2876,"state":2902,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### Describe the bug\n\nthe log setting dev works ,but build does't work\r\n\r\nthe code as\r\n\r\n```\r\nbase: \"./\",\r\n head: [['link', {rel: 'icon', href: '/assets/img/logo.png'}]],\r\n vite: {\r\n assetsInclude: ['assets']\r\n },\r\n title: \"FollowYourHeart\",\r\n description: \"LearningNote\",\r\n themeConfig: {\r\n logo: '/assets/img/logo.png',\r\n```\n\n### Reproduction\n\nthe code repo :\r\nhttps://github.com/zouyaowen/freewheeling\r\n\r\ndeploy address: https://freewheeling.top/\n\n### Expected behavior\n\n\u003Cimg width=\"608\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/20028367/9706d233-a7ef-458a-a904-84799f25e2bd\">\r\n\n\n### System Info\n\n```sh\nSystem:\r\n OS: Linux 4.18 CentOS Linux 8 (Core)\r\n CPU: (4) x64 Intel(R) Xeon(R) CPU E5-26xx v4\r\n Memory: 1.88 GB / 3.65 GB\r\n Container: Yes\r\n Shell: 4.4.20 - /bin/bash\r\n Binaries:\r\n Node: 18.16.0 - /usr/local/node-v18.16.0-linux-x64/bin/node\r\n npm: 9.5.1 - /usr/local/node-v18.16.0-linux-x64/bin/npm\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.7 => 1.0.0-beta.7\n```\n\n\n### Additional context\n\nno\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.",[2940],{"name":2930,"color":2931},2745,"assects img for logo dev works,build result does't work","2023-08-15T00:04:13Z","https://github.com/vuejs/vitepress/issues/2745",0.720606,{"description":2947,"labels":2948,"number":2950,"owner":2875,"repository":2876,"state":2902,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\n\nthe content within `{{ title }}` is not being displayed, and I don't understand why.\r\n\n\n### Reproduction\n\n[minimal](https://stackblitz.com/edit/vite-ucrpnh?file=docs%2Fexample.md)\n\n### Expected behavior\n\nExpecting `{{ title }}` to display correctly.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 3.38 GB / 15.86 GB\r\n Binaries:\r\n Node: 18.20.3 - D:\\nodejs\\node.EXE\r\n npm: 10.7.0 - D:\\nodejs\\npm.CMD\r\n pnpm: 9.7.0 - D:\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (127.0.2651.74)\r\n Internet Explorer: 11.0.22621.3527\n```\n\n\n### Additional context\n\n_No response_\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.",[2949],{"name":2930,"color":2931},4142,"I couldn't find any relevant information in the document, and I'm wondering if this is a specific syntax?","2024-08-23T04:42:12Z","https://github.com/vuejs/vitepress/issues/4142",0.7223425,{"description":2956,"labels":2957,"number":2958,"owner":2875,"repository":2876,"state":2902,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Is your feature request related to a problem? Please describe.\r\n\r\nMultiple sidebars do not work with multiple locales\r\n\r\nMultiple sidebars work only for the root locale\r\n\r\n```js\r\nimport sidebar_es from \"./sidebar.es\";\r\nimport sidebar_en from \"./sidebar.en\";\r\nimport sidebar_subdir_es from \"./sidebar.subdir.es\";\r\nimport sidebar_subdir_en from \"./sidebar.subdir.en\";\r\n\r\nexport default defineConfig({\r\n locales: {\r\n root: {\r\n lang: \"sp\",\r\n label: \"Spanish\",\r\n themeConfig: {\r\n nav: nav_es,\r\n sidebar: {\r\n \"/\": sidebar_es,\r\n \"/subdir/\": sidebar_subdir_es,\r\n },\r\n },\r\n },\r\n en: {\r\n lang: \"en\",\r\n label: \"English\",\r\n themeConfig: {\r\n nav: nav_en,\r\n sidebar: {\r\n \"/\": sidebar_en,\r\n \"/subdir/\": sidebar_subdir_en,\r\n },\r\n },\r\n```\r\n\r\nIn this example `/en/subdir/` path shows default `sidebar_en` sidebar\r\n\r\n### Describe the solution you'd like\r\n\r\nMultiple sidebars should work for secondary locales\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\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.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3202,"i18n and multiple sidebars problem","2023-11-21T00:04:49Z","https://github.com/vuejs/vitepress/issues/3202",0.722917,{"description":2964,"labels":2965,"number":2969,"owner":2875,"repository":2876,"state":2902,"title":2970,"updated_at":2971,"url":2972,"score":2973},"### Describe the bug\r\n\r\nAfter launched the dev it thrown this exception:\r\n20:50:08 [vitepress] Internal server error: end of the stream or a document separator is expected at line 3, column 7:\r\n layout: home\r\n ^\r\n Plugin: vitepress\r\n File: /Users/feiron/Movies/CSKB_Hosting-master/docs/index.md\r\n at generateError (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:22356:10)\r\n at throwError (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:22362:9)\r\n at readDocument (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23734:5)\r\n at loadDocuments (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23777:5)\r\n at load$1 (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23803:19)\r\n at Object.safeLoad (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23826:10)\r\n at parse$5 (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25053:17)\r\n at parseMatter (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25162:17)\r\n at matter (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25103:10)\r\n at md.render (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25288:45)\r\n\r\nmeanwhile, the page rendered as 404;\r\nafter a refresh, it displayed the root markdown and ignored the frontmatter.\r\n\r\nhere's screenshots for comparison:\r\n\u003Cimg width=\"1792\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/7c14cd72-fc0c-489b-b9b1-168ca998bc38\">\r\n\r\nand here's what it should be:\r\n\u003Cimg width=\"1792\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/76692987-1127-4409-a555-d4e73b2d8486\">\r\n\r\nother screenshots: \r\n\u003Cimg width=\"433\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/0f382110-eed9-46ba-9ef5-2a82f99e0c7c\">\r\n\u003Cimg width=\"1073\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/8ae5c63c-a793-4fce-afc1-f860fd0ec3a3\">\r\n\r\n\r\n### Reproduction\r\n\r\nhere's the online repro:\r\nhttps://stackblitz.com/edit/vite-kcrtdk\r\n\r\n- \u003Cdel>Set up i18n\u003C/del> this step is not necessary\r\n- Set up a series of frontmatter which implements default theme layout in default language path\r\n- add \"features\" part after the layout setups\r\n- write some markdown and some HTML after the end of frontmatter\r\n- run in dev\r\n\r\n\r\n### Expected behavior\r\n\r\nthe rendered page should display as what set-up by layout preset.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.5\r\n CPU: (8) arm64 Apple M1\r\n Memory: 50.77 MB / 16.00 GB\r\n Shell: 3.2.57 - /bin/sh\r\n Binaries:\r\n Node: 20.9.0 - /usr/local/bin/node\r\n npm: 10.1.0 - /usr/local/bin/npm\r\n Browsers:\r\n Safari: 17.5\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.45 => 1.2.3\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI've checked for duplicate but I don't know if there's any expression that represents to my same meaning.\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2966],{"name":2967,"color":2968},"need more info","bdbefc",3971,"Render ignored frontmatter of layout in root page","2024-07-04T04:41:52Z","https://github.com/vuejs/vitepress/issues/3971",0.72507346,["Reactive",2975],{},["Set"],["ShallowReactive",2978],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fiprLhyOCX8LK3L81bg0qJOo-Bfr3C_JC6Chk70lZq_w":-1},"/vuejs/vitepress/3886"]