diff --git a/blog.config.js b/blog.config.js index 4480601e..6b570fd8 100644 --- a/blog.config.js +++ b/blog.config.js @@ -1,9 +1,9 @@ const BLOG = { - title: '塘里1024', - author: '塘里', + title: '塘里独立博客', + author: '塘里1024', email: 'tlyong1992@hotmail.com', link: 'https://tangly1024.com', - description: '分享有趣的技术与思考', + description: '欢迎访问塘里1024的博客,这里主要是关于编程技术与投资理财相关的思考。我的本职是一名程序员、写博客是我的业余爱好', lang: 'zh-CN', // ['zh-CN','en-US'] default lang => see /lib/lang.js for more. notionPageId: process.env.NOTION_PAGE_ID || 'bee1fccfa3bd47a1a7be83cc71372d83', // Important page_id!!! notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public diff --git a/components/BlogPostCard.js b/components/BlogPostCard.js index 589b613e..56b05e23 100644 --- a/components/BlogPostCard.js +++ b/components/BlogPostCard.js @@ -30,9 +30,9 @@ const BlogPostCard = ({ post, tags }) => { -
+

{post.title} -

+

{post.summary}

diff --git a/components/InfoCard.js b/components/InfoCard.js index b0821aaf..4033fcbc 100644 --- a/components/InfoCard.js +++ b/components/InfoCard.js @@ -5,21 +5,18 @@ import Router from 'next/router' const InfoCard = () => { return <> -
-
-
{ Router.push('/') }}> +
+
{ Router.push('/') }}> {BLOG.author}
-

{BLOG.author}

-

{BLOG.description}

-
+
{BLOG.title}
} diff --git a/components/NavBar.js b/components/NavBar.js index 4061205e..8f17f600 100644 --- a/components/NavBar.js +++ b/components/NavBar.js @@ -86,7 +86,7 @@ const Header = ({ navBarTitle, fullWidth = true }) => {
{BLOG.author} { const { locale } = useGlobal() return
-

{locale.COMMON.RELATE_POSTS}

+
{locale.COMMON.RELATE_POSTS}