Compare commits
1 commit
master
...
improvemen
Author | SHA1 | Date | |
---|---|---|---|
f280a9aab2 |
|
@ -235,6 +235,11 @@ Return output file name."
|
|||
(defalias 'org-blog-posts-sitemap-fn
|
||||
(apply-partially 'org-blog-sitemap-fn-descr posts-descr))
|
||||
|
||||
(defun org-blog-optimize (_)
|
||||
(let ((default-directory root-dir))
|
||||
(message "executing ./pre-deploy.sh")
|
||||
(shell-command "./pre-deploy.sh")))
|
||||
|
||||
(setq org-html-htmlize-output-type 'css)
|
||||
(setq org-html-htmlize-font-prefix "org-")
|
||||
(setq org-publish-project-alist
|
||||
|
@ -246,6 +251,7 @@ Return output file name."
|
|||
:recursive t
|
||||
:preparation-function org-blog-prepare
|
||||
:publishing-function org-blog-publish-to-html
|
||||
:completion-function org-blog-optimize
|
||||
:with-toc nil
|
||||
:with-title nil
|
||||
:with-date t
|
||||
|
@ -275,7 +281,7 @@ Return output file name."
|
|||
:publishing-function org-blog-publish-attachment
|
||||
:recursive t)
|
||||
|
||||
("blog" :components ("orgfiles" "assets"))))
|
||||
("blog" :components ("assets" "orgfiles"))))
|
||||
|
||||
;; add target=_blank and rel="noopener noreferrer" to all links by default
|
||||
(defun my-org-export-add-target-blank-to-http-links (text backend info)
|
||||
|
|
BIN
project.el.sig
BIN
project.el.sig
Binary file not shown.
Loading…
Reference in a new issue