diff --git a/components/CommonHead.js b/components/CommonHead.js index 8104ea80..84f2feea 100644 --- a/components/CommonHead.js +++ b/components/CommonHead.js @@ -19,10 +19,7 @@ const CommonHead = ({ meta, children }) => { {title} - + {BLOG.SEO_GOOGLE_SITE_VERIFICATION && ( diff --git a/public/css/theme-simple.css b/public/css/theme-simple.css index 0b2f13cd..bc7b2896 100644 --- a/public/css/theme-simple.css +++ b/public/css/theme-simple.css @@ -2,11 +2,11 @@ /* background-color: #f6f6f6; */ } -#theme-simple #blog-item-title { +#theme-simple .blog-item-title { color: #276077; } -.dark #theme-simple #blog-item-title { +.dark #theme-simple .blog-item-title { color: #d1d5db; } diff --git a/themes/simple/components/ArticleInfo.js b/themes/simple/components/ArticleInfo.js index 4dc2912c..393c0f98 100644 --- a/themes/simple/components/ArticleInfo.js +++ b/themes/simple/components/ArticleInfo.js @@ -14,8 +14,7 @@ export const ArticleInfo = (props) => {

+ className="blog-item-title mb-5 font-bold text-black text-xl md:text-2xl no-underline"> {post.title}

diff --git a/themes/simple/components/BlogItem.js b/themes/simple/components/BlogItem.js index c99092b7..75d04989 100644 --- a/themes/simple/components/BlogItem.js +++ b/themes/simple/components/BlogItem.js @@ -7,21 +7,30 @@ export const BlogItem = props => { const { post } = props return
+ {/* 文章标题 */} +

+ className="blog-item-title font-bold text-black text-2xl no-underline hover:underline"> {post.title}

-
- {BLOG.AUTHOR} - - {post.date?.start_date || post.createdTime} - - - {post.category && - {post.category}} + {/* 文章信息 */} + +
+ {BLOG.AUTHOR} + + + {post.date?.start_date || post.createdTime} + + + + + {post.category && {post.category}} {post.tags && post.tags?.length > 0 && post.tags.map(t => / {t})} +
@@ -30,7 +39,7 @@ export const BlogItem = props => {
- + Continue Reading
diff --git a/themes/simple/components/SocialButton.js b/themes/simple/components/SocialButton.js index f62ae7c2..85cbfb02 100644 --- a/themes/simple/components/SocialButton.js +++ b/themes/simple/components/SocialButton.js @@ -8,7 +8,7 @@ import React from 'react' */ const SocialButton = () => { return
-
+
{BLOG.CONTACT_GITHUB && }