安装maupassant-hexo主题
Maupassant最初是由Cho大神为Typecho平台设计开发的一套响应式模板,体积只有20KB,在各种尺寸的设备上表现出色。由于其简洁大气的风格受到许多用户喜爱,目前也已经被移植到了多个平台上,例如:
Typecho:https://github.com/pagecho/maupassant/
Octopress:https://github.com/pagecho/mewpassant/
Farbox:https://github.com/pagecho/Maupassant-farbox/
Wordpress:https://github.com/iMuFeng/maupassant/
Ghost: https://github.com/LjxPrime/maupassant/
Hexo更换maupassant主题:
参考:https://github.com/tufu9441/maupassant-hexo
淘宝npm源:http://npm.taobao.org/1
2
3
4
5
6
7
8
9
10
11
12
13$ pwd
/e/GitHup_Data/Hexo_Blog
$ git clone https://github.com/tufu9441/maupassant-hexo.git themes/maupassant
$ npm install hexo-renderer-jade --save
$ npm install hexo-renderer-sass --save #在国内网络原因,这个是安装不了的,可以使用taobao npm源解决
$ npm install -g cnpm --registry=https://registry.npm.taobao.org #使用taobao源的cnpm代替官方的npm
$ cnpm install hexo-renderer-sass --save #安装hexo-renderer-sass插件
$ grep -i '^theme' _config.yml
theme: maupassant
$ hexo g
$ hexo server
$ hexo deploy
个人觉得还有个不错的主题哦。Githup上都有安装的方法哦~
https://github.com/iissnan/hexo-theme-next
本作品采用知识共享署名 2.5 中国大陆许可协议进行许可,欢迎转载,但转载请注明来自Jack Wang Blog,并保持转载后文章内容的完整。本人保留所有版权相关权利。
本文出自”Jack Wang Blog”:http://www.yfshare.vip/2017/02/13/%E5%AE%89%E8%A3%85maupassant-hexo%E4%B8%BB%E9%A2%98/