From 90ed81b2107172656423eb4f56350f2a6bec5a22 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sat, 11 Mar 2017 01:45:55 +0800 Subject: [PATCH 1/1] desable default style (fix the issue code width exceed the block width) setting overflow of pre.scr --- blog.el | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/blog.el b/blog.el index cb42d19..55913c1 100644 --- a/blog.el +++ b/blog.el @@ -90,6 +90,14 @@ "" "")) + + +;; (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 "") @@ -146,10 +154,14 @@ :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") -- 2.11.0