hexo-theme-hipaper-keyboarddaily 1.2.5 → 1.2.7

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.5",
3
+ "version": "1.2.7",
4
4
  "description": "Bugfix for A newspaper theme for Hexo.",
5
5
  "author": "iTimeTraveler, bugfix by keyboarddaily",
6
6
  "repository": {
@@ -149,14 +149,14 @@ if sidebar
149
149
  width: 100%;
150
150
  }
151
151
  @media only screen and (max-width: 767px) {
152
- .bilibili {height: 20em;max-width: 45em;}
152
+ .bilibili {height: 25em;max-width: 55em;}
153
153
  }
154
154
  @media only screen and (min-width: 768px) and (max-width: 991px) {
155
- .bilibili {height: 25em;max-width: 50em;}
155
+ .bilibili {height: 28em;max-width: 60em;}
156
156
  }
157
157
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
158
- .bilibili {height: 28em;max-width: 55em;}
158
+ .bilibili {height: 30em;max-width: 65em;}
159
159
  }
160
160
  @media only screen and (min-width: 1200px) {
161
- .bilibili {height: 30em;max-width: 60em;}
161
+ .bilibili {height: 33em;max-width: 70em;}
162
162
  }
@@ -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