# aside (側邊欄)# --------------------------------------aside:enable:truehide:falsebutton:truemobile:true# display on mobileposition:right# left or right,显示在右边display:archive:truetag:truecategory:truecard_author:enable:truedescription:button:enable:false# 默认true,不喜欢,改为falseicon:fab fa-githubtext:Follow Melink:https://github.com/xxxxxxcard_announcement:enable:truecontent:随便写写,随缘更新。card_recent_post:enable:true# 最新文章limit:5# if set 0 will show allsort:date# date or updatedsort_order:# Don't modify the setting unless you know how it workscard_categories:enable:false# 显示所有分类limit:8# if set 0 will show allexpand:none# none/true/falsesort_order:# Don't modify the setting unless you know how it workscard_tags:enable:false# 显示所有标签limit:40# if set 0 will show allcolor:falseorderby:random# Order of tags, random/name/lengthorder:1# Sort of order. 1, asc for ascending; -1, desc for descendingsort_order:# Don't modify the setting unless you know how it workscard_archives:enable:false# 显示归档type:monthly# yearly or monthlyformat: MMMM YYYY # eg:YYYY年MM月order:-1# Sort of order. 1, asc for ascending; -1, desc for descendinglimit:8# if set 0 will show allsort_order:# Don't modify the setting unless you know how it workscard_webinfo:enable:false# 显示网站咨询post_count:truelast_push_date:truesort_order:# Don't modify the setting unless you know how it workscard_post_series:enable:true# 排序orderBy:'date'# Order by title or dateorder:-1# Sort of order. 1, asc for ascending; -1, desc for descending
顶部图片:直接透明化
1
2
# If the banner of page not setting, it will show the top_imgdefault_top_img:Transparent
404页面
1
2
3
4
error_404:enable:true# 开启主题自带的404页面subtitle:'Page Not Found'background:https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png
文章目录设置
1
2
3
4
5
6
7
8
# toc (目錄)toc:post:true# 文章页是否显示 TOCpage:false# 普通页面是否显示 TOCnumber:true# 是否显示章节数expand:true# 是否展开 TOCstyle_simple:true# for post 简洁模式(侧边栏只显示 TOC, 只对文章页有效 )scroll_percent:true# 是否显示滚动进度百分比
文章过期提醒:以更新时间为基准
1
2
3
4
5
6
7
8
9
# Displays outdated notice for a post (文章過期提醒)noticeOutdate:enable:truestyle: flat # style:simple/flatlimit_day:365# When will it be shownposition: top # position:top/bottommessage_prev:这篇文章距离更新已经过了message_next:天,其中某些内容可能已经过时了。# 这篇文章距离更新已经过了 365 天,其中某些内容可能已经过时了。
# Global font settings# Don't modify the following settings unless you know how they work (非必要不要修改)font:global-font-size:code-font-size:font-family:Microsoft YaHeicode-font-family:consolas
# CDN# 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# Dev version can only choose. ( dev版的主題只能設置為 local )internal_provider:local# The CDN provider of third party scripts (第三方 js 的 cdn 配置)# option: local/jsdelivr/unpkg/cdnjs/custom# when set it to local, you need to install hexo-butterfly-extjsthird_party_provider:unpkg