From f7fee07a7558cc8a83d0cb0c9930a7912b6abf07 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 18 Aug 2023 17:45:17 +0800 Subject: [PATCH] =?UTF-8?q?gitbook/heo=20=E5=B9=BF=E5=91=8A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/gitbook/index.js | 3 --- themes/heo/components/Footer.js | 2 -- themes/heo/index.js | 12 ++++++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/themes/gitbook/index.js b/themes/gitbook/index.js index c8d2a9a0..cb0b728a 100644 --- a/themes/gitbook/index.js +++ b/themes/gitbook/index.js @@ -121,9 +121,6 @@ const LayoutBase = (props) => {
-
- -
{/* 右侧侧推拉抽屉 */} diff --git a/themes/heo/components/Footer.js b/themes/heo/components/Footer.js index fc8f1465..772ade19 100644 --- a/themes/heo/components/Footer.js +++ b/themes/heo/components/Footer.js @@ -1,7 +1,6 @@ import React from 'react' import BLOG from '@/blog.config' import SocialButton from './SocialButton' -import { AdSlot } from '@/components/GoogleAdsense' // import DarkModeButton from '@/components/DarkModeButton' const Footer = ({ title }) => { @@ -29,7 +28,6 @@ const Footer = ({ title }) => { -
{/* 底部页面信息 */} diff --git a/themes/heo/index.js b/themes/heo/index.js index 7e75540d..e9cae287 100644 --- a/themes/heo/index.js +++ b/themes/heo/index.js @@ -31,6 +31,8 @@ import LatestPostsGroup from './components/LatestPostsGroup' import FloatTocButton from './components/FloatTocButton' import replaceSearchResult from '@/components/Mark' import LazyImage from '@/components/LazyImage' +import WWAds from '@/components/WWAds' +import { AdSlot } from '@/components/GoogleAdsense' /** * 基础布局 采用上中下布局,移动端使用顶部侧边导航栏 @@ -87,6 +89,9 @@ const LayoutIndex = (props) => { {/* 通知横幅 */} +
+ +
// 右侧栏 用户信息+标签列表 @@ -226,6 +231,7 @@ const LayoutSlug = props => { return (
+ {lock && } {!lock &&
@@ -238,7 +244,9 @@ const LayoutSlug = props => { itemScope itemType="https://schema.org/Movie" className="subpixel-antialiased overflow-y-hidden" > {/* Notion文章主体 */}
+ {post && } +
{/* 分享 */} @@ -256,12 +264,16 @@ const LayoutSlug = props => {
+
{/* 评论互动 */}
{locale.COMMON.COMMENTS}
+
+ +