update publishing

This commit is contained in:
Kyle Isom 2025-04-25 06:45:41 -07:00
parent 299e0c4da1
commit 433e177746
4 changed files with 13 additions and 6 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ auto-save-list
/transient/
/projects
/url/
/org-roam.db

View File

@ -27,6 +27,8 @@
nix-modeline
nix-ts-mode
nixos-options
org-journal
org-roam
paredit
pelican-mode
projectile

View File

@ -263,9 +263,9 @@ present on disk."
'(auto-complete c-eldoc 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 paredit
pelican-mode projectile racket-mode scpaste slime
undo-tree)))
nix-modeline nix-ts-mode nixos-options org-roam
paredit pelican-mode projectile racket-mode scpaste
slime undo-tree)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -3,6 +3,10 @@
;;;
;;; publishing my notes docs
(require 'org-roam)
(setq org-roam-directory (file-truename "~/org/roam"))
(org-roam-db-autosync-mode)
(defvar *org-remote-site* "/ssh:web.metacircular.net:/srv/www/metacircular/"
"Where should org-mode files be published?")
(require 'ox-publish)
@ -38,7 +42,7 @@
:html-head-include-scripts nil
:html-html5-fancy t
:html-link-home "/"
:html-link-up "../"
:html-link-up "/e/"
:html-postamble t
:publishing-directory "~/org/publish/e/"
:publishing-function org-html-publish-to-html
@ -57,7 +61,7 @@
:html-head-include-scripts nil
:html-html5-fancy t
:html-link-home "/"
:html-link-up "../"
:html-link-up "/p/"
:publishing-directory "~/org/publish/p/"
:publishing-function org-html-publish-to-html
:auto-sitemap t
@ -131,7 +135,7 @@
;;; publish all the orgs.
(global-set-key (kbd "C-c o")
(lambda () (interactive)
(org-publish-all t nil)))
(org-publish-project "org")))
;;; upload the publish directory.
(global-set-key (kbd "C-c u")