diff --git a/_config.next.yml b/_config.next.yml index b2f0531e..fc252d9f 100644 --- a/_config.next.yml +++ b/_config.next.yml @@ -115,13 +115,15 @@ sidebar: offset: 12 avatar: - url: /images/logo.svg + url: /images/next.png rounded: true social: GitHub: https://github.com/next-theme || fab fa-github - Crowdin: https://crowdin.com/project/hexo-theme-next || fa fa-globe-asia RSS: /atom.xml || fa fa-rss + Crowdin: https://crowdin.com/project/hexo-theme-next || fa fa-globe-asia + Gitter: https://app.gitter.im/#/room/#next:gitter.im || fab fa-gitter + Telegram (Chinese Language): https://t.me/theme_next_cn || fab fa-telegram social_icons: enable: true diff --git a/lib/highlight.js b/lib/highlight.js index 75bf028b..c1e9ea6e 100644 --- a/lib/highlight.js +++ b/lib/highlight.js @@ -1,7 +1,7 @@ const fs = require('fs'); const path = require('path'); const table = require('text-table'); -const { green, magenta, red } = require('chalk'); +const { green, magenta, red } = require('picocolors'); const { resolve, highlightTheme } = require('hexo-theme-next/scripts/events/lib/utils'); function test(color) { diff --git a/package.json b/package.json index 499888d3..8631d43b 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "8.21.1", "private": true, "hexo": { - "version": "7.2.0" + "version": "7.3.0" }, "description": "Elegant and powerful theme for Hexo.", "scripts": { @@ -40,4 +40,4 @@ "devDependencies": { "markdownlint-cli": "0.42.0" } -} +} \ No newline at end of file diff --git a/source/_data/sidebar.njk b/source/_data/sidebar.njk index 4e8873c7..ca2c2fac 100644 --- a/source/_data/sidebar.njk +++ b/source/_data/sidebar.njk @@ -1,7 +1,7 @@
diff --git a/source/_posts/hexo-theme-next.md b/source/_posts/hexo-theme-next.md index 19895f81..5d3cd94b 100644 --- a/source/_posts/hexo-theme-next.md +++ b/source/_posts/hexo-theme-next.md @@ -10,10 +10,18 @@ Welcome to the [NexT][docs] documentation site! NexT is a high quality elegant t It's easy to set up NexT theme. Just follow [documentation][] and create your personal website! +## Community + +Connect with us and be part of our growing community! + +* **Telegram Group (Chinese Language)**: [Click here to join!](https://t.me/theme_next_cn) +* **Discord Server**: [Join our Discord!](https://discord.gg/qmkgkY3jaG) +* **Gitter**: [Join our Gitter chats!][gitter-url] + ### Feedback * Visit the [Awesome NexT][awesome-next-url] list to share plugins and tutorials with other users. -* Join our [Gitter][gitter-url] chats. +* Join our [GitHub discussions][discussions-url]. * [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]. @@ -23,6 +31,7 @@ It's easy to set up NexT theme. Just follow [documentation][] and create your pe [docs]: /docs/ [documentation]: /docs/getting-started/ +[discussions-url]: https://github.com/next-theme/hexo-theme-next/discussions [gitter-url]: https://app.gitter.im/#/room/#next:gitter.im [i18n-url]: https://crowdin.com/project/hexo-theme-next diff --git a/source/docs/tag-plugins/group-pictures.md b/source/docs/tag-plugins/group-pictures.md index 1e80f40d..7733b2a2 100644 --- a/source/docs/tag-plugins/group-pictures.md +++ b/source/docs/tag-plugins/group-pictures.md @@ -39,32 +39,32 @@ Please use absolute paths for `` inside group pictures. See [this issue](ht ```jinja {% grouppicture 3-3 %} -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) {% endgrouppicture %} ``` {% grouppicture 3-3 %} -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) {% endgrouppicture %} ```jinja {% gp 5-2 %} -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) {% endgp %} ``` {% gp 5-2 %} -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) -![](/images/next.svg) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) +![](/images/next.png) {% endgp %} diff --git a/source/images/next.png b/source/images/next.png new file mode 100644 index 00000000..5d0ee331 Binary files /dev/null and b/source/images/next.png differ diff --git a/source/images/next.svg b/source/images/next.svg deleted file mode 100644 index 98dd3dcb..00000000 --- a/source/images/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file