desable default style (fix the issue code width exceed the block
authorPeng Li <seudut@gmail.com>
Fri, 10 Mar 2017 17:45:55 +0000 (01:45 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 10 Mar 2017 17:45:55 +0000 (01:45 +0800)
width) setting overflow of pre.scr

blog.el

diff --git a/blog.el b/blog.el
index cb42d19..55913c1 100644 (file)
--- a/blog.el
+++ b/blog.el
        "</ul></nav>"
        "</header>"))
 
+
+
+;; (setq blog-footer
+;;       "<hr />\n
+;; <p><span style=\"float: left;\"><a href= \"/blog.xml\">RSS</a></span>
+;; License: <a href= \"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a></p>\n
+;; <p><a href= \"/contact.html\"> Contact</a></p>\n")
+
 ;; don't know why setting this null in `org-publish-project-alist' doesn't work
 ;; (setf org-html-home/up-format "")
 
         :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
+        )
        
        ("blog-css"
         :base-directory ,(concat root-dir "/css")