From 280b83ddb052a3081042102185ec96de1c786ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B4=AB=E5=8D=87?= Date: Mon, 11 Sep 2023 16:32:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=90=8C=E6=AD=A5=20layouts=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumi/theme/layouts/DocLayout/index.tsx | 29 +++++++++++++++---------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.dumi/theme/layouts/DocLayout/index.tsx b/.dumi/theme/layouts/DocLayout/index.tsx index eafc881..3e574a2 100644 --- a/.dumi/theme/layouts/DocLayout/index.tsx +++ b/.dumi/theme/layouts/DocLayout/index.tsx @@ -11,6 +11,7 @@ import { useSiteData, } from 'dumi'; import Content from 'dumi/theme-default/slots/Content'; +import ContentFooter from 'dumi/theme-default/slots/ContentFooter'; import Features from 'dumi/theme-default/slots/Features'; import Footer from 'dumi/theme-default/slots/Footer'; import Header from 'dumi/theme-default/slots/Header'; @@ -64,8 +65,11 @@ const DocLayout: FC = () => { {fm.description && ( )} - {fm.keywords && fm.keywords.map(keyword => ())} - + {fm.keywords && + fm.keywords.map((keyword) => ( + + ))} + {hostname && }
@@ -88,15 +92,18 @@ const DocLayout: FC = () => {
{showSidebar && } - {outlet} - +
+ {outlet} + +
+