hexo-theme-hipaper-keyboarddaily 1.2.6 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  <% if (theme.duoshuo_shortname){ %>
2
- <div id="comment">
2
+ <div id="comment" style="display: none;">
3
3
 
4
4
  <!-- 多说评论框 start -->
5
5
  <div class="ds-thread" data-thread-key="<%- config.root %><%- post.path %>" data-title="<%- post.title %>" data-url="<%- post.permalink %>"></div>
@@ -61,7 +61,7 @@
61
61
  <!-- UY END -->
62
62
  </section>
63
63
  <% } else if (theme.wumii) {%>
64
- <div id="comment">
64
+ <div id="comment" style="display: none;">
65
65
  <script type="text/javascript" id="wumiiComments">
66
66
  var wumiiPermaLink = "<%- post.permalink %>"; //请用代码生成文章永久的链接
67
67
  var wumiiTitle = "<%- post.title %>"; //请用代码生成文章标题
@@ -71,7 +71,7 @@
71
71
  <script type="text/javascript" src="http://widget.wumii.cn/ext/cw/widget"></script>
72
72
  </div>
73
73
  <% } else if (theme.livere_shortname) {%>
74
- <div id="comment">
74
+ <div id="comment" style="display: none;">
75
75
  <!-- 来必力City版安装代码 -->
76
76
  <div id="lv-container" data-id="city" data-uid="<%- theme.livere_shortname %>">
77
77
  <script type="text/javascript">
@@ -43,7 +43,7 @@
43
43
  <% } %>
44
44
 
45
45
  <nav id="main-navigation" class="main-navigation" role="navigation">
46
- <a class="nav-open">菜单(点我吧~)</a>
46
+ <a class="nav-open"><b>菜单(点我吧~)</b></a>
47
47
  <a class="nav-close">Close</a>
48
48
 
49
49
  <div class="clearfix sf-menu">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-hipaper-keyboarddaily",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "Bugfix for A newspaper theme for Hexo.",
5
5
  "author": "iTimeTraveler, bugfix by keyboarddaily",
6
6
  "repository": {
@@ -159,7 +159,6 @@
159
159
  .page-number
160
160
  display: inline-block
161
161
  @media mq-mobile
162
- display: none
163
162
  .current
164
163
  color: color-default
165
164
  font-weight: bold
@@ -166,10 +166,10 @@
166
166
  var tags = extractToSet(json, 'tags');
167
167
  var categories = extractToSet(json, 'categories');
168
168
  return {
169
- posts: posts.filter(FILTERS.POST).sort(function (a, b) { return WEIGHTS.POST(b) - WEIGHTS.POST(a); }).slice(0, 10),
170
- pages: pages.filter(FILTERS.PAGE).sort(function (a, b) { return WEIGHTS.PAGE(b) - WEIGHTS.PAGE(a); }).slice(0, 10),
171
- categories: categories.filter(FILTERS.CATEGORY).sort(function (a, b) { return WEIGHTS.CATEGORY(b) - WEIGHTS.CATEGORY(a); }).slice(0, 10),
172
- tags: tags.filter(FILTERS.TAG).sort(function (a, b) { return WEIGHTS.TAG(b) - WEIGHTS.TAG(a); }).slice(0, 10)
169
+ posts: posts.filter(FILTERS.POST).sort(function (a, b) { return WEIGHTS.POST(b) - WEIGHTS.POST(a); }).slice(0, 20),
170
+ pages: pages.filter(FILTERS.PAGE).sort(function (a, b) { return WEIGHTS.PAGE(b) - WEIGHTS.PAGE(a); }).slice(0, 20),
171
+ categories: categories.filter(FILTERS.CATEGORY).sort(function (a, b) { return WEIGHTS.CATEGORY(b) - WEIGHTS.CATEGORY(a); }).slice(0, 20),
172
+ tags: tags.filter(FILTERS.TAG).sort(function (a, b) { return WEIGHTS.TAG(b) - WEIGHTS.TAG(a); }).slice(0, 20)
173
173
  };
174
174
  }
175
175