- {siteConfig('TITLE')}
+ {siteInfo?.title || siteConfig('TITLE')}
diff --git a/themes/hexo/components/Logo.js b/themes/hexo/components/Logo.js
index 30054acc..2279834c 100644
--- a/themes/hexo/components/Logo.js
+++ b/themes/hexo/components/Logo.js
@@ -1,11 +1,20 @@
import { siteConfig } from '@/lib/config'
import Link from 'next/link'
-
+/**
+ * Logo
+ * 实际值支持文字
+ * @param {*} props
+ * @returns
+ */
const Logo = props => {
+ const { siteInfo } = props
return (
-
{siteConfig('TITLE') }
+
+ {' '}
+ {siteInfo?.title || siteConfig('TITLE')}
+
)