# Social Links. # Usage: `Key: permalink || icon` # Key is the link label showing to end users. # Value before `||` delimeter is the target permalink. # Value after `||` delimeter is the name of FontAwesome icon. If icon (with or without delimeter) is not specified, globe icon will be loaded. social: GitHub:https://github.com/yourname||github E-Mail:http://mail.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 #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 # 等等
# Show Views / Visitors of the website / page with busuanzi. # Get more information on http://ibruce.info/2015/04/04/busuanzi #文章阅读数。站点访问数和点击数。 busuanzi_count: enable:true total_visitors:true total_visitors_icon:user total_views:true total_views_icon:eye post_views:true post_views_icon:eye
# 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:true# 开启评论功能 appid:# 填入刚刚获取的APP ID appkey:# 填入刚刚获取的APP key notify:false# 邮件通知默认关闭 verify:false# 验证码默认关闭 placeholder:在这里写下你的评论吧!# 评论框默认文字 avatar:mm# 头像风格 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:false# If false, comment count will only be displayed in post page, not in home page recordIP:false# 是否记录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
# Icon between year and copyright info. icon: # Icon name in Font Awesome. See: https://fontawesome.com/v4.7.0/icons/ # `heart` is recommended with animation in red (#ff0000). name:heart # If you want to animate the icon, set it to true. animated:true # Change the color of icon, using Hex Code. color:'#ff5999'
打开文章末尾的版权信息
1 2 3 4 5 6 7 8 9 10
# Creative Commons 4.0 International License. # See: https://creativecommons.org/share-your-work/licensing-types-examples # Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero # You can set a language value if you prefer a translated version of CC license, e.g. deed.zh # CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org creative_commons: license:by-nc-sa sidebar:false post:true language:
菜单栏显示分类/标签中的文章数目
1 2
menu_settings: badges:true# 显示菜单分类的数目
文章目录的设置
1 2 3 4 5 6 7 8 9 10 11
# 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:true# 目录全展开 # Maximum heading depth of generated toc. You can set it in one post through `toc_max_depth` in Front-matter. max_depth:3# 目录展开的标题级数
# --------------------------------------------------------------- # SEO Settings # ---------------------------------------------------------------
# Disable Baidu transformation on mobile devices. disable_baidu_transformation:false
# Set a canonical link tag in your hexo, you could use it for your SEO of blog. # See: https://support.google.com/webmasters/answer/139066 # Remember to set up your URL in Hexo `_config.yml` (e.g. url: http://yourdomain.com) canonical:true
# Change headers hierarchy on site-subtitle (will be main site description) and on all post / page titles for better SEO-optimization. seo:true
# If true, will add site-subtitle to index page. # Remember to set up your site-subtitle in Hexo `_config.yml` (e.g. subtitle: Subtitle) index_with_subtitle:true
# Math Formulas Render Support math: # Default (true) will load mathjax / katex script on demand. # That is it only render those page which has `mathjax: true` in Front-matter. # If you set it to false, it will load mathjax / katex srcipt EVERY PAGE. per_page:true
# hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support. mathjax: enable:true # See: https://mhchem.github.io/MathJax-mhchem/ mhchem:false
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support. katex: enable:false # See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex copy_tex:false
# Easily enable fast Ajax navigation on your website. # Dependencies: https://github.com/theme-next/theme-next-pjax # For moreinformation: https://github.com/MoOx/pjax pjax:true
# FancyBox is a tool that offers a nice and elegant way to add zooming functionality for images. # For more information: https://fancyapps.com/fancybox # 点击图片放大 fancybox:true
# A JavaScript library for zooming images like Medium. # Do not enable both `fancybox` and `mediumzoom`. # For more information: https://github.com/francoischalifour/medium-zoom mediumzoom:false
# Vanilla JavaScript plugin for lazyloading images. # For more information: https://github.com/ApoorvSaxena/lozad.js # 高性能、轻巧和可配置的延迟加载器 lazyload:true
# Pangu Support # For more information: https://github.com/vinta/pangu.js # 神器啊,盘古之白:自动在中文字和半形的英文、数字、符号之间插入空白。 pangu:true
# Quicklink Support # For more information: https://github.com/GoogleChromeLabs/quicklink # 通过在空闲时间预取in-viewport链接来加快后续页面加载速度。 quicklink: enable:true
# Quicklink (quicklink.umd.js script) is loaded on demand. # Add `quicklink: true` in Front-matter of the page or post you need. # Home page and archive page can be controlled through home and archive options below. home:true archive:true
# Default (true) will initialize quicklink after the load event fires. delay:true # Custom a time in milliseconds by which the browser must execute prefetching. timeout:3000 # Default (true) will enable fetch() or falls back to XHR. priority:true
# For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores. # See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns ignores:
# 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
# If not defined, `author` from Hexo `_config.yml` will be used. copyright: powered: # Hexo link (Powered by Hexo). enable:false # Version info of Hexo after Hexo link (vX.X.X). version:true theme: # Theme & scheme info link (Theme - NexT.scheme). enable:false # Version info of NexT after scheme info (vX.X.X). version:true
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:true # Show text copy result. show_result:true # Available values: default | flat | mac style: