Skip to content

Commit c2ff3ee

Browse files
authored
chore: add lastModifiedConfig (doocs#1666)
1 parent c00c299 commit c2ff3ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

main.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ window.addEventListener('hashchange', () => {
1616
window.$docsify = {
1717
name: 'leetcode',
1818
repo: 'doocs/leetcode',
19-
lastModifiedText: isEn() ? 'Last updated: ' : '最近更新时间:',
19+
lastModifiedConfig: {
20+
reg: /README_EN$/,
21+
en: 'Last updated: ',
22+
zh: '最近更新时间:',
23+
},
2024
logo: '/images/doocs-leetcode.png',
2125
search: {
2226
depth: 2,

0 commit comments

Comments
 (0)