X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=posts%2FBlog-with-org-mode.org;h=3c20675baf961484fb06ee0d9968eb048d32f1d1;hb=5fcf243ef5a8c2e0fd653055c00dab1d5a99622b;hp=88daa69fc1d28395df1a9e4da3e71334bba80416;hpb=65e2c043d0e39a80aa0b7e83c56cf3ecee524686;p=blog.git diff --git a/posts/Blog-with-org-mode.org b/posts/Blog-with-org-mode.org index 88daa69..3c20675 100644 --- a/posts/Blog-with-org-mode.org +++ b/posts/Blog-with-org-mode.org @@ -14,40 +14,15 @@ nothing else)]]。 其中 =css= , 利用的是 =worg.css=, 并参考了[[http:// * Org-publish 配置 其中有些配置可能是 =Org= 版本不同的原因,有些不同。比如 =htlm-head=, 代替 了 =style= -#+BEGIN_SRC emacs-lisp :tangle yes :results silent - (require 'ox-publish) - - (setq org-publish-project-alist - `( - ("org-notes" - :base-directory "~/Private/blog/" - :base-extension "org" - :publishing-directory "~/Private/publish_html" - :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" - - :table-of-contents nil - :html-postamble nil ;dont export creator auto validation info in html postamble div - :html-link-home "/" - :html-head "" - ;; :html-head-extra ,my-blog-extra-head - :html-head-include-default-style nil - :html-head-include-scripts nil) - ("org-static" - :base-directory "~/Private/blog/" - :base-extension "css\\|js\\|png\\|gif\\|pdf\\|mp3\\|ogg\\|swf" - :publishing-directory "~/Private/publish_html" - :recursive t - :publishing-function org-publish-attachment) - ("org" :components ("org-notes" "org-static")))) + +#+INCLUDE: "../my-publish.el" src emacs-lisp :lines "29-" + +#+BEGIN_SRC sh + sudo aptitude install tmux emacs #+END_SRC + + * CI build * Web server