mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Fix typo
This commit is contained in:
parent
6a4ee1d180
commit
9acfa7e21a
11
.github/PULL_REQUEST_TEMPLATE.md
vendored
11
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,7 +1,7 @@
|
||||
<!-- ATTENTION!
|
||||
1. Please write pull request readme in English, thanks!
|
||||
|
||||
2. Always remember that NexT includes 4 schemes. And if on one of them works fine after the changes, on another scheme this changes can be broken. Muse and Mist have similar structure, but Pisces is very difference from them. Gemini is a mirror of Pisces with some styles and layouts remakes. So, please make the tests at least on two schemes (Muse or Mist and Pisces or Gemini).
|
||||
2. NexT includes 4 schemes: Muse and Mist have similar structure, but Pisces and Gemini are very different from them. It is possible that one scheme works fine after the changes, but another scheme is broken. Please make the tests in different schemes to make sure the changes are compatible with all schemes.
|
||||
|
||||
3. In addition, you need to confirm that the changes made by this PR are compatible with PJAX and Dark Mode.
|
||||
-->
|
||||
@ -10,9 +10,7 @@
|
||||
<!-- Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) -->
|
||||
|
||||
- [ ] The commit message follows [guidelines for NexT](https://github.com/next-theme/hexo-theme-next/blob/master/.github/CONTRIBUTING.md).
|
||||
- [ ] Tests for the changes was maked (for bug fixes / features).
|
||||
- [ ] Muse | Mist have been tested.
|
||||
- [ ] Pisces | Gemini have been tested.
|
||||
- [ ] The changes have been tested (for bug fixes / features).
|
||||
- [ ] [Docs](https://github.com/next-theme/theme-next-docs/tree/master/source/docs) in [NexT website](https://theme-next.js.org/docs/) have been added / updated (for features).
|
||||
<!-- For adding Docs edit needed file here: https://github.com/next-theme/theme-next-docs/tree/master/source/docs and create PR with this changes here: https://github.com/next-theme/theme-next-docs/pulls -->
|
||||
|
||||
@ -21,8 +19,9 @@
|
||||
|
||||
- [ ] Bugfix.
|
||||
- [ ] Feature.
|
||||
- [ ] Code style update (formatting, local variables).
|
||||
- [ ] Refactoring (no functional changes, no api changes).
|
||||
- [ ] Improvement.
|
||||
- [ ] Code style update (formatting, linting).
|
||||
- [ ] Refactoring (no functional changes).
|
||||
- [ ] Documentation.
|
||||
- [ ] Translation. <!-- We use Crowdin to manage translations https://crowdin.com/project/hexo-theme-next -->
|
||||
- [ ] Other... Please describe:
|
||||
|
||||
@ -93,7 +93,7 @@ vendors:
|
||||
|
||||
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.
|
||||
|
||||
Install the latest version throuth npm:
|
||||
Install the latest version through npm:
|
||||
|
||||
```sh
|
||||
$ cd hexo-site
|
||||
|
||||
@ -93,7 +93,7 @@ vendors:
|
||||
|
||||
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:
|
||||
Install the latest version through npm:
|
||||
|
||||
```sh
|
||||
$ cd hexo-site
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const merge = require('hexo-util').deepMerge;
|
||||
const { deepMerge } = require('hexo-util');
|
||||
|
||||
module.exports = hexo => {
|
||||
const data = hexo.locals.get('data');
|
||||
@ -30,7 +30,7 @@ module.exports = hexo => {
|
||||
const { i18n } = hexo.theme;
|
||||
|
||||
const mergeLang = lang => {
|
||||
if (data.languages[lang]) i18n.set(lang, merge(i18n.get([lang]), data.languages[lang]));
|
||||
if (data.languages[lang]) i18n.set(lang, deepMerge(i18n.get([lang]), data.languages[lang]));
|
||||
};
|
||||
|
||||
if (Array.isArray(language)) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
if (hexo-config('sidebar.position') == 'right') {
|
||||
.sidebar-active {
|
||||
// Note: $sidebar-desktop + $content-desktop-large should be greater than desktop-large threshold
|
||||
// Note: $sidebar-desktop + $content-desktop-large should be less than desktop-large threshold
|
||||
// Otherwise a horizontal scrollbar will appear
|
||||
+desktop-large() {
|
||||
padding-right: $sidebar-desktop;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// CSS Style Guide: https://codeguide.co/#css
|
||||
|
||||
// https://stylus-lang.com/docs/keyframes.html
|
||||
vendors = official
|
||||
vendors = official;
|
||||
|
||||
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user