hexo init
tags与categories页面
新增博文
| 1 | hexo new PAGENAME | 
使用数学公式
- 更换渲染引擎 
 Hexo 默认使用 hexo-renderer-marked 引擎渲染网页,更换 Hexo 的 markdown 渲染引擎,hexo-renderer-kramed 引擎是在默认的渲染引擎 hexo-renderer-marked 的基础上修改了一些 bug ,两者比较接近,也比较轻量级。- 1 
 2- npm uninstall hexo-renderer-marked --save 
 npm install hexo-renderer-kramed --save
- 在 Next 主题中开启 MathJax 开关 
 进入到主题目录,找到 _config.yml 配置问题,把 math 默认的 false 修改为true,具体如下:- 1 
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11- # Math Equations Render Support 
 math:
 enable: true
 # 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
 engine: mathjax
 #engine: katex
- 还需要在文章的Front-matter里打开mathjax开关 - 1 
 2
 3
 4- title: index.html 
 date: 2018-07-05 12:01:30
 tags:
 mathjax: true
使用NexT主题
配置NexT插件
Valine
| 1 | # Valine. | 
Busuanzi
Abbrlink
google_site_verification
| 1 | # Google Webmaster tools verification. | 
google_analytics
Google Analytics中创建用户,登录。1
2
3
4# Google Analytics
google_analytics:
  tracking_id: UA-XXXXXXXX-X
  localhost_ignored: true
baidu_site_verification
| 1 | # Baidu Webmaster tools verification. | 
local_search
highlight_theme
AddThis
fancybox
开启后,可以具有图片点击放大或者视频点击弹出的效果。1
fancybox: true
creative_commons
文章末尾添加版权声明。1
2
3
4
5creative_commons:
  license: by-nc-sa
  sidebar: true
  post: true
  language:
NexT 使用文档:http://theme-next.iissnan.com/getting-started.html