a223d859c56f99d6adec42def07154447d3e18b5
[blog.git] / posts / Blog-with-org-mode.org
1 #+TITLE: Blog with Org Mode
2 #+AUTHOR: Peng Li
3 #+EMAIL: seudut@gmail.com
4 #+DATE: <2016-10-26>
5 #+STARTUP: showall
6 #+STARTUP: inlineimages
7 #+OPTIONS: toc:nil date:t
8
9
10
11
12 今天总算把 Blog 的框架大致弄好了。主要参考了 =Org-mode= 的 tutorial, [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#Special-comment-section][Publishing Org-mode files to HTML]] 和 [[https://ogbe.net/blog/blogging_with_org.html][Blogging using org-mode (and
13 nothing else)]]。 其中 =css= , 利用的是 =worg.css=, 并参考了[[http://dayigu.github.io/WhyUseOrgModeToWriteBlog.html][为什么用org-mode写 blog?]] 和  [[http://wiki.houye.xyz/blogwithorg-mode.html][用org-mode写博客]]。
14
15 * Org-publish 配置
16 其中有些配置可能是 =Org= 版本不同的原因,有些不同。比如 =htlm-head=, 代替 了 =style=
17
18 #+INCLUDE: "../my-publish.el" src emacs-lisp :lines "29-"
19
20 #+BEGIN_SRC sh
21   sudo aptitude install tmux emacs
22 #+END_SRC
23
24
25
26 * CI build
27
28 * Web server
29
30 * CGI update