add sitemap options
authorPeng Li <seudut@gmail.com>
Fri, 10 Mar 2017 17:52:06 +0000 (01:52 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 10 Mar 2017 17:52:06 +0000 (01:52 +0800)
blog.el

diff --git a/blog.el b/blog.el
index 55913c1..9f04f1f 100644 (file)
--- a/blog.el
+++ b/blog.el
 
 (setq org-publish-project-alist
       `(
-        ;; ("org-notes"
-        ;;  :base-directory ,root-dir
-        ;;  :base-extension "org"
-        ;;  :publishing-directory ,publish-dir
-        ;;  :recursive t
-        ;;  :publishing-function org-html-publish-to-html
-        ;;  :headline-levels 4
-        ;;  :section-numbers nil
-        ;;  :auto-preamble t
-        ;;  :auto-sitemap t          ;Generate sitmap.org automagicaly...
-        ;;  :sitemap-filename "sitemap.org" ;... call it sitemap.org (it's the default )...
-        ;;  :sitemap-title "Sitemap"
-
-        ;;  :html-table-of-contents nil
-        ;;  :html-postamble nil ;dont export creator auto validation info in html postamble div
-        ;;  :html-link-home "/"
-        ;;  :html-head  ,(concat  "<link rel='stylesheet' href='" css-file  "' />")
-        ;;  :html-head-include-default-style nil
-        ;;  :html-head-include-scripts nil)
        ("blog-pages"
         ;; publishing
         :base-directory ,root-dir
         :html-head-extra ,blog-extra-head
         :html-preamble ,blog-header
         ;; :html-postamble ,blog-footer
+
+        ;; sitemap
+        :auto-sitemap t
+        :sitemap-filename "sitemap.org"
+        :sitemap-title "Sitemap"
         )
        
        ("blog-css"