Freemind.386中文说明
本文是关于Freemind.386的介绍,基于Freemind修改.
Freemind.386是我为Hexo编写的一个开源主题。该主题基于Freemind修改,样式替换为BOOTSTR.386。
安装
安装主题:
$ git clone git@github.com:blackshow/hexo-theme-freemind.386.git themes/freemind安装 hexo-tag-bootstrap (可选):
$ npm install hexo-tag-bootsrap --save安装 hexo-generatr-search (可选):
$ npm install hexo-generator-search --save创建页面
Freemind.386 预先定义了 Categories(分类)、Tags(标签) 和 About(关于)页面,要使用它们,你需要先在你的博客的source目录中添加相应页面。
例如,要创建Categories页面,在终端上:12$ cd /path/to/hexo/hexo n page categories然后编辑
source/categories/下的index.md。
启用
修改 _config.yml 文件里的 theme 选项为 freemind.386 即可。
配置
|
|
Front-Matter
Freemind 主题额外提供了一些新的 front-matter 的选项,利用这些选项可以更好的装饰你的文章。
- description - 在文章顶部插入一段简短的摘要信息(本文顶部就有)
- feature - 为文章列表页面加入缩率图
- toc - 生成 table of contents,就是右侧的文章目录树
示例:12345678title: Freemind.386中文说明date: 2015-11-25 10:56:20description: 这篇文章是关于Freemind.386的介绍.categories: codetags: hexo toc: true#feature: http://blackshow.me/favicon.png---
最后感谢 Freemind 的作者 HaHack 和 BOOTSTR.386 的作者 Chris McKenzie。