diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 0344926bb204..ec81403c95b2 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -72,7 +72,6 @@ function getConfigSidebar() { { text: 'Theme Config', children: [ - { text: 'Homepage', link: '/config/homepage' }, { text: 'Algolia Search', link: '/config/algolia-search' }, { text: 'Carbon Ads', link: '/config/carbon-ads' } ] diff --git a/docs/config/homepage.md b/docs/config/homepage.md deleted file mode 100644 index ccaea3bca3b4..000000000000 --- a/docs/config/homepage.md +++ /dev/null @@ -1,23 +0,0 @@ -# Theme Config: Homepage - -VitePress provides a homepage layout. To use it, specify `home: true` plus some other metadata in your root `index.md`'s [YAML frontmatter](../guide/frontmatter). This is an example of how it works: - -```yaml ---- -home: true -heroImage: /logo.png -heroAlt: Logo image -heroText: Hero Title -tagline: Hero subtitle -actionText: Get Started -actionLink: /guide/ -features: -- title: Simplicity First - details: Minimal setup with markdown-centered project structure helps you focus on writing. -- title: Vue-Powered - details: Enjoy the dev experience of Vue + webpack, use Vue components in markdown, and develop custom themes with Vue. -- title: Performant - details: VitePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded. -footer: MIT Licensed | Copyright © 2019-present Evan You ---- -``` diff --git a/src/client/theme-default/Layout.vue b/src/client/theme-default/Layout.vue index 692ea8b682e7..d2016b7bc215 100644 --- a/src/client/theme-default/Layout.vue +++ b/src/client/theme-default/Layout.vue @@ -19,18 +19,7 @@