update README

This commit is contained in:
XPoet 2020-11-18 10:28:41 +08:00
parent 2bf7c653c2
commit beebe44404
1 changed files with 25 additions and 27 deletions

View File

@ -37,8 +37,6 @@
**Online Preview 在线预览** **Online Preview 在线预览**
> 如果你在使用该主题,欢迎 [PR](https://juejin.im/post/6844903856971710477) 将你的网站链接填写在下方,获得更多展示机会。
- [XPoet's Blog](https://xpoet.cn) - [XPoet's Blog](https://xpoet.cn)
- [ILS 官网](https://ils.xpoet.cn) - [ILS 官网](https://ils.xpoet.cn)
- ... - ...
@ -163,8 +161,8 @@ style:
# Mouse hover # Mouse hover
# 鼠标悬浮样式 # 鼠标悬浮样式
hover: hover:
shadow: true # shadow effect when the mouse hover 鼠标悬浮时增加阴影效果 shadow: true # shadow effect when the mouse hover 鼠标悬浮时增加阴影效果
scale: false # scale effect when the mouse hover 鼠标悬浮时增加缩放效果 scale: false # scale effect when the mouse hover 鼠标悬浮时增加缩放效果
# First screen # First screen
# 是否开启首屏 # 是否开启首屏
@ -178,12 +176,12 @@ style:
social_contact: social_contact:
enable: false enable: false
links: links:
github: # your GitHub URL github: # your GitHub URL
wechat: # your WeChat QR-Code URL wechat: # your WeChat QR-Code URL
weibo: # your WeiBo URL weibo: # your WeiBo URL
twitter: # your twitter URL twitter: # your twitter URL
facebook: # your facebook URL facebook: # your facebook URL
email: # your email email: # your email
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Navigation menu # Navigation menu
@ -222,10 +220,10 @@ comment:
# 获取必要的参数,在下面填写。 # 获取必要的参数,在下面填写。
valine: valine:
enable: false enable: false
appid: # your leancloud application appid appid: # your leancloud application appid
appkey: # your leancloud application appkey appkey: # your leancloud application appkey
meta: # comment input meta, type: Array, values: ['nick','mail','link'] meta: # comment input meta, type: Array, values: ['nick','mail','link']
placeholder: # your placeholder placeholder: # your placeholder
# Gitalk # Gitalk
# See: https://github.com/gitalk/gitalk # See: https://github.com/gitalk/gitalk
@ -233,10 +231,10 @@ comment:
# 获取必要的参数,在下面填写。 # 获取必要的参数,在下面填写。
gitalk: gitalk:
enable: false enable: false
github_id: # GitHub repo owner github_id: # GitHub repo owner
repository: # Repository name to store issues repository: # Repository name to store issues
client_id: # GitHub Application Client ID client_id: # GitHub Application Client ID
client_secret: # GitHub Application Client Secret client_secret: # GitHub Application Client Secret
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Website count # Website count
@ -273,7 +271,7 @@ local_search:
trigger: auto # values: auto | manual trigger: auto # values: auto | manual
# Unescape html strings to the readable one. # Unescape html strings to the readable one.
# # 转义 HTML 字符串为可读字符串。 # 转义 HTML 字符串为可读字符串。
unescape: false unescape: false
# Preload the search data when the page loads. # Preload the search data when the page loads.
@ -290,8 +288,8 @@ local_search:
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
post_wordcount: post_wordcount:
enable: false enable: false
wordcount: false # word count, one article wordcount: false # word count, one article
min2read: false # time to read, one article min2read: false # time to read, one article
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Home page article block display settings # Home page article block display settings
@ -300,11 +298,11 @@ post_wordcount:
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
home_article: home_article:
category: category:
enable: false # show category in home page article block enable: false # show category in home page article block
limit: 3 # max number of categories shown in home page article block limit: 3 # max number of categories shown in home page article block
tag: tag:
enable: false # show tags in home page article block enable: false # show tags in home page article block
limit: 5 # max number of tags shown in home page article block limit: 5 # max number of tags shown in home page article block
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Code copy # Code copy
@ -399,7 +397,7 @@ sticky: 9999
```yml ```yml
local_search: local_search:
enable: true enable: true
trigger: auto # values: auto | manual trigger: auto
unescape: false unescape: false
preload: true preload: true
``` ```
@ -479,7 +477,7 @@ sticky: 9999
如果要在文章中显示数学公式,可以使用插件 **`hexo-filter-mathjax`**详情参考https://github.com/next-theme/hexo-filter-mathjax/ 。 如果要在文章中显示数学公式,可以使用插件 **`hexo-filter-mathjax`**详情参考https://github.com/next-theme/hexo-filter-mathjax/ 。
或按下列步骤完成相关配置: 或按下列步骤完成相关配置:
1. 在 Hexo 博客根目录下安装插件 **`hexo-filter-mathjax`**。 1. 在 Hexo 博客根目录下安装插件 **`hexo-filter-mathjax`**
```bash ```bash
npm install hexo-filter-mathjax --save npm install hexo-filter-mathjax --save