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