diff --git a/components/Footer.js b/components/Footer.js index 80c9eae7..8755e53f 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -3,7 +3,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import React from 'react' import Link from 'next/link' -const Footer = ({ fullWidth = true }) => { +const Footer = ({ title }) => { const d = new Date() const y = d.getFullYear() return ( @@ -13,13 +13,15 @@ const Footer = ({ fullWidth = true }) => { {` ${y}`} tangly1024.com. Powered by Notion & NotionNext.
闽ICP备20010331号 - 隐私政策 + 隐私政策 pv uv +
+

{title}

) } diff --git a/components/SideBar.js b/components/SideBar.js index 384b9880..cd1797ba 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -23,9 +23,10 @@ import { faAngleDoubleRight, faArchive, faTags, faThList } from '@fortawesome/fr * @returns {JSX.Element} * @constructor */ -const SideBar = ({ tags, currentTag, post, posts, categories, currentCategory, currentSearch }) => { +const SideBar = ({ title, tags, currentTag, post, posts, categories, currentCategory, currentSearch }) => { const { locale } = useGlobal() return