X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=my-publish.el;h=f9e0da0b45aa20097ba19c334b9b350a0c89e911;hb=13a89331feb7b8adb03d765df3c99c1cbb48e89a;hp=fd7a59d506c01117ccb30254318041904bb3d43c;hpb=7a2665ec74422040d01b4b78209d9b9b7571b935;p=blog.git diff --git a/my-publish.el b/my-publish.el index fd7a59d..f9e0da0 100644 --- a/my-publish.el +++ b/my-publish.el @@ -24,8 +24,6 @@ ;;; Code: -;; (defconst root-dir "~/Private/blog/") - (require 'org) (require 'ox-publish) (require 'htmlize) @@ -35,26 +33,25 @@ (setq blog-extra-head (concat - ;; "\n" - "\n" - "")) + "\n" + "")) (setq blog-header (concat "")) + "" + "
")) (setq blog-footer (concat "
\n" - "

Org-mode " (org-version) "")) + org-html-creator-string)) (defun blog-setup-project-alist (root-dir &optional output-dir) "Set project alist. `output-dir' is the directory of publish-directory.