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.

93 lines
2.1 KiB

# >> copy_start 请把这一段复制到博客主目录的【_config.yml】中 ↓↓↓↓↓↓↓↓ ↓↓↓↓↓↓↓↓
6 years ago
# 主题配置
6 years ago
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:
6 years ago
- about # 显示个人头像、格言、社交信息等,如果注释掉这一行就不显示
6 years ago
- categories # 显示分类
- tagcloud # 显示tags
- music # 显示自己的网易云歌单
- links # 显示友链
6 years ago
- toc # 显示目录
6 years ago
widgets_about:
title:
motto: 永远不要忘了自己是谁,因为这个世界就不会。
6 years ago
social: true
6 years ago
# 网易云音乐歌单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:
7 years ago
# 推荐文章
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 到这里为止,下面的就不要复制了。 ↑↑↑↑↑↑↑↑ ↑↑↑↑↑↑↑↑
7 years ago
6 years ago
# Search
6 years ago
nav_search:
6 years ago
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