# BASIC INFORMATION 基本信息 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/info info: # Site title 标题 #站点标题,显示在网页标题栏 title:荆雪の小窝 # Site subtitle subtitle:RedefineYourHexoJourney. # Author name 作者 #站点作者,显示为文章作者和站点底部 author:荆雪 # Site URL 站点地址 #用于拼接文章,版权信息等链接,请正确填写,链接末尾不要加 / url:# # BASIC INFORMATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# IMAGE CONFIGURATION 默认图片 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/defaults defaults: # Favicon 站点图标 #请写到你站点图标的路径,比如 /images/favicon.ico 或者外链 https://example.com/favicon.ico favicon:/images/b_49dba581a0226f8d13751f239d7c1050.jpg # Site logo 站点LOGO #显示在导航栏左上角,可以留空 logo: # Site avatar 头像 #头像,显示在文章页的作者信息中 avatar:/images/b_49dba581a0226f8d13751f239d7c1050.jpg # IMAGE CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COLORS 颜色配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/colors colors: #Primary color 主题色 #请写 Hex 值,如 #1890ff 主题色会影响到按钮、进度条、链接、选中等组件的颜色 primary:"#E4C6D0" # Secondary color (TBD) 二级色 #请写 Hex 值,如 #1890ff。 目前版本还没用上,预计以后会用到 secondary: # Default theme mode initial value (will be overwritten by prefer-color-scheme) default_mode:light# light, dark # COLORS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# SITE CUSTOMIZATION 全局功能设置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/global global: # Custom global fonts 自定义字体 fonts: # Chinese fonts chinese: enable:true# Whether to enable custom chinese fonts 中文字体开关 family:MiSans# Font family 中文字体名称 url:/fonts/MiSans-Normal.ttf# Font URL to CSS file 中文字体链接 # English fonts english: enable:true# Whether to enable custom english fonts 英文字体开关 family:MiSans# Font family 英文字体名称 url:/fonts/MiSans-Normal.ttf# Font URL to CSS file 英文字体链接 # Custom title fonts (navbar, sidebar) title: enable:true# Whether to enable custom title fonts family:MiSans# Font family url:/fonts/MiSans-Normal.ttf# Font URL to CSS file # Content max width 文章最大宽度 content_max_width:1000px # Sidebar width 边栏宽度 sidebar_width:210px # Effects on mouse hover 悬停效果 hover: shadow:true# shadow effect 阴影 scale:true# scale effect 缩放 # Scroll progress 阅读进度 scroll_progress: bar:false# progress bar 顶部进度条 percentage:true# percentage 工具栏百分比 # Website counter 网站统计 website_counter: url:https://cn.vercount.one/js# counter API URL (no need to change) enable:true# enable website counter or not site_pv:true# site page view 是否显示网站总访问量 site_uv:true# site unique visitor 是否显示网站总访客数 post_pv:true# post page view 是否显示文章总访问量 # Whether to enable single page experience (using swup). 单页应用体验 See https://swup.js.org/. similar to pjax single_page:true # Whether to enable Preloader. 首页全屏加载动画 preloader: enable:true custom_message:欢迎来到荆雪の小窝w~# Custom message. If empty, the site title will be displayed 不填则使用网站名称 # Side tools settings 侧边工具栏 side_tools: # Whether to enable gear rotation animation for settings button 齿轮图标旋转 gear_rotation:true # Whether to auto expand tools list on page load 自动展开工具列表 auto_expand:false # Whether to enable open graph 能有效提升分享到社交媒体的效果,建议开启 open_graph: enable:false image:/images/redefine-og.webp# default og:image description:HexoThemeRedefine,RedefineYourHexoJourney.
# Google Analytics 谷歌统计 google_analytics: enable:false# Whether to enable Google Analytics id:# Google Analytics Measurement ID # SITE CUSTOMIZATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FONTAWESOME 图标 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/fontawesome fontawesome:# Pro v6.2.1 # Thin version thin:false # Light version light:false # Duotone version duotone:false # Sharp Solid version sharp_solid:false # FONTAWESOME <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# HOME BANNER 首页项目配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/home_banner home_banner:#第一屏 # Whether to enable home banner enable:true # style of home banner 背景图片样式 style:fixed# static or fixed # Home banner image 背景图片 image: light:/images/bg-light.png# light mode 亮色模式 dark:/images/bg-dark.png# dark mode 暗色模式 # Home banner title 主标题 title:欢迎来到荆雪の小窝w~ # Home banner subtitle 副标题 subtitle: text: [Loading...] # subtitle text, array hitokoto:# 一言配置 enable:true# Whether to enable hitokoto show_author:true# Whether to show author api:https://v1.hitokoto.cn# API URL, can add types, see https://developer.hitokoto.cn/sentence/#%E5%8F%A5%E5%AD%90%E7%B1%BB%E5%9E%8B-%E5%8F%82%E6%95%B0 typing_speed:80# Typing speed (ms) 打字速度(每毫秒打印的字母数) backing_speed:40# Backing speed (ms) 退格速度(每毫秒退格的字母数) starting_delay:1500# Start delay (ms) 开始延迟(毫秒) backing_delay:5000# Backing delay (ms) 退格延迟(毫秒) loop:true# Whether to loop 是否循环 smart_backspace:true# Whether to smart backspace 是否能智能退格 # Color of home banner text 文字颜色 text_color: light:"#B27777"# light mode 亮色模式 请填写 Hex 色值 dark:"#d1d1b6"# dark mode 暗色模式 请填写 Hex 色值 # Specific style of the text 文字样式 text_style: # Title font size 标题字体大小 title_size:3.6rem # Subtitle font size 副标题字体大小 subtitle_size:1.2rem # Line height between title and subtitle 标题与副标题行高 line_height:1.5 # Home banner custom font 自定义字体 custom_font: # Whether to enable custom font enable:false # Font family 字体名称 family: # URL to font CSS file 字体 CSS 文件链接 url: # Home banner social links 社交链接 https://redefine-docs.ohevan.com/home/home_banner#%E7%A4%BE%E4%BA%A4%E9%93%BE%E6%8E%A5 social_links: # Whether to enable enable:true # Social links style style:reverse# default, reverse, center # Social links links: github:https://github.com/Wandering233# your GitHub URL bilibili:https://space.bilibili.com/1476819966 /images/icon/ic_logo_dark.png:http://www.coolapk.com/u/18095493#Coolapk instagram:# your Instagram URL zhihu:# your ZhiHu URL twitter:# your twitter URL email:3539990132@qq.com# your email # ...... # you can add more # Social links with QRcode drawers qrs: weixin:# your Wechat QRcode image URL # ...... # you can add more # HOME BANNER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# NAVIGATION BAR 导航栏 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/navbar navbar: # Auto hide navbar 自动隐藏 auto_hide:false # Navbar background color 背景色 color: left:"#f78736"#left side 左侧 right:"#367df7"#right side 右侧 transparency:35#percent (10-99) 透明度 # Navbar width (usually no need to modify) width: home:1200px#home page pages:1000px#other pages # Navbar links 链接列表 https://redefine-docs.ohevan.com/home/navbar#%E9%93%BE%E6%8E%A5%E5%88%97%E8%A1%A8 # 下拉菜单写法 https://redefine-docs.ohevan.com/home/navbar#%E4%B8%8B%E6%8B%89%E8%8F%9C%E5%8D%95%E5%86%99%E6%B3%95 links: Home: path:/ icon:fa-regularfa-house# can be empty # Archives: # path: /archives # icon: fa-regular fa-archive # can be empty # Status: # path: https://status.ohevan.com/ # icon: fa-regular fa-chart-bar About: path:/about icon:fa-regularfa-user # submenus: # Me: /about # Github: https://github.com/EvanNotFound/hexo-theme-redefine # Blog: https://ohevan.com # Friends: /friends # Links: # icon: fa-regular fa-link # submenus: # Link1: /link1 # Link2: /link2 # Link3: /link3 # ...... # you can add more # Navbar search (local search). 搜索 Requires hexo-generator-searchdb (npm i hexo-generator-searchdb). See https://github.com/theme-next/hexo-generator-searchdb search: # Whether to enable enable:false # Preload search data when the page loads 预加载 preload:true # NAVIGATION BAR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# HOME PAGE ARTICLE SETTINGS 首页文章 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/home home: # Sidebar settings 侧边栏 sidebar: enable:true# Whether to enable sidebar position:left# Sidebar position. left, right 侧边栏位置 first_item:menu# First item in sidebar. menu, info 侧边栏显示顺序 announcement:我们原神玩家是这样的# Announcement text 公告 留空则不显示 show_on_mobile:true# Whether to show sidebar navigation on mobile sheet menu links:#侧边导航栏 # Archives: # path: /archives # icon: fa-regular fa-archive # can be empty # Tags: # path: /tags # icon: fa-regular fa-tags # can be empty # Categories: # path: /categories # icon: fa-regular fa-folder # can be empty # ...... # you can add more # Article date format 文章日期格式 article_date_format:auto# auto, relative, YYYY-MM-DD, YYYY-MM-DD HH:mm:ss etc. # Article excerpt length excerpt_length:200# Max length of article excerpt # Article categories visibility 分类 categories: enable:true# Whether to enable limit:3# Max number of categories to display 显示数量 # Article tags visibility 标签 tags: enable:true# Whether to enable limit:3# Max number of tags to display 显示数量 # HOME PAGE ARTICLE SETTINGS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# ARTICLE 文章样式 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/posts/articles articles: # Set the styles of the article 样式 style: font_size:16px# Font size 正文字体大小 line_height:1.5# Line height 正文行高 image_border_radius:20px# image border radius 图片圆角大小 image_alignment:center# image alignment. left, center 图片对齐 image_caption:false# Whether to display image caption 图片描述 link_icon:true# Whether to display link icon 链接图标 title_alignment:left# Title alignment. left, center headings_top_spacing:# Top spacing for headings from h1-h6 h1:3.2rem h2:2.4rem h3:1.9rem h4:1.6rem h5:1.4rem h6:1.3rem # Word count. 字数统计 Requires hexo-wordcount (npm install hexo-wordcount). See https://github.com/willin/hexo-wordcount word_count: enable:true# Whether to enable count:true# Whether to display word count 字数 min2read:true# Whether to display reading time 阅读时间 # Author label 作者标签 author_label: enable:false# Whether to enable auto:false# Whether to automatically add author label, e.g. Lv1, Lv2, Lv3... 自动打上 Lv1、Lv2、Lv3 等标签 list: [] # 自定义标签 # Code block settings 代码块 code_block: copy:true# Whether to enable code block copy button style:simple# mac | simple 样式可选 highlight_theme:# Color scheme for highlightjs code highlighting. For preview, see https://highlightjs.org/examples light:github# light mode theme, support: github, atom-one-light, default dark:vs2015# dark mode theme, support: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate font:# Custom font 字体 enable:false# Whether to enable family:# Font family 字体名称 url:# Font URL to CSS file 到字体 CSS 样式文件的 URL,比如 Google Fonts 的 https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;600;700&display=swap # Table of contents settings 目录 toc: enable:true# Whether to enable TOC max_depth:6# TOC depth 最大深度 number:false# Whether to add number to TOC automatically 是否开启目录编号 expand:true# Whether to expand TOC 全部展开 init_open:true# Open toc by default 是否默认打开 TOC # Whether to enable copyright notice 文章版权 copyright: enable:false# Whether to enable default:cc_by_nc_sa# Default license, can be cc_by_nc_sa, cc_by_nd, cc_by_nc, cc_by_sa, cc_by, all_rights_reserved, public_domain # https://redefine-docs.ohevan.com/posts/articles#%E9%BB%98%E8%AE%A4%E7%89%88%E6%9D%83%E4%BF%A1%E6%81%AF # Whether to enable lazyload for images 懒加载 lazyload:true # Article recommendation. 文章推荐 Requires nodejieba (npm install nodejieba). Transplanted from hexo-theme-volantis. recommendation: # Whether to enable article recommendation enable:false # Article recommendation title 标题 title:推荐阅读 # Max number of articles to display 推荐数量 limit:3 # Max number of articles to display mobile 手机端推荐数量 mobile_limit:2 # Placeholder image placeholder:/images/wallhaven-wqery6-light.webp # Skip directory 排除目录 skip_dirs: [] # ARTICLE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COMMENT 评论系统 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/posts/comment comment: # Whether to enable comment enable:false # Comment system 评论系统选择 system:waline# waline, gitalk, twikoo, giscus # System configuration config: # Waline comment system. See https://waline.js.org/ waline: serverUrl:https://example.example.com# Waline server URL. e.g. https://example.example.com lang:zh-CN# Waline language. e.g. zh-CN, en-US. See https://waline.js.org/guide/client/i18n.html emoji: [] # Waline emojis, see https://waline.js.org/guide/features/emoji.html recaptchaV3Key:# Google reCAPTCHA v3 key. See https://waline.js.org/reference/client/props.html#recaptchav3key turnstileKey:# Turnstile key. See https://waline.js.org/reference/client/props.html#turnstilekey reaction:false# Waline reaction. See https://waline.js.org/reference/client/props.html#reaction
# Gitalk comment system. See https://github.com/gitalk/gitalk gitalk: clientID:# GitHub Application Client ID clientSecret:# GitHub Application Client Secret repo:# GitHub repository owner:# GitHub repository owner proxy:# GitHub repository proxy # Twikoo comment system. See https://twikoo.js.org/ twikoo: version:1.6.10# Twikoo version, do not modify if you dont know what it is server_url:# Twikoo server URL. e.g. https://example.example.com region:# Twikoo region. can be empty # Giscus comment system. See https://giscus.app/ giscus: repo:# Github repository name e.g. EvanNotFound/hexo-theme-redefine repo_id:# Github repository id category:# Github discussion category category_id:# Github discussion category id mapping:pathname# Which value to use as the unique identifier for the page. e.g. pathname, url, title, og:title. DO NOT USE og:title WITH PJAX ENABLED since pjax will not update og:title when the page changes strict:0# Whether to enable strict mode. e.g. 0, 1 reactions_enabled:1# Whether to enable reactions. e.g. 0, 1 emit_metadata:0# Whether to emit metadata. e.g. 0, 1 lang:en# Giscus language. e.g. en, zh-CN, zh-TW input_position:bottom# Place the comment box above/below the comments. e.g. top, bottom loading:lazy# Load the comments lazily # COMMENT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FOOTER 页脚 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/footer footer: # Show website running time 运行时间 runtime:true# show website running time or not # Icon in footer, write fontawesome icon code here 图标 请填写 Fontawesome HTML 代码 如需带动画的 Fontawesome 图标,请参考 https://fontawesome.com/docs/web/style/animate icon:'<i class="fa-solid fa-heart fa-beat" style="--fa-animation-duration: 0.5s; color: #f54545"></i>' # The start time of the website, format: YYYY/MM/DD HH:mm:ss 建站时间 start:2024/9/411:45:14 # Site statistics statistics:false# show site statistics or not (total articles, total words) # Footer message 自定义页脚信息 customize:你说得对,但是《原神》是米哈游自研的一款全新开放世界冒险RPG # ICP record number. See https://beian.miit.gov.cn/ ICP 备案号 icp: enable:true# Whether to enable number:蜀ICP备2025121234号-1# ICP record number url:# ICP record url # FOOTER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# INJECT 插入自定义代码 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/inject inject: # Whether to enable inject enable:false # Inject custom head html code 插入到页面头部的代码,比如统计代码等 head: - - # Inject custom footer html code 插入到页面底部的代码,比如点击样式等 footer: - - # INJECT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# PLUGINS 插件 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/plugins plugins: # RSS feed. Requires hexo-generator-feed (npm i hexo-generator-feed). See https://github.com/hexojs/hexo-generator-feed feed: enable:false# Whether to enable
# CDN CDN 加速 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/cdn cdn: # Whether to enable CDN enable:false # CDN Provider provider:aliyun# npmmirror, zstatic, sustech, cdnjs, jsdelivr, unpkg, custom # Custom CDN URL # format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path} # The ${path} must leads to the root of the "source" folder of the theme custom_url: # CDN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# DEVELOPER MODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/developer developer: # Whether to enable developer mode (only for developers who want to modify the theme source code, not for ordinary users) enable:false # DEVELOPER MODE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# BASIC INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/info info: # Site title title:ThemeRedefine # Site subtitle subtitle:RedefineYourHexoJourney. # Author name author:TheRedefineTeam # Site URL url:https://redefine.ohevan.com # BASIC INFORMATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# IMAGE CONFIGURATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/defaults defaults: # Favicon favicon:/images/redefine-favicon.svg # Site logo logo: # Site avatar avatar:/images/redefine-avatar.svg # IMAGE CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COLORS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/colors colors: #Primary color primary:"#A31F34" # Secondary color (TBD) secondary: # Default theme mode initial value (will be overwritten by prefer-color-scheme) default_mode:light# light, dark # COLORS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# SITE CUSTOMIZATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/global global: # Custom global fonts fonts: # Chinese fonts chinese: enable:false# Whether to enable custom chinese fonts family:# Font family url:# Font URL to CSS file # English fonts english: enable:false# Whether to enable custom english fonts family:# Font family url:# Font URL to CSS file # Custom title fonts (navbar, sidebar) title: enable:false# Whether to enable custom title fonts family:# Font family url:# Font URL to CSS file # Content max width content_max_width:1000px # Sidebar width sidebar_width:210px # Effects on mouse hover hover: shadow:true# shadow effect scale:false# scale effect # Scroll progress scroll_progress: bar:false# progress bar percentage:true# percentage # Website counter website_counter: url:https://cn.vercount.one/js# counter API URL (no need to change) enable:true# enable website counter or not site_pv:true# site page view site_uv:true# site unique visitor post_pv:true# post page view # Whether to enable single page experience (using swup). See https://swup.js.org/. similar to pjax single_page:true # Whether to enable Preloader. preloader: enable:false custom_message:# Custom message. If empty, the site title will be displayed # Side tools settings side_tools: # Whether to enable gear rotation animation for settings button gear_rotation:true # Whether to auto expand tools list on page load auto_expand:false # Whether to enable open graph open_graph: enable:true image:/images/redefine-og.webp# default og:image description:HexoThemeRedefine,RedefineYourHexoJourney. # Google Analytics google_analytics: enable:false# Whether to enable Google Analytics id:# Google Analytics Measurement ID # SITE CUSTOMIZATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FONTAWESOME >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/fontawesome fontawesome:# Pro v6.2.1 # Thin version thin:false # Light version light:false # Duotone version duotone:false # Sharp Solid version sharp_solid:false # FONTAWESOME <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# HOME BANNER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/home_banner home_banner: # Whether to enable home banner enable:true # style of home banner style:fixed# static or fixed # Home banner image image: light:/images/wallhaven-wqery6-light.webp# light mode dark:/images/wallhaven-wqery6-dark.webp# dark mode # Home banner title title:ThemeRedefine # Home banner subtitle subtitle: text: [] # subtitle text, array hitokoto:# 一言配置 enable:false# Whether to enable hitokoto show_author:false# Whether to show author api:https://v1.hitokoto.cn# API URL, can add types, see https://developer.hitokoto.cn/sentence/#%E5%8F%A5%E5%AD%90%E7%B1%BB%E5%9E%8B-%E5%8F%82%E6%95%B0 typing_speed:100# Typing speed (ms) backing_speed:80# Backing speed (ms) starting_delay:500# Start delay (ms) backing_delay:1500# Backing delay (ms) loop:true# Whether to loop smart_backspace:true# Whether to smart backspace # Color of home banner text text_color: light:"#fff"# light mode dark:"#d1d1b6"# dark mode # Specific style of the text text_style: # Title font size title_size:2.8rem # Subtitle font size subtitle_size:1.5rem # Line height between title and subtitle line_height:1.2 # Home banner custom font custom_font: # Whether to enable custom font enable:false # Font family family: # URL to font CSS file url: # Home banner social links social_links: # Whether to enable enable:false # Social links style style:default# default, reverse, center # Social links links: github:# your GitHub URL instagram:# your Instagram URL zhihu:# your ZhiHu URL twitter:# your twitter URL email:# your email # ...... # you can add more # Social links with QRcode drawers qrs: weixin:# your Wechat QRcode image URL # ...... # you can add more # HOME BANNER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# NAVIGATION BAR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/navbar navbar: # Auto hide navbar auto_hide:false # Navbar background color color: left:"#f78736"#left side right:"#367df7"#right side transparency:35#percent (10-99) # Navbar width (usually no need to modify) width: home:1200px#home page pages:1000px#other pages # Navbar links links: Home: path:/ icon:fa-regularfa-house# can be empty # Archives: # path: /archives # icon: fa-regular fa-archive # can be empty # Status: # path: https://status.ohevan.com/ # icon: fa-regular fa-chart-bar # About: # icon: fa-regular fa-user # submenus: # Me: /about # Github: https://github.com/EvanNotFound/hexo-theme-redefine # Blog: https://ohevan.com # Friends: /friends # Links: # icon: fa-regular fa-link # submenus: # Link1: /link1 # Link2: /link2 # Link3: /link3 # ...... # you can add more # Navbar search (local search). Requires hexo-generator-searchdb (npm i hexo-generator-searchdb). See https://github.com/theme-next/hexo-generator-searchdb search: # Whether to enable enable:false # Preload search data when the page loads preload:true # NAVIGATION BAR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# HOME PAGE ARTICLE SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/home/home home: # Sidebar settings sidebar: enable:true# Whether to enable sidebar position:left# Sidebar position. left, right first_item:menu# First item in sidebar. menu, info announcement:# Announcement text show_on_mobile:true# Whether to show sidebar navigation on mobile sheet menu links: # Archives: # path: /archives # icon: fa-regular fa-archive # can be empty # Tags: # path: /tags # icon: fa-regular fa-tags # can be empty # Categories: # path: /categories # icon: fa-regular fa-folder # can be empty # ...... # you can add more # Article date format article_date_format:auto# auto, relative, YYYY-MM-DD, YYYY-MM-DD HH:mm:ss etc. # Article excerpt length excerpt_length:200# Max length of article excerpt # Article categories visibility categories: enable:true# Whether to enable limit:3# Max number of categories to display # Article tags visibility tags: enable:true# Whether to enable limit:3# Max number of tags to display # HOME PAGE ARTICLE SETTINGS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# ARTICLE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/posts/articles articles: # Set the styles of the article style: font_size:16px# Font size line_height:1.5# Line height image_border_radius:14px# image border radius image_alignment:center# image alignment. left, center image_caption:false# Whether to display image caption link_icon:true# Whether to display link icon delete_mask:false# Add mask effect to <del> tags, hiding content by default and revealing on hover title_alignment:left# Title alignment. left, center headings_top_spacing:# Top spacing for headings from h1-h6 h1:3.2rem h2:2.4rem h3:1.9rem h4:1.6rem h5:1.4rem h6:1.3rem # Word count. Requires hexo-wordcount (npm install hexo-wordcount). See https://github.com/willin/hexo-wordcount word_count: enable:true# Whether to enable count:true# Whether to display word count min2read:true# Whether to display reading time # Author label author_label: enable:true# Whether to enable auto:false# Whether to automatically add author label, e.g. Lv1, Lv2, Lv3... list: [] # Code block settings code_block: copy:true# Whether to enable code block copy button style:mac# mac | simple highlight_theme:# Color scheme for highlightjs code highlighting. For preview, see https://highlightjs.org/examples light:github# light mode theme, support: github, atom-one-light, default dark:vs2015# dark mode theme, support: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate font:# Custom font enable:false# Whether to enable family:# Font family url:# Font URL to CSS file # Table of contents settings toc: enable:true# Whether to enable TOC max_depth:3# TOC depth number:false# Whether to add number to TOC automatically expand:true# Whether to expand TOC init_open:true# Open toc by default # Whether to enable copyright notice copyright: enable:true# Whether to enable default:cc_by_nc_sa# Default license, can be cc_by_nc_sa, cc_by_nd, cc_by_nc, cc_by_sa, cc_by, all_rights_reserved, public_domain # Whether to enable lazyload for images lazyload:true # Pangu.js (automatically add space between Chinese and English). See https://github.com/vinta/pangu.js pangu_js:false # Article recommendation. Requires nodejieba (npm install nodejieba). Transplanted from hexo-theme-volantis. recommendation: # Whether to enable article recommendation enable:false # Article recommendation title title:推荐阅读 # Max number of articles to display limit:3 # Max number of articles to display mobile mobile_limit:2 # Placeholder image placeholder:/images/wallhaven-wqery6-light.webp # Skip directory skip_dirs: [] # ARTICLE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COMMENT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/posts/comment comment: # Whether to enable comment enable:true # Comment system system:waline# waline, gitalk, twikoo, giscus # System configuration config: # Waline comment system. See https://waline.js.org/ waline: serverUrl:https://example.example.com# Waline server URL. e.g. https://example.example.com lang:zh-CN# Waline language. e.g. zh-CN, en-US. See https://waline.js.org/guide/client/i18n.html emoji: [] # Waline emojis, see https://waline.js.org/guide/features/emoji.html recaptchaV3Key:# Google reCAPTCHA v3 key. See https://waline.js.org/reference/client/props.html#recaptchav3key turnstileKey:# Turnstile key. See https://waline.js.org/reference/client/props.html#turnstilekey reaction:false# Waline reaction. See https://waline.js.org/reference/client/props.html#reaction # Gitalk comment system. See https://github.com/gitalk/gitalk gitalk: clientID:# GitHub Application Client ID clientSecret:# GitHub Application Client Secret repo:# GitHub repository owner:# GitHub repository owner proxy:# GitHub repository proxy # Twikoo comment system. See https://twikoo.js.org/ twikoo: version:1.6.10# Twikoo version, do not modify if you dont know what it is server_url:# Twikoo server URL. e.g. https://example.example.com region:# Twikoo region. can be empty # Giscus comment system. See https://giscus.app/ giscus: repo:# Github repository name e.g. EvanNotFound/hexo-theme-redefine repo_id:# Github repository id category:# Github discussion category category_id:# Github discussion category id mapping:pathname# Which value to use as the unique identifier for the page. e.g. pathname, url, title, og:title. DO NOT USE og:title WITH PJAX ENABLED since pjax will not update og:title when the page changes strict:0# Whether to enable strict mode. e.g. 0, 1 reactions_enabled:1# Whether to enable reactions. e.g. 0, 1 emit_metadata:0# Whether to emit metadata. e.g. 0, 1 lang:en# Giscus language. e.g. en, zh-CN, zh-TW input_position:bottom# Place the comment box above/below the comments. e.g. top, bottom loading:lazy# Load the comments lazily # COMMENT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FOOTER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/footer footer: # Show website running time runtime:true# show website running time or not # Icon in footer, write fontawesome icon code here icon:'<i class="fa-solid fa-heart fa-beat" style="--fa-animation-duration: 0.5s; color: #f54545"></i>' # The start time of the website, format: YYYY/MM/DD HH:mm:ss start:2022/8/1711:45:14 # Site statistics statistics:true# show site statistics or not (total articles, total words) # Footer message customize: # ICP record number. See https://beian.miit.gov.cn/ icp: enable:false# Whether to enable number:# ICP record number url:# ICP record url # FOOTER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# INJECT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/inject inject: # Whether to enable inject enable:false # Inject custom head html code head: - - # Inject custom footer html code footer: - - # INJECT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# PLUGINS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/plugins plugins: # RSS feed. Requires hexo-generator-feed (npm i hexo-generator-feed). See https://github.com/hexojs/hexo-generator-feed feed: enable:false# Whether to enable # Aplayer. See https://github.com/DIYgod/APlayer aplayer: enable:false# Whether to enable type:fixed# fixed, mini audios: -name:# audio name artist:# audio artist url:# audio url cover:# audio cover url lrc:# audio cover lrc # - name: # audio name # artist: # audio artist # url: # audio url # cover: # audio cover url # lrc: # audio cover lrc # .... you can add more audios here # Mermaid JS. Requires hexo-filter-mermaid-diagrams (npm i hexo-filter-mermaid-diagrams). See https://mermaid.js.org/ mermaid: enable:false# enable mermaid or not version:"11.4.1"# default v11.4.1 # PLUGINS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# CDN >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/cdn cdn: # Whether to enable CDN enable:false # CDN Provider provider:npmmirror# npmmirror, zstatic, cdnjs, jsdelivr, unpkg, custom # Custom CDN URL # format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path} # The ${path} must leads to the root of the "source" folder of the theme custom_url: # CDN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# DEVELOPER MODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/developer developer: # Whether to enable developer mode (only for developers who want to modify the theme source code, not for ordinary users) enable:false # DEVELOPER MODE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end