Hello Next

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Next主题新特性

最近更新了博客,从jacman迁移到next,如下是一些新特性测试。

测试标签

厦门大学欢迎你

代码如下:

1
{% cq %} 厦门大学欢迎你 {% endcq %}

测试图标

 Extended Supervised Descent Method for Robust Face Alignment

示例代码:

1
<span style="color:red"><i class="fa fa-pencil fa-fw "></i>&nbsp; Applications</span>

更多图标,请访问Font Awesome,并且参考“请用fontAwesome代替网页icon小图标”

测试emoji表情

目前尚没有配置好。可以参考“Hexo添加emoji”

示例代码:

1
here's some code! :bowtie:

更多表情,请访问emoji表情官网

Bootstrap Callout

hello default

hello primary

hello success

hello info

hello warning

hello danger

代码如下:

1
2
3
4
5
6
{% note default %} hello default {% endnote %}
{% note primary %} hello primary {% endnote %}
{% note success %} hello success {% endnote %}
{% note info %} hello info {% endnote %}
{% note warning %} hello warning {% endnote %}
{% note danger %} hello danger {% endnote %}

报错

找不到git部署 ERROR Deployer not found: git

解决办法:

1
npm install hexo-deployer-git --save

部署类型设置git

hexo 3.0 部署类型不再是github,而是git,修改主题配置文件_config.yml中deploy中的type为git

1
2
3
4
1 deploy:
2 type: git
3 repository: git@github.com:xiamenwcy/xiamenwcy.github.io.git
4 branch: master

GitHub Pages 绑定二级域名

请参考:

Enjoy it ? Donate me ! 欣赏此文?求鼓励,求支持!