gravid 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +5 -0
- data/_layouts/journal.html +8 -12
- data/_layouts/post.html +10 -0
- data/_sass/gravid/_layout.scss +36 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffae2f93d311cc5d6338692eb6971ee757de6d380ba7e703bca975073fb24a96
|
4
|
+
data.tar.gz: 7109c108227cc8205384ab289e95281f8ebf6163531e713236facd8261c74bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bf32741c4a34573b4a53c788876711b205a07a2afbd07334be4ffd7635ac5c0d5bdaf673909ce29030e351e2e5ba41efcfd918e2c321b0b6a82b8a3fa505a3d
|
7
|
+
data.tar.gz: a180b97367786ef95f68b62a045c5cedddf5649c7f353c3c012d43d1f7ebaa35683d8daf36e88dc5b559a5a456e71f44c41f2c54100ffab564120f74078953c9
|
data/_includes/footer.html
CHANGED
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/_layout.scss
CHANGED
@@ -89,15 +89,26 @@
|
|
89
89
|
/**
|
90
90
|
* Pagination
|
91
91
|
*/
|
92
|
-
.
|
92
|
+
.pagination {
|
93
93
|
margin: 0;
|
94
|
-
|
95
|
-
list-style: none;
|
94
|
+
min-height: 2em;
|
96
95
|
display: flex;
|
97
96
|
}
|
98
97
|
|
99
|
-
.
|
98
|
+
.pagination .previous {
|
100
99
|
flex: 1;
|
100
|
+
text-align: right;
|
101
|
+
border-bottom: none;
|
102
|
+
}
|
103
|
+
|
104
|
+
.pagination .next {
|
105
|
+
flex: 1;
|
106
|
+
text-align: left;
|
107
|
+
border-bottom: none;
|
108
|
+
}
|
109
|
+
|
110
|
+
.journal {
|
111
|
+
margin-bottom: 3em;
|
101
112
|
}
|
102
113
|
|
103
114
|
.journal .journal-link {
|
@@ -108,8 +119,8 @@
|
|
108
119
|
font-weight: 300;
|
109
120
|
}
|
110
121
|
|
111
|
-
.journal {
|
112
|
-
margin-bottom:
|
122
|
+
.journal, .journals {
|
123
|
+
margin-bottom: 4em;
|
113
124
|
}
|
114
125
|
|
115
126
|
/**
|
@@ -177,3 +188,22 @@
|
|
177
188
|
font-size: 14px;
|
178
189
|
margin-bottom: 0 !important;
|
179
190
|
}
|
191
|
+
|
192
|
+
.footer {
|
193
|
+
text-align: center;
|
194
|
+
margin: 6em 0 4em 0;
|
195
|
+
}
|
196
|
+
|
197
|
+
.copyright {
|
198
|
+
text-transform: uppercase;
|
199
|
+
}
|
200
|
+
|
201
|
+
.bar {
|
202
|
+
width: 1px;
|
203
|
+
height: 14px;
|
204
|
+
background: #e0e0e0;
|
205
|
+
display: inline-block;
|
206
|
+
position: relative;
|
207
|
+
top: 2px;
|
208
|
+
padding: 0;
|
209
|
+
}
|
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: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zddhub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|