summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-16 15:22:07 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-16 15:22:07 -0700
commitc0384ae720e2b274bfeebbc8a5303fb8a85d66d5 (patch)
tree28a74f6b9fc18e2afbfa586a5762e76f9f4b6c32 /config
parent0547cba1e38e1cdde62c885e1b198170ef9e72bc (diff)
test my website more deeply; add more CSS
Diffstat (limited to 'config')
-rw-r--r--config/emacs.org8
-rw-r--r--config/nix.org1
2 files changed, 7 insertions, 2 deletions
diff --git a/config/emacs.org b/config/emacs.org
index dda7dc2..99aff38 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -134,6 +134,8 @@ These are packages that I require in order to write some scripts in emacs-lisp.
(use-package dash)
(use-package s)
(use-package f)
+(use-package yaml-mode
+ :demand t)
#+end_src
** Emacs
These are all the options that need to be set at the start of the program. Because use-package
@@ -300,7 +302,7 @@ This is my org mode configuration, which also configures latex.
(use-package htmlize
:demand t
- :after (catppuccin-theme doom-themes))
+ :after (catppuccin-theme doom-themes yaml-mode))
(unless noninteractive
(use-package htmlize
@@ -346,6 +348,7 @@ This is my org mode configuration, which also configures latex.
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4
+ :html-footnotes-section "<div id=\"footnotes\"><hr><div id=\"text-footnotes\"><span class=\"footnotes-label-hidden\">%s</span>%s</div></div>"
:html-head ,(concat "<meta name=\"theme-color\" content=\"#ffffff\">\n<link rel=\"preload\" href=\"/fonts/Inconsolata-Medium.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n<meta name=\"theme-color\" content=\"#ffffff\">\n<link rel=\"preload\" href=\"/fonts/Lora-Medium.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n<link rel=\"preload\" href=\"/fonts/CormorantGaramond-Bold.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n<link rel=\"preload\" href=\"/fonts/CormorantGaramond-Medium.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n<link rel=\"manifest\" href=\"/site.webmanifest\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">\n<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#5bbad5\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">\n<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\"><meta name=\"msapplication-TileColor\" content=\"#da532c\">\n"
"<style>"
(->> (create-htmlize-css)
@@ -915,7 +918,8 @@ For all my mathematics and programming notes:
(org-roam-ui-sync-theme t "Use emacs theme for org-roam-ui")
(org-roam-ui-follow t "Have cool visual while editing org-roam")
(org-roam-ui-update-on-save t "This option is obvious")
- (org-roam-ui-open-on-start t "Have cool visual open in librewolf when emacs loads")))
+ (org-roam-ui-open-on-start t "Have cool visual open in librewolf when emacs loads")
+ :config (org-roam-ui-sync-theme)))
#+end_src
** Pinentry
diff --git a/config/nix.org b/config/nix.org
index 0f63df0..6f68ee0 100644
--- a/config/nix.org
+++ b/config/nix.org
@@ -1741,6 +1741,7 @@ to the outside world under a domain.
};
extraConfig = ''
rewrite ^/graph_view/?(.*)$ https://graph.${config.monorepo.vars.remoteHost}/$1 permanent;
+ error_page 404 /404.html;
'';
};