diff --git a/.all-contributorsrc b/.all-contributorsrc index f2f69b59e3..5d3d232278 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -22,7 +22,10 @@ "blog", "review", "test", - "translation" + "translation", + "design", + "infra", + "maintenance" ] }, { @@ -132,7 +135,8 @@ "code", "doc", "review", - "test" + "test", + "projectManagement" ] }, { @@ -405,7 +409,8 @@ "contributions": [ "bug", "code", - "doc" + "doc", + "infra" ] }, { @@ -416,7 +421,9 @@ "contributions": [ "bug", "code", - "doc" + "doc", + "translation", + "review" ] }, { @@ -427,7 +434,9 @@ "contributions": [ "bug", "code", - "doc" + "doc", + "review", + "translation" ] }, { @@ -441,5 +450,5 @@ ] } ], - "contributorsPerLine": 7 + "contributorsPerLine": 6 } diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 28bebe4d21..5fc11b32c6 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,6 +12,7 @@ First of all, thanks for taking your time to contribute and help make our projec * [Before Submitting An Issue](#before-submitting-an-issue) * [Reporting Bugs](#reporting-bugs) + * [Reporting Security Bugs](#reporting-security-bugs) * [Suggesting Enhancements](#suggesting-enhancements) * [Submitting a Pull Request](#submitting-a-pull-request) * [Creating Releases](#creating-releases) @@ -24,11 +25,13 @@ First of all, thanks for taking your time to contribute and help make our projec * [Commit Messages Rules](#commit-messages-rules) + ## How Can I Contribute? Main Theme-Next repository was rebased from [iissnan's](https://github.com/iissnan/hexo-theme-next) profile to [Theme-Next](https://github.com/theme-next) organization on GitHub. Most libraries under the `next/source/lib` directory was moved out to [external repos](https://github.com/theme-next) under NexT organization. Version 5 works fine at most cases, but for frequent users, you maybe need to [upgrade version 5 to 6](https://github.com/theme-next/hexo-theme-next/blob/master/docs/UPDATE-FROM-5.1.X.md) to get features and supports in new [Theme-Next](https://github.com/theme-next/hexo-theme-next) repository. + ### Before Submitting An Issue If you just have a question, you'll get faster results by checking the FAQs for a list of common questions and problems (Work in progress) or the [«NexT» Documentation Site](https://theme-next.org/docs/) (Work in progress). @@ -40,6 +43,7 @@ If you find a bug in the source code, most importantly, please check carefully i [submit a Pull Request](#submitting-a-pull-request) with a fix. + ### Reporting Bugs Before creating bug reports, please check [this list](#before-submitting-an-issue) as you might find out that you don't need to create one. After you've determined the repository your bug is related to, create an issue on that repository and provide the information as many details as possible by filling in [the required template](ISSUE_TEMPLATE.md). @@ -58,6 +62,16 @@ Following these guidelines helps maintainers and the community understand your r * Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior. * Explain which behavior you expected to see instead and why. + + +#### Reporting Security Bugs + +If you find a security issue, please act responsibly and report it not in the public issue tracker, but directly to us, so we can fix it before it can be exploited. Please send the related information to security@theme-next.com (desirable with using PGP for e-mail encryption). + +We will gladly special thanks to anyone who reports a vulnerability so that we can fix it. If you want to remain anonymous or pseudonymous instead, please let us know that; we will gladly respect your wishes. + + + ### Suggesting Enhancements Before creating enhancement suggestions, please check [this list](#before-submitting-an-issue) as you might find out that you don't need to create one. After you've determined the repository your enhancement suggestion is related to, create an issue on that repository and provide the information as many details as possible by filling in [the required template](ISSUE_TEMPLATE.md). @@ -68,6 +82,8 @@ Following these guidelines helps maintainers and the community understand your s * Describe the current behavior and explain which behavior you expected to see instead and Explain why this enhancement would be useful to most users. * Provide specific examples to demonstrate the suggestion. Include links to files (screenshots or GIFs) or live demo. + + ### Submitting a Pull Request Before creating a Pull Request (PR), please check [this list](#before-submitting-an-issue) as you might find out that you don't need to create one. After you've determined the repository your pull request is related to, create a pull request on that repository. The detailed document of creating a pull request can be found [here](https://help.github.com/articles/creating-a-pull-request/). @@ -97,6 +113,8 @@ Following these guidelines helps maintainers and the community understand your p * Fill in [the required template](PULL_REQUEST_TEMPLATE.md) as many details as possible. * All features or bug fixes must be tested in all schemes. And provide specific examples to demonstrate the pull request. Include links to files (screenshots or GIFs) or live demo. + + ### Creating Releases Releases are a great way to ship projects on GitHub to your users. @@ -112,16 +130,24 @@ Releases are a great way to ship projects on GitHub to your users. 5. If you'd like to include binary files along with your release, such as compiled programs, drag and drop or select files manually in the binaries box. 6. If the release is unstable, select **This is a pre-release** to notify users that it's not ready for production. If you're ready to publicize your release, click **Publish release**. Otherwise, click **Save draft** to work on it later. + + ## Guides + + ### Coding Rules This project and everyone participating in it is governed by the [Code of Conduct](CODE_OF_CONDUCT.md) to keep open and inclusive. By participating, you are expected to uphold this code. + + ### Coding Standards To be continued. + + ### Labels Rules We use "labels" in the issue tracker to help classify pull requests and issues. Using labels enables maintainers and users to quickly find issues they should look into, either because they experience them, or because it meets their area of expertise. @@ -134,6 +160,7 @@ Issues related: `types`+`contents`+`results` - `Irrelevant`: An irrelevant issue for Next - `Duplicate`: An issue which had been mentioned - `Bug`: A detected bug that needs to be confirmed + - `Improvement Need`: An issue that needs to be improvement - `Feature Request`: An issue that wants a new feature - `High Priority`: A detected bugs or misprints with high priority - `Low Priority`: A detected bugs or misprints with low priority @@ -154,7 +181,6 @@ Issues related: `types`+`contents`+`results` - `Configurations`: An issue related to configurations - `CSS`: An issue related to CSS - `Custom`: An issue related to custom things - - `Optimization`: An issue that needs to be optimized - By results - `Wontfix`: An issue that will not to be fixed - `Need More Info`: Need more information for solving the issue @@ -174,13 +200,14 @@ Pull requests related: - `Docs`: A Pull requests that Instruction document has been added - `New Feature`: A Pull requests that provides a new feature - `Feature`: A Pull requests that provides an option or addition to existing feature -- `Configurations`: A Pull requests related to configurations -- `Optimization`: A Pull requests that optimizates the Next +- `Improvement`: A Pull requests that improves NexT - `i18n`: A Pull requests that makes new languages translation - `Performance`: A Pull requests that improves the performance - `Discussion`: A Pull requests that needs to be discussed -- `v6.x`: A Pull requests that bug fixes and some optimizations related to old NexT version 6 -- `v7.x`: A Pull requests that bug fixes and some optimizations, related to old NexT version 7 +- `v6.x`: A Pull requests that bug fixes and some improvements, related to old NexT version 6 +- `v7.x`: A Pull requests that bug fixes and some improvements, related to old NexT version 7 + + ### Commit Messages Rules diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000000..78c6deff86 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,22 @@ +# Configuration for Auto Assign - https://github.com/kentaro-m/auto-assign + +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: false + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - ivan-nginx + - maple3142 + - sli1989 + - stevenjoezhang + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +skipKeywords: + - wip diff --git a/.github/config.yml b/.github/config.yml new file mode 100644 index 0000000000..7d5d0ecaad --- /dev/null +++ b/.github/config.yml @@ -0,0 +1,63 @@ +# =============================================================================================== # +# Configuration for welcome - https://github.com/behaviorbot/welcome + +# Comment to be posted to on first time issues +newIssueWelcomeComment: > + Thanks for opening this issue, maintainers will get back to you as soon as possible! + +# Comment to be posted to on PRs from first time contributors in your repository +newPRWelcomeComment: > + Thanks so much for opening your first PR here! + +# Comment to be posted to on pull requests merged by a first time user +firstPRMergeComment: > + Congrats on merging your first pull request here! :tada: How awesome! + +# =============================================================================================== # +# Configuration for request-info - https://github.com/behaviorbot/request-info + +# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given +requestInfoLabelToAdd: Need More Info + +# *OPTIONAL* Add a list of people whose Issues/PRs will not be commented on +# keys must be GitHub usernames +requestInfoUserstoExclude: + - 1v9 + - Acris + - flashlab + - geekrainy + - iissnan + - ivan-nginx + - JiangTJ + - LEAFERx + - liolok + - maple3142 + - Raincal + - sli1989 + - stevenjoezhang + - tsanie + - wafer-li + +# =============================================================================================== # +# Configuration for sentiment-bot - https://github.com/behaviorbot/sentiment-bot + +# *Required* toxicity threshold between 0 and .99 with the higher numbers being the most toxic +# Anything higher than this threshold will be marked as toxic and commented on +sentimentBotToxicityThreshold: .6 + +# *Required* Comment to reply with +sentimentBotReplyComment: > + Please be sure to review the [code of conduct](https://github.com/theme-next/hexo-theme-next/blob/master/.github/code-of-conduct.md) and be respectful of other users. cc/ @theme-next/next + +# =============================================================================================== # +lockThreads: + toxicityThreshold: .7 + numComments: 2 + setTimeInHours: 72 + replyComment: > + This thread is being locked due to exceeding the toxicity minimums. cc/ @theme-next/next + +# =============================================================================================== # +# Configuration for todo-bot - https://github.com/JasonEtco/todo +todo: + label: '🗒 To-Do' diff --git a/.github/eslint-disable-bot.yml b/.github/eslint-disable-bot.yml new file mode 100644 index 0000000000..9899fef6b3 --- /dev/null +++ b/.github/eslint-disable-bot.yml @@ -0,0 +1,8 @@ +# Configuration for ESLint Disable Watcher - https://github.com/koddsson/eslint-disable-probot + +# Change this to set the number of comments the watcher should comment on a given PR. +commentLimit: 10 +# The message the bot will post on any lines containing a eslint disable comment. +commentMessage: Please don't disable eslint rules :pray: +# A optional regular expression that will match against the branch name and not comment on it if it matches. +skipBranchMatching: null diff --git a/.github/lock.yml b/.github/lock.yml new file mode 100644 index 0000000000..a6826f8de7 --- /dev/null +++ b/.github/lock.yml @@ -0,0 +1,39 @@ +# Configuration for Lock Threads - https://github.com/dessant/lock-threads + +# Number of days of inactivity before a closed issue or pull request is locked +daysUntilLock: 365 + +# Skip issues and pull requests created before a given timestamp. Timestamp must +# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable +skipCreatedBefore: false + +# Issues and pull requests with these labels will be ignored. Set to `[]` to disable +exemptLabels: + - backlog + +# Label to add before locking, such as `outdated`. Set to `false` to disable +lockLabel: 🔒 Locked + +# Comment to post before locking. Set to `false` to disable +lockComment: > + This thread has been automatically locked since there has not been + any recent activity after it was closed. It is possible issue was + solved or at least outdated. Feel free to open new for related bugs. + +# Assign `resolved` as the reason for locking. Set to `false` to disable +setLockReason: true + +# Limit to only `issues` or `pulls` +only: issues + +# Optionally, specify configuration settings just for `issues` or `pulls` +# issues: +# exemptLabels: +# - help-wanted +# lockLabel: outdated + +# pulls: +# daysUntilLock: 30 + +# Repository to extend settings from +# _extends: repo diff --git a/.github/mergeable.yml b/.github/mergeable.yml new file mode 100644 index 0000000000..5529b2dbd5 --- /dev/null +++ b/.github/mergeable.yml @@ -0,0 +1,29 @@ +# Configuration for Mergeable - https://github.com/jusx/mergeable + +version: 2 +mergeable: + - when: pull_request.* + validate: + - do: description + no_empty: + enabled: false + + - do: title + must_exclude: + regex: ^\[WIP\] + + - do: label + must_include: + regex: 'feat|imp|fix|doc|i18n' + must_exclude: + regex: 'wip|work in progress' + + #- do: project + # no_empty: + # enabled: true + # must_include: + # regex: 'feat|imp|fix|doc|loc' + + - do: milestone + no_empty: + enabled: true diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000000..ba9c5f5b47 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,34 @@ +# Configuration for Release Drafter - https://github.com/toolmantim/release-drafter + +name-template: v$NEXT_MINOR_VERSION +tag-template: v$NEXT_MINOR_VERSION +categories: + - title: 💥 Breaking Changes + label: Breaking Change + + - title: 🌟 New Features + label: New Feature + + - title: ⭐ Features + label: Feature + + - title: 🛠 Improvements + label: Improvement + + - title: 🐞 Bug Fixes + label: Bug Fix + + - title: 📖 Documentation + label: Docs + + - title: 🌍 Localization + label: i18n + +change-template: '- $TITLE (#$NUMBER)' +no-changes-template: '- No changes' +template: | + $CHANGES + + *** + + For full changes, see the [comparison between $PREVIOUS_TAG and v$NEXT_MINOR_VERSION](https://github.com/theme-next/hexo-theme-next/compare/v$PREVIOUS_TAG...v$NEXT_MINOR_VERSION) diff --git a/.github/stale.yml b/.github/stale.yml index ba5b0f5dca..7cd44811e8 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -7,19 +7,20 @@ daysUntilClose: 7 # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - bug - - discussion - - need verify - - wait for answer - feature request - - enhancement - - documentation + - improvement need + - wait for answer + - need verify + - question + - backlog + - docs # Label to use when marking as stale staleLabel: stale # Comment to post when marking as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. + for your contributions. You can also use our [support channels](https://github.com/theme-next/hexo-theme-next#feedback) to get help with the project. # Comment to post when removing the stale label. Set to `false` to disable unmarkComment: false # Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable diff --git a/.github/support.yml b/.github/support.yml new file mode 100644 index 0000000000..6eb9741378 --- /dev/null +++ b/.github/support.yml @@ -0,0 +1,23 @@ +# Configuration for Support Requests - https://github.com/dessant/support-requests + +# Label used to mark issues as support requests +supportLabel: Support + +# Comment to post on issues marked as support requests, `{issue-author}` is an +# optional placeholder. Set to `false` to disable +supportComment: > + :wave: @{issue-author}, we use the issue tracker exclusively for bug reports + and feature requests. However, this issue appears to be a support request. + Please use our [support channels](https://github.com/theme-next/hexo-theme-next/tree/master#feedback) to get help with the project. + +# Close issues marked as support requests +close: true + +# Lock issues marked as support requests +lock: false + +# Assign `off-topic` as the reason for locking. Set to `false` to disable +setLockReason: true + +# Repository to extend settings from +# _extends: repo diff --git a/.github/topissuebot.yml b/.github/topissuebot.yml new file mode 100644 index 0000000000..81dbe6b35b --- /dev/null +++ b/.github/topissuebot.yml @@ -0,0 +1,5 @@ +# Configuration for top-issue-bot - https://github.com/adamzolyak/gh-vote-bot + +labelName: '👍 Top Issue!' +labelColor: '006b75' +numberOfIssuesToLabel: 10 diff --git a/.github/weekly-digest.yml b/.github/weekly-digest.yml new file mode 100644 index 0000000000..a2a6f797f9 --- /dev/null +++ b/.github/weekly-digest.yml @@ -0,0 +1,8 @@ +# Configuration for weekly-digest - https://github.com/apps/weekly-digest + +publishDay: sun +canPublishIssues: true +canPublishPullRequests: true +canPublishContributors: true +canPublishStargazers: true +canPublishCommits: true diff --git a/README.md b/README.md index 7703c4a589..41ba79df02 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,10 @@

«NexT» is a high quality elegant Hexo theme. It is crafted from scratch with love.

+ - + @@ -18,7 +19,7 @@ ## Live Preview * :heart_decoration: Muse scheme: [LEAFERx](https://leaferx.online) | [Alex LEE](http://saili.science) | [Miaia](https://11.tt) -* :six_pointed_star: Mist scheme: [Jeff](https://blog.zzbd.org) | [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) +* :six_pointed_star: Mist scheme: [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) * :pisces: Pisces scheme: [Vi](http://notes.iissnan.com) | [Acris](https://acris.me) | [Jiaxi He](http://jiaxi.io) * :gemini: Gemini scheme: [Ivan.Nginx](https://almostover.ru) | [Raincal](https://raincal.com) | [Dandy](https://dandyxu.me) @@ -94,9 +95,9 @@ Contribution is welcome, feel free to open an issue and fork. Waiting for your p ## Feedback * Ask a question on [Stack Overflow][stack-url]. -* Request a new feature on [GitHub][contributing-url]. +* 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]. -* Report a bug in [GitHub Issues][issues-url]. * Join to our [Gitter][gitter-url] / [Riot][riot-url] / [Telegram][t-chat-url] chats. * Follow us with [Telegram Channel][t-news-url] for latest news. @@ -104,16 +105,39 @@ Contribution is welcome, feel free to open an issue and fork. Waiting for your p * :triangular_flag_on_post: HexoEditor +## Thanks + +

+«NexT» send special thanks to these great services that sponsor our core infrastructure: +

+ +

+

+ GitHub allows us to host the Git repository, Netlify allows us to distribute the documentation. +

+ +

+

+ Crowdin allows us to translate conveniently the documentation. +

+ +

+

+ Codacy allows us to run the test suite, BrowserStack allows us to test in real browsers. +

+ [browser-image]: https://img.shields.io/badge/browser-%20chrome%20%7C%20firefox%20%7C%20opera%20%7C%20safari%20%7C%20ie%20%3E%3D%209-lightgrey.svg [browser-url]: https://www.browserstack.com [stack-url]: https://stackoverflow.com/questions/tagged/theme-next -[contributing-url]: https://github.com/theme-next/hexo-theme-next/blob/master/.github/CONTRIBUTING.md -[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc -[issues-url]: https://github.com/theme-next/hexo-theme-next/issues +[issues-bug-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md +[issues-feat-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md +[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22+sort%3Areactions-%2B1-desc [gitter-url]: https://gitter.im/theme-next -[riot-url]: https://riot.im/app/#/room/#NexT:matrix.org +[riot-url]: https://riot.im/app/#/room/#theme-next:matrix.org [t-chat-url]: https://t.me/theme_next [t-news-url]: https://t.me/theme_next_news @@ -134,16 +158,11 @@ Contribution is welcome, feel free to open an issue and fork. Waiting for your p ## Contributors Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): - -| [Ivan.Nginx
Ivan.Nginx](https://almostover.ru)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Aivan-nginx "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=ivan-nginx "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=ivan-nginx "Documentation") [🤔](#ideas-ivan-nginx "Ideas, Planning, & Feedback") [📝](#blog-ivan-nginx "Blogposts") [👀](#review-ivan-nginx "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=ivan-nginx "Tests") [🌍](#translation-ivan-nginx "Translation") | [Alex LEE
Alex LEE](http://saili.science)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Asli1989 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=sli1989 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=sli1989 "Documentation") [👀](#review-sli1989 "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=sli1989 "Tests") [🌍](#translation-sli1989 "Translation") | [Tsanie Lily
Tsanie Lily](https://tsanie.us)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Atsanie "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=tsanie "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=tsanie "Documentation") [👀](#review-tsanie "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=tsanie "Tests") [🌍](#translation-tsanie "Translation") | [Wafer Li
Wafer Li](https://wafer.li)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Awafer-li "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=wafer-li "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=wafer-li "Documentation") [👀](#review-wafer-li "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=wafer-li "Tests") [🌍](#translation-wafer-li "Translation") | [Lawrence Ye
Lawrence Ye](https://leaferx.online)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3ALEAFERx "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=LEAFERx "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=LEAFERx "Documentation") [👀](#review-LEAFERx "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=LEAFERx "Tests") [🌍](#translation-LEAFERx "Translation") | [maple
maple](https://blog.maple3142.net/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Amaple3142 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=maple3142 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=maple3142 "Documentation") [👀](#review-maple3142 "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=maple3142 "Tests") [🌍](#translation-maple3142 "Translation") | [Raincal
Raincal](https://raincal.com)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3ARaincal "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=Raincal "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=Raincal "Documentation") [👀](#review-Raincal "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=Raincal "Tests") | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| [Rainy
Rainy](https://rainylog.com)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ageekrainy "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=geekrainy "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=geekrainy "Documentation") [👀](#review-geekrainy "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=geekrainy "Tests") [🌍](#translation-geekrainy "Translation") | [李皓奇
李皓奇](https://liolok.github.io/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Aliolok "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=liolok "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=liolok "Documentation") [👀](#review-liolok "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=liolok "Tests") | [Nine
Nine](http://ioliu.cn)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AxCss "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=xCss "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=xCss "Documentation") [👀](#review-xCss "Reviewed Pull Requests") [⚠️](https://github.com/theme-next/hexo-theme-next/commits?author=xCss "Tests") | [Clooooode
Clooooode](https://github.com/jackey8616)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ajackey8616 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=jackey8616 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=jackey8616 "Documentation") | [Xu Song
Xu Song](https://github.com/xu-song)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Axu-song "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=xu-song "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=xu-song "Documentation") | [Jack Sullivan
Jack Sullivan](https://github.com/HuntedCodes)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AHuntedCodes "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=HuntedCodes "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=HuntedCodes "Documentation") | [dpyzo0o
dpyzo0o](https://github.com/dpyzo0o)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Adpyzo0o "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=dpyzo0o "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=dpyzo0o "Documentation") | -| [zhuzhuxia
zhuzhuxia](http://zhuzhuyule.com)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Azhuzhuyule "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=zhuzhuyule "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=zhuzhuyule "Documentation") | [kuleyu
kuleyu](https://kuleyu-hugo.netlify.com/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Akuleyu "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=kuleyu "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=kuleyu "Documentation") | [jdhao
jdhao](http://jdhao.github.io)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ajdhao "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=jdhao "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=jdhao "Documentation") | [AlbertGao
AlbertGao](http://www.albertgao.xyz)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AAlbert-Gao "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=Albert-Gao "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=Albert-Gao "Documentation") | [YoshinoriN
YoshinoriN](https://yoshinorin.net/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AYoshinoriN "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=YoshinoriN "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=YoshinoriN "Documentation") | [Qi Zhao
Qi Zhao](https://zhaoqi99.github.io/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AZhaoQi99 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=ZhaoQi99 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=ZhaoQi99 "Documentation") | [Henry Zhu
Henry Zhu](https://changchen.me/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Adaya0576 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=daya0576 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=daya0576 "Documentation") | -| [CxyFreedom
CxyFreedom](https://github.com/cxyfreedom)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Acxyfreedom "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=cxyfreedom "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=cxyfreedom "Documentation") | [KaitoHH
KaitoHH](https://kaitohh.com/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AKaitoHH "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=KaitoHH "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=KaitoHH "Documentation") | [赵俊
赵俊](http://www.zhaojun.im)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Azhaojun1998 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=zhaojun1998 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=zhaojun1998 "Documentation") | [zyhang
zyhang](https://github.com/izyhang)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Aizyhang "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=izyhang "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=izyhang "Documentation") | [Xiaolong Yang
Xiaolong Yang](https://xiaolony.github.io)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AXiaolonY "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=XiaolonY "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=XiaolonY "Documentation") | [花蛄
花蛄](https://github.com/yzca)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ayzca "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=yzca "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=yzca "Documentation") | [hengyunabc
hengyunabc](http://hengyunabc.github.io/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ahengyunabc "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=hengyunabc "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=hengyunabc "Documentation") | -| [Fisher Chang
Fisher Chang](http://bluefisher.github.io)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3ABlueFisher "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=BlueFisher "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=BlueFisher "Documentation") | [Chanson Shen
Chanson Shen](http://chansonshen.com/)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Ashenchsh "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=shenchsh "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=shenchsh "Documentation") | [Thomas Yang
Thomas Yang](http://ywjno.com)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Aywjno "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=ywjno "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=ywjno "Documentation") | [Legendary Nacar
Legendary Nacar](http://legendarynacar.github.io)
[🌍](#translation-legendarynacar "Translation") | [rikusen0335
rikusen0335](https://github.com/Rikusen0335)
[🌍](#translation-Rikusen0335 "Translation") | [Mr.J
Mr.J](https://www.dnocm.com)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3AJiangTJ "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=JiangTJ "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=JiangTJ "Documentation") | [1v9
1v9](https://1v9.im)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3A1v9 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=1v9 "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=1v9 "Documentation") | -| [Mimi
Mimi](https://zhangshuqiao.org)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Astevenjoezhang "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=stevenjoezhang "Code") [📖](https://github.com/theme-next/hexo-theme-next/commits?author=stevenjoezhang "Documentation") | [张强
张强](https://i-m.dev)
[🐛](https://github.com/theme-next/hexo-theme-next/issues?q=author%3Azq-97 "Bug reports") [💻](https://github.com/theme-next/hexo-theme-next/commits?author=zq-97 "Code") | + +
Ivan.Nginx
Ivan.Nginx

🐛 💻 📖 🤔 📝 👀 ⚠️ 🌍 🎨 🚇 🚧
Alex LEE
Alex LEE

🐛 💻 📖 👀 ⚠️ 🌍
Tsanie Lily
Tsanie Lily

🐛 💻 📖 👀 ⚠️ 🌍
Wafer Li
Wafer Li

🐛 💻 📖 👀 ⚠️ 🌍
Lawrence Ye
Lawrence Ye

🐛 💻 📖 👀 ⚠️ 🌍
maple
maple

🐛 💻 📖 👀 ⚠️ 🌍
Raincal
Raincal

🐛 💻 📖 👀 ⚠️
Rainy
Rainy

🐛 💻 📖 👀 ⚠️ 🌍
李皓奇
李皓奇

🐛 💻 📖 👀 ⚠️
Nine
Nine

🐛 💻 📖 👀 ⚠️
Clooooode
Clooooode

🐛 💻 📖
Xu Song
Xu Song

🐛 💻 📖
Jack Sullivan
Jack Sullivan

🐛 💻 📖
dpyzo0o
dpyzo0o

🐛 💻 📖
zhuzhuxia
zhuzhuxia

🐛 💻 📖
kuleyu
kuleyu

🐛 💻 📖
jdhao
jdhao

🐛 💻 📖
AlbertGao
AlbertGao

🐛 💻 📖
YoshinoriN
YoshinoriN

🐛 💻 📖
Qi Zhao
Qi Zhao

🐛 💻 📖
Henry Zhu
Henry Zhu

🐛 💻 📖
CxyFreedom
CxyFreedom

🐛 💻 📖
KaitoHH
KaitoHH

🐛 💻 📖
赵俊
赵俊

🐛 💻 📖
zyhang
zyhang

🐛 💻 📖
Xiaolong Yang
Xiaolong Yang

🐛 💻 📖
花蛄
花蛄

🐛 💻 📖
hengyunabc
hengyunabc

🐛 💻 📖
Fisher Chang
Fisher Chang

🐛 💻 📖
Chanson Shen
Chanson Shen

🐛 💻 📖
Thomas Yang
Thomas Yang

🐛 💻 📖
Legendary Nacar
Legendary Nacar

🌍
rikusen0335
rikusen0335

🌍
Mr.J
Mr.J

🐛 💻 📖 🚇
1v9
1v9

🐛 💻 📖 🌍 👀
Mimi
Mimi

🐛 💻 📖 👀 🌍
张强
张强

🐛 💻
+ This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! diff --git a/_config.yml b/_config.yml index 1ff47e77e1..e651962249 100644 --- a/_config.yml +++ b/_config.yml @@ -13,12 +13,8 @@ override: false cache: enable: true -# Redefine custom file paths. Introduced in NexT v6.0.2. -# If commented, will be used default custom file paths. - -# For example, you want to put your custom styles file -# outside theme directory in root `source/_data`, set -# `styles: source/_data/styles.styl` +# Redefine custom file paths. Introduced in NexT v6.0.2. If commented, will be used default custom file paths. +# For example, you want to put your custom styles file outside theme directory in root `source/_data`, set `styles: source/_data/styles.styl` #custom_file_path: # Default paths: layout/_custom/* #head: source/_data/head.swig @@ -35,16 +31,9 @@ cache: # --------------------------------------------------------------- # Site Information Settings +# See: https://theme-next.org/docs/getting-started/ # --------------------------------------------------------------- -# To get or check favicons visit: https://realfavicongenerator.net -# Put your favicons into `hexo-site/source/` (recommend) or `hexo-site/themes/next/source/images/` directory. - -# Default NexT favicons placed in `hexo-site/themes/next/source/images/` directory. -# And if you want to place your icons in `hexo-site/source/` root directory, you must remove `/images` prefix from pathes. - -# For example, you put your favicons into `hexo-site/source/images` directory. -# Then need to rename & redefine them on any other names, otherwise icons from Next will rewrite your custom icons in Hexo. favicon: small: /icons/favicon-16x16.png # /images/favicon-16x16-next.png medium: /icons/favicon-32x32.png # /images/favicon-32x32-next.png @@ -54,13 +43,12 @@ favicon: # ms_browserconfig: /icons/browserconfig.xml # /images/browserconfig.xml # Set rss to false to disable feed link. -# Leave rss as empty to use site's feed link, and install hexo-generator-feed: `npm install hexo-generator-feed --save`. +# Leave rss as blank to use site's feed link, and install hexo-generator-feed: `npm install hexo-generator-feed --save`. # Set rss to specific value if you have burned your feed already. rss: footer: - # Specify the date when the site was setup. - # If not defined, current year will be used. + # Specify the date when the site was setup. If not defined, current year will be used. #since: 2015 # Icon between year and copyright info. @@ -75,7 +63,7 @@ footer: # If not defined, `author` from Hexo main config will be used. copyright: - # ------------------------------------------------------------- + powered: # Hexo link (Powered by Hexo). enable: true @@ -87,14 +75,13 @@ footer: enable: true # Version info of NexT after scheme info (vX.X.X). version: false - # ------------------------------------------------------------- + # Beian icp information for Chinese users. In China, every legal website should have a beian icp in website footer. - # http://www.miitbeian.gov.cn + # http://www.beian.miit.gov.cn beian: enable: false icp: - # ------------------------------------------------------------- # Any custom text can be defined here. #custom_text: Hosted by Coding Pages @@ -110,7 +97,7 @@ creative_commons: post: true language: -# Follow me on GitHub banner in right-top corner. +# `Follow me on GitHub` banner in the top-right corner. github_banner: enable: false permalink: https://github.com/yourname @@ -121,10 +108,10 @@ github_banner: # SEO Settings # --------------------------------------------------------------- -# Disable Baidu tranformation on mobile devices. -disable_baidu_tranformation: false +# Disable Baidu transformation on mobile devices. +disable_baidu_transformation: false -# Canonical, set a canonical link tag in your hexo, you could use it for your SEO of blog. +# Set a canonical link tag in your hexo, you could use it for your SEO of blog. # See: https://support.google.com/webmasters/answer/139066 # Tips: Before you open this tag, remember set up your URL in hexo _config.yml (e.g. url: http://yourdomain.com) canonical: true @@ -139,19 +126,19 @@ index_with_subtitle: false # Automatically add external URL with BASE64 encrypt & decrypt. exturl: false -# Google Webmaster tools verification setting +# Google Webmaster tools verification. # See: https://www.google.com/webmasters -#google_site_verification: +google_site_verification: jR_bUEN846roQfh9C1VWdQ9eb9YaT7E_G142mMBeqow -# Bing Webmaster tools verification setting +# Bing Webmaster tools verification. # See: https://www.bing.com/webmaster #bing_site_verification: -# Yandex Webmaster tools verification setting +# Yandex Webmaster tools verification. # See: https://webmaster.yandex.ru #yandex_site_verification: -# Baidu Webmaster tools verification setting +# Baidu Webmaster tools verification. # See: https://ziyuan.baidu.com/site #baidu_site_verification: @@ -179,7 +166,7 @@ menu: #sitemap: /sitemap.xml || sitemap #commonweal: /404/ || heartbeat -# Enable/Disable menu icons / item badges. +# Enable / Disable menu icons / item badges. menu_settings: icons: true badges: false @@ -198,7 +185,7 @@ scheme: Mist # --------------------------------------------------------------- # Sidebar Settings -# See: https://theme-next.org/docs/theme-settings/sidebar/ +# See: https://theme-next.org/docs/theme-settings/sidebar # --------------------------------------------------------------- # Posts / Categories / Tags in sidebar. @@ -306,9 +293,10 @@ chat: icon: comment # icon in Font Awesome 4, set false to disable icon text: Chat # button text, change it as you wish + # --------------------------------------------------------------- # Post Settings -# See: https://theme-next.org/docs/theme-settings/posts/ +# See: https://theme-next.org/docs/theme-settings/posts # --------------------------------------------------------------- # Set the text alignment in the posts. @@ -326,7 +314,7 @@ save_scroll: true # Automatically excerpt description in homepage as preamble text. excerpt_description: true -# Automatically Excerpt. Not recommend. +# Automatically Excerpt (Not recommend). # Use in the post to control excerpt accurately. auto_excerpt: enable: false @@ -342,9 +330,6 @@ post_meta: created_at: true updated_at: enable: false - # If true, show updated date label only if `updated date` is different from `created date` (post edited in another day than was created). - # And if post was edited in same day as created, edited time will show in popup title under created time label. - # If false show anyway, but if post edited in same day, show only edited time. another_day: true categories: true @@ -358,8 +343,7 @@ symbols_count_time: wpm: 275 codeblock: - # Manual define the border radius in codeblock - # Leave it empty for the default 1 + # Manual define the border radius in codeblock, leave it blank for the default value: 1 border_radius: # Add copy button on codeblock copy_button: @@ -443,7 +427,6 @@ cheers: true tagcloud: # If true, font size, font color and amount of tags can be customized enable: false - # All values below are same as default, change them by yourself min: 12 # min font size in px max: 30 # max font size in px @@ -583,15 +566,42 @@ quicklink: # - (uri, el) => el.hasAttribute('noopener') ignores: -# Swiftype Search API Key -#swiftype_key: +# Bookmark Support +# Dependencies: https://github.com/theme-next/theme-next-bookmark +bookmark: + enable: false + # If auto, save the reading position when closing the page or clicking the bookmark-icon. + # If manual, only save it by clicking the bookmark-icon. + save: auto -# Baidu Analytics ID -#baidu_analytics: +# Reading progress bar +# Dependencies: https://github.com/theme-next/theme-next-reading-progress +reading_progress: + enable: false + color: "#37c6c0" + height: 2px + +# Google Calendar +# Share your recent schedule to others via calendar page. +# API Documentation: https://developers.google.com/google-apps/calendar/v3/reference/events/list +# To get api_key: https://console.developers.google.com +# Create & manage a public Google calendar: https://support.google.com/calendar/answer/37083 +calendar: + enable: false + calendar_id: # Your Google account E-Mail + api_key: + orderBy: startTime + offsetMax: 24 # Time Range + offsetMin: 4 # Time Range + showDeleted: false + singleEvents: true + maxResults: 250 -# Growingio Analytics ID -# Copyright 2015-2018 GrowingIO, Inc. More info available at https://www.growingio.com -#growingio_analytics: #your projectId + +# --------------------------------------------------------------- +# Comments and Widgets +# See: https://theme-next.org/docs/third-party-services/comments-and-widgets +# --------------------------------------------------------------- # Disqus disqus: @@ -608,7 +618,7 @@ disqusjs: # API Endpoint of Disqus API (https://disqus.com/api/) # leave api empty if you are able to connect to Disqus API # otherwise you need a reverse proxy for Disqus API - # For example: + # For example: # api: https://disqus.skk.moe/disqus/ api: apikey: # register new application from https://disqus.com/api/applications/ @@ -656,6 +666,12 @@ gitalk: # Available values: en, es-ES, fr, ru, zh-CN, zh-TW language: + +# --------------------------------------------------------------- +# Content Sharing Services +# See: https://theme-next.org/docs/third-party-services/content-sharing-services +# --------------------------------------------------------------- + # Baidu Share # Available values: button | slide # Warning: Baidu Share does not support https. @@ -709,9 +725,18 @@ needmoreshare2: position: middleRight networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook -# Google Webmaster tools verification setting -# See: https://www.google.com/webmasters -google_site_verification: jR_bUEN846roQfh9C1VWdQ9eb9YaT7E_G142mMBeqow + +# --------------------------------------------------------------- +# Statistics and Analytics +# See: https://theme-next.org/docs/third-party-services/statistics-and-analytics +# --------------------------------------------------------------- + +# Baidu Analytics ID +#baidu_analytics: + +# Growingio Analytics ID +# Copyright 2015-2018 GrowingIO, Inc. More info available at https://www.growingio.com +#growingio_analytics: #your projectId # Google Analytics google_analytics: @@ -791,24 +816,14 @@ busuanzi_count: # Tencent MTA ID #tencent_mta: -# Google Calendar -# Share your recent schedule to others via calendar page. -# API Documentation: https://developers.google.com/google-apps/calendar/v3/reference/events/list -# To get api_key: https://console.developers.google.com -# Create & manage a public Google calendar: https://support.google.com/calendar/answer/37083 -calendar: - enable: false - calendar_id: # Your Google account E-Mail - api_key: - orderBy: startTime - offsetMax: 24 # Time Range - offsetMin: 4 # Time Range - showDeleted: false - singleEvents: true - maxResults: 250 + +# --------------------------------------------------------------- +# Search Services +# See: https://theme-next.org/docs/third-party-services/search-services +# --------------------------------------------------------------- # Algolia Search -# See: https://github.com/theme-next/hexo-theme-next/blob/master/docs/ALGOLIA-SEARCH.md +# See: https://theme-next.org/docs/third-party-services/search-services#Algolia-Search # Dependencies: https://github.com/theme-next/theme-next-algolia-instant-search algolia_search: enable: false @@ -831,20 +846,14 @@ local_search: # Unescape html strings to the readable one. unescape: false -# Bookmark Support -# Dependencies: https://github.com/theme-next/theme-next-bookmark -bookmark: - enable: false - # If auto, save the reading position when closing the page or clicking the bookmark-icon. - # If manual, only save it by clicking the bookmark-icon. - save: auto +# Swiftype Search API Key +#swiftype_key: -# Reading progress bar -# Dependencies: https://github.com/theme-next/theme-next-reading-progress -reading_progress: - enable: false - color: "#37c6c0" - height: 2px + +# --------------------------------------------------------------- +# Chat Services +# See: https://theme-next.org/docs/third-party-services/chat-services +# --------------------------------------------------------------- # Chatra Support # See: https://chatra.io @@ -862,6 +871,7 @@ tidio: enable: false key: # Public Key, get it from Dashboard, See: https://www.tidiochat.com/panel/settings/developer + # --------------------------------------------------------------- # Tags Settings # See: https://theme-next.org/docs/tag-plugins/ @@ -892,7 +902,7 @@ tabs: # PDF tag, requires two plugins: pdfObject and pdf.js # pdfObject will try to load pdf files natively, if failed, pdf.js will be used. # The following `cdn` setting is only for pdfObject, because cdn for pdf.js might be blocked by CORS policy. -# So, YOU MUST install the dependency of pdf.js if you want to use pdf tag and make it work on all browsers. +# So, you must install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers. # See: https://github.com/theme-next/theme-next-pdf pdf: enable: false @@ -991,7 +1001,7 @@ canvas_ribbon: #! --------------------------------------------------------------- #! DO NOT EDIT THE FOLLOWING SETTINGS #! UNLESS YOU KNOW WHAT YOU ARE DOING -#! See: https://theme-next.org/docs/advanced-settings/ +#! See: https://theme-next.org/docs/advanced-settings #! --------------------------------------------------------------- # Script Vendors. Set a CDN address for the vendor you want to customize. diff --git a/bower.json b/bower.json index be3a5ae2b1..e9da770e26 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "theme-next", - "version": "7.0.1", + "version": "7.1.0", "homepage": "https://theme-next.org", "authors": [ "NexT (https://theme-next.org)" diff --git a/docs/ALGOLIA-SEARCH.md b/docs/ALGOLIA-SEARCH.md index 46d1a39976..998d8dcece 100644 --- a/docs/ALGOLIA-SEARCH.md +++ b/docs/ALGOLIA-SEARCH.md @@ -83,5 +83,5 @@ NexT provides Algolia search plugin for index your hexo website content. To use 1. The latest version of the [Hexo-Algolia](https://github.com/oncletom/hexo-algolia) plugin removes the content indexing feature, given Algolia's free account limitation. 1. The [Hexo-Algoliasearch](https://github.com/LouisBarranqueiro/hexo-algoliasearch) plugin provides content indexing functionality, but requires the replacement of keywords in the NEXT theme. The same problem exists with `Record Too Big` for Algolia's free account. - - Replace all `applicationID` in `source/js/src/algolia-search.js` with `appId` + - Replace all `applicationID` in `source/js/algolia-search.js` with `appId` - Replace all `applicationID` in `layout/_partials/head/head.swig` with `appId` diff --git a/docs/ru/README.md b/docs/ru/README.md index 6ed0f897fa..942dcf684a 100644 --- a/docs/ru/README.md +++ b/docs/ru/README.md @@ -7,6 +7,7 @@

«NexT» — элегантная высококачественная тема под Hexo. Сделана с нуля, с любовью.

+ @@ -18,7 +19,7 @@ ## Демо * :heart_decoration: Muse тема: [LEAFERx](https://leaferx.online) | [Alex LEE](http://saili.science) | [Miaia](https://11.tt) -* :six_pointed_star: Mist тема: [Jeff](https://blog.zzbd.org) | [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) +* :six_pointed_star: Mist тема: [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) * :pisces: Pisces тема: [Vi](http://notes.iissnan.com) | [Acris](https://acris.me) | [Jiaxi He](http://jiaxi.io) * :gemini: Gemini тема: [Ivan.Nginx](https://almostover.ru) | [Raincal](https://raincal.com) | [Dandy](https://dandyxu.me) @@ -77,9 +78,9 @@ $ git pull ## Обратная связь * Задать вопрос на [Stack Overflow][stack-url]. -* Запросить новую возможность на [GitHub][contributing-url]. +* Сообщить об ошибке в разделе [GitHub Issues][issues-bug-url]. +* Запросить новую возможность на [GitHub][issues-feat-url]. * Голосовать за [популярные запросы возможностей][feat-req-vote-url]. -* Сообщить об ошибке в разделе [GitHub Issues][issues-url]. * Вступить в наши [Gitter][gitter-url] / [Riot][riot-url] / [Telegram][t-chat-url] чаты. * Подписаться на новости через [канал Telegram'а][t-news-url]. @@ -87,16 +88,39 @@ $ git pull * :triangular_flag_on_post: HexoEditor +## Благодарности + +

+«NexT» выражает особую благодарность этим замечательным сервисам, которые спонсируют нашу основную инфраструктуру: +

+ +

+

+ GitHub позволяет нам хостить Git-репозиторий, Netlify позволяет нам деплоить документацию. +

+ +

+

+ Crowdin позволяет нам удобно переводить документацию. +

+ +

+

+ Codacy позволяет нам запускать набор тестов, BrowserStack позволяет нам тестировать в реальных браузерах. +

+ [browser-image]: https://img.shields.io/badge/browser-%20chrome%20%7C%20firefox%20%7C%20opera%20%7C%20safari%20%7C%20ie%20%3E%3D%209-lightgrey.svg [browser-url]: https://www.browserstack.com [stack-url]: https://stackoverflow.com/questions/tagged/theme-next -[contributing-url]: https://github.com/theme-next/hexo-theme-next/blob/master/.github/CONTRIBUTING.md -[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc -[issues-url]: https://github.com/theme-next/hexo-theme-next/issues +[issues-bug-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md +[issues-feat-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md +[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22+sort%3Areactions-%2B1-desc [gitter-url]: https://gitter.im/theme-next -[riot-url]: https://riot.im/app/#/room/#NexT:matrix.org +[riot-url]: https://riot.im/app/#/room/#theme-next:matrix.org [t-chat-url]: https://t.me/theme_next [t-news-url]: https://t.me/theme_next_news diff --git a/docs/zh-CN/ALGOLIA-SEARCH.md b/docs/zh-CN/ALGOLIA-SEARCH.md index e32ec4c473..8aab587cab 100644 --- a/docs/zh-CN/ALGOLIA-SEARCH.md +++ b/docs/zh-CN/ALGOLIA-SEARCH.md @@ -80,5 +80,5 @@ NexT 内部提供 Algolia 的搜索功能,要使用此功能请确保所使用 1. 考虑到 Algolia 免费账户的限制,目前 [Hexo-Algolia](https://github.com/oncletom/hexo-algolia) 插件最新版本去掉了正文索引功能。 1. [Hexo-Algoliasearch](https://github.com/LouisBarranqueiro/hexo-algoliasearch) 插件提供了正文索引功能,不过需要替换 NEXT 主题中的关键字。对于免费账户,`Record Too Big` 的问题同样存在。 - - 替换 `source/js/src/algolia-search.js` 中所有的 `applicationID` 为 `appId` + - 替换 `source/js/algolia-search.js` 中所有的 `applicationID` 为 `appId` - 替换 `layout/_partials/head/head.swig` 中所有的 `applicationID` 为 `appId` diff --git a/docs/zh-CN/CONTRIBUTING.md b/docs/zh-CN/CONTRIBUTING.md index 9e431e608e..1b941ad36b 100644 --- a/docs/zh-CN/CONTRIBUTING.md +++ b/docs/zh-CN/CONTRIBUTING.md @@ -4,14 +4,15 @@ #
e x T
-首先,非常感谢大家抽出宝贵时间来让我们的 NexT 主题越变越好。在这里,我们介绍一下 [NexT 主题及其子模块](https://github.com/theme-next)的开源贡献指南。不过,我们希望大家不要局限于此,更欢迎大家随时进行补充。 +首先,非常感谢大家抽出宝贵时间来让我们的 NexT 主题越变越好。在这里,我们介绍一下 [NexT 主题及其子模块](https://github.com/theme-next) 的开源贡献指南。不过,我们希望大家不要局限于此,更欢迎大家随时进行补充。 ## 目录 -[如何为 Next 做贡献](#how-can-i-contribute) +[如何为 NexT 做贡献](#how-can-i-contribute) * [你需要了解的](#before-submitting-an-issue) * [反馈 Bug](#reporting-bugs) + * [提交漏洞](#reporting-security-bugs) * [提交功能需求](#suggesting-enhancements) * [提交合并请求](#submitting-a-pull-request) * [发布版本](#creating-releases) @@ -24,21 +25,24 @@ * [提交信息规范](#commit-messages-rules) -## 如何为 Next 做贡献 -目前 Next 主题已经从 [iissnan](https://github.com/iissnan/hexo-theme-next) 的个人仓库移动到了 [Theme-Next](https://github.com/theme-next) 组织仓库中,并升级到 V6 版本。在 V6+ 版本中,`next/source/lib` 目录下的第三方依赖库将独立放置在 [Theme-Next](https://github.com/theme-next) 组织仓库中。在大多数情况下,NexT V5 版本仍然能够正常运行,但是如果你想获得更多的功能和帮助,还是建议您[升级到 NexT V6+ 版本](https://github.com/theme-next/hexo-theme-next/blob/master/docs/UPDATE-FROM-5.1.X.md),并移步 [Theme-Next](https://github.com/theme-next/hexo-theme-next) 仓库。 +## 如何为 NexT 做贡献 + +目前 NexT 主题已经从 [iissnan](https://github.com/iissnan/hexo-theme-next) 的个人仓库移动到了 [Theme-Next](https://github.com/theme-next) 组织仓库中,并升级到 V6 版本。在 V6+ 版本中,`next/source/lib` 目录下的第三方依赖库将独立放置在 [Theme-Next](https://github.com/theme-next) 组织仓库中。在大多数情况下,NexT V5 版本仍然能够正常运行,但是如果你想获得更多的功能和帮助,还是建议您 [升级到 NexT V6+ 版本](https://github.com/theme-next/hexo-theme-next/blob/master/docs/UPDATE-FROM-5.1.X.md),并移步 [Theme-Next](https://github.com/theme-next/hexo-theme-next) 仓库。 + ### 你需要了解的 -如果你在使用过程中遇到了问题,你可以查阅 FAQs(建设中) 或者 [NexT 帮助文档](https://theme-next.org/docs/)(建设中)。另外,你也可以通过[这里](https://github.com/theme-next/hexo-theme-next/search?q=&type=Issues&utf8=%E2%9C%93)进行大致检索,有些问题已经得到解答,你可以自行解决。对于没有解决的 Issue,你也可以继续提问。 +如果你在使用过程中遇到了问题,你可以查阅 FAQs(建设中) 或者 [NexT 帮助文档](https://theme-next.org/docs/)(建设中)。另外,你也可以通过 [这里](https://github.com/theme-next/hexo-theme-next/search?q=&type=Issues&utf8=%E2%9C%93) 进行大致检索,有些问题已经得到解答,你可以自行解决。对于没有解决的 Issue,你也可以继续提问。 -如果你在使用过程中发现了 Bug,请再次确认 Bug 在[最新发布版本](https://github.com/theme-next/hexo-theme-next/releases/latest)中是否重现。如果 Bug 重现,欢迎你到我们的 [Theme-NexT 仓库](https://github.com/theme-next/hexo-theme-next)中[反馈 Bug ](#reporting-bugs) 和[提交功能需求](#suggesting-enhancements),也更期待您[提交合并请求](#submitting-a-pull-request) +如果你在使用过程中发现了 Bug,请再次确认 Bug 在 [最新发布版本](https://github.com/theme-next/hexo-theme-next/releases/latest) 中是否重现。如果 Bug 重现,欢迎你到我们的 [主题仓库](https://github.com/theme-next/hexo-theme-next) 中 [反馈 Bug ](#reporting-bugs) 或者 [提交功能需求](#suggesting-enhancements),也更期待您 [提交合并请求](#submitting-a-pull-request)。 + ### 反馈 Bug -反馈 Bug 前,请再次确认您已经查看了[你需要了解的](#before-submitting-an-issue)内容,避免提交重复的 Issue。确定相关仓库后,创建 Issue 并按照[模板](../../.github/ISSUE_TEMPLATE.md)尽可能的详细填写相关信息。 +反馈 Bug 前,请再次确认您已经查看了 [你需要了解的](#before-submitting-an-issue) 内容,避免提交重复的 Issue。确定相关仓库后,创建 Issue 并按照 [模板](../../.github/ISSUE_TEMPLATE.md) 尽可能的详细填写相关信息。 请认真遵守如下指南,这样我们才能更好地理解问题,重现问题和解决问题。 @@ -46,7 +50,7 @@ * 参照如下问题尽可能多的提供信息: * Bug 是否能够重现?是一直出现还是偶尔出现? * Bug 是从什么时候开始发生的? - * 如果 Bug 突然发生,使用[旧版本主题](https://github.com/theme-next/hexo-theme-next/releases)是否能够重现 Bug?又是从哪个版本开始出现 Bug? + * 如果 Bug 突然发生,使用 [旧版本主题](https://github.com/theme-next/hexo-theme-next/releases) 是否能够重现 Bug?又是从哪个版本开始出现 Bug? * 你所使用 Node,Hexo 以及 Next 的版本号多少?你可以运行 `node -v` 和 `hexo version` 获取版本号,或者查看文件 `package.json` 的内容。 * 你使用了哪些插件包?查看文件 `package.json` 的内容即可获取。 * 一步步详细你是如何重现 Bug 的,做了什么,使用了哪些功能等等。如果你需要展示代码段,请使用 [Markdown 代码块](https://help.github.com/articles/creating-and-highlighting-code-blocks/) 或 [Github 预览链接](https://help.github.com/articles/creating-a-permanent-link-to-a-code-snippet/) 或 [Gist 链接](https://gist.github.com/)。 @@ -54,10 +58,19 @@ * 详细描述通过上述重现过程出现的问题。 * 详细描述你期待的结果。 + + +#### 提交漏洞 + +如果你发现安全问题,请以负责任的方式行事,即不要在公共 Issue 中提交而是直接向我们反馈,这样我们就可以在漏洞被利用之前对其进行修复。请将相关信息发送到 security@theme-next.com(可接受 PGP 加密邮件)。 + +我们很乐意对任何提交漏洞的人予以特别感谢以便我们修复它。如果你想保持匿名性或使用笔名替代,请告诉我们。我们将充分尊重你的意愿。 + + ### 提交功能需求 -提交功能需求前,请再次确认您已经查看了[你需要了解的](#before-submitting-an-issue)内容,避免提交重复的 Issue。确定相关仓库后,创建 Issue 并按照[模板](../../.github/ISSUE_TEMPLATE.md)尽可能的详细填写相关信息。 +提交功能需求前,请再次确认您已经查看了 [你需要了解的](#before-submitting-an-issue) 内容,避免提交重复的 Issue。确定相关仓库后,创建 Issue 并按照 [模板](../../.github/ISSUE_TEMPLATE.md) 尽可能的详细填写相关信息。 请认真遵守如下指南,这样我们才能更好地理解和开发功能需求:pencil:: @@ -66,11 +79,12 @@ * 提供功能需求的样例,如图像文件、在线演示网址等等。 + ### 提交合并请求 -提交合并请求前,请再次确认您已经查看了[你需要了解的](#before-submitting-an-issue)内容,避免提交重复的合并请求。确定相关仓库后,创建合并请求。更多详细操作过程可以查看[帮助文档](https://help.github.com/articles/creating-a-pull-request/)。 +提交合并请求前,请再次确认您已经查看了 [你需要了解的](#before-submitting-an-issue) 内容,避免提交重复的合并请求。确定相关仓库后,创建合并请求。更多详细操作过程可以查看 [帮助文档](https://help.github.com/articles/creating-a-pull-request/)。 -1. 进入 [hexo-theme-next](https://github.com/theme-next/hexo-theme-next) 源仓库,点击`Fork`。 +1. 进入 [hexo-theme-next](https://github.com/theme-next/hexo-theme-next) 主页面,点击`Fork`。 2. 进入到已经`Fork`的个人仓库(`https://github.com/username/hexo-theme-next`),点击 **Clone or download** 并复制该仓库地址。选择本地文件夹,并打开 Git Bash ,输入如下命令并回车,即可完成仓库克隆。 ```bash $ git clone git@github.com:username/hexo-theme-next.git @@ -90,12 +104,13 @@ 请认真遵守如下指南,这样我们才能更好地理解你的合并请求: -* 创建合并请求时,请遵守[编码规范](#coding-rules)和[提交信息规范](#commit-messages-rules)。 +* 创建合并请求时,请遵守 [编码规范](#coding-rules) 和 [提交信息规范](#commit-messages-rules)。 * 在标题中清晰准确地描述你的合并请求,不要加入 Issue 编号。 -* 按照[模板](../../.github/PULL_REQUEST_TEMPLATE.md)尽可能的详细填写相关信息。 +* 按照 [模板](../../.github/PULL_REQUEST_TEMPLATE.md) 尽可能的详细填写相关信息。 * 合并请求需要在所有主题样式中测试通过,并提供所表现功能的样例,如图像文件、在线演示网址等等。 + ### 发布版本 版本发布是将项目发布给用户的一种很好的方式。 @@ -112,19 +127,23 @@ 6. 如果版本不稳定,请选择 **This is a pre-release**,以通知用户它尚未完全准备好。如果您准备公布您的版本,请点击 **Publish release**。否则,请单击 **Save draft** 以稍后处理。 + ## 规范 + ### 行为规范 -为了保证本项目的顺利运作,所有参与人都需要遵守[行为规范](CODE_OF_CONDUCT.md)。 +为了保证本项目的顺利运作,所有参与人都需要遵守 [行为规范](CODE_OF_CONDUCT.md)。 + ### 编码规范 未完待续。 + ### 标签规范 为了方便维护人员和用户能够快速找到他们想要查看的问题,我们使用“标签”功能对拉取请求和问题进行分类。 @@ -134,9 +153,10 @@ Issues 的标签:使用`类型`+`内容`+`结果`的组合 - 类型 - - `Irrelevant`: 与主题 Next 无关的 Issue + - `Irrelevant`: 与 NexT 主题无关的 Issue - `Duplicate`: 已经存在同样 Issue - `Bug`: 提出了 Bug,等待确认 + - `Improvement Need`: 需要进行改进的 Issue - `Feature Request`: 提出了特性需求的 Issue - `High Priority`: 检测到的高优先级错误或笔误 Issue - `Low Priority`: 检测到的低优先级错误或笔误 Issue @@ -146,18 +166,17 @@ Issues 的标签:使用`类型`+`内容`+`结果`的组合 - `Backlog`: 待解决的 Issue - `Meta`: 表明使用条款变更 Issue - 内容 - - `Roadmap`: 与主题 Next 发展相关的 Issue + - `Roadmap`: 与 NexT 主题发展相关的 Issue - `Hexo`: 与 Hexo 相关的 Issue - - `Scheme [1] - Mist`: 与样式 Mist 相关的 Issue - - `Scheme [2] - Muse`: 与样式 Muse 相关的 Issue - - `Scheme [3] - Pisces`: 与样式 Pisces 相关的 Issue - - `Scheme [4] - Gemini`: 与样式 Gemini 相关的 Issue + - `Scheme [1] - Mist`: 与 Mist 样式相关的 Issue + - `Scheme [2] - Muse`: 与 Muse 样式相关的 Issue + - `Scheme [3] - Pisces`: 与 Pisces 样式相关的 Issue + - `Scheme [4] - Gemini`: 与 Gemini 样式相关的 Issue - `3rd Party Service`: 与第三方服务相关的 Issue - `Docs`: 需要添加文档说明的 Issue - - `Configurations`: 与主题 Next 设置相关的 Issue - - `CSS`: 与主题 Next CSS 文件相关的 Issue - - `Custom`: 与主题 Next 个性化相关的 Issue - - `Optimization`: 需要进行优化的 Issue + - `Configurations`: 与 NexT 主题设置相关的 Issue + - `CSS`: 与 NexT 主题 CSS 文件相关的 Issue + - `Custom`: 与 NexT 主题个性化相关的 Issue - 结果 - `Wontfix`: 不能或不被修复的 Issue - `Need More Info`: 需要更多信息的 Issue @@ -172,18 +191,19 @@ Issues 的标签:使用`类型`+`内容`+`结果`的组合 Pull requests 的标签: -- `Breaking Change`: 涉及主题 Next 重大架构的 Pull request +- `Breaking Change`: 产生重大变动的 Pull request - `Bug Fix`: 修复 Bug 的 Pull request - `Docs`: 添加了文档说明的 Pull request - `New Feature`: 添加了新特性的 Pull request - `Feature`: 为已存在的特性添加了选项或功能的 Pull request -- `Configurations`: 涉及主题 Next 配置的 Pull request -- `Optimization`: 优化了主题 Next 的 Pull request +- `Improvement`: 改进了 NexT 主题的 Pull request - `i18n`: 更新了翻译的 Pull request -- `Performance`: 提高了主题 Next 性能的 Pull request +- `Performance`: 提高了 NexT 主题性能的 Pull request - `Discussion`: 需要进行讨论的 Pull request -- `v6.x`: NexT v6.x 旧版相关的修复和优化类型 Pull request -- `v7.x`: NexT v7.x 旧版相关的修复和优化类型 Pull request +- `v6.x`: 与 NexT v6.x 旧版相关的用于修复和改进的 Pull request +- `v7.x`: 与 NexT v7.x 旧版相关的用于修复和改进的 Pull request + + ### 提交信息规范 diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index d0e53d1186..d25f43e275 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -7,6 +7,7 @@

«NexT» 是一款风格优雅的高质量 Hexo 主题,自点点滴滴中用爱雕琢而成。

+ @@ -18,7 +19,7 @@ ## 即时预览 * :heart_decoration: Muse 主题: [LEAFERx](https://leaferx.online) | [Alex LEE](http://saili.science) | [Miaia](https://11.tt) -* :six_pointed_star: Mist 主题: [Jeff](https://blog.zzbd.org) | [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) +* :six_pointed_star: Mist 主题: [uchuhimo](http://uchuhimo.me) | [xirong](http://www.ixirong.com) * :pisces: Pisces 主题: [Vi](http://notes.iissnan.com) | [Acris](https://acris.me) | [Jiaxi He](http://jiaxi.io) * :gemini: Gemini 主题: [Ivan.Nginx](https://almostover.ru) | [Raincal](https://raincal.com) | [Dandy](https://dandyxu.me) @@ -91,29 +92,52 @@ $ git pull 我们欢迎你贡献出你的一份力量,你可以随时提交 issue 或 fork 本仓库。静候你的 pull request。 -## Feedback +## 反馈 -* Ask a question on [Stack Overflow][stack-url]. -* Request a new feature on [GitHub][contributing-url]. -* Vote for [popular feature requests][feat-req-vote-url]. -* Report a bug in [GitHub Issues][issues-url]. -* Join to our [Gitter][gitter-url] / [Riot][riot-url] / [Telegram][t-chat-url] chats. -* Follow us with [Telegram Channel][t-news-url] for latest news. +* 在 [Stack Overflow][stack-url] 上提问。 +* 在 [GitHub Issues][issues-bug-url] 报告Bug。 +* 在 [GitHub][issues-feat-url] 请求新的功能。 +* 为 [popular feature requests][feat-req-vote-url] 投票。 +* 加入我们的 [Gitter][gitter-url] / [Riot][riot-url] / [Telegram][t-chat-url] 聊天。 +* 关注我们的 [Telegram Channel][t-news-url] 以获取最新消息。 -## 第三方應用程序 +## 第三方应用程序 * :triangular_flag_on_post: HexoEditor +## 鸣谢 + +

+«NexT» 特别感谢这些支持我们核心基础设施的优质服务: +

+ +

+

+ GitHub 容许我们托管 Git 仓库,Netlify 容许我们分发文档。 +

+ +

+

+ Crowdin 容许我们方便地翻译文档。 +

+ +

+

+ Codacy 容许我们运行测试套件,BrowserStack 容许我们在真实的浏览器中进行测试。 +

+ [browser-image]: https://img.shields.io/badge/browser-%20chrome%20%7C%20firefox%20%7C%20opera%20%7C%20safari%20%7C%20ie%20%3E%3D%209-lightgrey.svg [browser-url]: https://www.browserstack.com [stack-url]: https://stackoverflow.com/questions/tagged/theme-next -[contributing-url]: https://github.com/theme-next/hexo-theme-next/blob/master/docs/zh-CN/CONTRIBUTING.md -[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc -[issues-url]: https://github.com/theme-next/hexo-theme-next/issues +[issues-bug-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md +[issues-feat-url]: https://github.com/theme-next/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md +[feat-req-vote-url]: https://github.com/theme-next/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22+sort%3Areactions-%2B1-desc [gitter-url]: https://gitter.im/theme-next -[riot-url]: https://riot.im/app/#/room/#NexT:matrix.org +[riot-url]: https://riot.im/app/#/room/#theme-next:matrix.org [t-chat-url]: https://t.me/theme_next [t-news-url]: https://t.me/theme_next_news diff --git a/gulpfile.coffee b/gulpfile.coffee index 77970d3be0..d556e15297 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -8,12 +8,12 @@ yaml = require('js-yaml') gulp.task 'lint', -> return gulp.src([ - './source/js/src/utils.js', - './source/js/src/motion.js', - './source/js/src/algolia-search.js', - './source/js/src/bootstrap.js', - './source/js/src/post-details.js', - './source/js/src/schemes/pisces.js' + './source/js/utils.js', + './source/js/motion.js', + './source/js/algolia-search.js', + './source/js/bootstrap.js', + './source/js/post-details.js', + './source/js/schemes/pisces.js' ]).pipe jshint() .pipe jshint.reporter(stylish) diff --git a/languages/es.yml b/languages/es.yml new file mode 100644 index 0000000000..b67fd7cc53 --- /dev/null +++ b/languages/es.yml @@ -0,0 +1,98 @@ +--- +title: + archive: Archivo + category: Categoría + tag: Etiqueta + schedule: Calendario +menu: + home: Inicio + archives: Archivo + categories: Categorías + tags: Etiquetas + about: Sobre mi + search: Buscar + schedule: Calendario + sitemap: Mapa del sitio + commonweal: Commonweal 404 +sidebar: + overview: Inicio + toc: Tabla de contenidos +post: + posted: Publicado el + edited: Editado el + created: Creado por + modified: Modificado por + edit: Editar esta entrada + in: En + more: más + read_more: Leer más + untitled: Sin título + sticky: Sticky + toc_empty: Esta entrada no tiene una tabla de contenidos + views: Visitas + comments_count: Comentarios + related_posts: Entradas relacionadas + copy_button: Copiar + copy_success: Copiado + copy_failure: Copiar falló + copyright: + author: Autor de la entrada + link: Enlace a la entrada + license_title: Copyright + license_content: "Todos los artículos de este blog están licenciados bajo %s a no ser que se especifique una licencia adicional." +page: + totally: Totalidad + tags: etiquetas +footer: + powered: "Creado mediante %s" + theme: Tema + total_views: Visitas totales + total_visitors: Visitantes totales +counter: + tag_cloud: + zero: Sin etiquetas + one: 1 etiqueta en total + other: "%d etiquetas en total" + categories: + zero: Sin categorías + one: 1 categoría en total + other: "%d categorías en total" + archive_posts: + zero: Sin entradas. + one: 1 entrada. + other: "%d entradas en total." +state: + posts: entradas + pages: páginas + tags: tags + categories: categorías +search: + placeholder: Buscando... +cheers: + um: Um.. + ok: Bueno + nice: Guai + good: Bien + great: Genial + excellent: Excelente +keep_on: Sigue posteando. +symbol: + comma: ", " + period: ". " + colon: ": " +reward: + donate: Donar + wechatpay: WeChat Pay + alipay: Alipay + bitcoin: Bitcoin +gitmentbutton: Mostrar comentarios de Gitment +accessibility: + nav_toggle: Cambiar a barra de navegación + prev_page: Página anterior + next_page: Página siguiente +symbols_count_time: + count: Cantidad de caracteres en el articulo + count_total: Cantidad total de caracteres + time: Tiempo de lectura + time_total: Tiempo total de lectura + time_minutes: minutos. diff --git a/languages/fr.yml b/languages/fr.yml index fba00ba5eb..056dbfb615 100644 --- a/languages/fr.yml +++ b/languages/fr.yml @@ -2,16 +2,16 @@ title: archive: Archive category: Catégorie - tag: Tag - schedule: Schedule + tag: Mots clés + schedule: Plannifier menu: home: Accueil archives: Archives - categories: Categories - tags: Tags - about: A propos - search: recherche - schedule: Schedule + categories: Catégories + tags: Mots clés + about: À propos + search: Recherche + schedule: Plannifier sitemap: Sitemap commonweal: Commonweal 404 sidebar: @@ -19,44 +19,44 @@ sidebar: toc: Table Des Matières post: posted: Posté le - edited: Edited on - created: Post created - modified: Updated at - edit: Edit this post + edited: Éditer sur + created: Article créé le + modified: Mise à jour le + edit: Éditer cet article in: In - more: more + more: plus read_more: Lire la suite untitled: Non titré - sticky: Sticky - toc_empty: This post does not have a Table of Contents - views: Views - comments_count: Comments - related_posts: Related Posts - copy_button: Copy - copy_success: Copied - copy_failure: Copy failed + sticky: Épingler + toc_empty: Cet article n'a pas de table des matières + views: Vues + comments_count: Commentaires + related_posts: Articles similares + copy_button: Copie + copy_success: Copie réussie + copy_failure: Copie ratée copyright: - author: Post author - link: Post link - license_title: Copyright Notice - license_content: "All articles in this blog are licensed under %s unless stating additionally." + author: Auteur de l'article + link: Lien de l'article + license_title: Droit d'auteur + license_content: "Tous les articles de ce blog sont sous licence %s, sauf mention contraire." page: totally: Total - tags: tags + tags: mots clé footer: - powered: "Powered by %s" + powered: "Alimenté par %s" theme: Thème - total_views: Total Views - total_visitors: Total Visitors + total_views: Vues totales + total_visitors: Total visiteurs counter: tag_cloud: - zero: Aucun tags + zero: Aucun mot clé one: 1 tag au total other: "%d tags au total" categories: zero: Aucun categories - one: 1 category au total - other: "%d categories au total" + one: 1 catégorie au total + other: "%d catégories au total" archive_posts: zero: Aucun article. one: 1 article. @@ -64,10 +64,10 @@ counter: state: posts: articles pages: pages - tags: tags - categories: categories + tags: mots clé + categories: catégories search: - placeholder: Searching... + placeholder: Recherche... cheers: um: Um.. ok: OK @@ -75,24 +75,24 @@ cheers: good: Bien great: Super excellent: Excellent -keep_on: Et ca ne fait que commencer. +keep_on: Continue comme ça. symbol: comma: ", " period: ". " colon: ": " reward: - donate: Donate + donate: Donner wechatpay: WeChat Pay alipay: Alipay bitcoin: Bitcoin -gitmentbutton: Show comments from Gitment +gitmentbutton: Montrer les commentaires de Gitment accessibility: - nav_toggle: Toggle navigation bar + nav_toggle: Basculer la barre de navigation prev_page: Page précédente next_page: Page suivante symbols_count_time: count: Symbols count in article count_total: Symbols count total - time: Reading time - time_total: Reading time total + time: Temps de lecture + time_total: Temps total de lecture time_minutes: mins. diff --git a/layout/_partials/footer.swig b/layout/_partials/footer.swig index bcf15ef658..da60a76dd5 100644 --- a/layout/_partials/footer.swig +++ b/layout/_partials/footer.swig @@ -1,7 +1,7 @@