Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2dcbfc9

Browse files
chore: modify configuration for lastModified plugin (#1668)
1 parent 7595c3e commit 2dcbfc9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎main.js‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@ const cleanedHtml = html => {
99

1010
window.addEventListener('hashchange', () => {
1111
window.$docsify.loadSidebar = sidebar();
12-
window.$docsify.pagination.previousText = isEn() ? 'PREVIOUS' : '上一题';
13-
window.$docsify.pagination.nextText = isEn() ? 'NEXT' : '下一题';
1412
});
1513

1614
window.$docsify = {
1715
name: 'leetcode',
1816
repo: 'doocs/leetcode',
19-
lastModifiedConfig: {
20-
reg: /README_EN$/,
21-
en: 'Last updated: ',
22-
zh: '最近更新时间:',
17+
lastModifiedText: {
18+
'/README_EN': 'Last updated: ',
19+
'/': '最近更新时间:',
2320
},
2421
logo: '/images/doocs-leetcode.png',
2522
search: {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /