diff --git a/blog.config.js b/blog.config.js index dd0180af..82f93cb8 100644 --- a/blog.config.js +++ b/blog.config.js @@ -20,7 +20,12 @@ const BLOG = { showAbout: true, // WIP 是否显示关于 showArchive: true, // WIP 是否显示归档 autoCollapsedNavBar: false, // the automatically collapsed navigation bar - socialLink: 'https://weibo.com/u/2245301913', + socialLink: { + weibo: 'https://weibo.com/u/2245301913', + twitter: '', + github: 'https://github.com/tangly1024', + telegram: '' + }, seo: { keywords: ['Notion', '写作', '博客'], googleSiteVerification: '' // Remove the value or replace it with your own google site verification code diff --git a/components/Analytics.js b/components/Analytics.js index 9edcf75e..fbd23538 100644 --- a/components/Analytics.js +++ b/components/Analytics.js @@ -1,6 +1,4 @@ import { useGlobal } from '@/lib/global' -import { faChartBar } from '@fortawesome/free-solid-svg-icons' -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' /** * 统计网站信息 @@ -11,7 +9,7 @@ export default function Analytics ({ postCount }) { const { locale } = useGlobal() return <> -