\r\n\u003C/template>\r\n\r\n\u003Cstyle lang=\"scss\">\r\n\r\n\u003C/style>\r\n```\r\n\n\n### Describe the solution you'd like\n\nCurrently, only when rendering Markdown or HTML directly can the `content` parameter be passed to load page content as needed. I hope that when using local files as build data and needing Vue components to render pages, data can also be loaded according to page parameters as needed.\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3269,"Can local file data be loaded on demand based on the page?","2023-12-14T00:04:41Z","https://github.com/vuejs/vitepress/issues/3269",0.7978415,{"description":2954,"labels":2955,"number":2956,"owner":2872,"repository":2873,"state":2903,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Is your feature request related to a problem? Please describe.\n\nCurrently the default theme hardcodes a string comparison to determine if current page is home layout:\n\n```js\nclass = {\n 'is-home': frontmatter.layout === 'home'\n}\n```\n\nThere are many occurrences in the default theme where the above expression is used to control special treatments for home pages (e.g. hide sidebar, disable local nav, expand content width in CSS).\n\nIn my case, I need to create a custom Home layout in addition to the one provided by the default theme. However, it's almost impossible to make a custom layout page behave like the home layout because of these hardcoded conditions.\n\n### Describe the solution you'd like\n\nAccept an optional config `isHomeLayout` in front-matter. When left undefined, this entry should default to `frontmatter.layout === 'home'`.\n\nExample:\n\n```md\n---\nlayout: my-custom-layout\nisHomeLayout: true\n---\n\n# My home content\n\nLorem ipsum dolor sit amet ....\n```\n\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [x] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [x] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],4671,"[default-theme] Allow custom layout used as home layout","2025-04-05T13:59:33Z","https://github.com/vuejs/vitepress/issues/4671",0.7987792,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fj7jj1QlPvvngUAR5tg3noyS6TBs_x8ZFDq4zYbXTzQA":-1},"/vuejs/vitepress/2945"]