diff --git a/content/Essays/template.md b/content/Essays/template.md new file mode 100644 index 000000000..8473f82bd --- /dev/null +++ b/content/Essays/template.md @@ -0,0 +1,18 @@ +--- +draft: true +title: An Essay +tags: + - essay + - incomplete +--- + + + +This is tan essay. + +Comment with [[Projects/quartz-comments|Remark42]] down below! +
diff --git a/oquonie_save.bin b/oquonie_save.bin deleted file mode 100644 index 3020c2f0f..000000000 Binary files a/oquonie_save.bin and /dev/null differ diff --git a/quartz.config.ts b/quartz.config.ts index 816c04c4b..420c7187b 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -1,10 +1,18 @@ import { QuartzConfig } from "./quartz/cfg" import * as Plugin from "./quartz/plugins" +import { OptionType } from "./quartz/plugins/types" + +var remark = Plugin.Remark42({ host: "https://be-far.com/comments", site_id: "remark", theme: "dark", no_footer: true }) +declare global { + var remark_config: OptionType +} + +globalThis.remark_config = remark.options const config: QuartzConfig = { configuration: { pageTitle: "🌱 be-far", - enableSPA: true, + enableSPA: false, enablePopovers: true, analytics: null, baseUrl: "be-far.com", @@ -52,6 +60,7 @@ const config: QuartzConfig = { Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.Latex({ renderEngine: "katex" }), Plugin.Description(), + remark ], filters: [Plugin.RemoveDrafts()], emitters: [ diff --git a/quartz.layout.ts b/quartz.layout.ts index 31ebe6601..663dfdedf 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -10,6 +10,7 @@ export const sharedPageComponents: SharedLayout = { "Source code": "https://github.com/bfahrenfort/quartz", "RSS": "https://be-far.com/index.xml" }, + //remark_config: config.plugins.transformers.find((e) => {e.name === "Remark42"})?.options }), } diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx index f92ade668..00656d331 100644 --- a/quartz/components/Footer.tsx +++ b/quartz/components/Footer.tsx @@ -1,17 +1,25 @@ import { QuartzComponentConstructor } from "./types" +import { OptionType } from "../plugins/types" import style from "./styles/footer.scss" import { version } from "../../package.json" -interface Options { +interface Optionss { links: Record