gravid 0.1.12 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6b9d44e129eec07539f7cc158ee59cab712e11a7
4
- data.tar.gz: cf3bb73055fa6f914d76fd72c9a10fa2b721e408
2
+ SHA256:
3
+ metadata.gz: 79715bb154e3b9b6e874b1322765c1f67a1169bbf5d8e9f0e5305ac04fea8e8d
4
+ data.tar.gz: b659093b53d766b01731d4c53cec31aba3a271237f60ef488d3a014d6438a03d
5
5
  SHA512:
6
- metadata.gz: 48bee556f26243bf5c15bca052f4aa88abe71e0b3742a449f134a91044b16155170ba2f45fc64b6d74420a96a0f4b104f8466bb79e4f3081f5e06f402fa8592e
7
- data.tar.gz: 302ab34e502835fb39768269253b72a69a8c9a30314030a8d5d1c37d2b74b3788fc8808ba938acfacfff7ce01a44c6dcd58a8147f21e4c30a828f891ebc3fdd9
6
+ metadata.gz: 0c49e0b66f49c25051ec17935e790eba79327d457f0562af58f2331e4a88bc1c8e9d8347f5ee9eaffe5cfc258f6bcc88853df9ecca0b60b6e680797e0e71fa48
7
+ data.tar.gz: 6557e9e82a7df45984d7ee1c4f1d5e5f949629e290c46123b33b26af3c02a1bfacc08042f58063bf293be7d7db1545480025c162925650dd1a2bc3abadd50800
@@ -0,0 +1,5 @@
1
+ <footer class="footer typo-small">
2
+ <span class="copyright">&copy;{{site.time | date: "%Y"}} {{ site.author }}</span>
3
+ <span class="bar"></span>
4
+ <span>All rights reserved</span>
5
+ </footer>
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>
@@ -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>
@@ -28,25 +28,21 @@ layout: default
28
28
  </div>
29
29
 
30
30
  {% if paginator.total_pages > 1 %}
31
- <ul class="pagination">
32
- {% assign previous_text = 'Newer Journals' %}
33
- {% assign next_text = 'Older Journals' %}
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 previous_text = '上一页' %}
36
- {% assign next_text = '下一页' %}
35
+ {% assign newer_page = '上一页' %}
36
+ {% assign older_text = '下一页' %}
37
37
  {% endif %}
38
38
 
39
39
  {% if paginator.previous_page %}
40
- <li class="previous">
41
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; {{ previous_text }}</a>
42
- </li>
40
+ <a class="next" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; {{ newer_page }}</a>
43
41
  {% endif %}
44
42
  {% if paginator.next_page %}
45
- <li class="next">
46
- <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ next_text }} &rarr;</a>
47
- </li>
43
+ <a class="previous" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ older_text }} &rarr;</a>
48
44
  {% endif %}
49
- </ul>
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 }}">&larr; {{ page.next.title }}</a>
17
+ {% endif %}
18
+
19
+ {% if page.previous.url %}
20
+ <a class="previous" href="{{ page.previous.url }}">{{ page.previous.title }} &rarr;</a>
21
+ {% endif %}
22
+ </div>
23
+
14
24
  {% if site.enable_reward %} {% include reward.html %} {% endif %}
15
25
  </article>
@@ -7,6 +7,7 @@ html, body {
7
7
  body {
8
8
  padding-top: 60px;
9
9
  font-size: 1.1em;
10
+ font-family: -apple-system, BlinkMacSystemFont, SFProDisplay-Regular;
10
11
  }
11
12
 
12
13
  hr {
@@ -36,4 +37,4 @@ pre {
36
37
 
37
38
  blockquote {
38
39
  color: #666;
39
- }
40
+ }
@@ -89,19 +89,38 @@
89
89
  /**
90
90
  * Pagination
91
91
  */
92
- .journals .pagination {
92
+ .pagination {
93
93
  margin: 0;
94
- margin-bottom: 36px;
95
- list-style: none;
94
+ min-height: 2em;
96
95
  display: flex;
97
96
  }
98
97
 
99
- .journals .previous {
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;
101
108
  }
102
109
 
103
110
  .journal {
104
- margin-bottom: 88px;
111
+ margin-bottom: 3em;
112
+ }
113
+
114
+ .journal .journal-link {
115
+ font-weight: 300;
116
+ }
117
+
118
+ .blog .post-link {
119
+ font-weight: 300;
120
+ }
121
+
122
+ .journal, .journals {
123
+ margin-bottom: 4em;
105
124
  }
106
125
 
107
126
  /**
@@ -169,3 +188,22 @@
169
188
  font-size: 14px;
170
189
  margin-bottom: 0 !important;
171
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
+ }
@@ -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: 0.1.12
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - zddhub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-07 00:00:00.000000000 Z
11
+ date: 2021-02-02 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: '3.4'
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: '3.4'
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: '1.12'
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: '1.12'
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: '10.0'
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: '10.0'
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
- rubyforge_project:
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.