diff options
-rw-r--r-- | publish.el | 7 | ||||
-rw-r--r-- | setup.org | 9 |
2 files changed, 7 insertions, 9 deletions
@@ -9,4 +9,11 @@ (require 'ox) (require 'ox-hugo) +(setq org-export-use-babel 'inline-only) + +(defun ymhg/link (arg1 arg2) + (cond + ((eq 'hugo org-export-current-backend) arg1) + (t arg2))) + (org-hugo-export-wim-to-md :all-subtrees) @@ -1,13 +1,4 @@ #+hugo_base_dir: ./ #+hugo_section: ./ -#+begin_src emacs-lisp :exports results :results none -(setq org-export-babel-evaluate 'inline-only) - -(defun ymhg/link (arg1 arg2) - (cond - ((eq 'hugo org-export-current-backend) arg1) - (t arg2))) -#+end_src - #+macro: link src_emacs-lisp[:results raw]{(ymhg/link "$1" "$2")} |