Permalink
Browse files

Update

  • Loading branch information...
1 parent 484b18d commit 894e4ab14a4ac080b38cb13059f959392fab7a65 @MOxFIVE committed Oct 16, 2015
View
@@ -1,63 +1,63 @@
-# Header
-menu:
- 主页: /
- 所有文章: /archives
- # 随笔: /tags/随笔
-
-# SubNav
-subnav:
- github: "#"
- weibo: "#"
- rss: "#"
- zhihu: "#"
- #douban: "#"
- #mail: "#"
- #facebook: "#"
- #google: "#"
- #twitter: "#"
- #linkedin: "#"
-
-rss: /atom.xml
-
-# Content
-excerpt_link: more
-fancybox: true
-mathjax: true
-
-# 是否开启动画效果
-animate: true
-
-# 是否在新窗口打开链接
-open_in_new: false
-
-# Miscellaneous
-google_analytics: ''
-favicon: /favicon.png
-
-#你的头像url
-avatar:
-#是否开启分享
-share: true
-#是否开启多说评论,填写你在多说申请的项目名称 duoshuo: duoshuo-key
-#若使用disqus,请在博客config文件中填写disqus_shortname,并关闭多说评论
-duoshuo: true
-#是否开启云标签
-tagcloud: true
-
-#是否开启友情链接
-#不开启——
-#friends: false
-#开启——
-friends:
- 奥巴马的博客: http://localhost:4000/
- 卡卡的美丽传说: http://localhost:4000/
- 本泽马的博客: http://localhost:4000/
- 吉格斯的博客: http://localhost:4000/
- 习大大大不同: http://localhost:4000/
- 托蒂的博客: http://localhost:4000/
-
-#是否开启“关于我”。
-#不开启——
-#aboutme: false
-#开启——
+# Header
+menu:
+ 主页: /
+ 所有文章: /archives
+ # 随笔: /tags/随笔
+
+# SubNav
+subnav:
+ github: "#"
+ weibo: "#"
+ rss: "#"
+ zhihu: "#"
+ #douban: "#"
+ #mail: "#"
+ #facebook: "#"
+ #google: "#"
+ #twitter: "#"
+ #linkedin: "#"
+
+rss: /atom.xml
+
+# Content
+excerpt_link: more
+fancybox: true
+mathjax: true
+
+# 是否开启动画效果
+animate: true
+
+# 是否在新窗口打开链接
+open_in_new: false
+
+# Miscellaneous
+google_analytics: ''
+favicon: /favicon.png
+
+#你的头像url
+avatar:
+#是否开启分享
+share: true
+#是否开启多说评论,填写你在多说申请的项目名称 duoshuo: duoshuo-key
+#若使用disqus,请在博客config文件中填写disqus_shortname,并关闭多说评论
+duoshuo: true
+#是否开启云标签
+tagcloud: true
+
+#是否开启友情链接
+#不开启——
+#friends: false
+#开启——
+friends:
+ 奥巴马的博客: http://localhost:4000/
+ 卡卡的美丽传说: http://localhost:4000/
+ 本泽马的博客: http://localhost:4000/
+ 吉格斯的博客: http://localhost:4000/
+ 习大大大不同: http://localhost:4000/
+ 托蒂的博客: http://localhost:4000/
+
+#是否开启“关于我”。
+#不开启——
+#aboutme: false
+#开启——
aboutme: 我是谁,我从哪里来,我到哪里去?我就是我,是颜色不一样的吃货…
@@ -1,26 +1,26 @@
-<% if (theme.fancybox){ %>
- <%- css('fancybox/jquery.fancybox') %>
-<% } %>
-
-<script>
- var yiliaConfig = {
- fancybox: <%=theme.fancybox%>,
- mathjax: <%=theme.mathjax%>,
- animate: <%=theme.animate%>,
- isHome: <%=is_home()%>,
- isPost: <%=is_post()%>,
- isArchive: <%=is_archive()%>,
- isTag: <%=is_tag()%>,
- isCategory: <%=is_category()%>,
- open_in_new: <%=theme.open_in_new%>
- }
-</script>
-<%- js('http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min') %>
-<%- js('js/main') %>
-
-
-<%- partial('google-analytics') %>
-
-<% if (theme.mathjax){ %>
-<%- partial('mathjax') %>
+<% if (theme.fancybox){ %>
+ <%- css('fancybox/jquery.fancybox') %>
+<% } %>
+
+<script>
+ var yiliaConfig = {
+ fancybox: <%=theme.fancybox%>,
+ mathjax: <%=theme.mathjax%>,
+ animate: <%=theme.animate%>,
+ isHome: <%=is_home()%>,
+ isPost: <%=is_post()%>,
+ isArchive: <%=is_archive()%>,
+ isTag: <%=is_tag()%>,
+ isCategory: <%=is_category()%>,
+ open_in_new: <%=theme.open_in_new%>
+ }
+</script>
+<%- js('http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min') %>
+<%- js('js/main') %>
+
+
+<%- partial('google-analytics') %>
+
+<% if (theme.mathjax){ %>
+<%- partial('mathjax') %>
<% } %>
@@ -1,15 +1,15 @@
-<article class="archive-article archive-type-<%= post.layout %>">
- <div class="archive-article-inner">
- <header class="archive-article-header">
- <div class="article-meta">
- <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %>
- </div>
- <%- partial('post/title', {class_name: 'archive-article-title'}) %>
- <div class="article-info info-on-right">
- <%- partial('post/tag') %>
- <%- partial('post/category') %>
- </div>
- <div class="clearfix"></div>
- </header>
- </div>
+<article class="archive-article archive-type-<%= post.layout %>">
+ <div class="archive-article-inner">
+ <header class="archive-article-header">
+ <div class="article-meta">
+ <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %>
+ </div>
+ <%- partial('post/title', {class_name: 'archive-article-title'}) %>
+ <div class="article-info info-on-right">
+ <%- partial('post/tag') %>
+ <%- partial('post/category') %>
+ </div>
+ <div class="clearfix"></div>
+ </header>
+ </div>
</article>
@@ -1,43 +1,43 @@
-<% if (pagination == 2){ %>
- <% page.posts.each(function(post){ %>
- <%- partial('article', {post: post, index: true}) %>
- <% }) %>
- <% if (page.total > 1){ %>
- <nav id="page-nav">
- <%- paginator({
- prev_text: '&laquo; Prev',
- next_text: 'Next &raquo;'
- }) %>
- </nav>
- <% } %>
-<% } else { %>
- <% var last; %>
- <% page.posts.each(function(post, i){ %>
- <% var year = post.date.year(); %>
- <% if (last != year){ %>
- <% if (last != null){ %>
- </div></section>
- <% } %>
- <% last = year; %>
- <section class="archives-wrap">
- <div class="archive-year-wrap">
- <a href="<%- url_for('archives/' + year) %>" class="archive-year"><%= year %></a>
- </div>
- <div class="archives">
- <% } %>
- <%- partial('archive-post', {post: post, even: i % 2 == 0}) %>
- <% }) %>
- <% if (page.posts.length){ %>
- </div></section>
- <% } %>
-
- <% if (page.total > 1){ %>
- <nav id="page-nav">
- <%- paginator({
- prev_text: '&laquo; Prev',
- next_text: 'Next &raquo;'
- }) %>
- </nav>
- <% } %>
-
+<% if (pagination == 2){ %>
+ <% page.posts.each(function(post){ %>
+ <%- partial('article', {post: post, index: true}) %>
+ <% }) %>
+ <% if (page.total > 1){ %>
+ <nav id="page-nav">
+ <%- paginator({
+ prev_text: '&laquo; Prev',
+ next_text: 'Next &raquo;'
+ }) %>
+ </nav>
+ <% } %>
+<% } else { %>
+ <% var last; %>
+ <% page.posts.each(function(post, i){ %>
+ <% var year = post.date.year(); %>
+ <% if (last != year){ %>
+ <% if (last != null){ %>
+ </div></section>
+ <% } %>
+ <% last = year; %>
+ <section class="archives-wrap">
+ <div class="archive-year-wrap">
+ <a href="<%- url_for('archives/' + year) %>" class="archive-year"><%= year %></a>
+ </div>
+ <div class="archives">
+ <% } %>
+ <%- partial('archive-post', {post: post, even: i % 2 == 0}) %>
+ <% }) %>
+ <% if (page.posts.length){ %>
+ </div></section>
+ <% } %>
+
+ <% if (page.total > 1){ %>
+ <nav id="page-nav">
+ <%- paginator({
+ prev_text: '&laquo; Prev',
+ next_text: 'Next &raquo;'
+ }) %>
+ </nav>
+ <% } %>
+
<% } %>
Oops, something went wrong.

0 comments on commit 894e4ab

Please sign in to comment.