Theme Layout Config

Mr.Hope ... 2021-6-4 Config
  • ThemeConfig
  • Config
Less than 1 minute

  • Type: boolean
  • Default: false

Whether disable navbar

  • Type: "always" | "mobile" | "none"
  • Default: "mobile"

Whether to hide navbar when scrolling down

# anchorDisplay

  • Type: boolean
  • Default: true

Whether display anchor in desktop mode

  • Type: boolean
  • Default: true

Whether enable route navigation globally

  • Type: string
  • Required: false

The default content for the footer, can accept HTMLString.

  • Type: string | boolean
  • Default: 'Copyright © <author>'

The default copyright info, set it to false to disable it by default.

  • Type: boolean
  • Default: false

Whether to display footer by default

# pageInfo

  • Type: string[] | false
  • Default: ['author', 'visitor', 'time', 'category', 'tag', 'reading-time']

Article information. The order of the items decides the display order. Fill in false to disable it.

Available items:

  • 'author': author
  • 'time': writing date
  • 'category': category
  • 'tag': tags
  • 'reading-time': expect reading time
  • 'word': word number for the article
  • 'visitor': pageviews