Theme Layout Config
These are appearance configuration options provided by the theme.
# algoliaType
- Type:
"dropdown" | "full"
- Default:
"dropdown"
Algolia SearchBox type
# iconPrefix
- Type:
string
- Default:
'icon-'
Set iconfont icon prefix
# anchorDisplay
- Type:
boolean
- Default:
true
Whether display anchor in desktop mode
# wordPerminute
- Type:
number
- Default value:
300
Words reading per minute
# navAutoHide
- Type:
"always" | "mobile" | "none"
- Default:
"mobile"
Whether to hide navbar when scrolling down
# hideSiteTitleonMobile
- Type:
boolean
- Default:
true
Whether display icon in sidebar
# sidebarIcon
- Type:
boolean
- Default:
true
Whether to show icons in the sidebar
# breadcrumb
- Type:
boolean
- Default:
true
Whether to enable route navigation globally
# breadcrumbIcon
- Type:
boolean
- Default:
true
Whether to show icons in route navigation
# smoothScroll Default value changed
- Type:
boolean
- Default:
true
Whether to enable smooth scrolling
# 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.
# repoDisplay
- Type:
boolean
- Default:
true
Whether to display the warehouse link in the navigation bar
# fullscreen
- Type:
boolean
- Default:
true
Whether to show the "full screen" button