Use environment variable to set root folder.

master
Stéphane Adjemian (Ryûk) 2021-10-30 18:13:18 +02:00
parent d06565c3b0
commit a8a5c9cf5b
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@
(use-package ox-publish
:ensure t
:init
(setq sa-blog-header-file "assets/partials/header.html"
sa-blog-footer-file "assets/partials/footer.html"
(setq sa-blog-header-file (concat (getenv "WEBSITE_ROOT_FOLDER") "/assets/partials/header.html")
sa-blog-footer-file (concat (getenv "WEBSITE_ROOT_FOLDER") "/assets/partials/footer.html")
org-html-validation-link nil
make-backup-files nil
org-src-fontify-natively t)