Publish script: fix index.html symlink

This commit is contained in:
TEC 2021-01-23 22:22:27 +08:00
parent fc527b0d0f
commit 214abe21ab
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 3 additions and 3 deletions

View File

@ -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!")