anchor: # when you scroll, the URL will update according to header id. auto_update:false# 表示 URL 是否会随着滚动自动更新为当前可见的标题(header)的 id # Click the headline to scroll and update the anchor click_to_scroll:true# 表示点击标题是否会使页面滚动到该标题位置,并更新 URL
4.2.12 图片描述文字设置
1
photofigcaption:false# 表示是否开启图片描述文字显示,true 则开启,false 则关闭。优先显示图片的 title 属性,然后是 alt 属性。
runtimeshow:# 网页已运行时间 # 补充说明:网页已运行时间即网页发布时间和当前时间的差值 enable:false# 是否启用 publish_date:# 网页发布时间,格式为 Month / Day / Year Time 或 Year / Month / Day Time # 发布时间示例:6/7/2018 00:00:00
最新评论
1 2 3 4 5 6
newest_comments:# 最新评论 enable:false# 是否启用 sort_order:# Don't modify the setting unless you know how it works limit:6# 最大显示数量 storage:10# 缓存时间,单位是分钟,表示在缓存时间内不会调用 API 获取数据 avatar:true# 是否显示头像
# Don't modify the following settings unless you know how they work (非必要請不要修改 ) # Choose: readmode,translate,darkmode,hideAside,toc,chat,comment # Don't repeat 不要重複 rightside_item_order:# 右下角按钮排序及是否隐藏 enable:false hide:# readmode,translate,darkmode,hideAside,这里的按钮需要通过设置按钮展开 show:# toc,chat,comment,这里的按钮默认出现在右下角
# see https://butterfly.js.org/posts/ceeb73f/#搜索系統 algolia_search:# Algolia search enable:false hits: per_page:6
local_search:# Local search enable:false # Preload the search data when the page loads. preload:false # Show top n results per article, show all results by setting to -1 top_n_per_article:1 # Unescape html strings to the readable one. unescape:false CDN:
# valine # https://valine.js.org valine: appId:# leancloud application app id appKey:# leancloud application app key avatar:monsterid# gravatar style https://valine.js.org/#/avatar serverURLs:# This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in) bg:# valine background visitor:false option:
# waline - A simple comment system with backend support fork from Valine # https://waline.js.org/ waline: serverURL:# Waline server address url bg:# waline background pageview:false option:
# Facebook Comments Plugin # https://developers.facebook.com/docs/plugins/comments/ facebook_comments: app_id: user_id:# optional pageSize:10# The number of comments to show order_by:social# social/time/reverse_time lang:zh_TW# Language en_US/zh_CN/zh_TW and so on
# messenger # https://developers.facebook.com/docs/messenger-platform/discovery/facebook-chat-plugin/ messenger: enable:false pageID: lang:zh_TW# Language en_US/zh_CN/zh_TW and so on
canvas_nest:# canvas_nest (跟踪鼠标的动态彩带背景),see https://github.com/hustcc/canvas-nest.js enable:false color:"0,0,255"#color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.) opacity:0.7# the opacity of line (0~1), default: 0.5. zIndex:-1# z-index property of the background, default: -1. count:99# the number of lines, default: 99. mobile:false # endregion
snackbar: # https://github.com/polonel/SnackBar enable:false position:bottom-left# 弹窗位置,可选 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right bg_light:"#49b1f5"# The background color of Toast Notification in light mode bg_dark:"#1f1f1f"# The background color of Toast Notification in dark mode
# Insert a space between Chinese character and English character (中英文之間添加空格) pangu: # https://github.com/vinta/pangu.js enable:true field:site# site / post,post(只在文章页生效)和site(全站生效)
# Don't modify the following settings unless you know how they work # 非必要請不要修改 CDN: # The CDN provider of internal scripts (主題內部 js 的 cdn 配置) # option: local(本地加载)/ jsdelivr / unpkg / cdnjs / custom(自定义格式,需配置 CDN.custom_format) # Dev version can only choose local. ( dev 版的主題只能設置為 local ) internal_provider:local
# The CDN provider of third party scripts (第三方 js 的 cdn 配置) # option: local(本地加载)/ jsdelivr / unpkg / cdnjs / custom(自定义格式,需配置 CDN.custom_format) # when set it to local, you need to install hexo-butterfly-extjs third_party_provider:jsdelivr
# Add version number to url, true or false(上是否为 cdn 加上指定版本号) version:true
# Custom format # For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file} # 参数 解释 # name npm 上的包名 # file npm 上的文件路径 # min_file npm 上的文件路径(压缩过的文件) # cdnjs_name cdnjs 上的包名 # cdnjs_file cdnjs 上的文件路径 # min_cdnjs_file cdnjs 上的文件路径(压缩过的文件) # version 插件版本号 custom_format:
# https://github.com/verlok/vanilla-lazyload lazyload: enable:false field:site# site / post placeholder: blur:false
7.22 分类标签页的 UI 设置
1 2 3 4
# index - same as Homepage UI (index 值代表 UI 將與首頁的 UI 一樣) # default - same as archives UI 默認跟 archives 頁面 UI 一樣 category_ui:# 留空或 index tag_ui:# 留空或 index
7.23 header、footer 的蒙版效果设置
1 2 3
mask: header:true footer:true
7.24 右小角按钮位置设置
1
rightside_bottom:
7.25 网页进入效果设置
1
enter_transitions:true
7.26 水平分割线图标设置
1 2 3 4
hr_icon: enable:true icon:# the unicode value of Font Awesome icon, such as '\3423' icon-top: