diff --git a/pages/article/[slug].js b/pages/article/[slug].js index bf770cf9..6a8629a3 100644 --- a/pages/article/[slug].js +++ b/pages/article/[slug].js @@ -35,138 +35,125 @@ const BlogPost = ({ post, blockMap, emailHash, tags, prev, next }) => { return {/* 阅读进度条 */} +
+ {/* 中央区域 wrapper */} +
+ {/* 封面图 */} + {post.page_cover && post.page_cover.length > 1 && ( + {post.title} + )} +
- {/* 主体区块 */} -
-
- {/* 中央区域 wrapper */} -
- {/* 封面图 */} - {post.page_cover && post.page_cover.length > 1 && ( - {post.title} - )} -
+
+ {/* 文章标题 */} +

+ {post.title} +

-
- {/* 文章标题 */} -

- {post.title} -

+ {/* 文章信息 */} +
+
- {/* 文章信息 */} -
-
- - {post.slug !== 'about' && (<> - - {BLOG.author} - - )} - {post.tags && ( -
- {post.tags.map(tag => ( - - ))} -
- )} - - {post.type[0] !== 'Page' && ( -
- {formatDate( - post?.date?.start_date || post.createdTime, - BLOG.lang - )} -
- )} -
- - {/* 不蒜子 */} - + )} + {post.tags && ( +
+ {post.tags.map(tag => ( + + ))} +
+ )} + + {post.type[0] !== 'Page' && ( +
+ {formatDate( + post?.date?.start_date || post.createdTime, + BLOG.lang + )} +
+ )}
- {/* Notion文章主体 */} - {blockMap && ( - - )} - -
- + {/* 不蒜子 */} + -

- - 💖 本 文 结 束 😚 感 谢 您 的 阅 读 💖 - -

- - {/* 版权声明 */} -
-
    -
  • 本文作者:{BLOG.author}
  • -
  • 本文链接: {url} 《{post.title}》
  • -
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
  • -
-
- -
-
分享本文 
- -
- -
-
继续阅读
-
- - -
-
- {/* 评论互动 */} - -
- -
- - {/* 右侧目录 */} - - - {/* 右下角悬浮菜单 */} -
-
- {/* 分享按钮 */} - {/* */} - {/* 跳回顶部 */} -
-
+ + {/* Notion文章主体 */} + {blockMap && ( + + )} + +
+ +
+

+ - 💖 本 文 结 束 😚 感 谢 您 的 阅 读 💖 - +

+ + {/* 版权声明 */} +
+
    +
  • 本文作者:{BLOG.author}
  • +
  • 本文链接: {url} 《{post.title}》
  • +
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
  • +
+
+ +
+
分享本文 
+ +
+ +
+
继续阅读
+
+ + +
+
+ {/* 评论互动 */} + + +
+ {/* 右侧目录 */} + + + {/* 右下角悬浮菜单 */} }