org-site-static should upload text files

This commit is contained in:
Kyle Isom 2025-05-08 15:31:36 -07:00
parent 8bd0077efa
commit e5b4b5991e
2 changed files with 6 additions and 6 deletions

10
init.el
View File

@ -278,11 +278,11 @@ present on disk."
'(package-selected-packages
'(ag auto-complete bibclean-format bibretrieve c-eldoc ebib ellama
elpy exec-path-from-shell geiser go-mode gruvbox-theme
keychain-environment lua-mode luarocks magit markdown-mode
mwim nix-mode nix-modeline nix-ts-mode nixos-options
org-journal org-ref org-roam paradox paredit pelican-mode
projectile racket-mode scpaste simple-httpd slime undo-tree
xcscope))
gscholar-bibtex keychain-environment lua-mode luarocks magit
markdown-mode mwim nix-mode nix-modeline nix-ts-mode
nixos-options org-journal org-ref org-roam paradox paredit
pelican-mode projectile racket-mode scpaste simple-httpd slime
undo-tree xcscope))
'(paradox-github-token t))
(custom-set-faces

2
org.el
View File

@ -144,7 +144,7 @@
;;; static contains... static files. Notably, the CSS and fonts.
("org-site-static"
:base-directory "~/org/static/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|woff2\\|bib\\|csl"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|txt\\|pdf\\|mp3\\|ogg\\|woff2\\|bib\\|csl"
:publishing-directory "~/org/publish/static/"
:recursive t
:publishing-function org-publish-attachment)