# Icon between year and copyright info.#页尾年份和copyright信息间的图标 比如心型图标 icon: # Icon name in Font Awesome. See: https://fontawesome.com/v4.7.0/icons/ # `heart` is recommended with animation in red (#ff0000). name:user # If you want to animate the icon, set it to true. animated:true # Change the color of icon, using Hex Code. color:"#ff0000"
# If not defined, `author` from Hexo `_config.yml` will be used. copyright:
powered: # Hexo link (Powered by Hexo). enable:true # Version info of Hexo after Hexo link (vX.X.X). version:true
theme: # Theme & scheme info link (Theme - NexT.scheme). enable:true # Version info of NexT after scheme info (vX.X.X). version:true
# Beian ICP and gongan information for Chinese users. See: http://www.beian.miit.gov.cn, http://www.beian.gov.cn beian: enable:false icp: # The digit in the num of gongan beian. gongan_id: # The full num of gongan beian. gongan_num: # The icon for gongan beian. See: http://www.beian.gov.cn/portal/download gongan_icon_url:
# --------------------------------------------------------------- # Menu Settings 网页菜单设置 # ---------------------------------------------------------------
# Usage: `Key: /link/ || icon` # Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive. # Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon. # When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash from link value (/archives -> archives). # External url should start with http:// or https:// menu: home:/||home#首页 categories:/categories/||th#分类 archives:/archives/||archive#归档 tags:/tags/||tags#标签 #schedule: /schedule/ || calendar #sitemap: /sitemap.xml || sitemap #commonweal: /404/ || heartbeat #about: /about/ || user #关于 # Enable / Disable menu icons / item badges. menu_settings: icons:true badges:false
sidebar: # Sidebar Position. position:left #position: right
# Manual define the sidebar width. If commented, will be default for: # Muse | Mist: 320 # Pisces | Gemini: 240 #width: 300
# Sidebar Display (only for Muse | Mist), available values: # - post expand on posts automatically. Default. # - always expand for all pages automatically. # - hide expand only when click on the sidebar toggle icon. # - remove totally remove sidebar including sidebar toggle. display:post
# Sidebar offset from top menubar in pixels (only for Pisces | Gemini). offset:12 # Enable sidebar on narrow view (only for Muse | Mist). onmobile:true
# Sidebar Avatar 侧栏头像 avatar: # Replace the default image and set the url here. url:#/images/avatar.gif # If true, the avatar would be dispalyed in circle. rounded:true # If true, the avatar would be rotated with the cursor. rotated:true
# Posts / Categories / Tags in sidebar. site_state:true
# Social Links 社交链接 # Usage: `Key: permalink || icon` # Key is the link label showing to end users. # Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon. social: GitHub:https://github.com/wonder-ryan||github #E-Mail: mailto:yourname@gmail.com || envelope #Weibo: https://weibo.com/yourname || weibo #Google: https://plus.google.com/yourname || google #Twitter: https://twitter.com/yourname || twitter #FB Page: https://www.facebook.com/yourname || facebook #VK Group: https://vk.com/yourname || vk #StackOverflow: https://stackoverflow.com/yourname || stack-overflow #YouTube: https://youtube.com/yourname || youtube #Instagram: https://instagram.com/yourname || instagram #Skype: skype:yourname?call|chat || skype
# Table of Contents in the Sidebar 侧边栏目录 toc: enable:true # Automatically add list number to toc. number:true # If true, all words will placed on next lines if header width longer then sidebar width. wrap:false # If true, all level of TOC in a post will be displayed, rather than the activated part of it. expand_all:false # Maximum heading depth of generated toc. You can set it in one post through `toc_max_depth` in Front-matter. max_depth:6
# Automatically excerpt description in homepage as preamble text. excerpt_description:true
# Automatically excerpt (Not recommend).自动摘录 # Use <!-- more --> in the post to control excerpt accurately.使用<!--更多-->在文章中精确控制摘录 auto_excerpt: enable:true length:150#摘录文字数
# Read more button 阅读更多按钮 # If true, the read more button would be displayed in excerpt section. read_more_btn:true
# Post meta display settings 文章标题下显示信息设置 post_meta: item_text:true#显示帖子元的描述文本 created_at:true#显示创建日期 updated_at:#显示更新日期 enable:true another_day:true categories:true#显示所属分类
#Use icon instead of the symbol # to indicate the tag at the bottom of the post. 修改文章底部的那个带#号的标签:next/layout/_macro/post.swig # {%- if theme.tag_icon %} # {%- set tag_indicate = '<i class="fa fa-tag"></i>' %} # {% else %} # {%- set tag_indicate = '#' %} tag_icon:true
# Reward (Donate) 悬赏(捐赠)设置 reward_settings: # If true, reward would be displayed in every article by default. # You can show or hide reward in a specific article throuth `reward: true | false` in Front-matter. enable:false animation:false #comment: Donate comment here.
# TagCloud settings for tags page. tagcloud: # All values below are same as default, change them by yourself. min:12# Minimun font size in px max:30# Maxium font size in px start:"#ccc"# Start color (hex, rgba, hsla or color keywords) end:"#111"# End color (hex, rgba, hsla or color keywords) amount:200# Amount of tags, change it if you have more than 200 tags
# Google Calendar # Share your recent schedule to others via calendar page. calendar: calendar_id:<required># Your Google account E-Mail api_key:<required> orderBy:startTime offsetMax:24# Time Range offsetMin:4# Time Range showDeleted:false singleEvents:true maxResults:250
# Set the text alignment in posts / pages. text_align: # Available values: start | end | left | right | center | justify | justify-all | match-parent desktop:justify mobile:justify
# Reduce padding / margin indents on devices with narrow width. mobile_layout_economy:false
# Hide sticky headers and color the menu bar on Safari (iOS / macOS). safari_rainbow:false
# Custom Logo (Do not support scheme Mist) custom_logo:#/uploads/custom-logo.jpg
codeblock: # Code Highlight theme # Available values: normal | night | night eighties | night blue | night bright | solarized | solarized dark | galactic # See: https://github.com/chriskempson/tomorrow-theme highlight_theme:normal # Add copy button on codeblock copy_button: enable:false # Show text copy result. show_result:false # Available values: default | flat | mac style:
back2top: enable:true # Back to top in sidebar. sidebar:false # Scroll percent label in b2t button. scrollpercent:false
# Reading progress bar reading_progress: enable:false # Available values: top | bottom position:top color:"#37c6c0" height:3px
# Bookmark Support bookmark: enable:false # Customize the color of the bookmark. color:"#222" # If auto, save the reading progress when closing the page or clicking the bookmark-icon. # If manual, only save it by clicking the bookmark-icon. save:auto
# `Follow me on GitHub` banner in the top-right corner. github_banner: enable:false permalink:https://github.com/yourname title:FollowmeonGitHub
# Multiple Comment System Support comments: # Available values: tabs | buttons style:tabs # Choose a comment system to be displayed by default. # Available values: changyan | disqus | disqusjs | gitalk | livere | valine active: # Setting `true` means remembering the comment system selected by the visitor. storage:true # Modify texts or order for any navs, here are some examples. nav: #disqus: # text: Load Disqus # order: -1 #gitalk: # order: -2
# DisqusJS # Alternative Disqus - Render comment component using Disqus API. # Demo: https://suka.js.org/DisqusJS/ # For more information: https://github.com/SukkaW/DisqusJS disqusjs: enable:false # API Endpoint of Disqus API (https://disqus.com/api/). # Leave api empty if you are able to connect to Disqus API. # Otherwise you need a reverse proxy for Disqus API. # For example: # api: https://disqus.skk.moe/disqus/ api: apikey:# Register new application from https://disqus.com/api/applications/ shortname:# See: https://disqus.com/admin/settings/general/
# Valine # You can get your appid and appkey from https://leancloud.cn # For more information: https://valine.js.org, https://github.com/xCss/Valine valine: enable:false# When enable is set to be true, leancloud_visitors is recommended to be closed for the re-initialization problem within different leancloud adk version appid:# Your leancloud application appid appkey:# Your leancloud application appkey notify:false# Mail notifier. See: https://github.com/xCss/Valine/wiki verify:false# Verification code placeholder:Justgogo# Comment box placeholder avatar:mm# Gravatar style guest_info:nick,mail,link# Custom comment header pageSize:10# Pagination size language:# Language, available values: en, zh-cn visitor:false# leancloud-counter-security is not supported for now. When visitor is set to be true, appid and appkey are recommended to be the same as leancloud_visitors' for counter compatibility. Article reading statistic https://valine.js.org/visitor.html comment_count:true# If false, comment count will only be displayed in post page, not in home page recordIP:false# Whether to record the commenter IP serverURLs:# When the custom domain name is enabled, fill it in here (it will be detected automatically by default, no need to fill in) #post_meta_order: 0
# LiveRe comments system # You can get your uid from https://livere.com/insight/myCode (General web site) livere_uid:# <your_uid>
# Gitalk # Demo: https://gitalk.github.io # For more information: https://github.com/gitalk/gitalk gitalk: enable:false github_id:# GitHub repo owner repo:# Repository name to store issues client_id:# GitHub Application Client ID client_secret:# GitHub Application Client Secret admin_user:# GitHub repo owner and collaborators, only these guys can initialize gitHub issues distraction_free_mode:true# Facebook-like distraction free mode # Gitalk's display language depends on user's browser or system environment # If you want everyone visiting your site to see a uniform language, you can set a force language value # Available values: en | es-ES | fr | ru | zh-CN | zh-TW language:
# Algolia Search Algolia 搜索需要注册 # For more information: https://www.algolia.com algolia_search: enable:false hits: per_page:10 labels: input_placeholder:SearchforPosts hits_empty:"We didn't find any results for the search: ${query}" hits_stats:"${hits} results found in ${time} ms"
# Local Search 本地搜索 一般开启这个 # Dependencies: https://github.com/theme-next/hexo-generator-searchdb 依赖 local_search: enable:true # If auto, trigger search by changing input. # If manual, trigger search by pressing enter key or search button. trigger:auto # 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 # Preload the search data when the page loads. preload:false
# Chatra Support # See: https://chatra.io # Dashboard: https://app.chatra.io/settings/general chatra: enable:false async:true id:# Visit Dashboard to get your ChatraID #embed: # Unfinished experimental feature for developers. See: https://chatra.io/help/api/#injectto
# Tidio Support # See: https://www.tidiochat.com # Dashboard: https://www.tidiochat.com/panel/dashboard tidio: enable:false key:# Public Key, get it from dashboard. See: https://www.tidiochat.com/panel/settings/developer
# Note tag (bs-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:simple icons:false 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
# Tabs tag tabs: transition: tabs:false labels:true border_radius:0
# PDF tag, requires two plugins: pdfObject and pdf.js # pdfObject will try to load pdf files natively, if failed, pdf.js will be used. # The following `cdn` setting is only for pdfObject, because cdn for pdf.js might be blocked by CORS policy. # So, you must install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers. # See: https://github.com/theme-next/theme-next-pdf pdf: enable:false # Default height height:500px
# Mermaid tag mermaid: enable:false # Available themes: default | dark | forest | neutral theme:forest
# Canvas-nest 动态巢型背景 # Dependencies: https://github.com/theme-next/theme-next-canvas-nest 依赖 # For more information: https://github.com/hustcc/canvas-nest.js canvas_nest: enable:true onmobile:true# Display on mobile or not color:"0,0,255"# RGB values, use `,` to separate opacity:0.5# The opacity of line: 0~1 zIndex:-1# z-index property of the background count:99# The number of lines
# Canvas-ribbon # Dependencies: https://github.com/theme-next/theme-next-canvas-ribbon # For more information: https://github.com/zproo/canvas-ribbon canvas_ribbon: enable:false size:300# The width of the ribbon alpha:0.6# The transparency of the ribbon zIndex:-1# The display level of the ribbon