X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=blog.el;h=3e28bcbcc308d53fd35d6e494e7a6483c541d665;hb=055045ab3a3ccf69504b2f2e08e3e6527b663980;hp=eeda3e11e1e84fcaad786f7263a45e11252ade1f;hpb=8a653cd86fff80dd57609b5d266b17d0409a9655;p=blog.git diff --git a/blog.el b/blog.el index eeda3e1..3e28bcb 100644 --- a/blog.el +++ b/blog.el @@ -35,13 +35,13 @@ (package-refresh-contents) (package-install 'htmlize)) -;; constants -;; (defconst root-dir (file-name-directory (or load-file-name buffer-file-name))) -(defconst root-dir "~/Private/blog/") -(defconst publish-dir "~/Private/publish_html/") - - +;; constants +;; (defconst root-dir "~/Private/blog/") +(defconst root-dir (file-name-directory (or load-file-name buffer-file-name))) +(defconst publish-dir (concat root-dir "_site/")) +(defconst res-dir (concat root-dir "res/")) +(defconst css-file (concat res-dir "worg.css")) @@ -73,7 +73,7 @@ :html-table-of-contents nil :html-postamble nil ;dont export creator auto validation info in html postamble div :html-link-home "/" - :html-head "" + :html-head ,(concat "") :html-head-include-default-style nil :html-head-include-scripts nil) ("org-static"