hexo-theme-hipaper-keyboarddaily 1.0.9 → 1.1.2

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.
package/.project ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>hexo-theme-hipaper-keyboarddaily</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.wst.validation.validationbuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ </buildSpec>
14
+ <natures>
15
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
16
+ </natures>
17
+ </projectDescription>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <classpath>
3
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
4
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
5
+ <classpathentry kind="src" path=""/>
6
+ <classpathentry kind="output" path=""/>
7
+ </classpath>
@@ -0,0 +1,2 @@
1
+ eclipse.preferences.version=1
2
+ encoding/<project>=UTF-8
@@ -0,0 +1 @@
1
+ org.eclipse.wst.jsdt.launching.JRE_CONTAINER
package/_config.yml CHANGED
@@ -45,22 +45,22 @@ fancybox: true
45
45
  sidebar: right
46
46
  widgets:
47
47
  - search
48
- #- social
48
+ - social
49
49
  - recent_posts
50
50
  - category
51
51
  - tag
52
- #- tagcloud
53
- #- archive
52
+ - tagcloud
53
+ - archive
54
54
 
55
55
  # Social Links
56
56
  # Key is the name of FontAwsome icon.
57
57
  # Value is the target link (E.g. GitHub: https://github.com/iTimeTraveler)
58
58
  social:
59
- # Github: https://github.com/iTimeTraveler
59
+ Github: https://github.com/iTimeTraveler
60
60
  Weibo:
61
- # Twitter:
62
- # Facebook:
63
- # Google-plus:
61
+ Twitter:
62
+ Facebook:
63
+ Google-plus:
64
64
  Instagram:
65
65
 
66
66
 
@@ -6,6 +6,10 @@
6
6
  <div class="clearfix container">
7
7
  <div class="site-info">
8
8
  &copy; <%= date(new Date(), 'YYYY') %> <%= config.title || config.author %> All Rights Reserved.
9
+ <span id="icp_info">
10
+ <a href="https://beian.miit.gov.cn/">沪ICP备2021016355号</a>
11
+ </span>
12
+ <br/>
9
13
  <% if (theme.busuanzi_analytics){ %>
10
14
  <span id="busuanzi_container_site_uv">
11
15
  本站访客数<span id="busuanzi_value_site_uv"></span>人次
@@ -39,6 +39,7 @@
39
39
  <% if (theme.qihu_site_verification){ %>
40
40
  <meta name="360-site-verification" content="<%- theme.qihu_site_verification %>" />
41
41
  <% } %>
42
+ <%- open_graph({twitter_id: theme.twitter, google_plus: theme.google_plus, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %>
42
43
  <% if (theme.rss){ %>
43
44
  <link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml">
44
45
  <% } %>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-hipaper-keyboarddaily",
3
- "version": "1.0.9",
3
+ "version": "1.1.2",
4
4
  "description": "Bugfix for A newspaper theme for Hexo.",
5
5
  "author": "iTimeTraveler, bugfix by keyboarddaily",
6
6
  "repository": {
@@ -34,14 +34,14 @@
34
34
  $searchItems = array.map(function (item) {
35
35
  // Use config.root instead of permalink to fix url issue
36
36
  if (CONFIG.ROOT_URL == "/") {
37
- /*if (item.text == undefined) {
37
+ if (item.text == undefined) {
38
38
  return searchItem('file', item.title, null, null, item.path);
39
- }*/
39
+ }
40
40
  return searchItem('file', item.title, null, item.text.slice(0, 150), item.path);
41
41
  }
42
- /*if (item.text == undefined) {
42
+ if (item.text == undefined) {
43
43
  return searchItem('file', item.title, null, null, CONFIG.ROOT_URL + item.path);
44
- }*/
44
+ }
45
45
  return searchItem('file', item.title, null, item.text.slice(0, 150), CONFIG.ROOT_URL + item.path);
46
46
  });
47
47
  break;