aboutsummaryrefslogtreecommitdiffstats
path: root/setup.org
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-17 14:18:07 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-17 14:18:07 +0100
commitbb7686d0e7836e6bd919f0982ddb5ea7a472a8d8 (patch)
tree0c166b471086ef1e79b20d8625d6cf042d9545d3 /setup.org
parent5267842354c708b8817d8ef24516f36aabda5a89 (diff)
downloadyannherklotz.com-bb7686d0e7836e6bd919f0982ddb5ea7a472a8d8.tar.gz
yannherklotz.com-bb7686d0e7836e6bd919f0982ddb5ea7a472a8d8.zip
Export the header into setup.org
Diffstat (limited to 'setup.org')
-rw-r--r--setup.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/setup.org b/setup.org
new file mode 100644
index 0000000..f4b5bb6
--- /dev/null
+++ b/setup.org
@@ -0,0 +1,13 @@
+#+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")}