You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

91 lines
3.3 KiB

# 这一页的内容可以修改值,但是不要删除行。初次使用主题请务必阅读官方文档!!!
# 这一页的内容可以修改值,但是不要删除行。初次使用主题请务必阅读官方文档!!!
# 这一页的内容可以修改值,但是不要删除行。初次使用主题请务必阅读官方文档!!!
############################### 基本信息 ###############################
info:
name: Material X
docs: https://xaoxuu.com/wiki/material-x/
# 主题的CDN地址。如需启用CDN,请在主目录的config中设置,详见文档。
cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@1.0/
############################### 主题样式 ###############################
# style: material # material: 导航栏和标题栏背景是主题色
style: pure # pure: 导航栏和标题栏背景是白色
############################### 服务开关 ###############################
# 服务开关,如果你想禁用某些功能,直接设置为false或者注释掉,相关的js脚本就不会加载。
# 有些服务这里打开了也未必会生效,还需要额外的配置,详见文档。
services:
cdn: true
scrollreveal: true
nodewaves: true
busuanzi: true
# fastclick: true
# leancloud_visitors: true
recommended_posts: true # 需要安装"hexo-recommended-posts": "^1.0.3",
comments: true
volantis: true
music: true
share: true
############################### 杂项 ###############################
# 音乐控件的默认配置,如果sidebar或者page里没有提供,就取这里的参数
music:
color: '#1BCDFC' # 主题色
mode: circulation # random (随机) single (单曲) circulation (列表循环) order (列表)
server: netease # netease(网易云音乐)tencent(QQ音乐) xiami(虾米) kugou(酷狗)
type: playlist # song (单曲) album (专辑) playlist (歌单) search (搜索)
id: 746319661 # 歌曲/专辑/歌单 ID
volume: 0.7 # 音量, 0~1
autoplay: false # 自动播放
display: # 批量控制哪一类页面显示
home: false # 在主页是否显示
tag: false # 在标签页面是否显示
category: false # 在分类页面是否显示
archive: false # 在归档页面是否显示
page: false # layout: page 的页面是否显示
links: true # layout: links 的页面是否显示
post: true # layout: post 的页面是否显示
top_post:
icon: fas fa-award
text: 置顶
# 推荐文章
recommended_posts:
autoDisplay: false # 自动在文章底部显示推荐文章,如果你使用Material-X主题,这里要设置为false。
server: https://api.truelaurel.com # 后端推荐服务器地址
timeoutInMillis: 10000 # 服务时长,超过此时长,则使用离线推荐模式
excludePattern: []
titleHtml: <h4>推荐文章</h4> #自定义标题
internalLinks: 3 # 内部文章数量
externalLinks: 2 # 外部文章数量
fixedNumber: false
# Search
search:
enable: true
service: hexo
# google
google_api_key:
google_engine_id:
# algolia
algolia_app_id:
algolia_api_key:
algolia_index_name:
# azure
azure_service_name:
azure_index_name:
azure_query_key:
# baidu
baidu_api_id:
# Less
less:
compress: true