X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=blog.el;h=f6c1e6c9566e245ac95f82d0f0021f8108a7cf0f;hb=323ccbeededf2954ddeb3e14ff68a275ccb231ff;hp=cb42d19a069aab639f11a087fa22f9f262946449;hpb=da7baf43a25e64d2a67152455c39583083a96e88;p=blog.git diff --git a/blog.el b/blog.el index cb42d19..f6c1e6c 100644 --- a/blog.el +++ b/blog.el @@ -82,38 +82,25 @@ "

Peng Li

" "
" "" "")) + + +(setq blog-footer + "
\n +

RSS +License: CC BY-SA 4.0

\n +

Contact

\n") + ;; don't know why setting this null in `org-publish-project-alist' doesn't work ;; (setf org-html-home/up-format "") (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 "") - ;; :html-head-include-default-style nil - ;; :html-head-include-scripts nil) ("blog-pages" ;; publishing :base-directory ,root-dir @@ -128,9 +115,13 @@ :html-home/up-format "" :html-link-home "" :html-link-up "" - - :html-head ,blog-extra-head - :html-postamble nil) + ;; + :html-head nil + :html-head-include-default-style nil + :html-head-include-scripts nil + :html-head-extra ,blog-extra-head + :html-preamble ,blog-header + :html-postamble ,blog-footer) ("blog-posts" ;; publishing @@ -146,10 +137,19 @@ :html-home/up-format "" :html-link-up "" :html-link-home "" - ;; Add css file and preamble - :html-head ,blog-extra-head + ;; Add css file, preamble and posamble + :html-head nil + :html-head-include-default-style nil + :html-head-include-scripts nil + :html-head-extra ,blog-extra-head :html-preamble ,blog-header - :html-postamble "") + :html-postamble ,blog-footer + + ;; sitemap + :auto-sitemap t + :sitemap-filename "sitemap.org" + :sitemap-title "Sitemap" + ) ("blog-css" :base-directory ,(concat root-dir "/css")