update publishing
This commit is contained in:
parent
299e0c4da1
commit
433e177746
|
@ -12,3 +12,4 @@ auto-save-list
|
||||||
/transient/
|
/transient/
|
||||||
/projects
|
/projects
|
||||||
/url/
|
/url/
|
||||||
|
/org-roam.db
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
nix-modeline
|
nix-modeline
|
||||||
nix-ts-mode
|
nix-ts-mode
|
||||||
nixos-options
|
nixos-options
|
||||||
|
org-journal
|
||||||
|
org-roam
|
||||||
paredit
|
paredit
|
||||||
pelican-mode
|
pelican-mode
|
||||||
projectile
|
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
|
'(auto-complete c-eldoc ellama elpy exec-path-from-shell geiser
|
||||||
go-mode gruvbox-theme keychain-environment lua-mode
|
go-mode gruvbox-theme keychain-environment lua-mode
|
||||||
luarocks magit markdown-mode mwim nix-mode
|
luarocks magit markdown-mode mwim nix-mode
|
||||||
nix-modeline nix-ts-mode nixos-options paredit
|
nix-modeline nix-ts-mode nixos-options org-roam
|
||||||
pelican-mode projectile racket-mode scpaste slime
|
paredit pelican-mode projectile racket-mode scpaste
|
||||||
undo-tree)))
|
slime undo-tree)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; 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
|
;;; 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/"
|
(defvar *org-remote-site* "/ssh:web.metacircular.net:/srv/www/metacircular/"
|
||||||
"Where should org-mode files be published?")
|
"Where should org-mode files be published?")
|
||||||
(require 'ox-publish)
|
(require 'ox-publish)
|
||||||
|
@ -38,7 +42,7 @@
|
||||||
:html-head-include-scripts nil
|
:html-head-include-scripts nil
|
||||||
:html-html5-fancy t
|
:html-html5-fancy t
|
||||||
:html-link-home "/"
|
:html-link-home "/"
|
||||||
:html-link-up "../"
|
:html-link-up "/e/"
|
||||||
:html-postamble t
|
:html-postamble t
|
||||||
:publishing-directory "~/org/publish/e/"
|
:publishing-directory "~/org/publish/e/"
|
||||||
:publishing-function org-html-publish-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
|
@ -57,7 +61,7 @@
|
||||||
:html-head-include-scripts nil
|
:html-head-include-scripts nil
|
||||||
:html-html5-fancy t
|
:html-html5-fancy t
|
||||||
:html-link-home "/"
|
:html-link-home "/"
|
||||||
:html-link-up "../"
|
:html-link-up "/p/"
|
||||||
:publishing-directory "~/org/publish/p/"
|
:publishing-directory "~/org/publish/p/"
|
||||||
:publishing-function org-html-publish-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
:auto-sitemap t
|
:auto-sitemap t
|
||||||
|
@ -131,7 +135,7 @@
|
||||||
;;; publish all the orgs.
|
;;; publish all the orgs.
|
||||||
(global-set-key (kbd "C-c o")
|
(global-set-key (kbd "C-c o")
|
||||||
(lambda () (interactive)
|
(lambda () (interactive)
|
||||||
(org-publish-all t nil)))
|
(org-publish-project "org")))
|
||||||
|
|
||||||
;;; upload the publish directory.
|
;;; upload the publish directory.
|
||||||
(global-set-key (kbd "C-c u")
|
(global-set-key (kbd "C-c u")
|
||||||
|
|
Loading…
Reference in New Issue