Merge remote-tracking branch 'origin/release/3.16.4' into release/4.0.0

This commit is contained in:
tangly1024
2023-07-07 21:36:47 +08:00
13 changed files with 52 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ import { useRouter } from 'next/navigation'
const PrismMac = () => {
const router = useRouter()
useEffect(() => {
if (BLOG.CODE_MAC_BAR) {
if (JSON.parse(BLOG.CODE_MAC_BAR)) {
loadExternalResource('/css/prism-mac-style.css', 'css')
}
loadExternalResource(BLOG.PRISM_THEME_PATH, 'css')