Skip to content

Commit

Permalink
Update logo & docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Nov 26, 2024
1 parent 57a3def commit b68a173
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 26 deletions.
6 changes: 4 additions & 2 deletions _config.next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/highlight.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -40,4 +40,4 @@
"devDependencies": {
"markdownlint-cli": "0.42.0"
}
}
}
6 changes: 3 additions & 3 deletions source/_data/sidebar.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="sidebar-button animated">
<a href="https://app.gitter.im/#/room/#next:gitter.im">
<i class="fab fa-gitter"></i>
Gitter Chat
<a href="https://discord.gg/qmkgkY3jaG">
<i class="fab fa-discord"></i>
Discord Chat
</a>
</div>
<div class="cc-license animated" itemprop="sponsor">
Expand Down
11 changes: 10 additions & 1 deletion source/_posts/hexo-theme-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand All @@ -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

Expand Down
32 changes: 16 additions & 16 deletions source/docs/tag-plugins/group-pictures.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,32 +39,32 @@ Please use absolute paths for `<img>` 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 %}
Binary file added source/images/next.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion source/images/next.svg

This file was deleted.

0 comments on commit b68a173

Please sign in to comment.