Skip to content

Commit fd8558a

Browse files
Don't use theme directory
1 parent 4a2141d commit fd8558a

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

source/docs/theme-settings/posts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ tag_icon: true
213213

214214
NexT theme provides a donation feature that allows readers to show appreciation for your work. You can display QR codes for various payment methods (such as WeChat Pay, Alipay, Bitcoin, etc.) at the end of your articles, making it convenient for readers to support your content creation efforts. What you need is:
215215

216-
1. Get your WeChat / Alipay / Bitcoin receive money QRcode image(s) and put into `source/images` under {% label primary@theme directory %} or upload it(them) to an image cloud to get the absolute HTTP address(es).
216+
1. Get your WeChat / Alipay / Bitcoin receive money QRcode image(s) and put into `source/images` under {% label info@site directory %} or upload it(them) to an image cloud to get the absolute HTTP address(es).
217217
2. Set needed values in {% label primary@NexT config file %}:
218218

219219
```yml NexT config file

source/docs/theme-settings/sidebar.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,11 @@ Then you need to specify your own avatar. It can be done one of the ways below:
112112

113113
{% subtabs avatar1 %}
114114
<!-- tab {% label success@Hexo directory %} -->
115-
Put your avatar under {% label info@site directory %} `source/uploads/` (create directory if it doesn't exists).
116-
And then change option to `url: /uploads/avatar.png`.
117-
<!-- endtab -->
118-
119-
<!-- tab NexT directory -->
120-
Put your avatar under {% label primary@theme directory %} `source/images/`.
115+
Put your avatar under {% label info@site directory %} `source/images/` (create directory if it doesn't exists).
121116
And then change option to `url: /images/avatar.png`.
122117

123118
{% note info %}
124-
Current site uses avatar under {% label primary@theme directory %} from file located in `next/source/images/apple-touch-icon-next.png` with following config:
119+
By default, NexT uses avatar under {% label primary@theme directory %} from file located in `next/source/images/apple-touch-icon-next.png` with following config:
125120

126121
```yml NexT config file
127122
avatar:

0 commit comments

Comments
 (0)