gingko 0.1.1 → 0.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.
- checksums.yaml +4 -4
- data/_includes/categories.html +5 -0
- data/_includes/header.html +0 -2
- data/_layouts/category_index.html +12 -0
- data/_layouts/default.html +32 -25
- data/_layouts/post.html +33 -26
- data/_sass/{jekyll-theme-merlot.scss → jekyll-theme-gingko.scss} +0 -0
- data/_sass/screen.scss +15 -13
- data/assets/css/main.scss +4 -0
- metadata +6 -4
- data/assets/css/style.scss +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b0ec5770611c00612f09f3bc9aece2061edad185075371131c1b3dc5eb3ebf7
|
|
4
|
+
data.tar.gz: de2ae74b29ad9657804fab9284d5277b7cdb690e56888f061ad1f8b821c5a93b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 874b37cd5cf529d9e92804ca442065b370cc0a47798ff8373ea493b54d6ad51969f9f41d0f676e3b833654bd0b2f5cd627b506cfa467e99634265dd1401fa65e
|
|
7
|
+
data.tar.gz: '08d974de67a82176b61014758af97fbb02ef056f16015fc680895550b5d6b686500bb13a66a1144a0e6e1db1ce085401efd1306da0dacfcc33c956a9b001c9d2'
|
data/_includes/header.html
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
</h1>
|
|
5
5
|
<nav id = "nav">
|
|
6
6
|
<a href="{{ site.url }}"> 主页 </a>
|
|
7
|
-
<a href="{{ site.url }}/archives"> 列表 </a>
|
|
8
|
-
<a href="{{ site.url }}/categories"> 分类 </a>
|
|
9
7
|
<a href="{{ site.url }}/books">书单 </a>
|
|
10
8
|
<a href="{{ site.url }}/about">关于我 </a>
|
|
11
9
|
<a class="cta" href="{{ site.url }}/feed.xml">订阅</a>
|
data/_layouts/default.html
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="{{ site.lang | default: "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
<html lang="{{ site.lang | default: "zh-CN" }}">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset='utf-8'>
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=640">
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
|
|
9
|
+
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
10
|
+
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</script>
|
|
12
|
+
<script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
|
|
13
|
+
<script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
|
|
14
|
+
<script>
|
|
15
|
+
$(document).ready(function () {
|
|
16
|
+
$('#main_content').headsmart()
|
|
17
|
+
})
|
|
18
|
+
</script>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
</head>
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
<body>
|
|
23
|
+
{% include header.html %}
|
|
24
|
+
<div class="layout">
|
|
25
|
+
<div class="main">
|
|
26
|
+
<section id="main_content">
|
|
27
|
+
{{ content }}
|
|
28
|
+
</section>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="sidebar">
|
|
31
|
+
{% include categories.html %}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="footer">
|
|
35
|
+
{% include footer.html %}
|
|
36
|
+
</div>
|
|
37
|
+
</body>
|
|
31
38
|
</html>
|
data/_layouts/post.html
CHANGED
|
@@ -1,33 +1,40 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset='utf-8'>
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=640">
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
|
|
9
|
+
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
10
|
+
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</script>
|
|
12
|
+
<script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
|
|
13
|
+
<script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
|
|
14
|
+
<script>
|
|
15
|
+
$(document).ready(function () {
|
|
16
|
+
$('#main_content').headsmart()
|
|
17
|
+
})
|
|
18
|
+
</script>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
</head>
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
<body>
|
|
23
|
+
{% include header.html %}
|
|
24
|
+
<div class="layout">
|
|
25
|
+
<div class="main">
|
|
26
|
+
<section id="main_content">
|
|
27
|
+
<span><h1 id="title">{{ page.title }}</h1></span>
|
|
28
|
+
<span>{{ page.date | date: "%Y-%m-%d" }} by {{ site.author }}</span>
|
|
29
|
+
{{ content }}
|
|
30
|
+
</section>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="sidebar">
|
|
33
|
+
{% include categories.html %}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="footer">
|
|
37
|
+
{% include footer.html %}
|
|
38
|
+
</div>
|
|
39
|
+
</body>
|
|
33
40
|
</html>
|
|
File without changes
|
data/_sass/screen.scss
CHANGED
|
@@ -112,12 +112,23 @@ header, footer, section {
|
|
|
112
112
|
|
|
113
113
|
/* STYLES */
|
|
114
114
|
|
|
115
|
-
div.
|
|
116
|
-
|
|
117
|
-
width: 800px;
|
|
115
|
+
div.layout {
|
|
116
|
+
width: 1000px;
|
|
118
117
|
margin: 0 auto;
|
|
119
118
|
}
|
|
120
119
|
|
|
120
|
+
div.main {
|
|
121
|
+
width: 750px;
|
|
122
|
+
display: inline-block;
|
|
123
|
+
margin-right: 45px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
div.sidebar {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
width: 200px;
|
|
129
|
+
vertical-align: top;
|
|
130
|
+
}
|
|
131
|
+
|
|
121
132
|
a#forkme_banner {
|
|
122
133
|
position: absolute;
|
|
123
134
|
top: 0;
|
|
@@ -267,19 +278,10 @@ span.banner-fix {
|
|
|
267
278
|
top: 19px;
|
|
268
279
|
}
|
|
269
280
|
|
|
270
|
-
section#main_content {
|
|
271
|
-
z-index: 2;
|
|
272
|
-
padding: 20px 82px 0;
|
|
273
|
-
min-height:185px;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
281
|
/* footer */
|
|
277
282
|
|
|
278
283
|
footer {
|
|
279
|
-
|
|
280
|
-
padding-top: 104px;
|
|
281
|
-
//margin: -94px auto 40px;
|
|
282
|
-
max-width: 800px;
|
|
284
|
+
padding-top: 50px;
|
|
283
285
|
text-align: center;
|
|
284
286
|
}
|
|
285
287
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gingko
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- xautjzd
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -34,19 +34,21 @@ files:
|
|
|
34
34
|
- LICENSE.txt
|
|
35
35
|
- README.md
|
|
36
36
|
- _includes/archives.html
|
|
37
|
+
- _includes/categories.html
|
|
37
38
|
- _includes/disqus.html
|
|
38
39
|
- _includes/footer.html
|
|
39
40
|
- _includes/header.html
|
|
40
41
|
- _includes/pagination.html
|
|
41
42
|
- _includes/share.html
|
|
43
|
+
- _layouts/category_index.html
|
|
42
44
|
- _layouts/default.html
|
|
43
45
|
- _layouts/post.html
|
|
44
|
-
- _sass/jekyll-theme-
|
|
46
|
+
- _sass/jekyll-theme-gingko.scss
|
|
45
47
|
- _sass/rouge-base16-solarized.scss
|
|
46
48
|
- _sass/screen.scss
|
|
49
|
+
- assets/css/main.scss
|
|
47
50
|
- assets/css/mobile.css
|
|
48
51
|
- assets/css/non-screen.css
|
|
49
|
-
- assets/css/style.scss
|
|
50
52
|
- assets/fonts/opensans-bold-webfont.eot
|
|
51
53
|
- assets/fonts/opensans-bold-webfont.svg
|
|
52
54
|
- assets/fonts/opensans-bold-webfont.ttf
|
data/assets/css/style.scss
DELETED