Compare commits

...

1 Commits

Author SHA1 Message Date
Yann Esposito (Yogsototh) f280a9aab2
improvements 2020-01-04 01:15:07 +01:00
2 changed files with 7 additions and 1 deletions

View File

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

Binary file not shown.