summaryrefslogtreecommitdiffstats
path: root/scripts/export-lp.el
blob: bd17b0dade01edb3633c5383e042a9950e86e13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;; opinionated configuration provided by cleopatra
(cleopatra:configure)

;; allow the execution of shell block code
(org-babel-do-load-languages
 'org-babel-load-languages
 '((shell . t)))

(setq org-publish-project-alist
      '(("lp"
         :base-directory "site/posts"
         :publishing-directory "lp"
         ;; hand-pick which files to tangle (this save a lots of time)
         :exclude ".*"
         :include ("CoqffiEcho.org")
         :publishing-function cleopatra:tangle-publish)))

(org-publish-all)