hexo-theme-hipaper-keyboarddaily 1.0.8 → 1.1.1
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 +17 -0
- package/.settings/.jsdtscope +7 -0
- package/.settings/org.eclipse.core.resources.prefs +2 -0
- package/.settings/org.eclipse.wst.jsdt.ui.superType.container +1 -0
- package/.settings/org.eclipse.wst.jsdt.ui.superType.name +1 -0
- package/_config.yml +7 -7
- package/layout/_partial/footer.ejs +4 -0
- package/layout/_partial/head.ejs +1 -0
- package/package.json +1 -1
- package/source/css/style.styl +18 -1
- package/source/js/insight.js +4 -4
- package/source/css/_custom/bilibili.styl +0 -16
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 @@
|
|
|
1
|
+
org.eclipse.wst.jsdt.launching.JRE_CONTAINER
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Global
|
package/_config.yml
CHANGED
|
@@ -45,22 +45,22 @@ fancybox: true
|
|
|
45
45
|
sidebar: right
|
|
46
46
|
widgets:
|
|
47
47
|
- search
|
|
48
|
-
|
|
48
|
+
- social
|
|
49
49
|
- recent_posts
|
|
50
50
|
- category
|
|
51
51
|
- tag
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
59
|
+
Github: https://github.com/iTimeTraveler
|
|
60
60
|
Weibo:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
© <%= date(new Date(), 'YYYY') %> <%= config.title || config.author %> All Rights Reserved.
|
|
9
|
+
<br/>
|
|
10
|
+
<span id="icp_info">
|
|
11
|
+
<a href="https://beian.miit.gov.cn/">沪ICP备2021016355号</a>
|
|
12
|
+
</span>
|
|
9
13
|
<% if (theme.busuanzi_analytics){ %>
|
|
10
14
|
<span id="busuanzi_container_site_uv">
|
|
11
15
|
本站访客数<span id="busuanzi_value_site_uv"></span>人次
|
package/layout/_partial/head.ejs
CHANGED
|
@@ -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
package/source/css/style.styl
CHANGED
|
@@ -142,4 +142,21 @@ if sidebar is left
|
|
|
142
142
|
@import "_partial/insight"
|
|
143
143
|
|
|
144
144
|
if sidebar
|
|
145
|
-
@import "_partial/sidebar"
|
|
145
|
+
@import "_partial/sidebar"
|
|
146
|
+
|
|
147
|
+
.bilibili {
|
|
148
|
+
position: relative;
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
@media only screen and (max-width: 767px) {
|
|
152
|
+
.bilibili {height: 15em;max-width: 25em;}
|
|
153
|
+
}
|
|
154
|
+
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
|
155
|
+
.bilibili {height: 20em;max-width: 30em;}
|
|
156
|
+
}
|
|
157
|
+
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
|
158
|
+
.bilibili {height: 30em;max-width: 40em;}
|
|
159
|
+
}
|
|
160
|
+
@media only screen and (min-width: 1200px) {
|
|
161
|
+
.bilibili {height: 40em;max-width: 50em;}
|
|
162
|
+
}
|
package/source/js/insight.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.bilibili {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
}
|
|
5
|
-
@media only screen and (max-width: 767px) {
|
|
6
|
-
.bilibili {height: 15em;max-width: 25em;}
|
|
7
|
-
}
|
|
8
|
-
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
|
9
|
-
.bilibili {height: 20em;max-width: 30em;}
|
|
10
|
-
}
|
|
11
|
-
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
|
12
|
-
.bilibili {height: 30em;max-width: 40em;}
|
|
13
|
-
}
|
|
14
|
-
@media only screen and (min-width: 1200px) {
|
|
15
|
-
.bilibili {height: 40em;max-width: 50em;}
|
|
16
|
-
}
|