diff --git a/themes/gitbook/LayoutBase.js b/themes/gitbook/LayoutBase.js
index 10a9f7bd..071a68a0 100644
--- a/themes/gitbook/LayoutBase.js
+++ b/themes/gitbook/LayoutBase.js
@@ -27,7 +27,7 @@ const ThemeGlobalMedium = createContext()
* @constructor
*/
const LayoutBase = (props) => {
- const { children, meta, post, allNavPages, slotLeft, slotRight, slotTop, siteInfo } = props
+ const { children, meta, post, allNavPages, slotLeft, slotRight, slotTop } = props
const [tocVisible, changeTocVisible] = useState(false)
const [pageNavVisible, changePageNavVisible] = useState(false)
const [filterPosts, setFilterPosts] = useState(allNavPages)
@@ -58,7 +58,7 @@ const LayoutBase = (props) => {
{/* 左侧推拉抽屉 */}
-
+
{slotLeft}
@@ -66,9 +66,11 @@ const LayoutBase = (props) => {
{/* 所有文章列表 */}
-
-
+
+
+
+
@@ -87,8 +89,9 @@ const LayoutBase = (props) => {
{/* 底部 */}
-
-
+
+
+
@@ -111,7 +114,7 @@ const LayoutBase = (props) => {
-
+
diff --git a/themes/gitbook/components/Footer.js b/themes/gitbook/components/Footer.js
index 744f9e61..a5ef6f8f 100644
--- a/themes/gitbook/components/Footer.js
+++ b/themes/gitbook/components/Footer.js
@@ -1,8 +1,7 @@
import React from 'react'
import BLOG from '@/blog.config'
-import DarkModeButton from '@/components/DarkModeButton'
-const Footer = ({ title }) => {
+const Footer = ({ siteInfo }) => {
const d = new Date()
const currentYear = d.getFullYear()
const copyrightDate = (function () {
@@ -14,23 +13,24 @@ const Footer = ({ title }) => {
return (