Minor edits to org-publish.

This commit is contained in:
Derek Taylor 2022-07-11 06:41:44 -05:00
parent fa32d93dc4
commit f2aa306de7
2 changed files with 22 additions and 1 deletions

View File

@ -674,6 +674,15 @@ List of keybindings (SPC h b b)")
:recursive t
:exclude ".*/org-html-themes/.*"
:publishing-function org-publish-attachment)
("dtos.dev"
:base-directory "~/nc/gitlab-repos/dtos.dev/"
:base-extension "org"
:publishing-directory "~/nc/gitlab-repos/dtos.dev/html/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
))
(use-package! org-auto-tangle
@ -693,7 +702,10 @@ List of keybindings (SPC h b b)")
:desc "Remove perspective by name" "-" #'persp-remove-by-name)
(define-globalized-minor-mode global-rainbow-mode rainbow-mode
(lambda () (rainbow-mode 1)))
(lambda ()
(when (not (memq major-mode
(list 'org-agenda-mode)))
(rainbow-mode 1))))
(global-rainbow-mode 1 )
(map! :leader

View File

@ -1081,6 +1081,15 @@ We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting
:recursive t
:exclude ".*/org-html-themes/.*"
:publishing-function org-publish-attachment)
("dtos.dev"
:base-directory "~/nc/gitlab-repos/dtos.dev/"
:base-extension "org"
:publishing-directory "~/nc/gitlab-repos/dtos.dev/html/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
))
#+end_src