Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Nov 18, 2022
1 parent 6a4ee1d commit 9acfa7e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
11 changes: 5 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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.
-->
Expand All @@ -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 -->

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/events/lib/config.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion source/css/_schemes/Muse/_sidebar.styl
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion source/css/main.styl
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit 9acfa7e

Please sign in to comment.