mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-16 23:16:48 +00:00
feature:
统计模块
This commit is contained in:
@@ -92,13 +92,13 @@ const initTheme = (theme, changeTheme) => {
|
||||
if (useDark) {
|
||||
changeTheme('dark')
|
||||
saveTheme('dark')
|
||||
htmlElement.classList.remove('light')
|
||||
htmlElement.classList.add('dark')
|
||||
htmlElement.classList?.remove('light')
|
||||
htmlElement.classList?.add('dark')
|
||||
} else {
|
||||
changeTheme('light')
|
||||
saveTheme('light')
|
||||
htmlElement.classList.remove('dark')
|
||||
htmlElement.classList.add('light')
|
||||
htmlElement.classList?.remove('dark')
|
||||
htmlElement.classList?.add('light')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,9 @@ export default {
|
||||
COPYRIGHT: 'Copyright',
|
||||
AUTHOR: 'Author',
|
||||
URL: 'URL',
|
||||
POSTS: 'Posts',
|
||||
VISITORS: 'Visitors',
|
||||
VIEWS: 'Views',
|
||||
COPYRIGHT_NOTICE: 'All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!'
|
||||
},
|
||||
PAGINATION: {
|
||||
|
||||
@@ -24,6 +24,10 @@ export default {
|
||||
COPYRIGHT: '版权声明',
|
||||
AUTHOR: '作者',
|
||||
URL: '链接',
|
||||
ANALYTICS: '统计',
|
||||
POSTS: '篇文章',
|
||||
VISITORS: '位访客',
|
||||
VIEWS: '次查看',
|
||||
COPYRIGHT_NOTICE: '本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!'
|
||||
},
|
||||
PAGINATION: {
|
||||
|
||||
Reference in New Issue
Block a user