diff --git a/blog.config.js b/blog.config.js index 330f1638..25f98757 100644 --- a/blog.config.js +++ b/blog.config.js @@ -39,8 +39,8 @@ const BLOG = { showDarkMode: true, // 显示日间/夜间模式切换 showToc: true, // 移动端显示悬浮目录 showShareBar: false, // 文章分享功能 - showRelatePosts: false, // 关联文章推荐 - showCopyRight: false, // 显示版权声明 + showRelatePosts: true, // 相关文章推荐 + showCopyRight: true, // 文章版权声明 showLatestPost: false, // 右侧边栏显示最近更新 showCategoryList: false, // 右侧边栏显示文章分类列表 showTagList: false // 右侧边栏显示标签分类列表 diff --git a/components/ArticleCopyright.js b/components/ArticleCopyright.js index 727abec7..aab01890 100644 --- a/components/ArticleCopyright.js +++ b/components/ArticleCopyright.js @@ -8,8 +8,7 @@ export default function ArticleCopyright ({ author, url }) { } const { locale } = useGlobal() return
-
{locale.COMMON.COPYRIGHT}
-
- {/* 推荐文章 */} - - {/* 版权声明 */} + {/* 推荐文章 */} + + {/* 标签列表 */}
{post.tagItems && ( diff --git a/components/RecommendPosts.js b/components/RecommendPosts.js index ac6b8d7a..c0c71059 100644 --- a/components/RecommendPosts.js +++ b/components/RecommendPosts.js @@ -13,13 +13,13 @@ const RecommendPosts = ({ recommendPosts }) => { const { locale } = useGlobal() return ( -
-
{locale.COMMON.RELATE_POSTS}
-
    +
    +
    {locale.COMMON.RELATE_POSTS} :
    +
      {recommendPosts.map(post => (
    • - + {post.title} diff --git a/lib/lang/zh-CN.js b/lib/lang/zh-CN.js index e7a8e22b..a27ac784 100644 --- a/lib/lang/zh-CN.js +++ b/lib/lang/zh-CN.js @@ -21,14 +21,14 @@ export default { URL_COPIED: '链接已复制!', TABLE_OF_CONTENTS: '目录', RELATE_POSTS: '相关文章', - COPYRIGHT: '版权声明', + COPYRIGHT: '声明', AUTHOR: '作者', URL: '链接', ANALYTICS: '统计', POSTS: '篇文章', VISITORS: '位访客', VIEWS: '次查看', - COPYRIGHT_NOTICE: '本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!' + COPYRIGHT_NOTICE: '本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。' }, PAGINATION: { PREV: '上一页',