X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=blog.el;h=245a849cb7b98b308361d107ee7a6cac9a996471;hb=refs%2Fheads%2Fmaster;hp=ff2fca2f3d925b54bff8211f0b39a3605b991238;hpb=38acbeb6acd4af5479940996bad1c85ba90c97f8;p=blog.git diff --git a/blog.el b/blog.el index ff2fca2..245a849 100644 --- a/blog.el +++ b/blog.el @@ -71,49 +71,35 @@ (setq blog-extra-head (concat - "\n" - ;; "\n" - ;; "" + ;; "\n" + "\n" + "" )) -;; (setq blog-header -;; (concat -;; " ")) +(setq blog-header + (concat + " ")) + + + +(setq blog-footer + "
\n +

RSS +License: CC BY-SA 4.0") - ;; :html-head-include-default-style nil - ;; :html-head-include-scripts nil) ("blog-pages" ;; publishing :base-directory ,root-dir @@ -124,8 +110,18 @@ ;; html style :htlm-link-home "/" - :html-head ,blog-extra-head - :html-postamble nil) + ;; disable home/up div + :html-home/up-format "" + :html-link-home "" + :html-link-up "" + ;; + :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 :base-directory ,(concat root-dir "/posts") @@ -140,10 +136,20 @@ :html-home/up-format "" :html-link-up "" :html-link-home "" - ;; don't export creator auto validation info in html postamble div - :html-head ,blog-extra-head - :html-preamble nil - :html-postamble "") + ;; 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 ,blog-footer + + ;; sitemap + :auto-sitemap t + :sitemap-filename "sitemap.org" + :sitemap-title "Sitemap" + ) + ("blog-css" :base-directory ,(concat root-dir "/css") :base-extension ".*"