Skip to content

Commit 7595c3e

Browse files
authored
chore: modify configuration for pagination plugin (#1667)
1 parent ce0df08 commit 7595c3e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

main.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,14 @@ window.$docsify = {
7777
},
7878
},
7979
pagination: {
80-
previousText: isEn() ? 'PREVIOUS' : '上一题',
81-
nextText: isEn() ? 'NEXT' : '下一题',
80+
previousText: {
81+
'/README_EN': 'PREVIOUS',
82+
'/': '上一题',
83+
},
84+
nextText: {
85+
'/README_EN': 'NEXT',
86+
'/': '下一题',
87+
},
8288
crossChapter: true,
8389
crossChapterText: true,
8490
},

0 commit comments

Comments
 (0)