Permalink
Browse files

new blog style

  • Loading branch information...
1 parent 6fd9aa3 commit 92aee51e4f698fc85be08e819ae91d99603931bf @EZLippi committed Apr 16, 2015
Showing with 659 additions and 14,399 deletions.
  1. +9 −8 404.html
  2. +1 −1 CNAME
  3. +0 −21 LICENSE
  4. +34 −46 README.md
  5. +15 −21 _config.yml
  6. +0 −33 _includes/JB/categories_list
  7. +0 −32 _includes/JB/liquid_raw
  8. +0 −39 _includes/JB/pages_list
  9. +0 −51 _includes/JB/posts_collate
  10. +0 −22 _includes/JB/setup
  11. +0 −33 _includes/JB/tags_list
  12. +12 −0 _includes/adsense.html
  13. +9 −0 _includes/adsense.html~
  14. +1 −0 _includes/analytics.html
  15. +1 −0 _includes/analytics.html~
  16. +0 −42 _includes/articles.html
  17. +0 −58 _includes/articles.html~
  18. +51 −0 _includes/categories.html
  19. +50 −0 _includes/categories.html~
  20. +4 −0 _includes/comment.html
  21. +6 −0 _includes/comment.html~
  22. +5 −0 _includes/copyright.html
  23. +5 −0 _includes/copyright.html~
  24. +0 −154 _includes/default.html
  25. +0 −170 _includes/default.htmlf
  26. +0 −152 _includes/default.html~
  27. +0 −16 _includes/disqus.html
  28. +0 −16 _includes/disqus.html~
  29. +0 −16 _includes/ga.html
  30. +0 −14 _includes/ga.html~
  31. +0 −50 _includes/home.html
  32. +0 −50 _includes/home.html~
  33. +0 −53 _includes/index.html
  34. +0 −50 _includes/index.html~
  35. +46 −0 _includes/links.html
  36. +47 −0 _includes/links.html~
  37. +0 −14 _includes/mkeditor.html
  38. +27 −0 _includes/navigation.html
  39. +0 −8 _includes/navtabs.html
  40. +0 −5 _includes/navtabs.html~
  41. +0 −19 _includes/page.html
  42. +0 −82 _includes/post.html
  43. +0 −82 _includes/post.html~
  44. +13 −0 _includes/search.html
  45. +0 −40 _includes/service.html
  46. +0 −8 _includes/shares.html
  47. +0 −8 _includes/shares.html~
  48. +118 −1 _layouts/default.html
  49. +0 −1 _layouts/index.html
  50. +0 −1 _layouts/index.html~
  51. +0 −5 _layouts/page.html
  52. +0 −5 _layouts/page.html~
  53. +39 −5 _layouts/post.html
  54. +0 −5 _layouts/post.html~
  55. +0 −38 _plugins/debug.rb
  56. +0 −602 _posts/2014-12-13-c-open-project.md~
  57. +0 −341 _posts/2015-02-04-cache.md~
  58. +0 −922 _posts/2015-03-01-github-pages-blog.md~
  59. +0 −79 _posts/2015-04-12-java-code-opt-01.md~
  60. +0 −47 _posts/2015-04-13-gradle-in-action-cn.md~
  61. +2 −23 about.md
  62. +0 −18 archive.html
  63. +15 −0 archives.md
  64. +0 −12 articles.html
  65. +0 −216 assets/css/auticons/auticons.css
  66. BIN assets/css/auticons/auticons.eot
  67. +0 −54 assets/css/auticons/auticons.svg
  68. BIN assets/css/auticons/auticons.ttf
  69. +0 −108 assets/css/base.css
  70. +0 −1,997 assets/css/bootstrap.css
  71. +0 −1,997 assets/css/bootstrap.css~
  72. +0 −7 assets/css/bootstrap.min.2.css
  73. +0 −7 assets/css/bootstrap.min.css
  74. +0 −7 assets/css/master.css
  75. +0 −108 assets/css/mediaqueries.css
  76. +0 −108 assets/css/mediaqueries.css~
  77. +0 −27 assets/css/mod.css
  78. +0 −1 assets/css/prettify.css
  79. +0 −69 assets/css/pygment_trac.css
  80. +0 −62 assets/css/pygments.css
  81. +0 −730 assets/css/style.css
  82. +0 −730 assets/css/style.css~
  83. 0 assets/css/style_old.css
  84. +0 −60 assets/css/syntaxhighlighter.css
  85. BIN assets/fancyBox/blank.gif
  86. BIN assets/fancyBox/fancybox_loading.gif
  87. BIN assets/fancyBox/fancybox_overlay.png
  88. BIN assets/fancyBox/fancybox_sprite.png
  89. BIN assets/fancyBox/helpers/fancybox_buttons.png
  90. +0 −96 assets/fancyBox/helpers/jquery.fancybox-buttons.css
  91. +0 −121 assets/fancyBox/helpers/jquery.fancybox-buttons.js
  92. +0 −196 assets/fancyBox/helpers/jquery.fancybox-media.js
  93. +0 −54 assets/fancyBox/helpers/jquery.fancybox-thumbs.css
  94. +0 −162 assets/fancyBox/helpers/jquery.fancybox-thumbs.js
  95. +0 −249 assets/fancyBox/jquery.fancybox.css
  96. +0 −1,983 assets/fancyBox/jquery.fancybox.js
  97. +0 −45 assets/fancyBox/jquery.fancybox.pack.js
  98. +0 −166 assets/js/application.js
  99. +0 −6 assets/js/bootstrap.min.js
  100. +0 −106 assets/js/go-top.js
  101. +0 −106 assets/js/go-top.js~
  102. +0 −30 assets/js/modernizr.js
  103. +0 −28 assets/js/prettify.js
  104. +0 −17 assets/js/scale.fix.js
  105. +7 −10 atom.xml
  106. +0 −1 baidu_verify_J3dO7Iq9bz.html
  107. +0 −1 baidu_verify_RLSfUspQ7M.html
  108. +0 −1 baidu_verify_U4GbL4I6c3.html
  109. +0 −1 baidu_verify_cY21mCx46r.html
  110. +0 −30 categories.html
  111. +15 −0 categories.md
  112. +20 −0 css/blog.css
  113. +5 −0 css/bootstrap.min.css
  114. +30 −0 faqs.md
  115. BIN fonts/glyphicons-halflings-regular.ttf
  116. BIN images/404.png
  117. BIN images/build-process.png
  118. BIN images/dag.png
  119. BIN images/dag1.png
  120. BIN images/dag10.png
  121. BIN images/dag11.png
  122. BIN images/dag12.png
  123. BIN images/dag13.png
  124. BIN images/dag14.png
  125. BIN images/dag15.png
  126. BIN images/dag16.png
  127. BIN images/dag17.png
  128. BIN images/dag18.png
  129. BIN images/dag19.png
  130. BIN images/dag2.png
  131. BIN images/dag20.png
  132. BIN images/dag21.png
  133. BIN images/dag22.png
  134. BIN images/dag23.png
  135. BIN images/dag3.png
  136. BIN images/dag4.png
  137. BIN images/dag5.png
  138. BIN images/dag6.png
  139. BIN images/dag7.png
  140. BIN images/dag8.png
  141. BIN images/dag9.png
  142. BIN images/dora-top-small.png
  143. BIN images/ico_facebook.png
  144. BIN images/ico_github.png
  145. BIN images/ico_google.png
  146. BIN images/ico_twitter.png
  147. BIN images/images/111.gif
  148. BIN images/images/222.gif
  149. BIN images/images/333.gif
  150. BIN images/images/background.jpeg
  151. BIN images/images/category-list.jpg
  152. BIN images/images/chart.png
  153. BIN images/images/comparison-sort-decision-tree.jpg
  154. BIN images/images/diy-design-php-mvc-framework-url-users.png
  155. BIN images/images/evbuffer.png
  156. BIN images/images/external_link.gif
  157. BIN images/images/external_link_on.gif
  158. BIN images/images/githubpages/2013-01-20-build-github-blog-page-07-img0.jpeg
  159. BIN images/images/githubpages/2013-01-20-build-github-blog-page-07-img1.png
  160. BIN images/images/githubpages/2013-01-20-build-github-blog-page-07-img2.png
  161. BIN images/images/githubpages/2013-01-20-build-github-blog-page-07-img3.png
  162. BIN images/images/githubpages/2013-01-20-build-github-blog-page-07-img4.png
  163. BIN images/images/githubpages/bootcamp_1_ssh.jpg
  164. BIN images/images/githubpages/bootcamp_1_token.jpg
  165. BIN images/images/githubpages/bootcamp_1_win_gitbash.jpg
  166. BIN images/images/githubpages/build-github-blog-page-01-img0.png
  167. BIN images/images/githubpages/build-github-blog-page-02-img0.png
  168. BIN images/images/githubpages/build-github-blog-page-02-img1.png
  169. BIN images/images/githubpages/build-github-blog-page-03-img0.png
  170. BIN images/images/githubpages/build-github-blog-page-04-img0.png
  171. BIN images/images/githubpages/build-github-blog-page-05-img0.png
  172. BIN images/images/githubpages/build-github-blog-page-05-img1.png
  173. BIN images/images/githubpages/build-github-blog-page-06-img0.png
  174. BIN images/images/githubpages/build-github-blog-page-06-img1.png
  175. BIN images/images/githubpages/build-github-blog-page-06-img2.png
  176. BIN images/images/githubpages/build-github-blog-page-06-img4.png
  177. BIN images/images/githubpages/build-github-blog-page-06-img5.png
  178. BIN images/images/githubpages/disqus-site.jpg
  179. BIN images/images/githubpages/github-account-setting.png
  180. BIN images/images/githubpages/graph/graph1.jpg
  181. BIN images/images/githubpages/graph/graph10.jpg
  182. BIN images/images/githubpages/graph/graph11.jpg
  183. BIN images/images/githubpages/graph/graph12.jpg
  184. BIN images/images/githubpages/graph/graph2.jpg
  185. BIN images/images/githubpages/graph/graph3.jpg
  186. BIN images/images/githubpages/graph/graph4.jpg
  187. BIN images/images/githubpages/graph/graph5.jpg
  188. BIN images/images/githubpages/graph/graph6.jpg
  189. BIN images/images/githubpages/graph/graph7.jpg
  190. BIN images/images/githubpages/graph/graph8.jpg
  191. BIN images/images/githubpages/graph/graph9.jpg
  192. BIN images/images/githubpages/image1.png
  193. BIN images/images/githubpages/level1.png
  194. BIN images/images/githubpages/level10.png
  195. BIN images/images/githubpages/level11.png
  196. BIN images/images/githubpages/level12.png
  197. BIN images/images/githubpages/level13.png
  198. BIN images/images/githubpages/level2.png
  199. BIN images/images/githubpages/level3.png
  200. BIN images/images/githubpages/level4.png
  201. BIN images/images/githubpages/level5.png
  202. BIN images/images/githubpages/level6.png
  203. BIN images/images/githubpages/level7.png
  204. BIN images/images/githubpages/level8.png
  205. BIN images/images/githubpages/level9.png
  206. BIN images/images/githubpages/other-pages.png
  207. BIN images/images/githubpages/sitemap.jpg
  208. BIN images/images/githubpages/sitemap2.jpg
  209. BIN images/images/githubpages/skiplist1.jpg
  210. BIN images/images/githubpages/skiplist2.jpg
  211. BIN images/images/githubpages/skiplist3.jpg
  212. BIN images/images/githubpages/skiplist4.jpg
  213. BIN images/images/githubpages/skiplist5.jpg
  214. BIN images/images/githubpages/skiplist6.jpg
  215. BIN images/images/githubpages/ssh-key-set.png
  216. BIN images/images/githubpages/user-pages.png
  217. BIN images/images/gradle1.png
  218. BIN images/images/hot.gif
  219. BIN images/images/http/0.jpeg
  220. BIN images/images/http/1.jpeg
  221. BIN images/images/http/2.jpeg
  222. BIN images/images/http/3.jpeg
  223. BIN images/images/http/4.jpeg
  224. BIN images/images/icon_square.gif
  225. BIN images/images/icons.gif
  226. BIN images/images/image001.png
  227. BIN images/images/img2txt.jpg
  228. BIN images/images/java/1.jpeg
  229. BIN images/images/java/2.jpeg
  230. BIN images/images/java/3.jpeg
  231. BIN images/images/node-file-server-output.png
  232. BIN images/images/node-source.png
  233. BIN images/images/nodejs1.png
  234. BIN images/images/nodejs2.png
  235. BIN images/images/openfire/xmpp1.jpeg
  236. BIN images/images/openfire/xmpp10.jpeg
  237. BIN images/images/openfire/xmpp11.jpeg
  238. BIN images/images/openfire/xmpp2.jpeg
  239. BIN images/images/openfire/xmpp3.jpeg
  240. BIN images/images/openfire/xmpp4.jpeg
  241. BIN images/images/openfire/xmpp5.jpeg
  242. BIN images/images/openfire/xmpp6.jpeg
  243. BIN images/images/openfire/xmpp7.jpeg
  244. BIN images/images/openfire/xmpp8.jpeg
  245. BIN images/images/openfire/xmpp9.jpeg
  246. BIN images/images/rainingchrome/RainingChrome.crx
  247. +0 −16 images/images/rainingchrome/RainingChrome.pem
  248. BIN images/images/rainingchrome/rain.jpg
  249. +0 −6 images/images/rainingchrome/update.xml
  250. BIN images/images/turn/code.png
  251. BIN images/images/turn/fold-sw.png
  252. BIN images/images/turn/fold.png
  253. BIN images/logo.png
  254. BIN images/pages/ashenna.png
  255. +48 −0 index.html
  256. +0 −25 index.md
  257. +6 −0 js/bootstrap.min.js
  258. +4 −0 js/jquery-1.11.0.js
  259. +0 −932 named-function-expressions-demystified.html
  260. +0 −62 pygments.css
  261. +0 −1 qqmail_domain_verify.txt
  262. +0 −4 robot.txt
  263. +0 −3 robots.txt
  264. +0 −28 rss.xml
  265. +0 −54 s3_website.yml
  266. +0 −20 search.html
  267. +0 −30 tags.html
  268. +14 −0 tags.md
  269. +0 −1 wb_88a4ab48bf25837f.txt
  270. +0 −1 webscan_360_cn.html
View
@@ -1,11 +1,12 @@
---
-layout: page
-title: 404
-tagline: Page does't exist
+layout: default
+title: "not found page!"
---
-{% include JB/setup %}
-<h2 class="post-title">404 - U R Lost!!!</h2>
-<p>您光临了我的 <b>404</b><sup>&reg;</sup><i>页面!</i></p>
-<p>网站结构调整,请使用<b>左</b>侧的 <b>搜索</b> 或<span style="color:red;">前往 <b><a href="/archive.html">归档</a></b> 页面自行探索!</span></p>
-<p><img src="{{ site.JB.IMAGE_PATH }}/404.png" width="425" height="427" alt="U R Lost!!!" title="U R Lost!!!" /></p>
+<p align="center">
+<h1></h1>NOT FOUND PAGE!</h1>
+
+<br/>
+<br/>
+thanks!
+</p>
View
@@ -1 +1 @@
-coolshell.info
+www.coolshell.info
View
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2013 Useful Paradigm
-
-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
@@ -1,46 +1,34 @@
-# Jekyll-Bootstrap
-
-The quickest way to start and publish your Jekyll powered blog. 100% compatible with GitHub pages
-
-## Usage
-
-For all usage and documentation please see: <http://jekyllbootstrap.com>
-
-## Version
-
-0.3.0 - stable and versioned using [semantic versioning](http://semver.org/).
-
-**NOTE:** 0.3.0 introduces a new theme which is not backwards compatible in the sense it won't _look_ like the old version.
-However, the actual API has not changed at all.
-You might want to run 0.3.0 in a branch to make sure you are ok with the theme design changes.
-
-## Contributing
-
-This repository tracks 2 projects:
-
-- **Jekyll-Bootstrap Framework.**
- The framework for which users should clone and build their blog on top of is available in the master branch.
-
- To contribute to the framework please make sure to checkout your branch based on `jb-development`!!
- This is very important as it allows me to accept your pull request without having to publish a public version release.
-
- Small, atomic Features, bugs, etc.
- Use the `jb-development` branch but note it will likely change fast as pull requests are accepted.
- Please rebase as often as possible when working.
- Work on small, atomic features/bugs to avoid upstream commits affecting/breaking your development work.
-
- For Big Features or major API extensions/edits:
- This is the one case where I'll accept pull-requests based off the master branch.
- This allows you to work in isolation but it means I'll have to manually merge your work into the next public release.
- Translation : it might take a bit longer so please be patient! (but sincerely thank you).
-
-- **Jekyll-Bootstrap Documentation Website.**
- The documentation website at <http://jekyllbootstrap.com> is maintained in the gh-pages branch.
- Please fork and contribute documentation additions to this branch only.
-
-The master and gh-pages branch do not share the same ancestry. Please treat them as completely separate git repositories!
-
-
-## License
-
-[MIT](http://opensource.org/licenses/MIT)
+我的个人博客
+================
+
+####博客地址
+http://www.coolshell.info
+
+####使用本项目作为博客模板,仅需如下几步:
+1,首先Fork或Download一份本项目代码。
+2,修改_config.yaml及about.md文件,以变更个人信息。
+3,修改_include目录下相关文件,以配置网站统计(analytics.html),网友评论(comment.html),右侧栏目(categories.html)等。
+4,修改CNAME文件,以绑定自己的域名。
+5,删除_posts下文章,换成你自己的。
+6,最后,push到你自己的博客Repo~
+
+ *^_^*如果愿意,Star本项目一个吧~
+
+####本项目使用了
+1,CNZZ的网站统计服务,官网:http://cnzz.com
+2,友言的网友评论服务,官网:http://www.uyan.cc
+3,Google 的Adsense广告,官网:https://www.google.com/adsense/login/zh_CN
+如需查看或管理网站统计、评论或广告,请自行注册帐号并修改_includes目录下相关文件。
+
+####联系方式
+联系方式:qq(934107508), email(ouyanglip@gmail.com)
+
+
+####使用本项目作模板的博客链接
+http://www.94geek.com
+http://www.haidaoxiaofei.me
+http://www.malphi.net
+http://happyaround.com
+http://tencentlocation.github.io
+http://wtaps.github.io
+(你的位置)
View
@@ -1,17 +1,15 @@
-# This is the default format.
-# For more see: https://github.com/mojombo/jekyll/wiki/Permalinks
-# permalink: /:categories/:year/:month/:day/:title
permalink: /blog/:year/:month/:title.html
include: ['.htaccess']
exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md", "CNAME", "Gemfile", "Gemfile.lock"]
-# markdown: redcarpet
markdown: kramdown
highlights: pygments
+url:
lsi: false
+safe: true
timezone: Asia/Shanghai
-safe: false
+auto: false
-paginate: 15
+paginate: 8
paginate_path: "page:num"
kramdown:
@@ -21,19 +19,15 @@ kramdown:
toc_levels: 1..6
use_coderay: false
-JB :
- ASSET_PATH : http://coolshell.info/assets
- IMAGE_PATH : http://coolshell.info/images
-# auto: true # deprecated
-
-# Themes are encouraged to use these universal variables
-# so be sure to set them if your theme uses them.
-#
-url: http://coolshell.info
+# presonal config
+domain: http://coolshell.info
title: Lippi-浮生志
-tagline: Draw my life with code
-about: <a href="http://coolshell.info/"><strong>Lippi</strong></a>,江西人士,Web后端、Android应用开发爱好者,欢迎<strong>Fork</strong>本站@<a href="https://github.com/LippiOuYang/LippiOuYang.github.io/fork">Github</a>。
-author:
- name: Lippi.OuYang
- email: ouyanglip@gmail.com
- github: LippiOuYang
+description: Draw my life with code
+author: Lippi.OuYang
+email: ouyanglip@gmail.com
+github: LippiOuYang
+
+config:
+ js_dir:
+ img_dir:
+ css_dir:
@@ -1,33 +0,0 @@
-{% comment %}<!--
-The categories_list include is a listing helper for categories.
-Usage:
- 1) assign the 'categories_list' variable to a valid array of tags.
- 2) include JB/categories_list
- example:
- <ul>
- {% assign categories_list = site.categories %}
- {% include JB/categories_list %}
- </ul>
-
- Notes:
- Categories can be either a Hash of Category objects (hashes) or an Array of category-names (strings).
- The encapsulating 'if' statement checks whether categories_list is a Hash or Array.
- site.categories is a Hash while page.categories is an array.
-
- This helper can be seen in use at: ../_layouts/default.html
--->{% endcomment %}
-
-{% if categories_list.first[0] == null %}
- {% for category in categories_list %}
- <li><a href="/categories.html#{{ category }}-ref">
- {{ category }} <span>{{ site.categories[category].size }}</span>
- </a></li>
- {% endfor %}
- {% else %}
- {% for category in categories_list %}
- <li><a href="/categories.html#{{ category[0] }}-ref">
- {{ category[0] }} <span class="badge">{{ category[1].size }}</span>
- </a></li>
- {% endfor %}
-{% endif %}
-{% assign categories_list = nil %}
@@ -1,32 +0,0 @@
-{% comment%}<!--
-The liquid_raw helper is a way to display raw liquid code, as opposed to parsing it.
-Normally you'd use Liquid's built in 'raw' tag.
-The problem is GitHub Jekyll does not support the current Liquid release.
-GitHub Jekyll supports the deprecated 'literal' tag.
-Using one will break the other if you plan to deploy to GitHub pages.
- see: https://github.com/mojombo/jekyll/issues/425
-
-Since I don't want to mess with Liquid versions, I'll just rewrite the way I
-intend to give liquid examples. It's not an elegant by any means:
-
-Usage:
- 1) Define a 'text' variable with the block of liquid code you intend to display.
- 2) Pass the text variable to include JB/liquid_raw
-
- example:
- {% capture text %}|.% for tag in tags_list %.|
- <li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
- |.% endfor %.|
-
- |.% assign tags_list = null %.|{% endcapture %}
- {% include JB/liquid_raw %}
-
- As seen here, you must use "|." and ".|" as opening and closing brackets.
--->{% endcomment%}
-
-{% if site.JB.liquid_raw.provider == "custom" %}
- {% include custom/liquid_raw %}
-{% else %}
- <pre><code>{{text | replace:"|.", "&#123;" | replace:".|", "&#125;" | replace:">", "&gt;" | replace:"<", "&lt;" }}</code></pre>
-{% endif %}
-{% assign text = nil %}
@@ -1,39 +0,0 @@
-{% comment %}<!--
-The pages_list include is a listing helper.
-Usage:
- 1) assign the 'pages_list' variable to a valid array of pages or posts.
- 2) include JB/pages_list
- example:
- <ul>
- {% assign pages_list = site.pages %}
- {% include JB/pages_list %}
- </ul>
-
- Grouping: (optional):
- assign the 'group' variable to constrain the list to only pages/posts
- in the given group. Note you must define the group manually in the page/post
- meta-data to use this feature.
- Grouping is mainly helpful for non-post pages.
- If you want to group posts, it's easier/better to tag them, then pass the tagged posts array.
- i.e. site.tags.cool_tag (this returns an array of posts tagged: cool_tag)
-
- This helper can be seen in use at: ../_layouts/default.html
--->{% endcomment %}
-
-{% if site.JB.pages_list.provider == "custom" %}
- {% include custom/pages_list %}
-{% else %}
- {% for node in pages_list %}
- {% if node.title != null %}
- {% if group == null or group == node.group %}
- {% if page.url == node.url %}
- <li class="active"><a href="{{node.url}}" class="active">{{node.title}}</a></li>
- {% else %}
- <li><a href="{{node.url}}">{{node.title}}</a></li>
- {% endif %}
- {% endif %}
- {% endif %}
- {% endfor %}
-{% endif %}
-{% assign pages_list = nil %}
-{% assign group = nil %}
@@ -1,51 +0,0 @@
-{% comment %}<!--
-Collate_posts helper. Collated posts by year and month.
-Usage:
- 1) assign the 'posts_collate' variable to a valid array of posts.
- 2) include JB/posts_collate
- example:
- {% assign posts_collate = site.posts %}
- {% include JB/posts_collate %}
-
- Ordering:
- Posts are displayed in reverse chronological order.
- For normal chronological order:
- 1) Change the for loop to this:
- => 'for post in site.posts reversed'
- 2) Next make sure to change 'post.previous.date' to:
- => 'post.next.date'
-
--->{% endcomment %}
-
-{% for post in posts_collate %}
-{% capture this_year %}{{ post.date | date: "%Y年" }}{% endcapture %}
-{% capture this_month %}{{ post.date | date: "%-m月" }}{% endcapture %}
-{% capture next_year %}{{ post.previous.date | date: "%Y年" }}{% endcapture %}
-{% capture next_month %}{{ post.previous.date | date: "%-m月" }}{% endcapture %}
-
-{% if forloop.first %}
- <h2>{{this_year}}</h2>
- <h4>{{this_month}}</h4>
- <ul>
-{% endif %}
-
-<li><span>{{ post.date | date: "%Y年%-m月%-d日" }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
-
-{% if forloop.last %}
- </ul>
-{% else %}
- {% if this_year != next_year %}
- </ul>
- <h2>{{next_year}}</h2>
- <!--h3>{{next_month}}</h3-->
- <ul>
- {% else %}
- {% if this_month != next_month %}
- <!--/ul>
- <h3>{{next_month}}</h3>
- <ul-->
- {% endif %}
- {% endif %}
-{% endif %}
-{% endfor %}
-{% assign posts_collate = nil %}
View
@@ -1,22 +0,0 @@
-{% capture jbcache %}
- <!--
- - Dynamically set liquid variables for working with URLs/paths
- -->
- {% if site.JB.setup.provider == "custom" %}
- {% include custom/setup %}
- {% else %}
- {% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
- {% assign BASE_PATH = site.JB.BASE_PATH %}
- {% assign HOME_PATH = site.JB.BASE_PATH %}
- {% else %}
- {% assign BASE_PATH = nil %}
- {% assign HOME_PATH = "/" %}
- {% endif %}
-
- {% if site.JB.ASSET_PATH %}
- {% assign ASSET_PATH = site.JB.ASSET_PATH %}
- {% else %}
- {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %}
- {% endif %}
- {% endif %}
-{% endcapture %}{% assign jbcache = nil %}
Oops, something went wrong.

0 comments on commit 92aee51

Please sign in to comment.