Permalink
Browse files

Add new version v1.0

  • Loading branch information...
1 parent f901ff5 commit 68b0a4a448b5df2eed18b2e500f3f5f67123b244 @A-limon committed Jan 19, 2014
Showing with 6,112 additions and 0 deletions.
  1. +7 −0 LICENSE
  2. +114 −0 README.md
  3. +88 −0 _config.yml
  4. +18 −0 languages/default.yml
  5. +18 −0 languages/zh-CN.yml
  6. +18 −0 languages/zh-TW.yml
  7. +164 −0 layout/_partial/after_footer.ejs
  8. +41 −0 layout/_partial/archive.ejs
  9. +19 −0 layout/_partial/article.ejs
  10. +13 −0 layout/_partial/categories.ejs
  11. +35 −0 layout/_partial/footer.ejs
  12. +10 −0 layout/_partial/google_analytics.ejs
  13. +55 −0 layout/_partial/head.ejs
  14. +26 −0 layout/_partial/header.ejs
  15. +8 −0 layout/_partial/pagination.ejs
  16. +18 −0 layout/_partial/post/article.ejs
  17. +21 −0 layout/_partial/post/catetags.ejs
  18. +5 −0 layout/_partial/post/comment.ejs
  19. +11 −0 layout/_partial/post/footer.ejs
  20. +11 −0 layout/_partial/post/gallery.ejs
  21. +18 −0 layout/_partial/post/header.ejs
  22. +21 −0 layout/_partial/post/jiathis.ejs
  23. +22 −0 layout/_partial/post/pagination.ejs
  24. +15 −0 layout/_partial/sidebar.ejs
  25. +15 −0 layout/_partial/tags.ejs
  26. +6 −0 layout/_widget/archive.ejs
  27. +10 −0 layout/_widget/category.ejs
  28. +8 −0 layout/_widget/links.ejs
  29. +3 −0 layout/_widget/rss.ejs
  30. +10 −0 layout/_widget/tag.ejs
  31. +8 −0 layout/_widget/tagcloud.ejs
  32. +1 −0 layout/archive.ejs
  33. +1 −0 layout/category.ejs
  34. +13 −0 layout/index.ejs
  35. +83 −0 layout/layout.ejs
  36. +1 −0 layout/page.ejs
  37. +1 −0 layout/post.ejs
  38. +1 −0 layout/tag.ejs
  39. +24 −0 scripts/fancybox.js
  40. +150 −0 source/css/_base/code.styl
  41. +30 −0 source/css/_base/font.styl
  42. +119 −0 source/css/_base/public.styl
  43. +53 −0 source/css/_base/variable.styl
  44. +170 −0 source/css/_partial/article.styl
  45. +201 −0 source/css/_partial/aside.styl
  46. +52 −0 source/css/_partial/duoshuo.styl
  47. +115 −0 source/css/_partial/footer.styl
  48. +20 −0 source/css/_partial/gallery.styl
  49. +131 −0 source/css/_partial/header.styl
  50. +279 −0 source/css/_partial/helper.styl
  51. +146 −0 source/css/_partial/index.styl
  52. +17 −0 source/css/style.styl
  53. BIN source/fancybox/blank.gif
  54. BIN source/fancybox/fancybox_loading.gif
  55. BIN source/fancybox/fancybox_loading@2x.gif
  56. BIN source/fancybox/fancybox_overlay.png
  57. BIN source/fancybox/fancybox_sprite.png
  58. BIN source/fancybox/fancybox_sprite@2x.png
  59. BIN source/fancybox/helpers/fancybox_buttons.png
  60. +97 −0 source/fancybox/helpers/jquery.fancybox-buttons.css
  61. +122 −0 source/fancybox/helpers/jquery.fancybox-buttons.js
  62. +199 −0 source/fancybox/helpers/jquery.fancybox-media.js
  63. +55 −0 source/fancybox/helpers/jquery.fancybox-thumbs.css
  64. +165 −0 source/fancybox/helpers/jquery.fancybox-thumbs.js
  65. +273 −0 source/fancybox/jquery.fancybox.css
  66. +2,017 −0 source/fancybox/jquery.fancybox.js
  67. +46 −0 source/fancybox/jquery.fancybox.pack.js
  68. BIN source/font/FontAwesome.otf
  69. BIN source/font/coveredbyyourgrace-webfont.eot
  70. +243 −0 source/font/coveredbyyourgrace-webfont.svg
  71. BIN source/font/coveredbyyourgrace-webfont.ttf
  72. BIN source/font/coveredbyyourgrace-webfont.woff
  73. BIN source/font/fontawesome-webfont.eot
  74. +414 −0 source/font/fontawesome-webfont.svg
  75. BIN source/font/fontawesome-webfont.ttf
  76. BIN source/font/fontawesome-webfont.woff
  77. BIN source/img/author.jpg
  78. BIN source/img/favicon.ico
  79. +32 −0 source/img/logo.svg
  80. BIN source/img/pacman.jpg
  81. +5 −0 source/js/jquery-2.0.3.min.js
View
@@ -0,0 +1,7 @@
+Copyright (c) 2014 Yang Jian
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,114 @@
+# Pacman
+
+Pacman is a flat and responsive design theme for [Hexo](http://zespia.tw/hexo/).
+
+[Demo](http://A-limon.github.io/pacman) || [Alimon's Blog](http://yangjian.me)
+
+中文说明请访问[这里](http://A-limon.github.io/pacman/hello/introducing-pacman-theme/)
+##Installation
+###Install
+```
+$ git clone https://github.com/A-limon/pacman.git themes/pacman
+```
+**Pacman requires Hexo 2.4.5 and above.**
+###Enable
+Modify `theme` setting in blog folder` _config.yml` to `pacman`.
+###Update
+```
+cd themes/pacman
+git pull
+```
+**please backup your `_config.yml` file before update.**
+##Configuration
+
+Modify settings in `/themes/pacman/_config.yml`.
+
+```
+##### Menu
+menu:
+ Home: /
+ Archives: /archives
+## you can create `tags` and `categories` folders in `../source`.
+## And create a `index.md` file in each of them.
+## set `front-matter`as
+## layout: tags (or categories)
+## title: tags ( or categories)
+## ---
+
+#### Widgets
+widgets:
+- category
+- tag
+- rss
+## provide six widgets :category,tag,rss,archive,tagcloud,links.
+## modify links in `/layout/_widget/links.ejs`.
+
+#### RSS
+rss: ## RSS address.
+
+#### Image
+imglogo:
+ enable: true ## display image logo true/false.
+ src: /img/logo.svg ## '.svg' and '.png' are recommended,please put image into the theme folder '/pacman/source/img'.
+favicon: /img/favicon.ico ## size:16px*16px,'.ico' is recommended,please put image into the theme folder '/pacman/source/img' .
+apple_icon: /img/pacman.jpg ## size:64px*64px,please put image into the theme folder '/pacman/source/img'.
+
+#### Author Avatar Picture
+dataURI: true
+## if the picture's format is dataURI please set the value to true,otherwise set the value to false.
+## convert an image into base 64 data URIs http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/ .
+author_img_data: ''
+## paste the dataURI in ONE LINE and included it by ''.
+author_img: /img/author.jpg ## size:220px*220px.
+## if the picture's format is '.png' or '.jpg' instead of dataURI,you should set the 'dataURI' value to false.
+
+#### Font
+ShowCustomFont: true
+## you can change custom font in 'variable.styl' and 'font.styl' which in the theme folder '/pacman/source/css'.
+
+#### Toc
+toc:
+ article: true ## show contents in article
+ aside: true ## show contents in aside
+## you can set both of the value to true of neither of them.
+## if you don't want display contents in a specified post,you can modify `front-matter` and add `toc: false`.
+
+#### Fancybox
+fancybox: fasle
+## if you use gallery post or want use fancybox please set the value to true.
+## if you want use fancybox in ANY post please copy the file 'fancybox.js'.
+## in theme folder '/pacman/scripts' to your hexo blog folder '../scritps'.
+
+
+#### Author information
+author:
+ google_plus: 116338260303228776998 ## eg:116338260303228776998 for https://plus.google.com/u/0/116338260303228776998
+ intro_line1: "Hi,I'm the designer of this theme." ## eg: "Hello ,I'm Larry Page in Google."
+ intro_line2: "I hope you can enjoy the Pacman theme for Hexo!" ## eg: "This is my blog,believe it or not."
+ weibo: 436062867 ## e.g. 436062867 for http://weibo.com/436062867
+ twitter: yangjiansky ## e.g. yangjiansky for https://twitter.com/yangjiansky
+ github: A-limon ## e.g. A-limon for https://github.com/A-limon
+ facebook: yangjian ## e.g. yangjian for https://favebook.com/yangjian
+ tsina: 1664838973 ## e.g. 1664838973 Your weibo ID,It will be used in share button.
+
+#### Comment
+duoshuo:
+ enable: true ## duoshuo.com
+ short_name: alimon ## duoshuo short name.
+
+#### Share button
+jiathis:
+ enable: false ## if you use jiathis as your share tool,the built-in share tool won't be display.
+ id: 1501277 ## e.g.1501277 your jiathis ID.
+ tsina: 1664838973 ## e.g.1664838973 Your weibo id,It will be used in share button.
+
+#### Analytics
+google_analytics:
+ enable: false
+ id: ## e.g. UA-1766729-8 your google analytics ID.
+ site: ## e.g. yangjian.me your google analytics site or set the value as auto.
+## You MUST upgrade to Universal Analytics first!
+## https://developers.google.com/analytics/devguides/collection/upgrade/?hl=zh_CN
+```
+
+
View
@@ -0,0 +1,88 @@
+##### Menu
+menu:
+ Home: /
+ Archives: /archives
+## you can create `tags` and `categories` folders in `../source`.
+## And create a `index.md` file in each of them.
+## set `front-matter`as
+## layout: tags (or categories)
+## title: tags ( or categories)
+## ---
+
+#### Widgets
+widgets:
+- category
+- tag
+- archive
+- tagcloud
+- links
+- rss
+## provide six widgets:category,tag,rss,archive,tagcloud,links.
+## modify links in `/layout/_widget/links.ejs`.
+
+#### RSS
+rss: ## RSS address.
+
+#### Image
+imglogo:
+ enable: true ## display image logo true/false.
+ src: /img/logo.svg ## '.svg' and '.png' are recommended,please put image into the theme folder '/pacman/source/img'.
+favicon: /img/favicon.ico ## size:16px*16px,'.ico' is recommended,please put image into the theme folder '/pacman/source/img'.
+apple_icon: /img/pacman.jpg ## size:64px*64px,please put image into the theme folder '/pacman/source/img'.
+
+#### Author Avatar Picture
+dataURI: false
+## if the picture's format is dataURI please set the value to true,otherwise set the value to false.
+## convert an image into base 64 data URIs http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/ .
+author_img_data: ''
+## paste the dataURI in ONE LINE and included it by ''.
+author_img: /img/author.jpg ## size:220px*220px.
+## if the picture's format is '.png' or '.jpg' instead of dataURI,you should set the 'dataURI' value to false.
+
+#### Font
+ShowCustomFont: true
+## you can change custom font in 'variable.styl' and 'font.styl' which in the theme folder '/pacman/source/css'.
+
+#### Toc
+toc:
+ article: true ## show contents in article.
+ aside: true ## show contents in aside.
+## you can set both of the value to true of neither of them.
+## if you don't want display contents in a specified post,you can modify `front-matter` and add `toc: false`.
+
+#### Fancybox
+fancybox: false
+## if you use gallery post or want use fancybox please set the value to true.
+## if you want use fancybox in ANY post please copy the file 'fancybox.js'.
+## in theme folder '/pacman/scripts' to your hexo blog folder '../scritps'.
+
+#### Author information
+author:
+ google_plus: ## eg:116338260303228776998 for https://plus.google.com/u/0/116338260303228776998
+ intro_line1: "" ## eg: "Hello ,I'm Larry Page in Google."
+ intro_line2: "" ## eg: "This is my blog,believe it or not."
+ weibo: ## e.g. 436062867 for http://weibo.com/436062867
+ twitter: ## e.g. yangjiansky for https://twitter.com/yangjiansky
+ github: ## e.g. A-limon for https://github.com/A-limon
+ facebook: ## e.g. yangjian for https://favebook.com/yangjian
+ tsina: ## e.g. 1664838973 Your weibo ID,It will be used in share button.
+
+#### Comment
+duoshuo:
+ enable: false ## duoshuo.com
+ short_name: ## duoshuo short name.
+
+#### Share button
+jiathis:
+ enable: false ## if you use jiathis as your share tool,the built-in share tool won't be display.
+ id: ## e.g. 1501277 your jiathis ID.
+ tsina: ## e.g. 1664838973 Your weibo id,It will be used in share button.
+
+#### Analytics
+google_analytics:
+ enable: false
+ id: ## e.g. UA-1766729-8 your google analytics ID.
+ site: ## e.g. yangjian.me your google analytics site or set the value as auto.
+## You MUST upgrade to Universal Analytics first!
+## https://developers.google.com/analytics/devguides/collection/upgrade/?hl=zh_CN
+
View
@@ -0,0 +1,18 @@
+categories: Categories
+search: Search
+tags: Tags
+tagcloud: Tag Cloud
+prev: Prev
+next: Next
+comment: Comments
+contents: Contents
+archive_a: Archives
+archive_b: Archives: %s
+page: Page %d
+recent_posts: Recent Posts
+menu: Menu
+links: Links
+rss: RSS
+showsidebar: Show Sidebar
+hidesidebar: Hide Sidebar
+updated: Updated
View
@@ -0,0 +1,18 @@
+categories: 分类
+search: 搜索
+tags: 标签
+tagcloud: 标签云
+prev: 上一页
+next: 下一页
+comment: 文章评论
+contents: 文章目录
+archive_a: 归档
+archive_b: 归档:%s
+page: 第 %d 页
+recent_posts: 近期文章
+menu: 菜单
+links: 友情链接
+rss: RSS 订阅
+showsidebar: 显示侧边栏
+hidesidebar: 隐藏侧边栏
+updated: 更新日期
View
@@ -0,0 +1,18 @@
+categories: 分類
+search: 搜索
+tags: 標簽
+tagcloud: 標簽雲
+prev: 上一頁
+next: 下一頁
+comment: 文章評論
+contents: 文章目錄
+archive_a: 歸檔
+archive_b: 歸檔:%s
+page: 第 %d 頁
+recent_posts: 近期文章
+menu: 菜單
+links: 友情鏈接
+rss: RSS 訂閱
+showsidebar: 顯示側邊欄
+hidesidebar: 隱藏側邊欄
+updated: 更新日期
Oops, something went wrong.

0 comments on commit 68b0a4a

Please sign in to comment.