commit a0551f8ecf39c6f712b1e4f95b82914a05e69d0a parent f5b3825e2a55af8980eda3a112664a8139f31c3b Author: Alex Balgavy <alex@balgavy.eu> Date: Tue, 9 Aug 2022 23:59:06 +0200 emacs: bugfix org-publish template Diffstat:
M | emacs/config.org | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -920,6 +920,7 @@ Perhaps nicer would be to exclude based on the property ~:STYLE: habit~, but I h #+end_src Maybe check [[https://old.reddit.com/r/orgmode/comments/8rl8ep/making_orgcaldav_useable/e0sb5j0/][this]] for a way to sync on save. + ** org-contrib #+begin_src emacs-lisp (use-package org-contrib @@ -1011,7 +1012,7 @@ The ~:html-head~ setting comes from my base template for the website. var sheet = (hour >= 20 || hour < 6) ? \"/dark.css\" : \"/light.css\"; document.head.insertAdjacentHTML( 'beforeend', - '<link rel=\"stylesheet\" type=\"text/css\" href=\"'+sheet+'\" onload=\"document.documentElement.style.display = \'\'\">' + '<link rel=\"stylesheet\" type=\"text/css\" href=\"'+sheet+'\" onload=\"document.documentElement.style.display = \\\'\\\'\">' ); } </script>