Theme Appearance Config

Mr.Hope ... 2020-10-21 Config
  • ThemeConfig
  • Config
Less than 1 minute

These are appearance options provided by the theme.

# algoliaType

  • Type: "dropdown" | "full"
  • Default: "dropdown"

Algolia SearchBox type

# iconPrefix

  • Type: string
  • Default: 'icon-'

Prefix of icon class

# hideSiteTitleonMobile

  • Type: boolean
  • Default: true

Whether hide site title on mobile

# repoDisplay

  • Type: boolean
  • Default: true

Whether display repo link in navbar

# fullscreen

  • Type: boolean
  • Default: true

Whether show the "full screen" button

# sidebarIcon

  • Type: boolean
  • Default: true

Whether show icons in the sidebar

# sidebarDepth

  • Type: number
  • Default: 2

Nested headings depth in sidebar

  • Type: boolean
  • Default: true

Whether show icons in route navigation

  • Type: boolean
  • Default: true

Whether show edit link on each page

# lastUpdated

  • Type: boolean
  • Default: true

Whether show update time on each page

# contributors

  • Type: boolean
  • Default: true

Whether show contributors in each page

# backToTop

  • Type: boolean | number
  • Default: true

Back to top button configuration. The default trigger distance is 300px, which can be changed when you fill in the number. Filling in false disables the back to top button.

Last update: June 6, 2022 05:33
Contributors: Mr.Hope , Mister-Hope , Mr.Hope