https://github.com/vevlins/hexo-theme-toki
hexo主题
https://github.com/vevlins/hexo-theme-toki
Last synced: about 1 month ago
JSON representation
hexo主题
- Host: GitHub
- URL: https://github.com/vevlins/hexo-theme-toki
- Owner: vevlins
- License: mit
- Created: 2017-11-30T08:01:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-07T00:52:33.000Z (about 7 years ago)
- Last Synced: 2024-05-20T09:22:15.230Z (11 months ago)
- Language: JavaScript
- Size: 2 MB
- Stars: 66
- Watchers: 5
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-themes - vevlins/hexo-theme-toki
README
# toki
hexo-theme-toki主题##todo:
满足自定义配置,如评论方案的选取;修改blink内核下图像混合无效问题
## 一款简单素雅的博客主题
[Demo页面](http://vevlins.github.io)
风格简约,功能不少!
+ 归档
+ 标签、分类汇总
+ 站内搜索 (基于[hexo-generator-json-content](https://github.com/alexbruno/hexo-generator-json-content))
+ 评论(基于[gitment](https://github.com/imsun/gitment))
+ 关于页面
+ 版权声明## 安装说明
+ 安装 hexo-theme-toki到themes文件夹
``` bash
git clone [email protected]:Vevlins/hexo-theme-toki.git
```
+ 安装 [hexo-generator-json-content](https://github.com/alexbruno/hexo-generator-json-content)
``` bash
npm i -S hexo-generator-json-content
```
并且在站点config下添加配置
``` yml
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: false
```
+ 关闭hexo自带代码高亮
``` yml
highlight:
enable: false
```
+ 配置选项,具体见主题内config文件。包括gitment所需要的信息。
+ 如需要about页面,必须执行 `hexo new page` 并将layout指定为about。分类汇总`category_archive`和标签汇总`category_archive`也需要执行同样的操作。
+ 版权声明默认为原创声明,如需要转载声明,需要在文章md文件内添加Front-matter如下:
``` yml
citation:
author: dillinger
link: https://dillinger.io
```