提交 d09c08e6 编写于 作者: EvanOne(文一)'s avatar EvanOne(文一)

chore: Modify config file & adjust some item to dis/enable

上级 ebaf5f4a
......@@ -10,12 +10,9 @@
menu:
home: / || home
archives: /archives/ || folder-open
categories: /categories/ || th
tags: /tags/ || tags
about: /about/ || user
# reading: /reading/ || book
# sitemap: /sitemap.xml || sitemap
# You can also add a item by yourself.
# categories: /categories/ || th
# tags: /tags/ || tags
# about: /about/ || user
# xxx: /xxx/ || xxx
menu_settings:
......@@ -31,6 +28,9 @@ menu_settings:
favicon:
small: /images/icons/favicon-16x16.png
medium: /images/icons/favicon-32x32.png
# ! -----------------------------------------------------
# ! If you don't understand, please ignore the following.
# ! -----------------------------------------------------
# apple_touch_icon: /images/icons/apple-touch-icon.png
# safari_pinned_tab: /images/icons/logo-stun.svg
# msapplication: /images/icons/favicon-144x144.png
......@@ -40,7 +40,7 @@ favicon:
pwa:
enable: false
manifest: /manifest.json
theme_color: "#54bcff"
theme_color: '#54bcff'
header:
# Header height (Support for all types of CSS size units).
......@@ -53,7 +53,7 @@ header:
# In theme directory (source/images): /images/avatar.png
# In site directory (source/uploads): /uploads/avatar.png
# You can also use a link of image.
url:
url:
# Mask effect of the top background image.
mask:
enable: false
......@@ -73,7 +73,7 @@ creative_commons:
# You can set a language value if you prefer a translated version of CC license.
# Valid values of language: en, zh, etc.
# If not set, "en" will be used by default.
language:
language:
# Back to top button.
back2top:
......@@ -87,9 +87,9 @@ back2top:
# Rotation Angle of icon.
rotate: -45deg
# Please use quote to wrap value (All CSS size units are supported).
color: "#49b1f5"
color: '#49b1f5'
# Colour when the mouse hovers it.
hover_color: "#fc6423"
hover_color: '#fc6423'
# Footer of your site.
footer:
......@@ -99,17 +99,17 @@ footer:
# In theme directory (source/images): /images/avatar.png
# In site directory (source/uploads): /uploads/avatar.png
# You can also use a link of image.
url:
url:
# Copyright information.
copyright:
enable: true
# If not set, will be used `author` from Hexo main config.
# (e.g. liuyib. All Rights Reserved.)
text:
text:
# Start time. If not set, the current year will be used.
since:
since:
# End time. If not set, the current year will be used.
end:
end:
# The icon between the copyright year and the owner.
icon:
enable: true
......@@ -119,7 +119,7 @@ footer:
# Heart beat animation.
animation: true
# Please use quote to wrap value (All CSS size units are supported).
color: "#ff0000"
color: '#ff0000'
# Hexo link (Powered by Hexo).
powered:
enable: true
......@@ -134,11 +134,11 @@ footer:
beian:
enable: false
# 备案 XXXXXXXX 号
icp:
icp:
# Any custom text (e.g. Hosted by <a href="https://pages.github.com/" rel="noopener" target="_blank">Github Pages</a>).
custom:
enable: false
text:
text:
# ---------------------------------------------------------------
# Sidebar config
......@@ -179,15 +179,14 @@ author:
social:
github: https://github.com/ || github
google: https://plus.google.com/ || google
twitter: https://twitter.com/ || twitter
youtube: https://youtube.com/ || youtube
segmentfault: https://segmentfault.com/ || origin:sf
zhihu: https://www.zhihu.com/ || origin:知
weibo: https://weibo.com/ || weibo
wechat: yournumber || weixin
telegram: yournumber || telegram
qq: yournumber || qq
# You can also add a link by yourself.
# twitter: https://twitter.com/ || twitter
# youtube: https://youtube.com/ || youtube
# segmentfault: https://segmentfault.com/ || origin:sf
# weibo: https://weibo.com/ || weibo
# zhihu: https://www.zhihu.com/ || origin:知
# wechat: yournumber || weixin
# telegram: yournumber || telegram
# qq: yournumber || qq
# xxx: xxx || (origin:)xxx
social_setting:
......@@ -213,18 +212,18 @@ toc:
feed:
enable: false
# Enter your email subscription link (e.g. http://eepurl.com/guAE6j).
email:
email:
# Enter the rss address of you set (e.g. /atom.xml).
# Dependencies: https://github.com/hexojs/hexo-generator-feed/
# Don't enable this before install dependencies
# by `npm install hexo-generator-feed --save` in hexo directory.
rss:
rss:
# The reading progress of post.
reading_progress:
enable: true
# Please use the quote to wrap value (All CSS size units are supported).
color: "#fc6423"
color: '#fc6423'
# Support for all types of CSS size units.
height: 1px
......@@ -306,7 +305,7 @@ stick_top:
# Rotation Angle of icon.
rotate: 45deg
# Please use the quote to wrap value (All CSS size units are supported).
color: "#999"
color: '#999'
# Code highlight.
# values:
......@@ -324,15 +323,16 @@ code_word_wrap: false
# - left
# - center
# - right
#
#
# If you empty it, images will show by default.
img_horizonal_align:
img_horizonal_align:
# Reward
reward:
enable: false
alipay:
wechat:
# Fill in your QR Code for collecting money.
alipay:
wechat:
# ---------------------------------------------------------------
# Comment config
......@@ -343,13 +343,13 @@ reward:
gitment:
enable: false
# Github username.
owner:
owner:
# Github repository.
repo:
repo:
# Github Application Client ID.
client_id:
client_id:
# Github Application Client Secret.
client_secret:
client_secret:
# Enable / Disable Lazy load. Enable is recommended.
lazy: true
......@@ -358,31 +358,31 @@ gitment:
gitalk:
enable: false
# Github username.
owner:
owner:
# Github repository.
repo:
repo:
# Github Application Client ID.
client_id:
client_id:
# Github Application Client Secret.
client_secret:
client_secret:
# GitHub repo owner and collaborators, only these guys can initialize github issues.
admin:
admin:
# Facebook-like distraction free mode.
distraction_free_mode: false
# Gitalk's display language depends on user's browser or system environment.
# If you want everyone visiting your site to see a uniform language,
# you can set a force language value.
# Available values: en, zh-CN, es-ES, fr, ru, zh-TW.
language:
language:
# Valine
# See: https://valine.js.org/quickstart.html
valine:
enable: false
# Your leancloud application appid.
appid:
appid:
# Your leancloud application appkey.
appkey:
appkey:
# Mail notifier.
notify: true
# Verification code.
......@@ -400,19 +400,19 @@ valine:
# Whether to record the commenter IP.
recordIP: false
# language, available values: en, zh-cn.
language:
language:
# Livere
# See: https://www.livere.com/
livere:
enable: false
uid:
uid:
# Disqus
# See: https://disqus.com/
disqus:
enable: false
shortname:
shortname:
count: true
# ---------------------------------------------------------------
......@@ -487,7 +487,7 @@ canvas_nest:
onmobile: true
# RGB values, use ',' to separate
# Color for lines
color: "0,0,0"
color: '0,0,0'
# The opacity of line: 0 ~ 1
opacity: 0.6
# The number of lines
......@@ -508,7 +508,7 @@ math:
engine: katex
# See: https://github.com/mathjax/MathJax/
# hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
# hexo-renderer-kramed (or hexo-renderer-markdown-it-plus or hexo-renderer-pandoc) needed to full MathJax support.
mathjax:
cdn: https://cdn.jsdelivr.net/npm/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML
......@@ -516,7 +516,7 @@ math:
mhchem:
enable: false
mhchem_js: https://cdn.jsdelivr.net/npm/mathjax-mhchem@3.3.2/mhchem.min.js
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) needed to full Katex support.
katex:
cdn: https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/katex.min.css
......@@ -540,7 +540,7 @@ zoom_image:
enable: true
# The color of mask.
# Please use the quote to wrap value (All CSS size units are supported).
mask_color: "rgba(0,0,0,0.6)"
mask_color: 'rgba(0,0,0,0.6)'
# If you are use "photos" attribute in the Front-matter,
# you can enable this to show images in waterfalls flow.
......@@ -562,7 +562,7 @@ lazyload:
google_adsense:
enable: false
js_src: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
client:
client:
enable_page_level_ads: true
# The links with `target="_blank"` attribute.
......@@ -574,7 +574,7 @@ external_link:
# `external-link` is recommended.
name: external-link
# Please use the quote to wrap value (All CSS size units are supported).
color: "#aaa"
color: '#aaa'
# The shortcuts of the site.
shortcuts:
......@@ -588,8 +588,8 @@ shortcuts:
# If not used, comment it or ignore it.
tag_cloud:
# Color for tag (please use the quote to wrap value, only support HEX).
start_color: "#a4d8fa"
end_color: "#49b1f5"
start_color: '#a4d8fa'
end_color: '#49b1f5'
# Size for tag.
min_size: 24
max_size: 34
......@@ -605,24 +605,24 @@ js: js
images: images
# Set a CDN address for the vendor you want to customize.
# ---------------------------------------------------------------
# !!! Do not edit the follow configs.
# !!! Unless you know what you are doing.
# ---------------------------------------------------------------
# ! -----------------------------------------------------
# ! Do not edit the follow configs.
# ! Unless you know what you are doing.
# ! -----------------------------------------------------
cdn:
# Using version: 4.7.0
# See: https://fontawesome.com/
# Example:
# fontawesome: //cdn.jsdelivr.net/npm/font-awesome@4/css/font-awesome.min.css
# fontawesome: //cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
fontawesome:
fontawesome:
# Using version: 3.4.1
# Example:
# jquery: //cdn.jsdelivr.net/npm/jquery@v3.4.1/dist/jquery.min.js
# jquery: //cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js
jquery:
jquery:
# Using version: 1.5.2
# See: http://velocityjs.org/
# Example:
......@@ -630,8 +630,8 @@ cdn:
# velocity: //cdnjs.cloudflare.com/ajax/libs/velocity/1.5.2/velocity.min.js
# velocity_ui: //cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.ui.min.js
# velocity_ui: //cdnjs.cloudflare.com/ajax/libs/velocity/1.5.2/velocity.ui.min.js
velocity:
velocity_ui:
velocity:
velocity_ui:
# gitalk & js-md5
# Using version: latest & latest
......@@ -640,9 +640,9 @@ cdn:
# gitalk_js: //cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js
# gitalk_css: //cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.css
# md5: //cdn.jsdelivr.net/npm/js-md5@latest/src/md5.min.js
gitalk_js:
gitalk_css:
gitalk_md5:
gitalk_js:
gitalk_css:
gitalk_md5:
# gitment & js-md5
# Using version: latest & latest
......@@ -651,9 +651,9 @@ cdn:
# gitment_js: //cdn.jsdelivr.net/npm/gitment/dist/gitment.browser.min.js
# gitment_css: //cdn.jsdelivr.net/npm/gitment/style/default.min.css
# md5: //cdn.jsdelivr.net/npm/js-md5@latest/src/md5.min.js
gitment_js:
gitment_css:
gitment_md5:
gitment_js:
gitment_css:
gitment_md5:
# valine & leancloud-storage
# Using version: latest & latest
......@@ -661,52 +661,52 @@ cdn:
# Example:
# valine: //cdn.jsdelivr.net/npm/valine@latest/dist/Valine.min.js
# leancloud_storage: //cdn.jsdelivr.net/npm/leancloud-storage@latest/dist/av-min.js
valine:
leancloud_storage:
valine:
leancloud_storage:
# busuanzi
# Using version: latest
# See: https://busuanzi.ibruce.info/
# Example:
# busuanzi: //cdn.jsdelivr.net/gh/sukkaw/busuanzi@latest/bsz.pure.mini.js
busuanzi:
busuanzi:
# Using version: 2.1.1
# See: https://busuanzi.ibruce.info/
# Example:
# instantsearch_js: //cdn.jsdelivr.net/npm/instantsearch.js@2.1.1/dist/instantsearch.min.js
# instantsearch_css: //cdn.jsdelivr.net/npm/instantsearch.js@2.1.1/dist/instantsearch.min.css
instantsearch_js:
instantsearch_css:
instantsearch_js:
instantsearch_css:
# Using version: latest
# See: https://github.com/hustcc/ribbon.js
# Example:
# canvas_ribbon: //cdn.jsdelivr.net/npm/ribbon.js@latest/dist/ribbon.min.js
canvas_ribbon:
canvas_ribbon:
# Using version: latest
# See: https://github.com/hustcc/canvas-nest.js
# Example:
# canvas_nest: //cdn.jsdelivr.net/gh/theme-next/theme-next-canvas-nest@latest/canvas-nest.min.js
canvas_nest:
canvas_nest:
# Using version: 3.5.7
# See: https://www.fancyapps.com/fancybox/3/
# Example:
# fancybox_js: //cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js
# fancybox_css: //cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css
fancybox_js:
fancybox_css:
fancybox_js:
fancybox_css:
# Using version: 4.2.2
# See: https://masonry.desandro.com/
# Example:
# masonry: //cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js
masonry:
masonry:
# Using version: 2.0.0-rc.2
# See: https://github.com/tuupola/lazyload/
# Example:
# lazyload: //cdn.jsdelivr.net/npm/lazyload@2.0.0-rc.2/lazyload.min.js
lazyload:
lazyload:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册