Permalink
Browse files

修改分类样式

  • Loading branch information...
1 parent fd3f195 commit 5e061527b8fff5543e7b25442d8c1e717f2e3868 @EZLippi committed Aug 21, 2015
View
@@ -5,7 +5,10 @@ Thumbs.db
.DS_Store
!.gitkeep
-
+*~
+_posts/*~
.rbenv-version
.rvmrc
-run.bat
+run.bat
+push
+serve
@@ -1,62 +1,19 @@
- <div class="col-lg-6">
- <ul class="list-unstyled">
- <li>
- <a href="/categories.html#java">
- Java
- </a>
- </li>
- <li>
- <a href="/categories.html#c">
- C
- </a>
- </li>
- <li>
- <a href="/categories.html#web">
- Web
- </a>
- </li>
- <li>
- <a href="/categories.html#android">
- android
- </a>
- </li>
- <li>
- <a href="/categories.html#algorithm">
- 算法
- </a>
- </li>
-
- </ul>
- </div>
- <!-- /.col-lg-6 -->
- <div class="col-lg-6">
- <ul class="list-unstyled">
- <li>
- <a href="/categories.html#Programming">
- Programming
- </a>
- </li>
-<li>
- <a href="/categories.html#reprints">
- Reprints
- </a>
- </li>
- <li>
- <a href="/categories.html#jekyll">
- Jekyll
- </a>
- </li>
-<li>
- <a href="/categories.html#gradle">
- Gradle
- </a>
- </li>
- <li>
- <a href="/categories.html#other">
- Other
- </a>
- </li>
- </ul>
- </div>
- <!-- /.col-lg-6 -->
+
+ <div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ Categories
+ </div>
+
+ <a href="{{'/index.html' | prepend: site.baseurl}}" class="categories-list-item" cate="All">
+ All<span class="my-badge"> {{site.posts | size}}</span>
+ </a>
+ {% for category in site.categories order:ascending %}
+ <a href="javascript:;" class="categories-list-item" cate="{{ category | first }}">
+ {{ category | first }} <span class="my-badge">{{ category | last | size }}</span>
+ </a>
+ {% endfor %}
+ </div>
+
+
+
@@ -1,61 +1,19 @@
- <div class="col-lg-6">
- <ul class="list-unstyled">
- <li>
- <a href="/categories.html#java">
- Java
- </a>
- </li>
- <li>
- <a href="/categories.html#web">
- Web
- </a>
- </li>
- <li>
- <a href="/categories.html#android">
- android
- </a>
- </li>
- <li>
- <a href="/categories.html#algorithm">
- 算法
- </a>
- </li>
-
- </ul>
- </div>
- <!-- /.col-lg-6 -->
- <div class="col-lg-6">
- <ul class="list-unstyled">
- <li>
- <a href="/categories.html#Programming">
- Programming
- </a>
- </li>
-<li>
- <a href="/categories.html#c">
- C
- </a>
- </li>
-<li>
- <a href="/categories.html#reprints">
- Reprints
- </a>
- </li>
- <li>
- <a href="/categories.html#jekyll">
- Jekyll
- </a>
- </li>
-<li>
- <a href="/categories.html#gradle">
- Gradle
- </a>
- </li>
- <li>
- <a href="/categories.html#other">
- Other
- </a>
- </li>
- </ul>
- </div>
- <!-- /.col-lg-6 -->
+
+<div class="col-sm-3">
+ <div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ Categories
+ </div>
+
+ <a href="{{'/index.html' | prepend: site.baseurl}}" class="categories-list-item" cate="All">
+ All<span class="my-badge"> {{site.posts | size}}</span>
+ </a>
+ {% for category in site.categories order:ascending %}
+ <a href="javascript:;" class="categories-list-item" cate="{{ category | first }}">
+ {{ category | first }} <span class="my-badge">{{ category | last | size }}</span>
+ </a>
+ {% endfor %}
+ </div>
+ </div>
+
+
View
@@ -1,13 +1,19 @@
-<ul>
- <li><a href="/blog/2015/03/github-pages-blog.html">利用Github-pages建立个人博客</li>
-<li><a href="/blog/2014/07/qualified-programmer-should-read-what-books.html">一个合格的程序员应该读过哪些书</li>
-<li><a href="/blog/2014/12/c-open-project.html">值得推荐的C/C++框架和库</li>
-<li><a href="/blog/2014/12/c-code-opt.html">C代码优化小贴士</li>
-<li><a href="/blog/2014/06/26-methods-to-improve-java-performance.html">Java编程Tips</li>
-<li><a href="/blog/2015/04/gradle-task-management.html">Gradle系列教程之任务管理</li>
-<li><a href="/blog/2015/05/android-links.html">安卓开发者必备的42个链接</li>
-<li><a href="/blog/2015/05/gradle-dependency-management.html">Gradle系列教程之依赖管理</li>
-<li><a href="/blog/2014/10/android-opensource.html">值得推荐的android开源框架</li>
-<li><a href="/blog/2015/07/hibernate-cache-guide.html">Hibernate缓存配置笔记</li>
+<div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ 热门文章
+ </div>
+
+ <ul class="list-unstyled">
+ <li><a href="/blog/2015/03/github-pages-blog.html" class="categories-list-item">利用Github-pages建立个人博客</li>
+<li><a href="/blog/2014/07/qualified-programmer-should-read-what-books.html" class="categories-list-item">一个合格的程序员应该读过哪些书</li>
+<li><a href="/blog/2014/12/c-open-project.html" class="categories-list-item">值得推荐的C/C++框架和库</li>
+<li><a href="/blog/2014/12/c-code-opt.html" class="categories-list-item">C代码优化小贴士</li>
+<li><a href="/blog/2014/06/26-methods-to-improve-java-performance.html" class="categories-list-item">Java编程Tips</li>
+<li><a href="/blog/2015/04/gradle-task-management.html" class="categories-list-item">Gradle系列教程之任务管理</li>
+<li><a href="/blog/2015/05/android-links.html" class="categories-list-item">安卓开发者必备的42个链接</li>
+<li><a href="/blog/2015/05/gradle-dependency-management.html" class="categories-list-item">Gradle系列教程之依赖管理</li>
+<li><a href="/blog/2014/10/android-opensource.html" class="categories-list-item">值得推荐的android开源框架</li>
+<li><a href="/blog/2015/07/hibernate-cache-guide.html" class="categories-list-item">Hibernate缓存配置笔记</li>
- </ul>
+ </ul>
+</div>
View
@@ -1,5 +1,19 @@
-<div class="col-lg-6">
- <ul class="list-unstyled">
+<div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ 热门文章
+ </div>
- </ul>
- </div>
+<ul>
+ <li><a href="/blog/2015/03/github-pages-blog.html" class="categories-list-item">利用Github-pages建立个人博客</li>
+<li><a href="/blog/2014/07/qualified-programmer-should-read-what-books.html" class="categories-list-item">一个合格的程序员应该读过哪些书</li>
+<li><a href="/blog/2014/12/c-open-project.html" class="categories-list-item">值得推荐的C/C++框架和库</li>
+<li><a href="/blog/2014/12/c-code-opt.html" class="categories-list-item">C代码优化小贴士</li>
+<li><a href="/blog/2014/06/26-methods-to-improve-java-performance.html" class="categories-list-item">Java编程Tips</li>
+<li><a href="/blog/2015/04/gradle-task-management.html" class="categories-list-item">Gradle系列教程之任务管理</li>
+<li><a href="/blog/2015/05/android-links.html" class="categories-list-item">安卓开发者必备的42个链接</li>
+<li><a href="/blog/2015/05/gradle-dependency-management.html" class="categories-list-item">Gradle系列教程之依赖管理</li>
+<li><a href="/blog/2014/10/android-opensource.html" class="categories-list-item">值得推荐的android开源框架</li>
+<li><a href="/blog/2015/07/hibernate-cache-guide.html" class="categories-list-item">Hibernate缓存配置笔记</li>
+
+ </ul>
+</div>
View
@@ -1,51 +1,69 @@
- <ul class="list-unstyled">
+ <div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ 相关链接
+ </div>
+ <ul class="list-unstyled">
<li>
- <a href="https://github.com/">
+ <a href="https://github.com/" class="categories-list-item">
GitHub
</a>
</li>
<li>
- <a href="http://jekyllrb.com/docs/posts/">
+ <a href="http://www.stackoverflow.com/" class="categories-list-item">
+ Stack Overflow
+ </a>
+ </li>
+<li>
+ <a href="http://jekyllrb.com/docs/posts/" class="categories-list-item">
Jekyll文档
</a>
</li>
<li>
- <a href="https://news.ycombinator.com/">
+ <a href="https://news.ycombinator.com/" class="categories-list-item">
Hacker News
</a>
</li>
+
<li>
- <a href="http://www.stackoverflow.com/">
- Stack Overflow
- </a>
- </li>
- <li>
- <a href="http://developer.android.com/">
+ <a href="http://developer.android.com/" class="categories-list-item">
Android Developer
</a>
</li>
<li>
- <a href="http://www.ruanyifeng.com/blog/">
+ <a href="http://www.ruanyifeng.com/blog/" class="categories-list-item">
Ruanyifeng's Blog
</a>
</li>
-<li>
- <a href="http://ifeve.com/">
- 并发编程网
- </a>
- </li>
+
<li>
- <a href="http://www.importnew.com/">
+ <a href="http://www.importnew.com/" class="categories-list-item">
ImportNew
</a>
</li>
<li>
- <a href="http://guides.codepath.com/android">
+ <a href="http://guides.codepath.com/android" class="categories-list-item">
CodePath Android Cliffnotes
</a>
</li>
-
+<li>
+ <a href="http://androidweekly.net/" class="categories-list-item">
+ Androidweekly
+ </a>
+ </li>
+<li>
+ <a href="http://mvnrepository.com/" class="categories-list-item">
+ Mvnrepository
+ </a>
+ </li>
+<li>
+ <a href="http://www.iteye.com/" class="categories-list-item">
+ Iteye
+ </a>
+ </li>
+
</ul>
+
+</div>
View
@@ -1,20 +1,30 @@
- <ul class="list-unstyled">
+ <div class="shadow-corner-curl hidden-xs">
+ <div class="categories-list-header">
+ 相关链接
+ </div>
+ <ul class="list-unstyled">
<li>
<a href="https://github.com/">
GitHub
</a>
</li>
+<li>
+ <a href="http://www.stackoverflow.com/">
+ Stack Overflow
+ </a>
+ </li>
+<li>
+ <a href="http://jekyllrb.com/docs/posts/">
+ Jekyll文档
+ </a>
+ </li>
<li>
<a href="https://news.ycombinator.com/">
Hacker News
</a>
</li>
- <li>
- <a href="http://www.stackoverflow.com/">
- Stack Overflow
- </a>
- </li>
+
<li>
<a href="http://developer.android.com/">
Android Developer
@@ -27,11 +37,7 @@
</a>
</li>
-<li>
- <a href="http://ifeve.com/">
- 并发编程网
- </a>
- </li>
+
<li>
<a href="http://www.importnew.com/">
ImportNew
@@ -42,5 +48,22 @@
CodePath Android Cliffnotes
</a>
</li>
-
+<li>
+ <a href="http://androidweekly.net/">
+ Androidweekly
+ </a>
+ </li>
+<li>
+ <a href="http://mvnrepository.com/">
+ Mvnrepository
+ </a>
+ </li>
+<li>
+ <a href="http://www.iteye.com/">
+ Iteye
+ </a>
+ </li>
+
</ul>
+
+</div>
Oops, something went wrong.

0 comments on commit 5e06152

Please sign in to comment.