# copy settings # copyright: Add the copyright information after copied content (复制的内容后面自动加上版权信息) copy: enable:true# 是否允许他人复制你贴出的代码 copyright:false# 是否开启在复制的内容后面自动加上版权信息
# social settings (社交图标设置) # formal: # icon: link || the description social: fab fa-github:https://github.com/xxx||Github# github链接 fas fa-envelope:xxx:xxx@gmail.com||Email# 邮箱
labels: input_placeholder:SearchforPosts hits_empty:"We didn't find any results for the search: ${query}"# if there are no result hits_stats:'${hits} results found in ${time} ms'
# Local search local_search: enable:false labels: input_placeholder:SearchforPosts hits_empty:"We didn't find any results for the search: ${query}"# if there are no result
# Math (数学) 一般用不上,有需要可配置上 # -------------------------------------- # About the per_page # if you set it to true, it will load mathjax/katex script in each page (true 表示每一页都加载js) # if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter) # (false 需要时加载,须在使用的 Markdown Front-matter 加上 mathjax: true)
# if the banner of page not setting,it will show the top_img default_top_img:https://i.loli.net/2020/05/01/IuWi8QbHvzjlOPw.jpg
# the banner image of archive page archive_img:
# the banner image of tag page # tag page, look like https://xxxxxxxxx.com/tags/butterfly tag_img:
# the banner image of category page # category page, look like https://xxxxxxxxx.com/categories/butterfly category_img:
# If you are using hexo-douban, you can configure it (如果你有使用豆瓣 hexo-douban,可配置这个) # douban: # meta: false # movies_img: # books_img: # games_img:
cover: # display the cover or not (是否展示文章封面) index_enable:true aside_enable:true archives_enable:true # the position of cover in home page (封面展示的位置) # left/right/both position:both # When cover is not set, the default cover is displayed (当没有设置封面时,展示默认封面) default_cover: -https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg
# A simple 404 page 简单的404页 error_404: enable:false subtitle:'Page Not Found' background:https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png
post_meta: page:# Home Page date_type:both# created or updated or both 主页文章日期是创建日或者更新日或都展示 categories:true# true or false 主页是否显示分类 tags:false# true or false 主页是否展示标签 post: date_type:both# created or updated or both 文章日期是创建日或者更新日或都展示 categories:true# true or false 文章页是否显示分类 tags:true# true or false 文章页是否展示标签
# Display the article introduction on homepage # 1: description # 2: both (if the description exists, it will show description. or show the auto_excerpt) # 3: auto_excerpt (default) index_post_content: method:3 length:500# if you set method to 2 or 3, the length need to config
# Post # --------------------------------------
# toc (目录) toc: enable:true number:true auto_open:true# auto open the sidebar
# Website Background (网站背景) # can set it to color or image (可设置图片 或者 颜色) # The formal of color: '#49B202' # The formal of image: url(http://xxxxxx.com/xxx.jpg) # 默认背景为白色 background:/img/background.jpg
# Show the footer background image (same as top_img) footer_bg:false
# the position of bottom right button/default unit: px (右下角按钮距离底部的距离 单位px) rightside-bottom:
# canvas_nest # https://github.com/hustcc/canvas-nest.js canvas_nest: enable:true 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
# Typewriter Effect (打字效果) # https://github.com/disjukr/activate-power-mode activate_power_mode: enable:false colorful:true# open particle animation (冒光特效) shake:true# open shake (抖動特效)
# Global font settings # Don't modify the following settings unless you know how they work (非必要不要修改) font: font-family: code-font:
# Font settings for the site title and site subtitle # 左上角网站名字 blog_title_font: font_link:https://fonts.googleapis.com/css?family=Titillium+Web&display=swap font-family:TitilliumWeb,'PingFang SC','Hiragino Sans GB',MicrosoftYaHei',sans-serif
# The setting of divider icon (水平分隔新图标設置) hr_icon: enable:true icon:# the unicode value of Font Awesome icon icon-top:
aside:#侧边栏 enable:true mobile:true# display on mobile position:right# left or right card_author: enable:true description: card_announcement:#公告卡片 enable:true content:这里是JRabbit的博客,用于记录学习过程中的笔记及遇到的一些问题。 card_recent_post:# 最近发布卡片 enable:true limit:5# if set 0 will show all card_categories:#分类卡片 enable:true limit:8# if set 0 will show all expand:none# none/true/false card_tags:# 标签卡片 enable:true limit:40# if set 0 will show all color:false card_archives:# 卡片时间轴 enable:true type:monthly# yearly or monthly format:MMMMYYYY# eg: YYYY年MM月 order:-1# Sort of order. 1, asc for ascending; -1, desc for descending limit:8# if set 0 will show all card_webinfo:true
# busuanzi count for PV / UV in site # 访问人数 busuanzi: site_uv:true site_pv:true page_pv:true
# Time difference between publish date and now (网页运行时间) # Formal: Month/Day/Year Time or Year/Month/Day Time runtimeshow: enable:true#是否开启该功能 publish_date:2020/7/17#网页发布的时间
# Bottom right button (右下角按鈕) # --------------------------------------
# Conversion between Traditional and Simplified Chinese (简体与繁体字的相互转换) translate: enable:true # The text of a button default:繁 # the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese) defaultEncoding:2 # Time delay translateDelay:0 # 语言为简体中文时的按钮文本内容 msgToTraditionalChinese:'繁' # 语言为繁体中文时的按钮文本内容 msgToSimplifiedChinese:'簡'
# Read Mode (阅读模式) readmode:true
# dark mode darkmode: enable:true # Toggle Button to switch dark/light mode button:true # Switch dark/light mode automatically (自动切换 暗黑模式 和 白天模式) # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am # autoChangeMode: false autoChangeMode:false
# Lightbox (图片大图查看模式) # -------------------------------------- # You can only choose one, or neither (只能选择一个 或者 两个都不选)
# Note (Bootstrap Callout) note: # Note tag style values: # - simple bs-callout old alert style. Default. # - modern bs-callout new (v2-v3) alert style. # - flat flat callout style with background, like on Mozilla or StackOverflow. # - disabled disable all CSS styles import of note tag. style:flat icons:true border_radius:3 # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6). # Offset also applied to label tag variables. This option can work with disabled note tag. light_bg_offset:0
# other # --------------------------------------
# Snackbar (Toast Notification 弹窗) # https://github.com/polonel/SnackBar # position 弹窗位置位置 # 可选 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right snackbar: enable:true position:bottom-left bg_light:'#49b1f5'# The background color of Toast Notification in light mode bg_dark:'#121212'# The background color of Toast Notification in dark mode
# https://github.com/vinta/pangu.js # Insert a space between Chinese character and English character (中英文之间添加空格) pangu: enable:false field:site# site/post