diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx index b5e2ac0f6..cabe47832 100644 --- a/quartz/components/Footer.tsx +++ b/quartz/components/Footer.tsx @@ -2,6 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro import style from "./styles/footer.scss" import { version } from "../../package.json" import { i18n } from "../i18n" +import script from "./scripts/_randomPage.inline" interface Options { links: Record @@ -41,5 +42,6 @@ export default ((opts?: Options) => { } Footer.css = style + Footer.afterDOMLoaded = script return Footer }) satisfies QuartzComponentConstructor