aboutsummaryrefslogtreecommitdiffstats
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/publish.el b/publish.el
index f18c449..fead8ba 100644
--- a/publish.el
+++ b/publish.el
@@ -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)