|
1 |
| -<div align="right">官方文档: |
2 |
| -<a title="Chinese" href="docs/zh-CN/README.md">:cn:</a> |
3 |
| -<a title="Russian" href="docs/ru/README.md">:ru:</a></div> |
| 1 | +<h2 align="center"> |
| 2 | + <a href="https://www.incoder.org">BladeCode</a> |
| 3 | +</h2> |
4 | 4 |
|
5 |
| -# <div align="center"><a title="Go to homepage" href="https://theme-next.org"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/theme-next/hexo-theme-next/master/source/images/logo.svg?sanitize=true"></a> e x T</div> |
| 5 | + |
6 | 6 |
|
7 |
| -<p align="center">«NexT» is a high quality elegant <a href="http://hexo.io">Hexo</a> theme. It is crafted from scratch, with love.</p> |
8 |
| - |
9 |
| -<p align="center"> |
10 |
| -<a href="https://www.codacy.com/app/theme-next/hexo-theme-next?utm_source=github.com&utm_medium=referral&utm_content=theme-next/hexo-theme-next&utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/72f7fe7609c2438a92069f448e5a341a" title="Project Grade"></a> |
11 |
| -<a href="https://travis-ci.org/theme-next/hexo-theme-next?branch=master"><img src="https://travis-ci.org/theme-next/hexo-theme-next.svg?branch=master" title="Travis CI [Linux]"></a> |
12 |
| -<a href="https://crwd.in/theme-next"><img src="https://d322cqt584bo4o.cloudfront.net/theme-next/localized.svg" title="Add or improve translation in few seconds!"></a> |
13 |
| -<a href="https://github.com/theme-next/hexo-theme-next/issues"><img src="http://isitmaintained.com/badge/open/theme-next/hexo-theme-next.svg" title="Percentage of issues still open"></a> |
14 |
| -<a href="https://github.com/theme-next/hexo-theme-next/issues"><img src="http://isitmaintained.com/badge/resolution/theme-next/hexo-theme-next.svg" title="Average time to resolve an issue"></a> |
15 |
| -<a href="https://github.com/theme-next/hexo-theme-next/releases"><img src="https://badge.fury.io/gh/theme-next%2Fhexo-theme-next.svg"></a> |
16 |
| -<a href="http://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E%3D%203.5.0-blue.svg"></a> |
17 |
| -<a href="https://github.com/theme-next/hexo-theme-next/blob/master/LICENSE.md"><img src="https://img.shields.io/badge/license-%20AGPL-blue.svg"></a> |
18 |
| -</p> |
19 |
| - |
20 |
| -## 前言 |
21 |
| -这是一个fork项目,在[源项目](https://github.com/theme-next/hexo-theme-next)的基础上,集成了以下第三方常用的工具库 |
22 |
| -* ~~[theme-next-algolia-instant-search](https://github.com/theme-next/theme-next-algolia-instant-search):即时搜索~~ |
23 |
| -* ~~[theme-next-bookmark](https://github.com/theme-next/theme-next-bookmark):书签,用户可以保存他们的阅读位置~~ |
24 |
| -* ~~[theme-next-fancybox3](https://github.com/theme-next/theme-next-fancybox3):图片预览~~ |
25 |
| -* ~~[theme-next-reading-progress](https://github.com/theme-next/theme-next-reading-progress):页面阅读进度加载~~ |
26 |
| -* ~~[theme-next-pace](https://github.com/theme-next/theme-next-pace):顶部装载栏~~ |
27 |
| -* ~~[theme-next-pangu](https://github.com/theme-next/theme-next-pangu):字符间空格处理~~ |
28 |
| -* [theme-next-pdf](https://github.com/theme-next/theme-next-pdf):PDF文件预览支持 |
29 |
| - |
30 |
| -## 使用 |
31 |
| - |
32 |
| -### 安装主题 |
33 |
| -在你的hexo项目中,安装已集成好的[NexT](https://github.com/RootCluster/hexo-theme-next)主题 |
34 |
| -```bash |
35 |
| -# 在你的 blog 根目录下执行 |
36 |
| -git clone https://github.com/RootCluster/hexo-theme-next.git themes/next |
37 |
| -``` |
38 |
| - |
39 |
| -### 个性化配置 |
40 |
| -在你的 blog 项目的根目录 `source/_data`中,创建`next.yml` |
41 |
| - |
42 |
| -copy`<your blog>/themes/next/`路径下`_config.yml`的内容到`<your blog>/source/_data/`路径的`next.yml`文件中 |
43 |
| - |
44 |
| -以下配置均在`next.yml`文件中 |
45 |
| -* algolia-instant-search |
46 |
| -``` |
47 |
| -algolia_search: |
48 |
| -enable: true |
49 |
| -``` |
50 |
| -* bookmark |
51 |
| -``` |
52 |
| -bookmark: true |
53 |
| -``` |
54 |
| -* fancybox |
55 |
| -``` |
56 |
| -fancybox: true |
57 |
| -``` |
58 |
| -* reading_progress |
59 |
| -``` |
60 |
| -reading_progress: |
61 |
| -enable: true |
62 |
| -color: "#37c6c0" |
63 |
| -height: 2px |
64 |
| -``` |
65 |
| -* pace |
66 |
| -``` |
67 |
| -pace: true |
68 |
| -``` |
69 |
| -* pangu |
70 |
| -``` |
71 |
| -pangu: true |
72 |
| -``` |
73 |
| -* pdf |
74 |
| -``` |
75 |
| -# PDF Support |
76 |
| -pdf: |
77 |
| -enable: true |
78 |
| -
|
79 |
| -# Default(true) will load PDFObject/PDF.js script on demand |
80 |
| -# That is it only render those page who has 'pdf: true' in Front Matter. |
81 |
| -# If you set it to false, it will load PDFObject/PDF.js srcipt EVERY PAGE. |
82 |
| -per_page: true |
83 |
| -
|
84 |
| -height: 500px |
85 |
| -
|
86 |
| -pdfobject: |
87 |
| -# Use 2.1.1 as default, cloudflare as default CDN |
88 |
| -cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js |
89 |
| -``` |
90 |
| - |
91 |
| -## 更新 |
92 |
| -* 具体操作查看[Git 子仓库管理](https://incoder.org/2018/05/17/git-sub/#git-subtree-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C-%E9%87%8D%E7%82%B9) |
93 |
| -* [Github上fork项目后保持与源项目更新](https://segmentfault.com/a/1190000008401427) |
| 7 | +### Thanks |
| 8 | +1. [Node](https://nodejs.org) |
| 9 | +2. [Hexo](https://hexo.io) |
| 10 | +3. [Next](https://github.com/theme-next/hexo-theme-next) |
0 commit comments