Skip to content

Commit

Permalink
chore: move templates to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 29, 2023
1 parent 69bd4b3 commit 4042455
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions core/me-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
(directory-file-name
(file-name-directory (file-truename load-file-name))))))
(defconst minemacs-core-dir (concat minemacs-root-dir "core/"))
(defconst minemacs-assets-dir (concat minemacs-root-dir "assets/"))
(defconst minemacs-elisp-dir (concat minemacs-root-dir "elisp/"))
(defconst minemacs-modules-dir (concat minemacs-root-dir "modules/"))
(defconst minemacs-extras-dir (concat minemacs-modules-dir "extras/"))
Expand Down
2 changes: 1 addition & 1 deletion elisp/+io.el
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ value of `+html2pdf-default-backend' is used."
(call-process
"weasyprint" nil nil nil
"--encoding" "utf-8"
"--stylesheet" (expand-file-name "templates/weasyprint-pdf.css" minemacs-root-dir)
"--stylesheet" (expand-file-name "templates/weasyprint-pdf.css" minemacs-assets-dir)
infile outfile))
('htmldoc
(call-process
Expand Down

0 comments on commit 4042455

Please sign in to comment.