remove unused files
authorPeng Li <seudut@gmail.com>
Sat, 4 Mar 2017 07:12:12 +0000 (15:12 +0800)
committerPeng Li <seudut@gmail.com>
Sat, 4 Mar 2017 07:12:12 +0000 (15:12 +0800)
blog.el
posts/A-new-package-for-working-with-multiple-workspaces.org [deleted file]
posts/Blog-with-org-mode.org
posts/elisp-tips.org [deleted file]
posts/note.org [new file with mode: 0644]
posts/org-tips.org [deleted file]
posts/print-vs-message-in-emacs.org [deleted file]
posts/test.org [deleted file]
sitemap.org

diff --git a/blog.el b/blog.el
index eeda3e1..3e28bcb 100644 (file)
--- a/blog.el
+++ b/blog.el
   (package-refresh-contents)
   (package-install 'htmlize))
 
-;; constants
-;; (defconst root-dir (file-name-directory (or load-file-name buffer-file-name)))
-(defconst root-dir "~/Private/blog/")
-(defconst publish-dir "~/Private/publish_html/")
-
-
 
+;; constants
+;; (defconst root-dir "~/Private/blog/")
+(defconst root-dir (file-name-directory (or load-file-name buffer-file-name)))
+(defconst publish-dir (concat root-dir "_site/"))
+(defconst res-dir (concat root-dir "res/"))
+(defconst css-file (concat res-dir "worg.css"))
 
 
 
@@ -73,7 +73,7 @@
          :html-table-of-contents nil
          :html-postamble nil ;dont export creator auto validation info in html postamble div
          :html-link-home "/"
-         :html-head "<link rel='stylesheet' href='/Users/peli3/Private/blog/res/worg.css' />"
+         :html-head  ,(concat  "<link rel='stylesheet' href='" css-file  "' />")
          :html-head-include-default-style nil
          :html-head-include-scripts nil)
         ("org-static"
diff --git a/posts/A-new-package-for-working-with-multiple-workspaces.org b/posts/A-new-package-for-working-with-multiple-workspaces.org
deleted file mode 100644 (file)
index e69de29..0000000
index afc0759..0d45e56 100644 (file)
@@ -9,7 +9,6 @@
 
 
 
-
 今天总算把 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写博客]]。
 
diff --git a/posts/elisp-tips.org b/posts/elisp-tips.org
deleted file mode 100644 (file)
index 0c1ed11..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#+TITLE: Emacs List Tips
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-12-04
-
diff --git a/posts/note.org b/posts/note.org
new file mode 100644 (file)
index 0000000..95e875e
--- /dev/null
@@ -0,0 +1,9 @@
+#+TITLE: note
+#+AUTHOR: Peng Li
+#+EMAIL: seudut@gmail.com
+#+DATE: 2017-03-04
+
+* some post to do
+- introduction to  perspeen
+- work flow with vim tmux iterm
+- elisp tips & org-mode tips
diff --git a/posts/org-tips.org b/posts/org-tips.org
deleted file mode 100644 (file)
index 8612c72..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#+TITLE: Org Tips
-#+AUTHOR: Peng Li
-#+EMAIL: seudut@gmail.com
-#+DATE: 2016-11-10
-
-* Fix Chinese fonts in Org table
-
-* 
diff --git a/posts/print-vs-message-in-emacs.org b/posts/print-vs-message-in-emacs.org
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/posts/test.org b/posts/test.org
deleted file mode 100644 (file)
index 37d3f0e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#+TITLE: Test
-
-
-This is first test page for blog.
index 6a45f41..485afbe 100644 (file)
@@ -1,12 +1,16 @@
 #+TITLE: Sitemap
 
-   + [[file:Blog-with-org-mode.org][Blog with Org Mode]]
-   + [[file:elisp-tips.org][Emacs List Tips]]
-   + [[file:git-note.org][Git Note]]
+   + posts
+     + [[file:posts/Blog-with-org-mode.org][Blog with Org Mode]]
+     + [[file:posts/elisp-tips.org][Emacs List Tips]]
+     + [[file:posts/git-note.org][Git Note]]
+     + [[file:posts/My-work-flow-with-tmux-vim-zsh-iterm.org][My Work Flow with Tmux + Vim + Zsh + iTerm2]]
+     + [[file:posts/linux-note.org][Note of Linux (Debian)]]
+     + [[file:posts/org-tips.org][Org Tips]]
+     + [[file:posts/test.org][Test]]
+     + [[file:posts/raspberrypi-note.org][The note of raspberry]]
+     + [[file:posts/print-vs-message-in-emacs.org][jifjeif]]
+     + [[file:posts/A-new-package-for-working-with-multiple-workspaces.org][fjioejfe]]
    + [[file:index.org][My Personal Wiki]]
-   + [[file:linux-note.org][Note of Linux (Debian)]]
-   + [[file:org-tips.org][Org Tips]]
    + [[file:README.org][README]]
    + [[file:remember.org][Remember]]
-   + [[file:test.org][Test]]
-   + [[file:print-vs-message-in-emacs.org][ij]]