Blog- use English instead of Chinese
authorPeng Li <seudut@gmail.com>
Fri, 19 May 2017 14:20:29 +0000 (22:20 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 19 May 2017 14:20:29 +0000 (22:20 +0800)
my-publish.el
posts/Blog-with-org-mode.org

index fd1cee3..0b70a04 100644 (file)
@@ -43,7 +43,6 @@
        "<nav><ul>"
        "<li><a href= '/index.html' >About</a></li>"
        "<li><a href= '/posts/sitemap.html' >Blog</a></li>"
-       ;; "<li><a href= '/index.html' >Home</a></li>"
        "</ul></nav>"
        "</header>"
        "<hr>"))
index 348bff8..245ef41 100644 (file)
@@ -6,15 +6,14 @@
 #+STARTUP: inlineimages
 #+OPTIONS: toc:nil date:t
 
-
-
-
-今天总算把 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
-nothing else)]]。 其中 =css= , 利用的是 =worg.css=, 并参考了[[http://dayigu.github.io/WhyUseOrgModeToWriteBlog.html][为什么用org-mode写 blog?]] 和  [[http://wiki.houye.xyz/blogwithorg-mode.html][用org-mode写博客]]。
-
-* Org-publish 配置
-其中有些配置可能是 =Org= 版本不同的原因,有些不同。比如 =htlm-head=, 代替 了 =style=
-
+[[http://orgmode.org][Org-mode]] is an Emacs package, which is used for keeping notes, maintaining TODO lists, planing projects, and authoring
+ documents with a fast and effective plain-text system. In this blog, I am going to introduce how to setup a blog site
+ using Org-mode. As you can see, this website is generated by Org-mode. All the souce code is located at [[https://github.com/seudut/blog][blog]]. It has
+ refered to lots of other websites, like [[http://orgmode.org/worg/][worg]], [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html][Publishing Org-mode files to HTML]], [[https://ogbe.net/blog/blogging_with_org.html][Blogging using org-mode (and nothing else)]].
+
+* Org-publish configure
+Here is the configure of Org-publish. It setups the most important  variable =org-publish-project-alist=.  Also, it defines
+the header and footer of the html page.
 #+INCLUDE: "../my-publish.el" src emacs-lisp :lines "29-"
 #+BEGIN_SRC sh
   sudo aptitude install tmux emacs