X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=my-publish.el;h=7f0cd311ce469ef4a62434dd82b24ae0b9e042a9;hb=b180940e46407b5f41f1951487c02d3b586096e8;hp=cd0f340978413f839b9411b0c46501b5e23d76ca;hpb=89a798f7b0e604ad3b9796601be0889bad9159ed;p=blog.git diff --git a/my-publish.el b/my-publish.el index cd0f340..7f0cd31 100644 --- a/my-publish.el +++ b/my-publish.el @@ -28,6 +28,7 @@ (require 'org) (require 'ox-publish) +(require 'htmlize) ;; To prevent inline-css when exporting html. will use external css (setq org-html-htmlize-output-type 'css) @@ -45,9 +46,9 @@ "

Peng Li

" "
" "" "")) @@ -67,7 +68,6 @@ License: CC BY-SA 4 (setq org-publish-project-alist `( ("blog-pages" - ;; publishing :base-directory ,root-dir :base-extension "org" :publishing-directory ,output-dir @@ -89,7 +89,6 @@ License: CC BY-SA 4 :html-postamble ,blog-footer) ("blog-posts" - ;; publishing :base-directory ,(concat root-dir "/posts") :base-extension "org" :publishing-directory ,(concat output-dir "/posts")