From 214abe21ab419e41952e9602c0ab677c1f9d7d4f Mon Sep 17 00:00:00 2001 From: TEC Date: Sat, 23 Jan 2021 22:22:27 +0800 Subject: [PATCH] Publish script: fix index.html symlink --- misc/config-publishing/org-exporter.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/config-publishing/org-exporter.sh b/misc/config-publishing/org-exporter.sh index 84f721c..4e92b81 100755 --- a/misc/config-publishing/org-exporter.sh +++ b/misc/config-publishing/org-exporter.sh @@ -16,10 +16,10 @@ (message "[33] Exporting %s" (buffer-file-name)) (org-html-export-to-html)) -(make-symbolic-link (expand-file-name "config.html" config-root) - (expand-file-name "index.html" config-root)) +(publish "config.html" "misc/*.svg") -(publish "config.html" "index.html" "misc/*.svg") +(make-symbolic-link (expand-file-name "config.html" publish-dir) + (expand-file-name "index.html" publish-dir)) (message "[1;32] Config export complete!")