Skip to content
Discussion options

You must be logged in to vote

Yeah, those weren't added at that time. On rc versions you do that:

// .vitepress/config.ts

export default defineConfig({
  themeConfig: {
    notFound: {
      title: 'PAGE NOT FOUND',
      quote: "But if you don't change your direction, and if you keep looking, you may end up where you are heading.", // set to '' to hide
      linkLabel: 'go to home', // aria-label
      linkText: 'Take me home',
      code: '404'
    }
  }
})

You can customize them per locale too if you're using i18n:

import { defineConfig } from 'vitepress'

export default defineConfig({
  // shared properties and other top-level stuff...

  locales: {
    root: {
      label: 'English',
      lang: 'en',

      the…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@tassoman
Comment options

@brc-dd
Comment options

@tassoman
Comment options

@brc-dd
Comment options

@tassoman
Comment options

Comment options

You must be logged in to vote
2 replies
@brc-dd
Comment options

Answer selected by brc-dd
@tassoman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants