添加大量可配置项
This commit is contained in:
tangly1024
2022-01-04 11:15:23 +08:00
parent 5a34ff2f05
commit ef3a5dffe2
21 changed files with 154 additions and 122 deletions

View File

@@ -17,6 +17,9 @@ import {
import { faLink } from '@fortawesome/free-solid-svg-icons'
const ShareBar = ({ post }) => {
if (!BLOG.widget?.showShareBar) {
return <></>
}
const router = useRouter()
const shareUrl = BLOG.link + router.asPath