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.

95 lines
2.6 KiB

# >> 主题配置 ---------------------------------------------------------------------
6 years ago
# 字体 在这里选好你需要的字体:https://fonts.google.com,然后在_defines.less中修改font_family。
google_fonts: 'Ubuntu|Ubuntu+Mono'
# 导航栏
nav_menu:
- name: 主页
6 years ago
slug:
icon: fas fa-home
url: https://xaoxuu.com/
- name: 项目
6 years ago
slug:
icon: fas fa-flask
url: https://xaoxuu.com/projects/
- name: 博客
slug: home
6 years ago
icon: fas fa-rss
url: /
- name: 归档
slug: archives
6 years ago
icon: fas fa-archive
url: /archives/
6 years ago
# 右边的小窗口,不想显示哪一项的注释掉对应的即可
widgets:
# 博主信息,显示个人头像、格言、社交信息等
author:
enable: true
6 years ago
avatar: https://xaoxuu.com/assets/img/avatar.jpg # 头像,如果config中已经设置avatar了,这里可以不用写
6 years ago
title: # 博客名、头衔等等,居中显示
motto: # 格言座右铭等等
social: true # 是否显示社交信息(内容同页脚的社交信息)
# 显示文章分类
categories: true
# 显示文章标签
tagcloud: true
6 years ago
# 显示网易云歌单
musicid: 746319661 # 歌单id
# 显示友链
links:
6 years ago
- name: xaoxuu's blog
6 years ago
avatar: https://xaoxuu.com/assets/img/avatar.jpg
6 years ago
url: https://blog.xaoxuu.com
# 显示目录(在文章中设置toc:false可以隐藏单篇文章的目录)
toc: true
# 页脚社交信息
social:
6 years ago
- icon: fas fa-envelope
6 years ago
url: mailto:me@xaoxuu.com
6 years ago
- icon: fab fa-github
6 years ago
url: https://github.com/xaoxuu
6 years ago
- icon: fab fa-instagram
url:
6 years ago
- icon: fab fa-twitter
url:
6 years ago
- icon: fas fa-music
url: https://music.163.com/#/user/home?id=63035382
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
6 years ago
6 years ago
# Search 确保_config中只有一个search,否则会冲突。
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
# >> 主题配置 ---------------------------------------------------------------------