diff --git a/components/PrismMac.js b/components/PrismMac.js index 2eac2a40..731060b6 100644 --- a/components/PrismMac.js +++ b/components/PrismMac.js @@ -70,7 +70,7 @@ const renderMermaid = async() => { } } }) - observer.observe(document.querySelector('#container'), { attributes: true, subtree: true }) + observer.observe(document.querySelector('#notion-article'), { attributes: true, subtree: true }) } function renderPrismMac() { diff --git a/themes/nobelium/LayoutSlug.js b/themes/nobelium/LayoutSlug.js index ea2cfb3a..4a98a641 100644 --- a/themes/nobelium/LayoutSlug.js +++ b/themes/nobelium/LayoutSlug.js @@ -19,13 +19,13 @@ export const LayoutSlug = props => { {lock && } {!lock &&
- {post && <> + <> - } +
}