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.
|
|
|
# >> copy_start 请把这一段复制到博客主目录的【_config.yml】中 ↓↓↓↓↓↓↓↓ ↓↓↓↓↓↓↓↓
|
|
|
|
|
|
|
|
# 主题配置
|
|
|
|
materialx:
|
|
|
|
# 导航栏
|
|
|
|
nav_menu:
|
|
|
|
- name: 主页
|
|
|
|
slug: about
|
|
|
|
fa: home
|
|
|
|
url: /
|
|
|
|
- name: 项目
|
|
|
|
slug: projects
|
|
|
|
fa: cube
|
|
|
|
url: https://xaoxuu.com/proj
|
|
|
|
- name: 博客
|
|
|
|
slug: home
|
|
|
|
fa: rss
|
|
|
|
url: /
|
|
|
|
- name: 归档
|
|
|
|
slug: archives
|
|
|
|
fa: archive
|
|
|
|
url: /archives
|
|
|
|
# 右边的小窗口
|
|
|
|
widgets:
|
|
|
|
- about # 显示个人头像、格言、社交信息等,如果注释掉这一行就不显示
|
|
|
|
- categories # 显示分类
|
|
|
|
- tagcloud # 显示tags
|
|
|
|
- music # 显示自己的网易云歌单
|
|
|
|
- links # 显示友链
|
|
|
|
- toc # 显示目录
|
|
|
|
widgets_about:
|
|
|
|
title:
|
|
|
|
motto: 永远不要忘了自己是谁,因为这个世界就不会。
|
|
|
|
social: true
|
|
|
|
# 网易云音乐歌单id
|
|
|
|
widgets_musicid:
|
|
|
|
# 侧边栏的友链
|
|
|
|
widgets_links:
|
|
|
|
- name: xaoxuu
|
|
|
|
url: https://xaoxuu.com
|
|
|
|
# 页脚
|
|
|
|
footer_social:
|
|
|
|
- slug: envelope
|
|
|
|
url: mailto:me@xaoxuu.com
|
|
|
|
- slug: github
|
|
|
|
url: https://github.com/xaoxuu
|
|
|
|
- slug: instagram
|
|
|
|
url:
|
|
|
|
- slug: google-plus
|
|
|
|
url:
|
|
|
|
- slug: twitter
|
|
|
|
url:
|
|
|
|
- slug: music
|
|
|
|
url:
|
|
|
|
|
|
|
|
|
|
|
|
# 推荐文章
|
|
|
|
recommended_posts:
|
|
|
|
autoDisplay: false # 自动在文章底部显示推荐文章,如果你使用Material-X主题,这里要设置为false。
|
|
|
|
server: https://api.truelaurel.com # 后端推荐服务器地址
|
|
|
|
timeoutInMillis: 10000 # 服务时长,超过此时长,则使用离线推荐模式
|
|
|
|
excludePattern: []
|
|
|
|
titleHtml: <h4>推荐文章</h4> #自定义标题
|
|
|
|
internalLinks: 3 # 内部文章数量
|
|
|
|
externalLinks: 2 # 外部文章数量
|
|
|
|
fixedNumber: false
|
|
|
|
|
|
|
|
# >> copy_end 到这里为止,下面的就不要复制了。 ↑↑↑↑↑↑↑↑ ↑↑↑↑↑↑↑↑
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Search
|
|
|
|
nav_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
|