diff --git a/themes/gitbook/components/Footer.js b/themes/gitbook/components/Footer.js index 78a91cd5..d0e2a150 100644 --- a/themes/gitbook/components/Footer.js +++ b/themes/gitbook/components/Footer.js @@ -4,30 +4,56 @@ const Footer = ({ siteInfo }) => { const d = new Date() const currentYear = d.getFullYear() const since = siteConfig('SINCE') - const copyrightDate = parseInt(since) < currentYear ? since + '-' + currentYear : currentYear + const copyrightDate = + parseInt(since) < currentYear ? since + '-' + currentYear : currentYear return ( - ) } diff --git a/themes/gitbook/index.js b/themes/gitbook/index.js index 9fe1682e..89240a63 100644 --- a/themes/gitbook/index.js +++ b/themes/gitbook/index.js @@ -140,9 +140,8 @@ const LayoutBase = props => {
{/* 左侧推拉抽屉 */} {fullWidth ? null : ( @@ -150,16 +149,19 @@ const LayoutBase = props => { className={ 'hidden md:block border-r dark:border-transparent relative z-10 dark:bg-hexo-black-gray' }> -
- {slotLeft} - -
+
+ {/* 导航 */} +
+ {/* 嵌入 */} + {slotLeft} + {/* 搜索框 */} + + + {/* 文章列表 */} {/* 所有文章列表 */}
-
- -
+ {/* 页脚 */}