From 04b9cff4febe427a76704f37565e6733fd343916 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sat, 7 Sep 2024 20:10:55 +0300 Subject: [PATCH] randompage --- quartz/components/Footer.tsx | 2 ++ 1 file changed, 2 insertions(+) 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