Home Page Path

reco_luan2023-02-20

Introduction

In some scenarios, the home page of a document is not necessarily the README.md file of the document root directory. In this case, you can set README.md in Frontmatter to top the home page, and specify the home page path through themeConfig.home.

Configuration

# another-home-path.md
---
title: specifies the home page
home: true
---
// .vuepress/config.ts

import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'

export default defineUserConfig({
  theme: recoTheme({
    home: '/another-home-path'
  })
})
Last Updated 4/26/2024, 5:23:54 PM