diff --git a/themes/fukasawa/components/AsideLeft.js b/themes/fukasawa/components/AsideLeft.js index 5083269b..2befc93d 100644 --- a/themes/fukasawa/components/AsideLeft.js +++ b/themes/fukasawa/components/AsideLeft.js @@ -133,13 +133,12 @@ function AsideLeft(props) { - + {slot} - } diff --git a/themes/fukasawa/components/Catalog.js b/themes/fukasawa/components/Catalog.js index 522646af..d584d5de 100644 --- a/themes/fukasawa/components/Catalog.js +++ b/themes/fukasawa/components/Catalog.js @@ -58,29 +58,27 @@ const Catalog = ({ toc }) => { if (!toc || toc?.length < 1) { return <>> } - return + return {locale.COMMON.TABLE_OF_CONTENTS} - - - {toc.map((tocItem) => { - const id = uuidToId(tocItem.id) - return ( - + {toc.map((tocItem) => { + const id = uuidToId(tocItem.id) + return ( + + - - {tocItem.text} - - - ) - })} - - + {tocItem.text} + + + ) + })} + }