X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=my-publish.el;h=454753f112012bd9d14e9d3b90a8db5338cfacc1;hb=6db8f075332ebd60a752e31453ef181b3854aec4;hp=fd7a59d506c01117ccb30254318041904bb3d43c;hpb=7a2665ec74422040d01b4b78209d9b9b7571b935;p=blog.git diff --git a/my-publish.el b/my-publish.el index fd7a59d..454753f 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. @@ -115,7 +112,10 @@ ;; sitemap :auto-sitemap t :sitemap-filename "sitemap.org" - :sitemap-title "Sitemap" + :sitemap-title "Blog" + :sitemap-sort-files anti-chronologically + :sitemap-date-format "%h %d, %Y" + :sitemap-file-entry-format "%d » %t" ;; other generic options :with-toc nil ; table of contents