theme:redefine theme_config: # BASIC INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start info: # Site title title:"Yaurora's Blog" # Author name author:Yaurora # Site URL url:https://jingyu.life # BASIC INFORMATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# IMAGE CONFIGURATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start defaults: # Favicon favicon:'https://cdn.jsdelivr.net/gh/jingyucute/cdn-assets/favicon/favicon.ico' # Site logo logo: # Site avatar avatar:'https://cdn.jsdelivr.net/gh/jingyucute/cdn-assets/avatar/young.jpg' # IMAGE CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COLORS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start colors: #Primary color primary:'#005080'# "#A31F34" # Secondary color (beta) secondary: # COLORS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# SITE CUSTOMIZATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start global: # Custom fonts fonts: # Chinese fonts chinese: enable:false# Whether to enable custom chinese font family:# Font family url:# Font URL to CSS file # English fonts english: enable:false# Whether to enable custom chinese font 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:true# progress bar percentage:true# percentage # Website counter (powered by https://busuanzi.ibruce.info/) busuanzi_counter: enable:false# 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 PJAX pjax:true # Whether to enable open graph open_graph:true # SITE CUSTOMIZATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FONTAWESOME >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start 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 home_banner: # Whether to enable home banner enable:true # style of home banner style:static# static or fixed # Home banner image image: light:/images/wallhaven-wqery6-light.webp# https://evan.beee.top/img/wallhaven-wqery6-light.webp # light mode dark:/images/wallhaven-wqery6-dark.webp# https://evan.beee.top/img/wallhaven-wqery6-dark.webp # dark mode # Home banner title title:悟 # Home banner subtitle subtitle: text: [ 'A % B = A - (A / B) * B', '目之所及,皆是回忆; 心之所想,皆是过往; 眼之所看,皆是遗憾.' ] # subtitle text, array hitokoto:# 一言配置 enable:false# Whether to enable hitokoto 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:2000# 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:true # Social links links: github:https://github.com/jingyucute# your GitHub URL instagram:# your Instagram URL zhihu:# your ZhiHu URL twitter:# your twitter URL email:jingyucute@gmail.com# your email # ...... # you can add more # HOME BANNER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# NAVIGATION BAR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start 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 links links: Home: path:/ icon:fa-regularfa-house# can be empty 文章: icon:fa-regularfa-archive submenus: Archives:/archives 分类:/categories 标签:/tags Links: path:/friends icon:fa-regularfa-link About: icon:fa-regularfa-user submenus: Me:/about Github:https://github.com/jingyucute 书籍:/books
# 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:true # Preload search data when the page loads preload:true # NAVIGATION BAR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# HOME PAGE ARTICLE SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start 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 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 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 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 # 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... list: [''] # Code block settings code_block: copy:true# Whether to enable code block copy button style:mac# mac | simple 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:4# 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:true # 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 # Placeholder image placeholder:/images/wallhaven-wqery6-light.webp # Skip directory skip_dirs: [] # ARTICLE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# COMMENT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start comment: # Whether to enable comment enable:false # Comment system system:waline# waline, gitalk, twikoo # 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 # 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 # 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 # COMMENT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# FOOTER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start 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:2020/05/0100:00:00 # 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 inject: # Whether to enable inject enable:false # Inject custom head html code head: -<script>console.log("WelcometoYaurora'sBlog")</script> - # Inject custom footer html code footer: - - # INJECT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# PLUGINS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start plugins: # RSS feed. Requires hexo-generator-feed (npm i hexo-generator-feed). See https://github.com/hexojs/hexo-generator-feed feed: enable:true# Whether to enable # Aplayer (fixed). See https://github.com/DIYgod/APlayer aplayer: enable:false# Whether to enable type:mini# fixed, mini audios: -name:# audio name artist:# audio artist url:# audio url cover:# audio cover url -name: artist: url: cover: # 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:'9.3.0'# default v9.3.0 # PLUGINS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
# CDN >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start cdn: # Whether to enable CDN enable:true # CDN Provider provider:jsdelivr# jsdelivr, unpkg, aliyun # Custom CDN URL # format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path} # The ${path} must be in the source folder of the theme custom_url: # CDN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
plugins: # APlayer is only available in mainland China. # APlayer config: https://github.com/metowolf/MetingJS aplayer: enable:true # Required server:netease# netease, tencent, kugou, xiami, baidu type:playlist# song, playlist, album, search, artist id:5090178889# song id / playlist id / album id / search keyword # Optional fixed:false# enable fixed mode theme:'#1BCDFC'# main color autoplay:false# audio autoplay order:list# player play order, values: 'list', 'random' loop:all# player loop play, values: 'all', 'one', 'none' volume:0.3# default volume, notice that player will remember user setting, default volume will not work after user set volume themselves list_max_height:320px# list max height list_folded:true autoHide:true# hide automaticaly