update publishing
This commit is contained in:
parent
299e0c4da1
commit
433e177746
|
@ -12,3 +12,4 @@ auto-save-list
|
|||
/transient/
|
||||
/projects
|
||||
/url/
|
||||
/org-roam.db
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
nix-modeline
|
||||
nix-ts-mode
|
||||
nixos-options
|
||||
org-journal
|
||||
org-roam
|
||||
paredit
|
||||
pelican-mode
|
||||
projectile
|
||||
|
|
6
init.el
6
init.el
|
@ -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.
|
||||
|
|
10
publish.el
10
publish.el
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue