configs/emacs: touch index.org every exo publish
Also add shell to the babel-load-languages so I can execute roam pages
This commit is contained in:
parent
2f78b3a67e
commit
c4d1ccf9ad
@ -384,6 +384,7 @@ can't quit!
|
|||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
'((plantuml . t)
|
'((plantuml . t)
|
||||||
(dot . t)
|
(dot . t)
|
||||||
|
(shell . t)
|
||||||
(latex . t)))
|
(latex . t)))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Publish bits
|
** Publish bits
|
||||||
@ -392,8 +393,14 @@ I publish some of my notes [[https://suah.dev/p][on suah.dev/p]]. Also some reci
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-export-with-broken-links t)
|
(setq org-export-with-broken-links t)
|
||||||
|
|
||||||
|
(defun exo-touch-and-publish (plist filename dir)
|
||||||
|
(progn
|
||||||
|
(set-file-times "~/org-roam/index.org")
|
||||||
|
(org-html-publish-to-html plist filename dir)))
|
||||||
|
|
||||||
(setq my-org-publish-alist
|
(setq my-org-publish-alist
|
||||||
'(("exo" :components ("org-roam" "org-roam-static"))
|
'(("exo" :components ("org-roam" "org-roam-static" "org-roam-org"))
|
||||||
("bolddaemon" :components ("bolddaemon-web" "bolddaemon-static"))
|
("bolddaemon" :components ("bolddaemon-web" "bolddaemon-static"))
|
||||||
("notes" :components ("org-notes" "notes-static" "notes-rss"))
|
("notes" :components ("org-notes" "notes-static" "notes-rss"))
|
||||||
("deftly" :components ("deftly-blog" "deftly-static"))
|
("deftly" :components ("deftly-blog" "deftly-static"))
|
||||||
@ -401,7 +408,14 @@ I publish some of my notes [[https://suah.dev/p][on suah.dev/p]]. Also some reci
|
|||||||
("org-roam"
|
("org-roam"
|
||||||
:publishing-directory "/ssh:suah.dev:/var/www/exo.suah.dev/"
|
:publishing-directory "/ssh:suah.dev:/var/www/exo.suah.dev/"
|
||||||
:recursive t
|
:recursive t
|
||||||
:publishing-function org-html-publish-to-html
|
:html-link-home "http://exo.suah.dev/"
|
||||||
|
:html-link-up "../"
|
||||||
|
:publishing-function exo-touch-and-publish
|
||||||
|
:base-directory "~/org-roam")
|
||||||
|
("org-roam-org"
|
||||||
|
:publishing-directory "/ssh:suah.dev:/var/www/exo.suah.dev/"
|
||||||
|
:publishing-function org-org-publish-to-org
|
||||||
|
:recursive t
|
||||||
:base-directory "~/org-roam")
|
:base-directory "~/org-roam")
|
||||||
("org-roam-static"
|
("org-roam-static"
|
||||||
:base-directory "~/org-roam"
|
:base-directory "~/org-roam"
|
||||||
|
Loading…
Reference in New Issue
Block a user