diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2305854
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+# editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 2
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..46b2439
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,4 @@
+{
+ "extends": "@next-theme",
+ "root": true
+}
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..ac1222d
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+test/* linguist-vendored
diff --git a/.gitignore b/.gitignore
index 452c2fa..ee3f9d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
.DS_Store
-node_modules
-tmp
-source/CNAME
-.idea/*
+.idea/
+*.log
+*.iml
+yarn.lock
+package-lock.json
+node_modules/
diff --git a/.stylintrc b/.stylintrc
new file mode 100644
index 0000000..724a26c
--- /dev/null
+++ b/.stylintrc
@@ -0,0 +1,45 @@
+{
+ "blocks": false,
+ "brackets": "always",
+ "colons": "always",
+ "colors": "always",
+ "commaSpace": "always",
+ "commentSpace": "always",
+ "cssLiteral": "never",
+ "customProperties": [],
+ "depthLimit": false,
+ "duplicates": true,
+ "efficient": "always",
+ "exclude": [],
+ "extendPref": false,
+ "globalDupe": false,
+ "groupOutputByFile": true,
+ "indentPref": false,
+ "leadingZero": "never",
+ "maxErrors": false,
+ "maxWarnings": false,
+ "mixed": false,
+ "mixins": [],
+ "namingConvention": "lowercase-dash",
+ "namingConventionStrict": false,
+ "none": "never",
+ "noImportant": true,
+ "parenSpace": false,
+ "placeholders": "always",
+ "prefixVarsWithDollar": "always",
+ "quotePref": false,
+ "reporterOptions": {
+ "columns": ["lineData", "severity", "description", "rule"],
+ "columnSplitter": " ",
+ "showHeaders": false,
+ "truncate": true
+ },
+ "semicolons": "always",
+ "sortOrder": "alphabetical",
+ "stackedProperties": false,
+ "trailingWhitespace": "never",
+ "universal": false,
+ "valid": true,
+ "zeroUnits": "never",
+ "zIndexNormalize": false
+}
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 9ce4d32..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright (c) 2013 Tommy Chen
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..f2f7f65
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,59 @@
+#
Detail attribution information for «NexT»
+ is contained in the 'docs/AUTHORS.md' file.
+
+ This program is free software; you can redistribute it and/or modify
+it under the terms of the [GNU Affero General Public License version 3][AGPL3]
+as published by the Free Software Foundation with the addition of the
+following permission added to [Section 15][AGPL3-15] as permitted in [Section 7(a)][AGPL3-7]:
+FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY «NEXT»,
+«NEXT» DISCLAIMS THE WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
+
+ This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU Affero General Public License for more details.
+You should have received a copy of the GNU Affero General Public License
+along with this program; if not, see: https://www.gnu.org/licenses/agpl.txt
+
+ In accordance with [Section 7(b)][AGPL3-7] of the GNU Affero General Public License:
+
+* a) It is not necessary to specify copyright in each source file of
+ this program because GitHub fully save commits of all modified files
+ with their authors and provides to see for this changes publicly.
+
+* b) For any part of the covered work in which the copyright not specified,
+ will mean this part owned by «NexT» in accord with terms in this file.
+
+* c) A covered work must retain «NexT» official website link
+ (https://theme-next.js.org) in footer section of every website created,
+ modified or manipulated by using «NexT».
+ «NexT» theme configuration must be:
+ ```yml
+ footer:
+ theme:
+ enable: true
+ ```
+ Collaborators, best contributors and all authors specified in the
+ '[docs/AUTHORS.md][AUTHORS]' file of «NexT» repository under the
+ 'https://github.com/next-theme' organization can ignore theme info link
+ requirements.
+
+Anyone can be released from the requirements of the license by purchasing
+a commercial license. Buying such a license is mandatory as soon as you
+develop commercial activities involving the «NexT» software without
+disclosing the source code of your own applications.
+These activities include:
+ 1. Access to private repository with various premium features.
+ 2. Priority support for resolve all possible issues with «NexT».
+ 3. Priority support for implement all possible features to «NexT».
+
+
-A brand new default theme for [[Hexo](https://hexo.io)].
-[Preview](http://Ruffianjiang.github.io/) | [中文说明文档](README.cn.md) | [iconfont](http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html)
+
-
+
-## Features
+# NexT
-- Multiple languages support
-- Comment support
-- Tags page
-- Categories page
-- Social Media
+> «NexT» is a high quality elegant [Hexo](https://hexo.io) theme. It is crafted from scratch with love.
-## Skins
+[](https://www.npmjs.com/package/hexo-theme-next)
+[](https://hexo.io)
+[](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
+[](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
+[](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ATester)
+[](https://www.jsdelivr.com/package/npm/hexo-theme-next)
-
+## Live Preview
-
+
-
+## Installation
-
+If you're using Hexo 5.0 or later, the simplest way to install is through npm:
-## Appearance
-
-[Home](http://Ruffianjiang.github.io/) |
-[Archives](http://Ruffianjiang.github.io/archives/) |
-[Categories](http://Ruffianjiang.github.io/categories/) |
-[Tags](http://Ruffianjiang.github.io/tags/) |
-[Repository](http://Ruffianjiang.github.io/repository/) |
-[Books](http://Ruffianjiang.github.io/books/) |
-[Links](http://Ruffianjiang.github.io/links/) |
-[About](http://Ruffianjiang.github.io/about/)
+```sh
+$ cd hexo-site
+$ npm install hexo-theme-next
+```
-## Quick start
-> 在 Hexo中有两份主要的配置文件,其名称都是 _config.yml。 其中,一份位于站点根目录下,主要包含 Hexo 本身的配置;另一份位于主题目录下,这份配置由主题作者提供,主要用于配置主题相关的选项。为了描述方便,在以下说明中,将前者称为站点配置文件, 后者称为主题配置文件。
+Or you can clone the entire repository:
-第一步、站点根目录下执行如下命令,下载主题
-```shell
-git clone https://github.com/Ruffianjiang/hexo-theme-dawn.git themes/dawn
+```sh
+$ cd hexo-site
+$ git clone https://github.com/next-theme/hexo-theme-next themes/next
```
-需要更新时,使用如下命令
-```shell
-cd themes/dawn
-git pull
-```
+See [detailed installation instructions][docs-installation-url] if you want any other variant.
-第二步、主题目录下配置文件`_config.yml`复制一份到站点目录下,重命名为`_config.dawn.yml`
-> `_config.yml`和`_config.dawn.yml.light`内容一致,为轻量配置,开箱即用,建议初次安装使用此配置,`_config.dawn.yml.all`为全部配置,需要安装一些插件,推荐部署好站点后,需要定制插件时,作为参考使用
+After the installation, open Hexo config file and set `theme` variable to `next`.
-第三步、打开站点目录下的配置文件`_config.yml`,找到`theme`字段,将其值更改为`dawn`
-```yaml
-theme: dawn
+```yml
+theme: next
```
-第四步、编译并启动
-```shell
-hexo clean & hexo generate & hexo serve
-```
+## Configuration
-访问`localhost:4000`现在来看看你的博客吧~~
+At present, NexT encourages users to use the [Alternate Theme Config][docs-configuration-url] to configure NexT. And it's easy to customize the layout or style of NexT using [Custom Files][docs-custom-files-url].
-其他定制功能,请访问 [wiki](https://github.com/Ruffianjiang/hexo-theme-dawn/wiki)
+It is not recommended to directly modify any files in the NexT theme. Because this may cause errors (e.g. merge conflicts), and the modified files may be discarded when upgrading the theme.
+However, you can bypass merge conflicts (error message like **«Commit your changes or stash them before you can merge»**) by using the `Commit`, `Stash` or `Reset` commands for local changes. See [here](https://stackoverflow.com/a/15745424/5861495) how to do it.
+## Plugins
-## Install plugin
+Plugins extend and expand the functionality of NexT. There are two types of plugins: core plugins and third-party plugins. The core plugins are required by the basic functions of NexT. Third-party plugins provide a large number of optional features.
-### [hexo-wordcount](https://github.com/willin/hexo-wordcount)
+Configuring these plugins is very easy. For example, if you want to enable `pjax` on your site, just set `pjax` to `true` in NexT config file:
+```yml
+# Easily enable fast Ajax navigation on your website.
+# For more information: https://github.com/next-theme/pjax
+pjax: true
```
-npm install hexo-wordcount --save
-```
-### [hexo-generator-json-content](https://github.com/alexbruno/hexo-generator-json-content)
-```
-npm install hexo-generator-json-content --save
-```
-### [hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed)
+### Configure CDN
-```
-npm install hexo-generator-feed --save
-```
-### [hexo-generator-sitemap](https://github.com/hexojs/hexo-generator-sitemap)
+Third-party plugins are loaded from [jsDelivr](https://www.jsdelivr.com) CDN by default. We also provide other optional CDNs, including the famous [UNPKG](https://unpkg.com) and [CDNJS](https://cdnjs.com).
-```
-npm install hexo-generator-sitemap --save
-```
-### [hexo-generator-baidu-sitemap](https://github.com/coneycode/hexo-generator-baidu-sitemap)
+For example, if you want to use `unpkg` instead of `jsdelivr` as the default CDN provider, you need to edit the following settings in NexT config file:
+```yml
+vendors:
+ # ...
+ # Some contents...
+ # ...
+ plugins: unpkg
```
-npm install hexo-generator-baidu-sitemap --save
-```
-## Data files
-Sometimes you may need to use some data in templates which is not directly available in your posts, or you want to reuse the data elsewhere. For such use cases, Hexo 3 introduced the new Data files. This feature loads YAML or JSON files in source/_data folder so you can use them in your site.
-
-For example, add links.yml in source/_data folder.
-### links data
+## Update
-add links.yml in source/_data folder.
+A new version of NexT will be released every month. Please read the [release notes][docs-release-url] before updating the theme. You can update NexT by the following command.
-The format of the link :
+Install the latest version throuth npm:
+```sh
+$ cd hexo-site
+$ npm install hexo-theme-next@latest
```
-Name:
- link: http://example.com
- avatar: http://example.com/avatar.png
- desc: description
+
+Or update to the latest master branch:
+
+```sh
+$ cd themes/next
+$ git pull
```
-Add a number of links, we just need to repeat the format according to the above.
-## Blog optimization
+**If you want to update from v5.x / v7.x to the latest version, read [this][docs-upgrade-url].**
-### [hexo-neat](https://github.com/rozbo/hexo-neat)
+## Feedback
-> auto Minify html、js、css and make it neat
+* Visit the [Awesome NexT][awesome-next-url] list to share plugins and tutorials with other users.
+* Join our [GitHub discussions][discussions-url] / [Gitter][gitter-url] chats.
+* [Add or improve translation][i18n-url] in few seconds.
+* Report a bug in [GitHub Issues][issues-bug-url].
+* Request a new feature on [GitHub][issues-feat-url].
+* Vote for [popular feature requests][feat-req-vote-url].
-```
-npm install hexo-neat --save
-```
+## Contributing
-You can configure this plugin in `_config.yml`.
+We welcome you to join the development of NexT. Please see [contributing document][contributing-document-url]. 🤗
-```
-# hexo-neat
-neat_enable: true
-neat_html:
- enable: true
- exclude:
-neat_css:
- enable: true
- exclude:
- - '*.min.css'
-neat_js:
- enable: true
- mangle: true
- output:
- compress:
- exclude:
- - '*.min.js'
-```
+Also, we welcome Issue or PR to our [official-plugins][official-plugins-url].
-### [hexo-baidu-url-submit](https://github.com/huiwang/hexo-baidu-url-submit)
+## Contributors
-```
-npm install hexo-baidu-url-submit --save
-```
+[![Contributors][contributors-image]][contributors-url]
-### [hexo-translate-title](https://github.com/cometlj/hexo-translate-title)
-> translate the chinese title of Hexo blog to english words automatially
+## Thanks
-```
-npm install hexo-translate-title --save
-```
+«NexT» send special thanks to these great services that sponsor our core infrastructure:
-You can configure this plugin in `_config.yml`.
+
-```yml
-translate_title:
- translate_way: google #google | baidu | youdao
- youdao_api_key: XXX
- youdao_keyfrom: XXX
- is_need_proxy: true #true | false
- proxy_url: http://localhost:8123
-```
-## Mathjax Support
+> GitHub allows us to host the Git repository and run the test suite.
-### [hexo-renderer-markdown-it-plus](https://github.com/CHENXCHEN/hexo-renderer-markdown-it-plus)
+
-install
+> Netlify allows us to distribute the documentation.
-```
-npm un hexo-renderer-marked --save
-npm i hexo-renderer-markdown-it-plus --save
-```
+
-You can configure this plugin in `_config.yml`.
+> Crowdin allows us to translate conveniently the documentation.
-```
-markdown_it_plus:
- highlight: true
- html: true
- xhtmlOut: true
- breaks: true
- langPrefix:
- linkify: true
- typographer:
- quotes: “”‘’
- plugins:
- - plugin:
- name: markdown-it-katex
- enable: true
- - plugin:
- name: markdown-it-mark
- enable: false
-```
+
-Article enable mathjax
+> Thanks jsDelivr for providing public CDN service.
-```
-title: Hello World
-mathjax: true
-```
+[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
+[docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html
+[docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html
+[docs-release-url]: https://github.com/next-theme/hexo-theme-next/releases
+[docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html
+
+[awesome-next-url]: https://github.com/next-theme/awesome-next
+[discussions-url]: https://github.com/next-theme/hexo-theme-next/discussions
+[gitter-url]: https://gitter.im/hexo-next
+[i18n-url]: https://crowdin.com/project/hexo-theme-next
+
+[issues-bug-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md
+[issues-feat-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md
+[feat-req-vote-url]: https://github.com/next-theme/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22
+[contributing-document-url]: https://github.com/next-theme/hexo-theme-next/blob/master/.github/CONTRIBUTING.md
+[official-plugins-url]: https://github.com/next-theme
+[contributors-image]: https://raw.githubusercontent.com/next-theme/contributors/master/contributors.svg
+[contributors-url]: https://github.com/next-theme/hexo-theme-next/blob/master/docs/AUTHORS.md
diff --git a/_config.dawn.all.yml b/_config.dawn.all.yml
deleted file mode 100644
index a993a53..0000000
--- a/_config.dawn.all.yml
+++ /dev/null
@@ -1,242 +0,0 @@
-# menu
-menu:
- Home: .
- Archives: archives # 归档
- Categories: categories # 分类
- Tags: tags # 标签
- Repository: repository # github repositories
- Books: books # 豆瓣书单
- Links: links # 友链
- About: abouts # 关于
-
-# Enable/Disable menu icons
-menu_icons:
- enable: true # 是否启用导航菜单图标
- home: icon-home-fill
- archives: icon-archives-fill
- categories: icon-folder
- tags: icon-tags
- repository: icon-project
- books: icon-book-fill
- links: icon-friendship
- about: icon-cup-fill
-
-# rss
-rss: /atom.xml
-
-# Site
-site:
- logo:
- enabled: true
- width: 40
- height: 40
- url: ../asset/images/logo.png
- title: Hexo # 页面title
- favicon: /favicon.png
- board:
# 站点公告
- copyright: false # 底部版权信息
-
-# config
-config:
- skin: theme-black # 主题颜色 theme-black theme-blue theme-green theme-purple
- layout: main-center # 布局方式 main-left main-center main-right
- toc: true # 是否开启文章章节目录导航
- menu_highlight: false # 是否开启当前菜单高亮显示
- thumbnail: false # enable posts thumbnail, options: true, false
- excerpt_link: Read More
-
-# Pagination
-pagination:
- number: false
- prev:
- alwayShow: true
- next:
- alwayShow: true
-
-# Sidebar
-sidebar: right
-widgets:
- - board
- - category
- - tag
- - tagcloud
- - archive
- - recent_posts
-
-# display widgets at the bottom of index pages (pagination == 2)
-index_widgets:
-# - category
-# - tagcloud
-# - archive
-
-# widget behavior
-archive_type: 'monthly'
-show_count: true
-
-# Fancybox
-fancybox: false
-
-# Search
-search:
- insight: true # you need to install `hexo-generator-json-content` before using Insight Search
- baidu: false # you need to disable other search engines to use Baidu search, options: true, false
-
-# Donate
-donate:
- enable: true
- # 微信打赏
- wechatpay:
- qrcode: images/donate/wechatpayimg.png
- title: 微信支付
- # 支付宝打赏
- alipay:
- qrcode: images/donate/alipayimg.png
- title: 支付宝
-
-# Share
-# weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin
-share:
- enable: true # 是否启用分享
- sites: weibo,qq,wechat,facebook,twitter # PC端显示的分享图标
- mobile_sites: weibo,qq,qzone # 移动端显示的分享图标
-
-# Github
-github:
- username: *
-
-# Comment
-# Gitment
-# Introduction: https://imsun.net/posts/gitment-introduction/
-comment:
- type: youyan
- disqus: # enter disqus shortname here
- youyan:
- uid: 1783844 # enter youyan uid
- livere:
- uid: # enter youyan uid
- gitment:
- githubID:
- repo:
- ClientID:
- ClientSecret:
- lazy: false
- gitalk: # gitalk. https://gitalk.github.io/
- owner: #必须. GitHub repository 所有者,可以是个人或者组织。
- admin: #必须. GitHub repository 的所有者和合作者 (对这个 repository 有写权限的用户)。
- repo: #必须. GitHub repository.
- ClientID: #必须. GitHub Application Client ID.
- ClientSecret: #必须. GitHub Application Client Secret.
- valine: # Valine. https://valine.js.org
- appid: # your leancloud application appid
- appkey: # your leancloud application appkey
- notify: false # mail notifier , https://github.com/xCss/Valine/wiki
- verify: false # Verification code
- placeholder: Just go go # comment box placeholder
- avatar: mm # gravatar style
- meta: nick,mail,link # custom comment header
- pageSize: 10 # pagination size
- visitor: false # Article reading statistic https://valine.js.org/visitor.html
-
-# douban 豆瓣书单
-# Api:
- # https://developers.douban.com/wiki/?title=book_v2 图书
- # https://developers.douban.com/wiki/?title=movie_v2 电影
-# books:
- # https://api.douban.com/v2/book/user/:name/collections?start=0&count=100 个人书单列表
-# movies:
- # https://api.douban.com/v2/movie/in_theaters 正在上映的电影
- # https://api.douban.com/v2/movie/coming_soon 即将上映的电影
- # https://api.douban.com/v2/movie/subject/:id 单个电影信息
- # https://api.douban.com/v2/movie/search?q={text} 电影搜索
-douban:
- user: # 豆瓣用户名
- start: 0 # 从哪一条记录开始
- count: 100 # 获取豆瓣书单数据条数
-
-# PV
-pv:
- busuanzi:
- enable: false # 不蒜子统计
- leancloud:
- enable: false # leancloud统计
- app_id: # leancloud
- app_key: # leancloud
-
-# wordcount
-postCount:
- enable: false
- wordcount: true # 文章字数统计
- min2read: true # 阅读时长预计
-
-# Plugins
-plugins:
- google_analytics: # enter the tracking ID for your Google Analytics
- google_site_verification: # enter Google site verification code
- baidu_analytics: # enter Baidu Analytics hash key
- tencent_analytics:
-
-# Miscellaneous
-twitter:
-google_plus:
-fb_admins:
-fb_app_id:
-
-# profile
-profile:
- enabled: true # Whether to show profile bar
- avatar: asset/images/avatar.png
- gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
- author: 昵称
- author_title: Web Developer & Designer
- author_description: 个人简介。
- location: Shenzhen, China
- follow: https://github.com/cofess
- # Social Links
- social:
- links:
- github: https://github.com/cofess
- weibo: http://weibo.com/cofess
- twitter: https://twitter.com/iwebued
- # facebook: /
- # dribbble: /
- behance: https://www.behance.net/cofess
- rss: atom.xml
- link_tooltip: true # enable the social link tooltip, options: true, false
- # My Skills
- skills:
- Git: ★★★☆☆
- Gulp: ★★★☆☆
- Javascript: ★★★☆☆
- HTML+CSS: ★★★☆☆
- Bootstrap: ★★★☆☆
- ThinkPHP: ★★★☆☆
- 平面设计: ★★★☆☆
- # My Personal Links
- links:
- Github: https://github.com/cofess
- Blog: http://blog.cofess.com
- 微博: http://weibo.com/cofess
- 花瓣: http://huaban.com/cofess
- Behance: https://www.behance.net/cofess
- # My Personal Labels
- labels:
- - 前端
- - 前端开发
- - 前端重构
- - Web前端
- - 网页重构
- # My Personal Works
- works:
- name:
- link: http://www.cnblogs.com/lossingdawn/
- date: 2016
- # My Personal Projects
- projects:
- Ruffianjiang/hexo-theme-dawn: https://github.com/Ruffianjiang/hexo-theme-dawn
diff --git a/_config.yml b/_config.yml
index 38d9cc0..540ecdf 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,278 +1,969 @@
-# menu
+# ===============================================================
+# It's recommended to use Alternate Theme Config to configure NexT
+# Modifying this file may result in merge conflict
+# See: https://theme-next.js.org/docs/getting-started/configuration
+# ===============================================================
+
+# ---------------------------------------------------------------
+# Theme Core Configuration Settings
+# See: https://theme-next.js.org/docs/theme-settings/
+# ---------------------------------------------------------------
+
+# Allow to cache content generation.
+cache:
+ enable: true
+
+# Remove unnecessary files after hexo generate.
+minify: false
+
+# Define custom file paths.
+# Create your custom files in site directory `source/_data` and uncomment needed files below.
+custom_file_path:
+ #head: source/_data/head.njk
+ #header: source/_data/header.njk
+ #sidebar: source/_data/sidebar.njk
+ #postMeta: source/_data/post-meta.njk
+ #postBodyEnd: source/_data/post-body-end.njk
+ #footer: source/_data/footer.njk
+ #bodyEnd: source/_data/body-end.njk
+ #variable: source/_data/variables.styl
+ #mixin: source/_data/mixins.styl
+ #style: source/_data/styles.styl
+
+
+# ---------------------------------------------------------------
+# Scheme Settings
+# ---------------------------------------------------------------
+
+# Schemes
+scheme: Muse
+#scheme: Mist
+#scheme: Pisces
+#scheme: Gemini
+
+# Dark Mode
+darkmode: false
+
+
+# ---------------------------------------------------------------
+# Site Information Settings
+# ---------------------------------------------------------------
+
+favicon:
+ small: /images/favicon-16x16-next.png
+ medium: /images/favicon-32x32-next.png
+ apple_touch_icon: /images/apple-touch-icon-next.png
+ safari_pinned_tab: /images/logo.svg
+ #android_manifest: /manifest.json
+
+# Custom Logo (Warning: Do not support scheme Mist)
+custom_logo: #/uploads/custom-logo.jpg
+
+# Creative Commons 4.0 International License.
+# See: https://creativecommons.org/about/cclicenses/
+# Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
+# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
+# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
+creative_commons:
+ license: by-nc-sa
+ sidebar: false
+ post: false
+ language:
+
+
+# ---------------------------------------------------------------
+# Menu Settings
+# ---------------------------------------------------------------
+
+# Usage: `Key: /link/ || icon`
+# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive.
+# Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon.
+# External url should start with http:// or https://
menu:
-# Home: .
-# Archives: archives # 归档
-# Categories: categories # 分类
-# Tags: tags # 标签
-# Repository: repository # github repositories
-# Links: links # 友链
-# About: abouts # 关于
-
-# http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html
-# Enable/Disable menu icons
-menu_icons:
- enable: true # 是否启用导航菜单图标
- home: icon-home-fill
- archives: icon-archives-fill
- categories: icon-folder
- tags: icon-tags
- repository: icon-project
- links: icon-friendship
- about: icon-cup-fill
-
-# rss
-rss: /atom.xml
-
-# abbrlink config
-abbrlink:
- alg: crc16 #support crc16(default) and crc32
- rep: hex #support dec(default) and hex
-
-# Site
-site:
- logo:
- enabled: true
- width: 40
- height: 40
- url: images/logo.png
- title: Hexo # 页面title
- favicon: /favicon.ico
- board:
阿里云专属优惠 # 站点公告
- copyright: true # 底部版权信息
- coding: false # 是否展示coding标识,用于coding的审核
-
-# config
-config:
- skin: theme-black # 主题颜色 theme-black theme-blue theme-green theme-purple
- layout: main-center # 布局方式 main-left main-center main-right
- toc: true # 是否开启文章章节目录导航
- menu_highlight: true # 是否开启当前菜单高亮显示
- thumbnail: true # enable posts thumbnail, options: true, false
- excerpt_link: Read More
-
-# Pagination
-pagination:
- number: true
- prev:
- alwayShow: true
- next:
- alwayShow: true
+ #home: / || fa fa-home
+ #about: /about/ || fa fa-user
+ #tags: /tags/ || fa fa-tags
+ #categories: /categories/ || fa fa-th
+ #archives: /archives/ || fa fa-archive
+ #schedule: /schedule/ || fa fa-calendar
+ #sitemap: /sitemap.xml || fa fa-sitemap
+ #commonweal: /404/ || fa fa-heartbeat
+
+# Enable / Disable menu icons / item badges.
+menu_settings:
+ icons: true
+ badges: false
+
+
+# ---------------------------------------------------------------
+# Sidebar Settings
+# See: https://theme-next.js.org/docs/theme-settings/sidebar
+# ---------------------------------------------------------------
-# Sidebar
sidebar:
+ # Sidebar Position.
+ position: left
+ #position: right
+
+ # Manual define the sidebar width. If commented, will be default for:
+ # Muse | Mist: 320
+ # Pisces | Gemini: 240
+ #width: 300
+
+ # Sidebar Display (only for Muse | Mist), available values:
+ # - post expand on posts automatically. Default.
+ # - always expand for all pages automatically.
+ # - hide expand only when click on the sidebar toggle icon.
+ # - remove totally remove sidebar including sidebar toggle.
+ display: post
+
+ # Sidebar padding in pixels.
+ padding: 18
+ # Sidebar offset from top menubar in pixels (only for Pisces | Gemini).
+ offset: 12
+
+# Sidebar Avatar
+avatar:
+ # Replace the default image and set the url here.
+ url: #/images/avatar.gif
+ # If true, the avatar will be dispalyed in circle.
+ rounded: false
+ # If true, the avatar will be rotated with the cursor.
+ rotated: false
+
+# Posts / Categories / Tags in sidebar.
+site_state: true
+
+# Social Links
+# Usage: `Key: permalink || icon`
+# Key is the link label showing to end users.
+# Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon.
+social:
+ #GitHub: https://github.com/yourname || fab fa-github
+ #E-Mail: mailto:yourname@gmail.com || fa fa-envelope
+ #Weibo: https://weibo.com/yourname || fab fa-weibo
+ #Google: https://plus.google.com/yourname || fab fa-google
+ #Twitter: https://twitter.com/yourname || fab fa-twitter
+ #FB Page: https://www.facebook.com/yourname || fab fa-facebook
+ #StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow
+ #YouTube: https://youtube.com/yourname || fab fa-youtube
+ #Instagram: https://instagram.com/yourname || fab fa-instagram
+ #Skype: skype:yourname?call|chat || fab fa-skype
+
+social_icons:
enable: true
- widgets:
- - board
- - category
- - tag
- - tagcloud
- - archive
- - recent_posts
-
-# display widgets at the bottom of index pages (pagination == 2)
-index_widgets:
- - category
- - tagcloud
- - archive
-
-# widget behavior
-archive_type: 'monthly' #'monthly'
-show_count: true
-
-# Fancybox
-fancybox: true
-
-# _hmt 百度统计
-baiduHmt: false
-
-# Search
-search:
- insight: true # you need to install `hexo-generator-json-content` before using Insight Search
- baidu: false # you need to disable other search engines to use Baidu search
-
-# Donate
-donate:
- enable: true
- # 微信打赏
- wechatpay:
- qrcode: images/donate/wechatpayimg.png
- title: 微信支付
- # 支付宝打赏
- alipay:
- qrcode: images/donate/alipayimg.png
- title: 支付宝
-
-# Share
-# weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin
-share:
- enable: true # 是否启用分享
- sites: weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin # PC端显示的分享图标
- mobile_sites: weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin # 移动端显示的分享图标
-
-# Github
-github:
- username: Ruffianjiang # github username
-
-# Comment
-# Gitment
-# Introduction: https://imsun.net/posts/gitment-introduction/
-comment:
- type: livere # 启用哪种评论系统
- disqus: # enter disqus shortname here
- youyan:
- uid: # enter youyan uid
- livere:
- uid: # enter youyan uid
- gitment:
- githubID:
- repo:
- ClientID:
- ClientSecret:
- lazy: true
- gitalk: # gitalk. https://gitalk.github.io/
- owner: #必须. GitHub repository 所有者,可以是个人或者组织。
- admin: #必须. GitHub repository 的所有者和合作者 (对这个 repository 有写权限的用户)。
- repo: #必须. GitHub repository.
- ClientID: #必须. GitHub Application Client ID.
- ClientSecret: #必须. GitHub Application Client Secret.
- valine: # Valine. https://valine.js.org
- appid: # your leancloud application appid
- appkey: # your leancloud application appkey
- notify: false # mail notifier , https://github.com/xCss/Valine/wiki
- verify: false # Verification code
- placeholder: Just go go # comment box placeholder
- avatar: mm # gravatar style
- meta: nick,mail,link # custom comment header
- pageSize: 10 # pagination size
- visitor: false # Article reading statistic https://valine.js.org/visitor.html
-
-# PV
-pv:
- busuanzi:
- enable: true # 不蒜子统计
- cnzz:
- enable: false # cnzz统计
- web_id: # cnzz id
- leancloud:
- enable: false # leancloud统计,网站需备案
- app_id: # leancloud
- app_key: # leancloud
-
-# 首页文章列表超长省略
-# Automatically Excerpt. Not recommand.
-# Please use in the post to control excerpt accurately.
-auto_excerpt:
+ icons_only: false
+ transition: false
+
+# Blog rolls
+links_settings:
+ icon: fa fa-globe
+ title: Links
+ # Available values: block | inline
+ layout: block
+
+links:
+ #Title: https://example.com
+
+# Table of Contents in the Sidebar
+# Front-matter variable (unsupport wrap expand_all).
+toc:
enable: true
- length: 150
+ # Automatically add list number to toc.
+ number: true
+ # If true, all words will placed on next lines if header width longer then sidebar width.
+ wrap: false
+ # If true, all level of TOC in a post will be displayed, rather than the activated part of it.
+ expand_all: false
+ # Maximum heading depth of generated toc.
+ max_depth: 6
+
+# A button to open designated chat widget in sidebar.
+# Firstly, you need enable the chat service you want to activate its sidebar button.
+chat:
+ enable: false
+ #service: chatra
+ #service: tidio
+ icon: fa fa-comment # Icon name in Font Awesome, set false to disable icon.
+ text: Chat # Button text, change it as you wish.
+
+
+# ---------------------------------------------------------------
+# Footer Settings
+# See: https://theme-next.js.org/docs/theme-settings/footer
+# ---------------------------------------------------------------
+
+# Show multilingual switcher in footer.
+language_switcher: false
+
+footer:
+ # Specify the year when the site was setup. If not defined, current year will be used.
+ #since: 2020
+
+ # Icon between year and copyright info.
+ icon:
+ # Icon name in Font Awesome. See: https://fontawesome.com/icons
+ name: fa fa-heart
+ # If you want to animate the icon, set it to true.
+ animated: false
+ # Change the color of icon, using Hex Code.
+ color: "#ff0000"
+
+ # If not defined, `author` from Hexo `_config.yml` will be used.
+ copyright:
+
+ # Powered by Hexo & NexT
+ powered: true
+
+ # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http://www.beian.gov.cn
+ beian:
+ enable: false
+ icp:
+ # The digit in the num of gongan beian.
+ gongan_id:
+ # The full num of gongan beian.
+ gongan_num:
+ # The icon for gongan beian. See: http://www.beian.gov.cn/portal/download
+ gongan_icon_url:
+
+
+# ---------------------------------------------------------------
+# Post Settings
+# See: https://theme-next.js.org/docs/theme-settings/posts
+# ---------------------------------------------------------------
+
+# Automatically excerpt description in homepage as preamble text.
+excerpt_description: true
+
+# Read more button
+# If true, the read more button will be displayed in excerpt section.
+read_more_btn: true
+
+# Post meta display settings
+post_meta:
+ item_text: true
+ created_at: true
+ updated_at:
+ enable: true
+ another_day: true
+ categories: true
+
+# Post wordcount display settings
+# Dependencies: https://github.com/next-theme/hexo-word-counter
+symbols_count_time:
+ separated_meta: true
+ item_text_total: false
-# wordcount
-postCount:
+# Use icon instead of the symbol # to indicate the tag at the bottom of the post
+tag_icon: false
+
+# Donate (Sponsor) settings
+# Front-matter variable (unsupport animation).
+reward_settings:
+ # If true, a donate button will be displayed in every article by default.
+ enable: false
+ animation: false
+ #comment: Buy me a coffee
+
+reward:
+ #wechatpay: /images/wechatpay.png
+ #alipay: /images/alipay.png
+ #paypal: /images/paypal.png
+ #bitcoin: /images/bitcoin.png
+
+# Subscribe through Telegram Channel, Twitter, etc.
+# Usage: `Key: permalink || icon` (Font Awesome)
+follow_me:
+ #Twitter: https://twitter.com/username || fab fa-twitter
+ #Telegram: https://t.me/channel_name || fab fa-telegram
+ #WeChat: /images/wechat_channel.jpg || fab fa-weixin
+ #RSS: /atom.xml || fa fa-rss
+
+# Related popular posts
+# Dependencies: https://github.com/tea3/hexo-related-popular-posts
+related_posts:
+ enable: false
+ title: # Custom header, leave empty to use the default one
+ display_in_home: false
+ params:
+ maxCount: 5
+ #PPMixingRate: 0.0
+ #isDate: false
+ #isImage: false
+ #isExcerpt: false
+
+# Post edit
+# Easily browse and edit blog source code online.
+post_edit:
enable: false
- wordcount: true # 文章字数统计
- min2read: true # 阅读时长预计
-
-# Plugins
-plugins:
- google_analytics: # enter the tracking ID for your Google Analytics
- google_site_verification: # enter Google site verification code
- baidu_analytics: # enter Baidu Analytics hash key
- tencent_analytics:
-
-# Miscellaneous
-twitter:
-google_plus:
-fb_admins:
-fb_app_id:
-
-
-# hexo-neat 压缩
-neat_enable: true
-neat_html:
+ url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/ # Link for view source
+ #url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # Link for fork & edit
+
+# Show previous post and next post in post footer if exists
+# Available values: left | right | false
+post_navigation: left
+
+
+# ---------------------------------------------------------------
+# Custom Page Settings
+# See: https://theme-next.js.org/docs/theme-settings/custom-pages
+# ---------------------------------------------------------------
+
+# TagCloud settings for tags page.
+tagcloud:
+ min: 12 # Minimun font size in px
+ max: 30 # Maxium font size in px
+ amount: 200 # Total amount of tags
+ orderby: name # Order of tags
+ order: 1 # Sort order
+
+# Google Calendar
+# Share your recent schedule to others via calendar page.
+calendar:
+ calendar_id: # Your Google account E-Mail
+ api_key:
+ orderBy: startTime
+ showLocation: false
+ offsetMax: 72 # Time Range
+ offsetMin: 4 # Time Range
+ showDeleted: false
+ singleEvents: true
+ maxResults: 250
+
+
+# ---------------------------------------------------------------
+# Misc Theme Settings
+# See: https://theme-next.js.org/docs/theme-settings/miscellaneous
+# ---------------------------------------------------------------
+
+# Preconnect CDN for fonts and plugins.
+# For more information: https://www.w3.org/TR/resource-hints/#preconnect
+preconnect: false
+
+# Set the text alignment in posts / pages.
+text_align:
+ # Available values: start | end | left | right | center | justify | justify-all | match-parent
+ desktop: justify
+ mobile: justify
+
+# Reduce padding / margin indents on devices with narrow width.
+mobile_layout_economy: false
+
+# Android Chrome header panel color ($brand-bg / $headband-bg => $black-deep).
+android_chrome_color: "#222"
+
+codeblock:
+ # Code Highlight theme
+ # All available themes: https://theme-next.js.org/highlight/
+ theme:
+ light: default
+ dark: tomorrow-night
+ prism:
+ light: prism
+ dark: prism-dark
+ # Add copy button on codeblock
+ copy_button:
+ enable: false
+ # Available values: default | flat | mac
+ style:
+
+back2top:
enable: true
- exclude:
-neat_css:
+ # Back to top in sidebar.
+ sidebar: false
+ # Scroll percent label in b2t button.
+ scrollpercent: false
+
+# Reading progress bar
+reading_progress:
+ enable: false
+ # Available values: top | bottom
+ position: top
+ color: "#37c6c0"
+ height: 3px
+
+# Bookmark Support
+bookmark:
+ enable: false
+ # Customize the color of the bookmark.
+ color: "#222"
+ # If auto, save the reading progress when closing the page or clicking the bookmark-icon.
+ # If manual, only save it by clicking the bookmark-icon.
+ save: auto
+
+# `Follow me on GitHub` banner in the top-right corner.
+github_banner:
+ enable: false
+ permalink: https://github.com/yourname
+ title: Follow me on GitHub
+
+
+# ---------------------------------------------------------------
+# Font Settings
+# ---------------------------------------------------------------
+# Find fonts on Google Fonts (https://fonts.google.com)
+# All fonts set here will have the following styles:
+# light | light italic | normal | normal italic | bold | bold italic
+# Be aware that setting too much fonts will cause site running slowly
+# ---------------------------------------------------------------
+# Web Safe fonts are recommended for `global` (and `title`):
+# Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS
+# ---------------------------------------------------------------
+
+font:
+ enable: false
+
+ # Uri of fonts host, e.g. https://fonts.googleapis.com (Default).
+ host:
+
+ # Font options:
+ # `external: true` will load this font family from `host` above.
+ # `family: Times New Roman`. Without any quotes.
+ # `size: x.x`. Use `em` as unit. Default: 1 (16px)
+
+ # Global font settings used for all elements inside .
+ global:
+ external: true
+ family: Lato
+ size:
+
+ # Font settings for site title (.site-title).
+ title:
+ external: true
+ family:
+ size:
+
+ # Font settings for headlines (
to
).
+ headings:
+ external: true
+ family:
+ size:
+
+ # Font settings for posts (.post-body).
+ posts:
+ external: true
+ family:
+
+ # Font settings for and code blocks.
+ codes:
+ external: true
+ family:
+
+
+# ---------------------------------------------------------------
+# SEO Settings
+# See: https://theme-next.js.org/docs/theme-settings/seo
+# ---------------------------------------------------------------
+
+# If true, site-subtitle will be added to index page.
+# Remember to set up your site-subtitle in Hexo `_config.yml` (e.g. subtitle: Subtitle)
+index_with_subtitle: false
+
+# Automatically add external URL with Base64 encrypt & decrypt.
+exturl: false
+
+# Google Webmaster tools verification.
+# See: https://developers.google.com/search
+google_site_verification:
+
+# Bing Webmaster tools verification.
+# See: https://www.bing.com/webmasters
+bing_site_verification:
+
+# Yandex Webmaster tools verification.
+# See: https://webmaster.yandex.ru
+yandex_site_verification:
+
+# Baidu Webmaster tools verification.
+# See: https://ziyuan.baidu.com/site
+baidu_site_verification:
+
+
+# ---------------------------------------------------------------
+# Third Party Plugins & Services Settings
+# See: https://theme-next.js.org/docs/third-party-services/
+# More plugins: https://github.com/next-theme/awesome-next
+# You may need to install the corresponding dependency packages
+# ---------------------------------------------------------------
+
+# Math Formulas Render Support
+# Warning: Please install / uninstall the relevant renderer according to the documentation.
+# See: https://theme-next.js.org/docs/third-party-services/math-equations
+# Server-side plugin: https://github.com/next-theme/hexo-filter-mathjax
+math:
+ # Default (false) will load mathjax / katex script on demand.
+ # That is it only render those page which has `mathjax: true` in front-matter.
+ # If you set it to true, it will load mathjax / katex srcipt EVERY PAGE.
+ every_page: false
+
+ mathjax:
+ enable: false
+ # Available values: none | ams | all
+ tags: none
+
+ katex:
+ enable: false
+ # See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
+ copy_tex: false
+
+# Easily enable fast Ajax navigation on your website.
+# For more information: https://github.com/next-theme/pjax
+pjax: false
+
+# FancyBox is a tool that offers a nice and elegant way to add zooming functionality for images.
+# For more information: https://fancyapps.com/fancybox/
+fancybox: false
+
+# A JavaScript library for zooming images like Medium.
+# Warning: Do not enable both `fancybox` and `mediumzoom`.
+# For more information: https://medium-zoom.francoischalifour.com
+mediumzoom: false
+
+# Vanilla JavaScript plugin for lazyloading images.
+# For more information: https://apoorv.pro/lozad.js/demo/
+lazyload: false
+
+# Pangu Support
+# For more information: https://github.com/vinta/pangu.js
+# Server-side plugin: https://github.com/next-theme/hexo-pangu
+pangu: false
+
+# Quicklink Support
+# For more information: https://getquick.link
+# Front-matter variable (unsupport home archive).
+quicklink:
+ enable: false
+
+ # Home page and archive page can be controlled through home and archive options below.
+ # This configuration item is independent of `enable`.
+ home: false
+ archive: false
+
+ # Default (true) will initialize quicklink after the load event fires.
+ delay: true
+ # Custom a time in milliseconds by which the browser must execute prefetching.
+ timeout: 3000
+ # Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
+ priority: true
+
+ # For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
+ # See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
+ ignores:
+
+
+# ---------------------------------------------------------------
+# Comments Settings
+# See: https://theme-next.js.org/docs/third-party-services/comments
+# ---------------------------------------------------------------
+
+# Multiple Comment System Support
+comments:
+ # Available values: tabs | buttons
+ style: tabs
+ # Choose a comment system to be displayed by default.
+ # Available values: disqus | disqusjs | changyan | livere | gitalk | utterances
+ active:
+ # Setting `true` means remembering the comment system selected by the visitor.
+ storage: true
+ # Lazyload all comment systems.
+ lazyload: false
+ # Modify texts or order for any navs, here are some examples.
+ nav:
+ #disqus:
+ # text: Load Disqus
+ # order: -1
+ #gitalk:
+ # order: -2
+
+# Disqus
+# For more information: https://disqus.com
+disqus:
+ enable: false
+ shortname:
+ count: true
+
+# DisqusJS
+# For more information: https://disqusjs.skk.moe
+disqusjs:
+ enable: false
+ # API Endpoint of Disqus API (https://disqus.com/api/docs/).
+ # Leave api empty if you are able to connect to Disqus API. Otherwise you need a reverse proxy for it.
+ # For example:
+ # api: https://disqus.skk.moe/disqus/
+ api:
+ apikey: # Register new application from https://disqus.com/api/applications/
+ shortname: # See: https://disqus.com/admin/settings/general/
+
+# Changyan
+# For more information: https://changyan.kuaizhan.com
+changyan:
+ enable: false
+ appid:
+ appkey:
+
+# LiveRe comments system
+# You can get your uid from https://livere.com/insight/myCode (General web site)
+livere_uid: #
+
+# Gitalk
+# For more information: https://gitalk.github.io
+gitalk:
+ enable: false
+ github_id: # GitHub repo owner
+ repo: # Repository name to store issues
+ client_id: # GitHub Application Client ID
+ client_secret: # GitHub Application Client Secret
+ admin_user: # GitHub repo owner and collaborators, only these guys can initialize gitHub issues
+ distraction_free_mode: true # Facebook-like distraction free mode
+ # Gitalk's display language depends on user's browser or system environment
+ # If you want everyone visiting your site to see a uniform language, you can set a force language value
+ # Available values: en | es-ES | fr | ru | zh-CN | zh-TW
+ language:
+
+# Utterances
+# For more information: https://utteranc.es
+utterances:
+ enable: false
+ repo: # Github repository name
+ # Available values: pathname | url | title | og:title
+ issue_term: pathname
+ # Available values: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
+ theme: github-light
+
+# Isso
+# For more information: https://posativ.org/isso/
+isso: #
+
+
+# ---------------------------------------------------------------
+# Post Widgets & Content Sharing Services
+# See: https://theme-next.js.org/docs/third-party-services/post-widgets
+# ---------------------------------------------------------------
+
+# Star rating support to each article.
+# To get your ID visit https://widgetpack.com
+rating:
+ enable: false
+ id: #
+ color: "#fc6423"
+
+# AddThis Share. See: https://www.addthis.com
+# Go to https://www.addthis.com/dashboard to customize your tools.
+add_this_id:
+
+
+# ---------------------------------------------------------------
+# Statistics and Analytics
+# See: https://theme-next.js.org/docs/third-party-services/statistics-and-analytics
+# ---------------------------------------------------------------
+
+# Google Analytics
+# See: https://analytics.google.com
+google_analytics:
+ tracking_id: #
+ # By default, NexT will load an external gtag.js script on your site.
+ # If you only need the pageview feature, set the following option to true to get a better performance.
+ only_pageview: false
+
+# Baidu Analytics
+# See: https://tongji.baidu.com
+baidu_analytics: #
+
+# Growingio Analytics
+# See: https://www.growingio.com
+growingio_analytics: #
+
+# Cloudflare Web Analytics
+# See: https://www.cloudflare.com/web-analytics/
+cloudflare_analytics:
+
+# Show number of visitors of each article.
+# You can visit https://www.leancloud.cn to get AppID and AppKey.
+leancloud_visitors:
+ enable: false
+ app_id: #
+ app_key: #
+ # Required for apps from CN region
+ server_url: #
+ # Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security
+ # If you don't care about security in leancloud counter and just want to use it directly
+ # (without hexo-leancloud-counter-security plugin), set `security` to `false`.
+ security: true
+
+# Another tool to show number of visitors to each article.
+# Visit https://console.firebase.google.com/u/0/ to get apiKey and projectId.
+# Visit https://firebase.google.com/docs/firestore/ to get more information about firestore.
+firestore:
+ enable: false
+ collection: articles # Required, a string collection name to access firestore database
+ apiKey: # Required
+ projectId: # Required
+
+# Show Views / Visitors of the website / page with busuanzi.
+# For more information: http://ibruce.info/2015/04/04/busuanzi/
+busuanzi_count:
+ enable: false
+ total_visitors: true
+ total_visitors_icon: fa fa-user
+ total_views: true
+ total_views_icon: fa fa-eye
+ post_views: true
+ post_views_icon: far fa-eye
+
+
+# ---------------------------------------------------------------
+# Search Services
+# See: https://theme-next.js.org/docs/third-party-services/search-services
+# ---------------------------------------------------------------
+
+# Algolia Search
+# For more information: https://www.algolia.com
+algolia_search:
+ enable: false
+ hits:
+ per_page: 10
+
+# Local Search
+# Dependencies: https://github.com/next-theme/hexo-generator-searchdb
+local_search:
+ enable: false
+ # If auto, trigger search by changing input.
+ # If manual, trigger search by pressing enter key or search button.
+ trigger: auto
+ # Show top n results per article, show all results by setting to -1
+ top_n_per_article: 1
+ # Unescape html strings to the readable one.
+ unescape: false
+ # Preload the search data when the page loads.
+ preload: false
+
+
+# ---------------------------------------------------------------
+# Chat Services
+# See: https://theme-next.js.org/docs/third-party-services/chat-services
+# ---------------------------------------------------------------
+
+# Chatra Support
+# For more information: https://chatra.com
+# Dashboard: https://app.chatra.io/settings/general
+chatra:
+ enable: false
+ async: true
+ id: # Visit Dashboard to get your ChatraID
+ #embed: # Unfinished experimental feature for developers. See: https://chatra.com/help/api/#injectto
+
+# Tidio Support
+# For more information: https://www.tidio.com
+# Dashboard: https://www.tidio.com/panel/dashboard
+tidio:
+ enable: false
+ key: # Public Key, get it from dashboard. See: https://www.tidio.com/panel/settings/developer
+
+
+# ---------------------------------------------------------------
+# Tags Settings
+# See: https://theme-next.js.org/docs/tag-plugins/
+# ---------------------------------------------------------------
+
+# Note tag (bootstrap callout)
+note:
+ # Note tag style values:
+ # - simple bootstrap callout old alert style. Default.
+ # - modern bootstrap callout new (v2-v3) alert style.
+ # - flat flat callout style with background, like on Mozilla or StackOverflow.
+ # - disabled disable all CSS styles import of note tag.
+ style: simple
+ icons: false
+ # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
+ # Offset also applied to label tag variables. This option can work with disabled note tag.
+ light_bg_offset: 0
+
+# Tabs tag
+tabs:
+ transition:
+ tabs: false
+ labels: true
+
+# PDF tag
+# NexT will try to load pdf files natively, if failed, pdf.js will be used.
+# So, you have to install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers.
+# Dependencies: https://github.com/next-theme/theme-next-pdf
+pdf:
+ enable: false
+ # Default height
+ height: 500px
+
+# Mermaid tag
+mermaid:
+ enable: false
+ # Available themes: default | dark | forest | neutral
+ theme: forest
+
+
+# ---------------------------------------------------------------
+# Animation Settings
+# ---------------------------------------------------------------
+
+# Use Animate.css to animate everything.
+# For more information: https://animate.style
+motion:
enable: true
- exclude:
- - '*.min.css'
-neat_js:
+ async: false
+ transition:
+ # All available transition variants: https://theme-next.js.org/animate/
+ post_block: fadeIn
+ post_header: fadeInDown
+ post_body: fadeInDown
+ coll_header: fadeInLeft
+ # Only for Pisces | Gemini.
+ sidebar: fadeInUp
+
+# Progress bar in the top during page loading.
+# For more information: https://github.com/rstacruz/nprogress
+nprogress:
+ enable: false
+ spinner: true
+
+# Canvas ribbon
+# For more information: https://github.com/hustcc/ribbon.js
+canvas_ribbon:
+ enable: false
+ size: 300 # The width of the ribbon
+ alpha: 0.6 # The transparency of the ribbon
+ zIndex: -1 # The display level of the ribbon
+
+
+
+# Live2D
+## https://github.com/EYHN/hexo-helper-live2d
+## https://l2dwidget.js.org/docs/class/src/index.js~L2Dwidget.html#instance-method-init
+live2d:
enable: true
- mangle: true
- output:
- compress:
- exclude:
- - '*.min.js'
-
-# 翻译
-translate_title:
- translate_way: baidu #google | baidu | youdao
- youdao_api_key: XXX
- youdao_keyfrom: XXX
- is_need_proxy: false #true | false
- proxy_url: http://localhost:8123
- baidu_appid: '' # Your baidu_appid
- baidu_appkey: '' # Your baidu_appkey
-
-# markdown渲染
-markdown_it_plus:
- highlight: true
- html: true
- xhtmlOut: true
- breaks: true
- langPrefix:
- linkify: true
- typographer:
- quotes: “”‘’
- plugins:
- - plugin:
- name: markdown-it-katex
- enable: true
- - plugin:
- name: markdown-it-mark
- enable: true
-
-version: 1.0.0
-
-# profile 个人页-关于
-profile:
- enabled: true # Whether to show profile bar
- avatar: asset/images/avatar.png
- gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
- author: 遗失的拂晓
- author_title: JAVA Developer
- author_description: 个人简介
- location: Shanghai, China
- follow: https://github.com/Ruffianjiang
- # Social Links
- social:
- links:
- github: https://github.com/Ruffianjiang
- weibo: http://weibo.com/lossingdawnn
- # twitter: https://twitter.com/iwebued
- # facebook: /
- # dribbble: /
- # behance: https://www.behance.net/cofess
- rss: atom.xml
- link_tooltip: true # enable the social link tooltip, options: true, false
- # My Skills
- skills:
- Git: ★★★☆☆
- Gulp: ★★★☆☆
- # My Personal Links
- links:
- Github: https://github.com/Ruffianjiang
- Blog: http://www.cnblogs.com/lossingdawn/
- # 微博: http://weibo.com/cofess
- # 花瓣: http://huaban.com/cofess
- # Behance: https://www.behance.net/cofess
- # My Personal Labels
- labels:
- - 前端
- - 前端开发
- # My Personal Works
- works:
- name:
- link: http://www.cnblogs.com/lossingdawn/
- date: 2016
- # My Personal Projects
- projects:
- Ruffianjiang/hexo-theme-dawn: https://github.com/Ruffianjiang/hexo-theme-dawn
+ #enable: false
+ scriptFrom: local # 默认
+ pluginRootPath: live2dw/ # 插件在站点上的根目录(相对路径)
+ pluginJsPath: lib/ # 脚本文件相对与插件根目录路径
+ pluginModelPath: assets/ # 模型文件相对与插件根目录路径
+ # scriptFrom: jsdelivr # jsdelivr CDN
+ # scriptFrom: unpkg # unpkg CDN
+ # scriptFrom: https://cdn.jsdelivr.net/npm/live2d-widget@3.x/lib/L2Dwidget.min.js # 你的自定义 url
+ tagMode: false # 标签模式, 是否仅替换 live2d tag标签而非插入到所有页面中
+ debug: false # 调试, 是否在控制台输出日志
+ model:
+ use: live2d-widget-model-hibiki
+ # use: live2d-widget-model-wanko # npm-module package name
+ # use: wanko # 博客根目录/live2d_models/ 下的目录名
+ # use: ./wives/wanko # 相对于博客根目录的路径
+ # use: https://cdn.jsdelivr.net/npm/live2d-widget-model-wanko@1.0.5/assets/wanko.model.json # 你的自定义 url
+ display:
+ position: right
+ width: 145
+ height: 315
+ mobile:
+ show: true # 是否在移动设备上显示
+ scale: 0.5 # 移动设备上的缩放
+ react:
+ opacityDefault: 0.7
+ opacityOnHover: 0.8
+
+
+#! ==============================================================
+#! DO NOT EDIT THE FOLLOWING SETTINGS
+#! UNLESS YOU KNOW WHAT YOU ARE DOING
+#! See: https://theme-next.js.org/docs/advanced-settings/vendors
+#! ==============================================================
+
+# It's recommended to use the same version as in `_vendors.yml` to avoid potential problems.
+# Remember to use the HTTPS protocol of CDN links when you enable HTTPS on your site.
+vendors:
+ # The CDN provider of NexT internal scripts.
+ # Available values: local | jsdelivr | unpkg | cdnjs
+ # Warning: If you are using the latest master branch of NexT, please set `internal: local`
+ internal: local
+ # The default CDN provider of third-party plugins.
+ # Available values: local | jsdelivr | unpkg | cdnjs
+ # Dependencies for `plugins: local`: https://github.com/next-theme/plugins
+ plugins: jsdelivr
+
+ # In the following settings, you can specify the CDN link for each plugin.
+ # If left blank, the default CDN provider set by `plugins` option will be used.
+
+ # Anime.js
+ # For more information: https://animejs.com
+ anime:
+
+ # Font Awesome
+ # For more information: https://fontawesome.com
+ fontawesome:
+
+ # Prism
+ prism:
+ prism_autoloader:
+ prism_line_numbers:
+
+ # MathJax
+ mathjax:
+
+ # KaTeX
+ katex:
+ copy_tex_js:
+ copy_tex_css:
+
+ # Pjax
+ pjax:
+
+ # FancyBox
+ jquery:
+ fancybox_js:
+ fancybox_css:
+
+ # Medium-zoom
+ mediumzoom:
+
+ # Lazyload
+ lazyload:
+
+ # Pangu
+ pangu:
+
+ # Quicklink
+ quicklink:
+
+ # DisqusJS
+ disqusjs_js:
+ disqusjs_css:
+
+ # Gitalk
+ gitalk_js:
+ gitalk_css:
+
+ # Firebase
+ firebase_app:
+ firebase_firestore:
+
+ # Algolia Search
+ algolia_search:
+ instant_search:
+
+ # PDF
+ pdfobject:
+
+ # Mermaid
+ mermaid:
+
+ # Animate.css
+ # Warning: motion won't work with animate.css version 3.2.0 or later
+ animate_css:
+
+ # NProgress.js
+ nprogress_js:
+ nprogress_css:
+
+ # Canvas ribbon
+ canvas_ribbon:
+
+# Assets
+# Accelerate delivery of static files using a CDN
+css: css
+js: js
+images: images
diff --git a/_doc/images/dawn-theme-black.png b/_doc/images/dawn-theme-black.png
deleted file mode 100644
index 3390fe9..0000000
Binary files a/_doc/images/dawn-theme-black.png and /dev/null differ
diff --git a/_doc/images/dawn-theme-blue.png b/_doc/images/dawn-theme-blue.png
deleted file mode 100644
index 207c5a7..0000000
Binary files a/_doc/images/dawn-theme-blue.png and /dev/null differ
diff --git a/_doc/images/dawn-theme-green.png b/_doc/images/dawn-theme-green.png
deleted file mode 100644
index d5ac114..0000000
Binary files a/_doc/images/dawn-theme-green.png and /dev/null differ
diff --git a/_doc/images/dawn-theme-purple.png b/_doc/images/dawn-theme-purple.png
deleted file mode 100644
index 65fa70a..0000000
Binary files a/_doc/images/dawn-theme-purple.png and /dev/null differ
diff --git a/_doc/images/dawn.png b/_doc/images/dawn.png
deleted file mode 100644
index 4eb7a93..0000000
Binary files a/_doc/images/dawn.png and /dev/null differ
diff --git a/_doc/images/dawn.psd b/_doc/images/dawn.psd
deleted file mode 100644
index 187c35a..0000000
Binary files a/_doc/images/dawn.psd and /dev/null differ
diff --git a/_source/404/index.md b/_source/404/index.md
deleted file mode 100644
index 02026fd..0000000
--- a/_source/404/index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: 404 Not Found:该页无法显示
-toc: false
-comments: false
-permalink: /404
----
-
-
diff --git a/_source/_data/about.yml b/_source/_data/about.yml
deleted file mode 100644
index 5bbd425..0000000
--- a/_source/_data/about.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-# profile 个人页-关于
-profile:
- enabled: true # Whether to show profile bar
- avatar: images/avatar.png
- gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
- author: 遗失的拂晓
- author_title: JAVA Developer
- author_description: 个人简介
- location: Shanghai, China
- follow: https://github.com/Ruffianjiang
- # Social Links
- social:
- links:
- github: https://github.com/Ruffianjiang
- weibo: http://weibo.com/lossingdawnn
- # twitter: https://twitter.com/iwebued
- # facebook: /
- # dribbble: /
- # behance: https://www.behance.net/cofess
- rss: atom.xml
- link_tooltip: true # enable the social link tooltip, options: true, false
- # My Skills
- skills:
- Git: ★★★★★
- Java: ★★★★★
- Javascript: ★★★☆☆
- HTML+CSS: ★★★☆☆
- Bootstrap: ★★★☆☆
- # My Personal Links
- links:
- Github: https://github.com/Ruffianjiang
- Blog: http://www.cnblogs.com/lossingdawn/
- # My Personal Labels
- labels:
- - 后端
- - 大数据开发
- - 数据安全
- # My Personal Works
- works:
- name:
- link: http://www.cnblogs.com/lossingdawn/
- date: 2016
- # My Personal Projects
- projects:
- Ruffianjiang/hexo-theme-dawn: https://github.com/Ruffianjiang/hexo-theme-dawn
diff --git a/_source/_data/gallery.yml b/_source/_data/gallery.yml
deleted file mode 100644
index 29922db..0000000
--- a/_source/_data/gallery.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# Gallery
-Name:
- full_link: http://example.com/full-image.png
- thumb_link: http://example.com/thumb-image.png
- descr: "这是一个描述"
\ No newline at end of file
diff --git a/_source/_data/links.yml b/_source/_data/links.yml
deleted file mode 100644
index 56e47ee..0000000
--- a/_source/_data/links.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# links
-创造狮:
- link: http://chuangzaoshi.com/
- avatar: /asset/images/link/chuangzaoshi-logo.png
- desc: 为创意工作者而设计
-腾讯设计导航:
- link: http://idesign.qq.com/
- avatar: /asset/images/link/idesign-logo.png
- desc: 网罗全网高逼格的设计站点
diff --git a/_source/_data/menu.yml b/_source/_data/menu.yml
deleted file mode 100644
index ce16e1f..0000000
--- a/_source/_data/menu.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-# menu
-menu:
- Home: .
- Archives: archives # 归档
- Categories: categories # 分类
- Tags: tags # 标签
- Repository: repository # github repositories
- Bilibili: bilibili # bilibili番剧页
- Links: links # 友链
- About: about # 关于
-
-# http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html
-# Enable/Disable menu icons
-menu_icons:
- enable: true # 是否启用导航菜单图标
- home: icon-home-fill
- archives: icon-archives-fill
- categories: icon-folder
- tags: icon-tags
- repository: icon-project
- bilibili: icon-book-fill
- # bilibili: icon-bilibili-dianshi-fill
- links: icon-friendship
- about: icon-cup-fill
\ No newline at end of file
diff --git a/_source/abouts/index.md b/_source/abouts/index.md
deleted file mode 100644
index 3782383..0000000
--- a/_source/abouts/index.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-title: about
-description: Personal profile
-layout: _menu/about
-comments: true
-sidebar: custom
----
-个人详细介绍
-
-## qq 759372350
-## email jiangyj0516@outlook.com
-## github https://github.com/Ruffianjiang
-
-
-
-
diff --git a/_source/archives/index.md b/_source/archives/index.md
deleted file mode 100644
index e3adf15..0000000
--- a/_source/archives/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: archive
-layout: _menu/archives
-comments: false
----
diff --git a/_source/bangumis/index.md b/_source/bangumis/index.md
deleted file mode 100644
index 0dea359..0000000
--- a/_source/bangumis/index.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: bilibili
-type: bangumis
----
diff --git a/_source/categories/index.md b/_source/categories/index.md
deleted file mode 100644
index 8be8125..0000000
--- a/_source/categories/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: category
-layout: _menu/categories
-comments: false
----
diff --git a/_source/index/index.md b/_source/index/index.md
deleted file mode 100644
index cc28973..0000000
--- a/_source/index/index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: index
-layout: index
-comments: false
-sidebar: none
----
diff --git a/_source/links/index.md b/_source/links/index.md
deleted file mode 100644
index 3ead07a..0000000
--- a/_source/links/index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: links
-layout: _menu/links
-comments: true
-sidebar: none
----
diff --git a/_source/repository/index.md b/_source/repository/index.md
deleted file mode 100644
index 9bc4758..0000000
--- a/_source/repository/index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: repository
-layout: _menu/repository
-comments: false
-sidebar: none
----
diff --git a/_source/tags/index.md b/_source/tags/index.md
deleted file mode 100644
index 3b7ea74..0000000
--- a/_source/tags/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: tag
-layout: _menu/tags
-comments: false
----
diff --git a/_vendors.yml b/_vendors.yml
new file mode 100644
index 0000000..a3b651e
--- /dev/null
+++ b/_vendors.yml
@@ -0,0 +1,139 @@
+# This file is automatically generated
+# See https://github.com/next-theme/plugins
+
+anime:
+ name: animejs
+ version: 3.2.1
+ file: lib/anime.min.js
+fontawesome:
+ name: '@fortawesome/fontawesome-free'
+ version: 5.15.1
+ file: css/all.min.css
+ alias: font-awesome
+prism:
+ name: prismjs
+ version: 1.22.0
+ file: components/prism-core.min.js
+ alias: prism
+prism_autoloader:
+ name: prismjs
+ version: 1.22.0
+ file: plugins/autoloader/prism-autoloader.min.js
+ alias: prism
+prism_line_numbers:
+ name: prismjs
+ version: 1.22.0
+ file: plugins/line-numbers/prism-line-numbers.min.js
+ alias: prism
+mathjax:
+ name: mathjax
+ version: 3.1.2
+ file: es5/tex-mml-chtml.js
+katex:
+ name: katex
+ version: 0.12.0
+ file: dist/katex.min.css
+ alias: KaTeX
+copy_tex_js:
+ name: katex
+ version: 0.12.0
+ file: dist/contrib/copy-tex.min.js
+ alias: KaTeX
+copy_tex_css:
+ name: katex
+ version: 0.12.0
+ file: dist/contrib/copy-tex.min.css
+ alias: KaTeX
+pjax:
+ name: '@next-theme/pjax'
+ version: 0.4.0
+ file: pjax.min.js
+ unavailable: [cdnjs]
+jquery:
+ name: jquery
+ version: 3.5.1
+ file: dist/jquery.min.js
+fancybox_js:
+ name: '@fancyapps/fancybox'
+ version: 3.5.7
+ file: dist/jquery.fancybox.min.js
+ alias: fancybox
+fancybox_css:
+ name: '@fancyapps/fancybox'
+ version: 3.5.7
+ file: dist/jquery.fancybox.min.css
+ alias: fancybox
+mediumzoom:
+ name: medium-zoom
+ version: 1.0.6
+ file: dist/medium-zoom.min.js
+lazyload:
+ name: lozad
+ version: 1.16.0
+ file: dist/lozad.min.js
+ alias: lozad.js
+pangu:
+ name: pangu
+ version: 4.0.7
+ file: dist/browser/pangu.min.js
+quicklink:
+ name: quicklink
+ version: 2.0.0
+ file: dist/quicklink.umd.js
+disqusjs_js:
+ name: disqusjs
+ version: 1.3.0
+ file: dist/disqus.js
+disqusjs_css:
+ name: disqusjs
+ version: 1.3.0
+ file: dist/disqusjs.css
+gitalk_js:
+ name: gitalk
+ version: 1.7.0
+ file: dist/gitalk.min.js
+gitalk_css:
+ name: gitalk
+ version: 1.7.0
+ file: dist/gitalk.css
+firebase_app:
+ name: firebase
+ version: 8.2.1
+ file: firebase-app.js
+firebase_firestore:
+ name: firebase
+ version: 8.2.1
+ file: firebase-firestore.js
+algolia_search:
+ name: algoliasearch
+ version: 4.8.3
+ file: dist/algoliasearch-lite.umd.js
+instant_search:
+ name: instantsearch.js
+ version: 4.9.2
+ file: dist/instantsearch.production.min.js
+pdfobject:
+ name: pdfobject
+ version: 2.2.4
+ file: pdfobject.min.js
+mermaid:
+ name: mermaid
+ version: 8.8.4
+ file: dist/mermaid.min.js
+animate_css:
+ name: animate.css
+ version: 3.1.1
+ file: animate.min.css
+nprogress_js:
+ name: nprogress
+ version: 0.2.0
+ file: nprogress.js
+nprogress_css:
+ name: nprogress
+ version: 0.2.0
+ file: nprogress.css
+canvas_ribbon:
+ name: ribbon.js
+ version: 1.0.2
+ file: dist/ribbon.min.js
+ unavailable: [cdnjs]
diff --git a/crowdin.yml b/crowdin.yml
new file mode 100644
index 0000000..be97306
--- /dev/null
+++ b/crowdin.yml
@@ -0,0 +1,9 @@
+files:
+ - source: /languages/en.yml
+ translation: /languages/%two_letters_code%.%file_extension%
+ languages_mapping:
+ two_letters_code:
+ zh-CN: zh-CN
+ zh-TW: zh-TW
+ zh-HK: zh-HK
+ pt-BR: pt-BR
diff --git a/docs/AGPL3.md b/docs/AGPL3.md
new file mode 100644
index 0000000..2dcf18c
--- /dev/null
+++ b/docs/AGPL3.md
@@ -0,0 +1,649 @@
+#
Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+##
Preamble
+
+The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+Developers that use our General Public Licenses protect your rights
+with two steps: **(1)** assert copyright on the software, and **(2)** offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+##
TERMS AND CONDITIONS
+
+### 0. Definitions
+
+“This License” refers to version 3 of the GNU Affero General Public License.
+
+“Copyright” also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+“The Program” refers to any copyrightable work licensed under this
+License. Each licensee is addressed as “you”. “Licensees” and
+“recipients” may be individuals or organizations.
+
+To “modify” a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a “modified version” of the
+earlier work or a work “based on” the earlier work.
+
+A “covered work” means either the unmodified Program or a work based
+on the Program.
+
+To “propagate” a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+To “convey” a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays “Appropriate Legal Notices”
+to the extent that it includes a convenient and prominently visible
+feature that **(1)** displays an appropriate copyright notice, and **(2)**
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+### 1. Source Code
+
+The “source code” for a work means the preferred form of the work
+for making modifications to it. “Object code” means any non-source
+form of a work.
+
+A “Standard Interface” means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+The “System Libraries” of an executable work include anything, other
+than the work as a whole, that **(a)** is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and **(b)** serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+“Major Component”, in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+The “Corresponding Source” for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+The Corresponding Source for a work in source code form is that
+same work.
+
+### 2. Basic Permissions
+
+All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+### 3. Protecting Users' Legal Rights From Anti-Circumvention Law
+
+No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+### 4. Conveying Verbatim Copies
+
+You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+### 5. Conveying Modified Source Versions
+
+You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+* **a)** The work must carry prominent notices stating that you modified
+it, and giving a relevant date.
+* **b)** The work must carry prominent notices stating that it is
+released under this License and any conditions added under section 7.
+This requirement modifies the requirement in section 4 to
+“keep intact all notices”.
+* **c)** You must license the entire work, as a whole, under this
+License to anyone who comes into possession of a copy. This
+License will therefore apply, along with any applicable section 7
+additional terms, to the whole of the work, and all its parts,
+regardless of how they are packaged. This License gives no
+permission to license the work in any other way, but it does not
+invalidate such permission if you have separately received it.
+* **d)** If the work has interactive user interfaces, each must display
+Appropriate Legal Notices; however, if the Program has interactive
+interfaces that do not display Appropriate Legal Notices, your
+work need not make them do so.
+
+A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+“aggregate” if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+### 6. Conveying Non-Source Forms
+
+You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+* **a)** Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by the
+Corresponding Source fixed on a durable physical medium
+customarily used for software interchange.
+* **b)** Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by a
+written offer, valid for at least three years and valid for as
+long as you offer spare parts or customer support for that product
+model, to give anyone who possesses the object code either **(1)** a
+copy of the Corresponding Source for all the software in the
+product that is covered by this License, on a durable physical
+medium customarily used for software interchange, for a price no
+more than your reasonable cost of physically performing this
+conveying of source, or **(2)** access to copy the
+Corresponding Source from a network server at no charge.
+* **c)** Convey individual copies of the object code with a copy of the
+written offer to provide the Corresponding Source. This
+alternative is allowed only occasionally and noncommercially, and
+only if you received the object code with such an offer, in accord
+with subsection 6b.
+* **d)** Convey the object code by offering access from a designated
+place (gratis or for a charge), and offer equivalent access to the
+Corresponding Source in the same way through the same place at no
+further charge. You need not require recipients to copy the
+Corresponding Source along with the object code. If the place to
+copy the object code is a network server, the Corresponding Source
+may be on a different server (operated by you or a third party)
+that supports equivalent copying facilities, provided you maintain
+clear directions next to the object code saying where to find the
+Corresponding Source. Regardless of what server hosts the
+Corresponding Source, you remain obligated to ensure that it is
+available for as long as needed to satisfy these requirements.
+* **e)** Convey the object code using peer-to-peer transmission, provided
+you inform other peers where the object code and Corresponding
+Source of the work are being offered to the general public at no
+charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+A “User Product” is either **(1)** a “consumer product”, which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or **(2)** anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, “normally used” refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+“Installation Information” for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+### 7. Additional Terms
+
+“Additional permissions” are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+* **a)** Disclaiming warranty or limiting liability differently from the
+terms of sections 15 and 16 of this License; or
+* **b)** Requiring preservation of specified reasonable legal notices or
+author attributions in that material or in the Appropriate Legal
+Notices displayed by works containing it; or
+* **c)** Prohibiting misrepresentation of the origin of that material, or
+requiring that modified versions of such material be marked in
+reasonable ways as different from the original version; or
+* **d)** Limiting the use for publicity purposes of names of licensors or
+authors of the material; or
+* **e)** Declining to grant rights under trademark law for use of some
+trade names, trademarks, or service marks; or
+* **f)** Requiring indemnification of licensors and authors of that
+material by anyone who conveys the material (or modified versions of
+it) with contractual assumptions of liability to the recipient, for
+any liability that these contractual assumptions directly impose on
+those licensors and authors.
+
+All other non-permissive additional terms are considered “further
+restrictions” within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+### 8. Termination
+
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated **(a)**
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and **(b)** permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+### 9. Acceptance Not Required for Having Copies
+
+You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+### 10. Automatic Licensing of Downstream Recipients
+
+Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+An “entity transaction” is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+### 11. Patents
+
+A “contributor” is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's “contributor version”.
+
+A contributor's “essential patent claims” are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, “control” includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+In the following three paragraphs, a “patent license” is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To “grant” such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either **(1)** cause the Corresponding Source to be so
+available, or **(2)** arrange to deprive yourself of the benefit of the
+patent license for this particular work, or **(3)** arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. “Knowingly relying” means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+A patent license is “discriminatory” if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license **(a)** in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or **(b)** primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+### 12. No Surrender of Others' Freedom
+
+If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+### 13. Remote Network Interaction; Use with the GNU General Public License
+
+Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+### 14. Revised Versions of this License
+
+The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License “or any later version” applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+### 15. Disclaimer of Warranty
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+### 16. Limitation of Liability
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+### 17. Interpretation of Sections 15 and 16
+
+If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+##
END OF TERMS AND CONDITIONS
+
+###
How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the “copyright” line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a “Source” link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+You should also get your employer (if you work as a programmer) or school,
+if any, to sign a “copyright disclaimer” for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<>.
\ No newline at end of file
diff --git a/docs/AUTHORS.md b/docs/AUTHORS.md
new file mode 100644
index 0000000..714b954
--- /dev/null
+++ b/docs/AUTHORS.md
@@ -0,0 +1,87 @@
+#
+
+## Установка
+
+If you're using Hexo 5.0 or later, the simplest way to install is through npm:
+
+```sh
+$ cd hexo-site
+$ npm install hexo-theme-next
+```
+
+Or you can clone the entire repository:
+
+```sh
+$ cd hexo-site
+$ git clone https://github.com/next-theme/hexo-theme-next themes/next
+```
+
+See [detailed installation instructions][docs-installation-url] if you want any other variant.
+
+After the installation, open Hexo config file and set `theme` variable to `next`.
+
+```yml
+theme: next
+```
+
+## Configuration
+
+At present, NexT encourages users to use the [Alternate Theme Config][docs-configuration-url] to configure NexT. And it's easy to customize the layout or style of NexT using [Custom Files][docs-custom-files-url].
+
+It is not recommended to directly modify any files in the NexT theme. Because this may cause errors (e.g. merge conflicts), and the modified files may be discarded when upgrading the theme.
+
+However, you can bypass merge conflicts (error message like **«Commit your changes or stash them before you can merge»**) by using the `Commit`, `Stash` or `Reset` commands for local changes. See [here](https://stackoverflow.com/a/15745424/5861495) how to do it.
+
+## Плагины
+
+Plugins extend and expand the functionality of NexT. There are two types of plugins: core plugins and third-party plugins. The core plugins are required by the basic functions of NexT. Third-party plugins provide a large number of optional features.
+
+Configuring these plugins is very easy. Например, Вы хотите использовать `pjax` для своего сайта. Открываем конфиг NexT'а и находим:
+
+```yml
+# Easily enable fast Ajax navigation on your website.
+# For more information: https://github.com/next-theme/pjax
+pjax: true
+```
+
+### Configure CDN
+
+Third-party plugins are loaded from [jsDelivr](https://www.jsdelivr.com) CDN by default. We also provide other optional CDNs, including the famous [UNPKG](https://unpkg.com) and [CDNJS](https://cdnjs.com).
+
+For example, if you want to use `unpkg` instead of `jsdelivr` as the default CDN provider, you need to edit the following settings in NexT config file:
+
+```yml
+vendors:
+ # ...
+ # Some contents...
+ # ...
+ plugins: unpkg
+```
+
+## Обновление
+
+NexT выпускает новые версии каждый месяц. Please read the [release notes][docs-release-url] before updating the theme. You can update NexT by the following command.
+
+Install the latest version throuth npm:
+
+```sh
+$ cd hexo-site
+$ npm install hexo-theme-next@latest
+```
+
+Or update to the latest master branch:
+
+```sh
+$ cd themes/next
+$ git pull
+```
+
+**Если нужно обновиться с версии v5.x / v7.x на последней версиями, читаем [здесь][docs-upgrade-url].**
+
+## Обратная связь
+
+* Посетите [Awesome NexT][awesome-next-url] список.
+* Вступить в наши [GitHub discussions][discussions-url] / [Gitter][gitter-url] чаты.
+* [Добавить или улучшить перевод][i18n-url] за несколько секунд.
+* Сообщить об ошибке в разделе [GitHub Issues][issues-bug-url].
+* Запросить новую возможность на [GitHub][issues-feat-url].
+* Голосовать за [популярные запросы возможностей][feat-req-vote-url].
+
+## Contributing
+
+We welcome you to join the development of NexT. Please see [contributing document][contributing-document-url]. 🤗
+
+Also, we welcome Issue or PR to our [official-plugins][official-plugins-url].
+
+## Содействие
+
+[![Contributors][contributors-image]][contributors-url]
+
+## Благодарности
+
+«NexT» send special thanks to these great services that sponsor our core infrastructure:
+
+
+
+> GitHub allows us to host the Git repository and run the test suite.
+
+
+
+> Netlify allows us to distribute the documentation.
+
+
+
+> Crowdin allows us to translate conveniently the documentation.
+
+
+
+> Thanks jsDelivr for providing public CDN service.
+
+[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
+[docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html
+[docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html
+[docs-release-url]: https://github.com/next-theme/hexo-theme-next/releases
+[docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html
+
+[awesome-next-url]: https://github.com/next-theme/awesome-next
+[discussions-url]: https://github.com/next-theme/hexo-theme-next/discussions
+[gitter-url]: https://gitter.im/hexo-next
+[i18n-url]: https://crowdin.com/project/hexo-theme-next
+
+[issues-bug-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md
+[issues-feat-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md
+[feat-req-vote-url]: https://github.com/next-theme/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22
+
+[contributing-document-url]: https://github.com/next-theme/hexo-theme-next/blob/master/.github/CONTRIBUTING.md
+[official-plugins-url]: https://github.com/next-theme
+[contributors-image]: https://raw.githubusercontent.com/next-theme/contributors/master/contributors.svg
+[contributors-url]: https://github.com/next-theme/hexo-theme-next/blob/master/docs/AUTHORS.md
diff --git a/docs/zh-CN/CODE_OF_CONDUCT.md b/docs/zh-CN/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..51d30db
--- /dev/null
+++ b/docs/zh-CN/CODE_OF_CONDUCT.md
@@ -0,0 +1,95 @@
+
+
+ {#####################}
+ {### END POST BODY ###}
+ {#####################}
+
+ {%- if theme.related_posts.enable and (theme.related_posts.display_in_home or not is_index) %}
+ {{ partial('_partials/post/post-related.njk') }}
+ {%- endif %}
+
+
+
+
+{######################}
+{### END POST BLOCK ###}
+{######################}
diff --git a/layout/_macro/sidebar.njk b/layout/_macro/sidebar.njk
new file mode 100644
index 0000000..119b1e8
--- /dev/null
+++ b/layout/_macro/sidebar.njk
@@ -0,0 +1,50 @@
+{% macro render(display_toc) %}
+
diff --git a/layout/_partials/post/post-followme.njk b/layout/_partials/post/post-followme.njk
new file mode 100644
index 0000000..d321137
--- /dev/null
+++ b/layout/_partials/post/post-followme.njk
@@ -0,0 +1,20 @@
+
+ {{ __('follow_me.welcome') }}
+
+
+ {%- for name, value in theme.follow_me %}
+ {%- set link = value.split('||')[0] | trim %}
+ {%- set icon = value.split('||')[1] | trim if value.split('||')[1] else '' %}
+
+
+ {%- for name, link in theme.social %}
+
+ {%- set sidebarURL = link.split('||')[0] | trim %}
+ {%- set sidebarIcon = '' if theme.social_icons.enable and link.split('||')[1] else '' %}
+ {%- set sidebarText = '' if (theme.social_icons.enable and theme.social_icons.icons_only) else name %}
+ {{ next_url(sidebarURL, sidebarIcon + sidebarText, {title: name + ' → ' + sidebarURL}) }}
+
+ {%- endfor %}
+
+{%- endif %}
+
+{%- if theme.creative_commons.license and theme.creative_commons.sidebar %}
+