gravid 0.1.13 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/_includes/footer.html +5 -0
- data/_includes/head.html +1 -0
- data/_includes/header.html +4 -4
- data/_layouts/journal.html +8 -12
- data/_layouts/post.html +10 -0
- data/_sass/gravid/_base.scss +2 -1
- data/_sass/gravid/_layout.scss +43 -12
- data/assets/icons/manifest.json +2 -2
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 98f19b109c3418a0f11a801b2c1f5951f20dce54052c432c72fd2a66218b82c6
|
4
|
+
data.tar.gz: e04674e7675aae27c169a501c417811c823c733d82af3b85d7c6aa66609129d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5c1b2a8543b6d4bb790d0533302c1a4d74dadde8b09eeaf1e5849575bb5f60899c832284759eaea25cedb701eb9dd994529053fef397b702877ceea9ab530fc
|
7
|
+
data.tar.gz: 2b36a5c2ec7c69ca2b8f75cd8ec355f90719fd12309988099c55416ffb5ade7016776d5f38f1e162cada476b7613e9ca8088f1d2d1f3481f940f7aebf5ad802e
|
data/_includes/footer.html
CHANGED
data/_includes/head.html
CHANGED
@@ -40,4 +40,5 @@
|
|
40
40
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
41
41
|
|
42
42
|
<script async src="//www.google-analytics.com/analytics.js"></script>
|
43
|
+
<script data-ad-client="ca-pub-1326478359331739" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
43
44
|
</head>
|
data/_includes/header.html
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
</a>
|
6
6
|
<nav class="site-nav">
|
7
7
|
{% if site.language == 'zh-CN' %}
|
8
|
-
<a class="sidebar-nav-item" href="/journal">周记</a>
|
9
|
-
<a class="sidebar-nav-item" href="/archive">归档</a>
|
10
8
|
<a class="sidebar-nav-item" href="/about">关于</a>
|
9
|
+
<a class="sidebar-nav-item" href="/archive">归档</a>
|
10
|
+
<a class="sidebar-nav-item" href="/journal">周记</a>
|
11
11
|
{% else %}
|
12
|
-
<a class="sidebar-nav-item" href="/journal">Journal</a>
|
13
|
-
<a class="sidebar-nav-item" href="/archive">Archive</a>
|
14
12
|
<a class="sidebar-nav-item" href="/about">About</a>
|
13
|
+
<a class="sidebar-nav-item" href="/archive">Archive</a>
|
14
|
+
<a class="sidebar-nav-item" href="/journal">Journal</a>
|
15
15
|
{% endif %}
|
16
16
|
</nav>
|
17
17
|
</header>
|
data/_layouts/journal.html
CHANGED
@@ -28,25 +28,21 @@ layout: default
|
|
28
28
|
</div>
|
29
29
|
|
30
30
|
{% if paginator.total_pages > 1 %}
|
31
|
-
<
|
32
|
-
{% assign
|
33
|
-
{% assign
|
31
|
+
<div class="pagination">
|
32
|
+
{% assign newer_page = 'Newer Journals' %}
|
33
|
+
{% assign older_text = 'Older Journals' %}
|
34
34
|
{% if site.language == 'zh-CN' %}
|
35
|
-
{% assign
|
36
|
-
{% assign
|
35
|
+
{% assign newer_page = '上一页' %}
|
36
|
+
{% assign older_text = '下一页' %}
|
37
37
|
{% endif %}
|
38
38
|
|
39
39
|
{% if paginator.previous_page %}
|
40
|
-
|
41
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← {{ previous_text }}</a>
|
42
|
-
</li>
|
40
|
+
<a class="next" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← {{ newer_page }}</a>
|
43
41
|
{% endif %}
|
44
42
|
{% if paginator.next_page %}
|
45
|
-
|
46
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ next_text }} →</a>
|
47
|
-
</li>
|
43
|
+
<a class="previous" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ older_text }} →</a>
|
48
44
|
{% endif %}
|
49
|
-
</
|
45
|
+
</div>
|
50
46
|
{% endif %}
|
51
47
|
</section>
|
52
48
|
|
data/_layouts/post.html
CHANGED
@@ -11,5 +11,15 @@ layout: default
|
|
11
11
|
</h1>
|
12
12
|
{{ content }}
|
13
13
|
|
14
|
+
<div class="pagination">
|
15
|
+
{% if page.next.url %}
|
16
|
+
<a class="next" href="{{ page.next.url }}">← {{ page.next.title }}</a>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if page.previous.url %}
|
20
|
+
<a class="previous" href="{{ page.previous.url }}">{{ page.previous.title }} →</a>
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
23
|
+
|
14
24
|
{% if site.enable_reward %} {% include reward.html %} {% endif %}
|
15
25
|
</article>
|
data/_sass/gravid/_base.scss
CHANGED
data/_sass/gravid/_layout.scss
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
.site-header {
|
6
6
|
position: fixed;
|
7
|
-
height:
|
7
|
+
height: 80px;
|
8
8
|
width: 100%;
|
9
9
|
top: 0;
|
10
10
|
left: 0;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
border-bottom: 1px solid #eee;
|
13
13
|
background: #fff;
|
14
14
|
z-index: 1;
|
15
|
-
line-height:
|
15
|
+
line-height: 80px;
|
16
16
|
font-size: 20px;
|
17
17
|
box-sizing: border-box;
|
18
18
|
|
@@ -66,8 +66,9 @@
|
|
66
66
|
}
|
67
67
|
|
68
68
|
.avatar {
|
69
|
-
height:
|
70
|
-
border-radius:
|
69
|
+
height: 64px;
|
70
|
+
border-radius: 64px;
|
71
|
+
vertical-align: middle;
|
71
72
|
}
|
72
73
|
|
73
74
|
.container {
|
@@ -89,27 +90,38 @@
|
|
89
90
|
/**
|
90
91
|
* Pagination
|
91
92
|
*/
|
92
|
-
.
|
93
|
+
.pagination {
|
93
94
|
margin: 0;
|
94
|
-
|
95
|
-
list-style: none;
|
95
|
+
min-height: 2em;
|
96
96
|
display: flex;
|
97
97
|
}
|
98
98
|
|
99
|
-
.
|
99
|
+
.pagination .previous {
|
100
100
|
flex: 1;
|
101
|
+
text-align: right;
|
102
|
+
border-bottom: none;
|
103
|
+
}
|
104
|
+
|
105
|
+
.pagination .next {
|
106
|
+
flex: 1;
|
107
|
+
text-align: left;
|
108
|
+
border-bottom: none;
|
101
109
|
}
|
102
110
|
|
103
|
-
.
|
111
|
+
.journal {
|
112
|
+
margin-bottom: 3em;
|
113
|
+
}
|
114
|
+
|
115
|
+
.journal .journal-link {
|
104
116
|
font-weight: 300;
|
105
117
|
}
|
106
118
|
|
107
|
-
.
|
119
|
+
.blog .post-link {
|
108
120
|
font-weight: 300;
|
109
121
|
}
|
110
122
|
|
111
|
-
.journal {
|
112
|
-
margin-bottom:
|
123
|
+
.journal, .journals {
|
124
|
+
margin-bottom: 4em;
|
113
125
|
}
|
114
126
|
|
115
127
|
/**
|
@@ -177,3 +189,22 @@
|
|
177
189
|
font-size: 14px;
|
178
190
|
margin-bottom: 0 !important;
|
179
191
|
}
|
192
|
+
|
193
|
+
.footer {
|
194
|
+
text-align: center;
|
195
|
+
margin: 6em 0 4em 0;
|
196
|
+
}
|
197
|
+
|
198
|
+
.copyright {
|
199
|
+
text-transform: uppercase;
|
200
|
+
}
|
201
|
+
|
202
|
+
.bar {
|
203
|
+
width: 1px;
|
204
|
+
height: 14px;
|
205
|
+
background: #e0e0e0;
|
206
|
+
display: inline-block;
|
207
|
+
position: relative;
|
208
|
+
top: 2px;
|
209
|
+
padding: 0;
|
210
|
+
}
|
data/assets/icons/manifest.json
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
"name": "",
|
3
3
|
"icons": [
|
4
4
|
{
|
5
|
-
"src": "/android-chrome-192x192.png",
|
5
|
+
"src": "/assets/icons/android-chrome-192x192.png",
|
6
6
|
"sizes": "192x192",
|
7
7
|
"type": "image/png"
|
8
8
|
},
|
9
9
|
{
|
10
|
-
"src": "/android-chrome-512x512.png",
|
10
|
+
"src": "/assets/icons/android-chrome-512x512.png",
|
11
11
|
"sizes": "512x512",
|
12
12
|
"type": "image/png"
|
13
13
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gravid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zddhub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.1.4
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.1.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 13.0.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 13.0.1
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- zddhub@gmail.com
|
@@ -132,8 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
|
136
|
-
rubygems_version: 2.4.5
|
135
|
+
rubygems_version: 3.1.4
|
137
136
|
signing_key:
|
138
137
|
specification_version: 4
|
139
138
|
summary: A simple and beautiful jekyll theme.
|