From: Peng Li Date: Sat, 4 Mar 2017 07:12:12 +0000 (+0800) Subject: remove unused files X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=055045ab3a3ccf69504b2f2e08e3e6527b663980;p=blog.git remove unused files --- diff --git a/blog.el b/blog.el index eeda3e1..3e28bcb 100644 --- a/blog.el +++ b/blog.el @@ -35,13 +35,13 @@ (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 "" + :html-head ,(concat "") :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 index e69de29..0000000 diff --git a/posts/Blog-with-org-mode.org b/posts/Blog-with-org-mode.org index afc0759..0d45e56 100644 --- a/posts/Blog-with-org-mode.org +++ b/posts/Blog-with-org-mode.org @@ -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 index 0c1ed11..0000000 --- a/posts/elisp-tips.org +++ /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 index 0000000..95e875e --- /dev/null +++ b/posts/note.org @@ -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 index 8612c72..0000000 --- a/posts/org-tips.org +++ /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 index e69de29..0000000 diff --git a/posts/test.org b/posts/test.org deleted file mode 100644 index 37d3f0e..0000000 --- a/posts/test.org +++ /dev/null @@ -1,4 +0,0 @@ -#+TITLE: Test - - -This is first test page for blog. diff --git a/sitemap.org b/sitemap.org index 6a45f41..485afbe 100644 --- a/sitemap.org +++ b/sitemap.org @@ -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]]