academic 0.1.4 → 0.2.0
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/README.md +1 -1
- data/_includes/contactlist.html +31 -0
- data/_includes/footer.html +12 -18
- data/_includes/icon-email.html +1 -1
- data/_includes/icon-file.html +1 -1
- data/_includes/icon-github.html +1 -1
- data/_includes/icon-keybase.html +1 -1
- data/_includes/icon-linkedin.html +1 -1
- data/_includes/icon-rss.html +5 -0
- data/_includes/icon-rss.svg +5 -0
- data/_includes/icon-twitter.html +1 -1
- data/_includes/icon-website.html +1 -1
- data/_includes/nav_menu.html +2 -1
- data/_layouts/about.html +1 -28
- data/_sass/academic.scss +1 -1
- data/_sass/academic/_base.scss +2 -1
- data/_sass/academic/_layout.scss +133 -16
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4824ade27e5763bb4e5b09a93c427580ba2361f
|
4
|
+
data.tar.gz: 5f9d6aa8367f834d61ace5719e72d94134bddbc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 955d00369dbd7b160817f9b118fae381d98ced7ac64a0cf3f75e115dec2c6515467f81f1d2bd3abb2590978719efef7dd01cd9109dedb093d8ec4b7444b3df17
|
7
|
+
data.tar.gz: ece93d5ef213f9153e16662a94de53c33c70415c002e57d81758544b0d9cf683a24236d91b31b03479ea7f1f976c277dd916a9616b13eceb69eea8873a2415d3
|
data/README.md
CHANGED
@@ -114,7 +114,7 @@ Example:
|
|
114
114
|
title_html: "<b>hello</b>world"
|
115
115
|
```
|
116
116
|
|
117
|
-
`pitch`: [optional] a small sentence or motto to quickly describe your blog. If no pitch is detected, Academic will fill the top bar with a navigation menu. If you want to display a short
|
117
|
+
`pitch`: [optional] a small sentence or motto to quickly describe your blog. If no pitch is detected, Academic will fill the top bar with a navigation menu. If you want to display a short pitch in the top bar, Academic will put thput the navigation menu in the footer. Please note that `pitch` is only used in the top bar ; it is different from the `description` field (used in the footer and the meta tags for search engines).
|
118
118
|
|
119
119
|
`description`: [recommended] short description for search engines. It's displayed in the footer of every page. Not to be confused with `pitch`.
|
120
120
|
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<span class="contact-list-title">Liens :</span>
|
2
|
+
<ul class="contact-list {{ include.class }}">
|
3
|
+
<li>
|
4
|
+
{% include icon-rss.html %}
|
5
|
+
</li>
|
6
|
+
|
7
|
+
{% if site.github_username %}
|
8
|
+
<li>
|
9
|
+
{% include icon-github.html username=site.github_username %}
|
10
|
+
</li>
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if site.twitter_username %}
|
14
|
+
<li>
|
15
|
+
{% include icon-twitter.html username=site.twitter_username %}
|
16
|
+
</li>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if site.linkedin_username %}
|
20
|
+
<li>
|
21
|
+
{% include icon-linkedin.html username=site.linkedin_username %}
|
22
|
+
</li>
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if site.keybase_username %}
|
26
|
+
<li>
|
27
|
+
{% include icon-keybase.html username=site.keybase_username %}
|
28
|
+
</li>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
</ul>
|
data/_includes/footer.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<div class="wrapper">
|
4
4
|
|
5
|
-
<ul class="
|
5
|
+
<ul class="footer-col footer-col-1">
|
6
6
|
<li>
|
7
7
|
{% if site.title_html %}
|
8
8
|
<a href="{{ "/" | relative_url}}">{{ site.title_html }}</a>
|
@@ -27,22 +27,14 @@
|
|
27
27
|
|
28
28
|
</ul>
|
29
29
|
|
30
|
-
|
31
|
-
<
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<li><a href="https://twitter.com/{{ site.twitter_username }}">Twitter</a></li>
|
39
|
-
{% endif %}
|
40
|
-
|
41
|
-
{% if site.github_username %}
|
42
|
-
<li><a href="https://github.com/{{ site.github_username }}">Github</a></li>
|
43
|
-
{% endif %}
|
44
|
-
|
45
|
-
</ul>
|
30
|
+
{% if site.pitch %}
|
31
|
+
<nav>
|
32
|
+
{% include nav_menu.html class="footer-col footer-col-2"%}
|
33
|
+
{% include contactlist.html class="single-col" %}
|
34
|
+
</nav>
|
35
|
+
{% else %}
|
36
|
+
{% include contactlist.html class="footer-col footer-col-2" %}
|
37
|
+
{% endif %}
|
46
38
|
|
47
39
|
<div class="bottom">
|
48
40
|
<div class="tech">
|
@@ -51,6 +43,7 @@
|
|
51
43
|
+ <a target="_blank" href="{{ site.repo }}">Source</a>
|
52
44
|
{% endif %}
|
53
45
|
</div>
|
46
|
+
|
54
47
|
<div class="legal">
|
55
48
|
{% if site.cc == null %}©{% endif %}
|
56
49
|
{% if site.title %}
|
@@ -66,8 +59,9 @@
|
|
66
59
|
{% if site.cc %}
|
67
60
|
est placé sous licence <a target="_blank" rel="license" href="https://creativecommons.org/licenses/{{ site.cc }}/4.0/" class="cc-licence">CC {{ site.cc }}</a>
|
68
61
|
{% endif %}
|
69
|
-
|
62
|
+
</div>
|
70
63
|
</div>
|
64
|
+
|
71
65
|
</div>
|
72
66
|
</footer>
|
73
67
|
|
data/_includes/icon-email.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a href="mailto:{{site.email}}"><span class="icon icon--email">{% include icon-email.svg %}</span><span class="username">contact</span></span></a>
|
1
|
+
<a href="mailto:{{site.email}}" title="Email"><span class="icon icon--email">{% include icon-email.svg %}</span><span class="username">contact</span></span></a>
|
data/_includes/icon-file.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<a href="{{ include.curriculum.url }}"><span class="icon icon--cv">{% include icon-file.svg %}</span>
|
1
|
+
<a href="{{ include.curriculum.url }}" title="Curriculum Vitae"><span class="icon icon--cv">{% include icon-file.svg %}</span>
|
2
2
|
<span class="username">
|
3
3
|
{% if include.curriculum.name %}
|
4
4
|
{{ include.curriculum.name }}
|
data/_includes/icon-github.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a target="_blank" href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://github.com/{{ include.username }}" title="Github"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
data/_includes/icon-keybase.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a target="_blank" href="https://keybase.io/{{ include.username }}"><span class="icon icon--keybase">{% include icon-keybase.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://keybase.io/{{ include.username }}" title="Keybase"><span class="icon icon--keybase">{% include icon-keybase.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -1 +1 @@
|
|
1
|
-
<a target="_blank" href="https://www.linkedin.com/in/{{ include.username }}"><span class="icon icon--linkedin">{% include icon-linkedin.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://www.linkedin.com/in/{{ include.username }}" title="LinkedIn"><span class="icon icon--linkedin">{% include icon-linkedin.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg fill="#000000" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
3
|
+
<circle cx="6.18" cy="17.82" r="2.18"/>
|
4
|
+
<path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/>
|
5
|
+
</svg>
|
data/_includes/icon-twitter.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a target="_blank" href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
1
|
+
<a target="_blank" href="https://twitter.com/{{ include.username }}" title="Twitter"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
data/_includes/icon-website.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<a target="_blank" href="{{ include.url }}"><span class="icon icon--website">{% include icon-website.svg %}</span><span class="username">{{ include.url | replace:'https://','' }}</span></a>
|
1
|
+
<a target="_blank" href="{{ include.url }}" title="Site"><span class="icon icon--website">{% include icon-website.svg %}</span><span class="username">{{ include.url | replace:'https://','' }}</span></a>
|
data/_includes/nav_menu.html
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
<
|
1
|
+
<span class="nav-list-title">Menu :</span>
|
2
|
+
<ul class="nav-list {{ include.class }}">
|
2
3
|
{% for link in site.nav_ext_links %}
|
3
4
|
{% if link.url and link.name %}
|
4
5
|
<li><a target="_blank" class="page-link" href="{{ link.url }}">{{ link.name | escape }}</a></li>
|
data/_layouts/about.html
CHANGED
@@ -31,35 +31,8 @@ layout: default
|
|
31
31
|
{% endif %}
|
32
32
|
</ul>
|
33
33
|
|
34
|
-
|
35
|
-
{% if site.github_username %}
|
36
|
-
<li>
|
37
|
-
{% include icon-github.html username=site.github_username %}
|
38
|
-
</li>
|
39
|
-
{% endif %}
|
40
|
-
|
41
|
-
{% if site.twitter_username %}
|
42
|
-
<li>
|
43
|
-
{% include icon-twitter.html username=site.twitter_username %}
|
44
|
-
</li>
|
45
|
-
{% endif %}
|
46
|
-
|
47
|
-
{% if site.linkedin_username %}
|
48
|
-
<li>
|
49
|
-
{% include icon-linkedin.html username=site.linkedin_username %}
|
50
|
-
</li>
|
51
|
-
{% endif %}
|
52
|
-
|
53
|
-
</ul>
|
54
|
-
|
55
|
-
<ul class="contact-list">
|
56
|
-
{% if site.keybase_username %}
|
57
|
-
<li>
|
58
|
-
{% include icon-keybase.html username=site.keybase_username %}
|
59
|
-
</li>
|
60
|
-
{% endif %}
|
34
|
+
{% include contactlist.html %}
|
61
35
|
|
62
|
-
</ul>
|
63
36
|
</div>
|
64
37
|
<article class="about-col about-col-2" itemscope itemtype="http://schema.org/BlogPosting">
|
65
38
|
|
data/_sass/academic.scss
CHANGED
@@ -98,7 +98,7 @@ $grey-color-lighter: lighten($grey-color, 90%) !default;
|
|
98
98
|
$grey-color-dark: darken($grey-color, 25%) !default;
|
99
99
|
|
100
100
|
// Width of the content area
|
101
|
-
$content-width:
|
101
|
+
$content-width: 700px;
|
102
102
|
|
103
103
|
$on-palm: 600px !default;
|
104
104
|
$on-laptop: 800px !default;
|
data/_sass/academic/_base.scss
CHANGED
data/_sass/academic/_layout.scss
CHANGED
@@ -73,6 +73,11 @@
|
|
73
73
|
display: none;
|
74
74
|
}
|
75
75
|
|
76
|
+
.nav-list-title {
|
77
|
+
display: none;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
76
81
|
.nav-list {
|
77
82
|
list-style: none;
|
78
83
|
margin: 0;
|
@@ -134,6 +139,16 @@
|
|
134
139
|
padding-bottom: 5px;
|
135
140
|
}
|
136
141
|
|
142
|
+
.nav-list {
|
143
|
+
.page-link:hover {
|
144
|
+
color: $brand-color;
|
145
|
+
}
|
146
|
+
|
147
|
+
li:hover {
|
148
|
+
border: none;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
137
152
|
.page-link {
|
138
153
|
display: block;
|
139
154
|
padding: 5px 10px;
|
@@ -146,42 +161,85 @@
|
|
146
161
|
}
|
147
162
|
}
|
148
163
|
|
149
|
-
|
150
|
-
|
151
164
|
/**
|
152
165
|
* Site footer
|
153
166
|
*/
|
167
|
+
|
154
168
|
.site-footer {
|
169
|
+
@include size(vsmall);
|
155
170
|
border-top: 1px solid $grey-color-light;
|
156
171
|
color: $grey-color;
|
157
172
|
|
173
|
+
a {
|
174
|
+
color: $grey-color;
|
175
|
+
}
|
176
|
+
|
158
177
|
.footer-col {
|
159
|
-
@include size(vsmall);
|
160
|
-
max-width: 50%;
|
161
178
|
list-style: none;
|
162
179
|
margin-left: 0;
|
163
180
|
margin-top: $spacing-unit/2;
|
164
181
|
margin-bottom: $spacing-unit;
|
165
182
|
|
166
|
-
a {
|
167
|
-
color: $grey-color;
|
183
|
+
.author, .author a {
|
184
|
+
color: $grey-color-light;
|
168
185
|
}
|
169
186
|
}
|
170
187
|
|
171
|
-
.
|
188
|
+
.footer-col-1 {
|
189
|
+
width: -webkit-calc(65% - (#{$spacing-unit} / 2));
|
190
|
+
width: calc(65% - (#{$spacing-unit} / 2));
|
172
191
|
float: left;
|
192
|
+
}
|
173
193
|
|
174
|
-
|
175
|
-
|
194
|
+
.footer-col-2 {
|
195
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
196
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
197
|
+
float: right;
|
198
|
+
}
|
199
|
+
|
200
|
+
.single-col {
|
201
|
+
clear: both;
|
202
|
+
list-style: none;
|
203
|
+
margin: 0;
|
204
|
+
text-align: center;
|
205
|
+
|
206
|
+
li {
|
207
|
+
display: inline-block;
|
208
|
+
margin-left: 5px;
|
209
|
+
margin-right: 5px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.username {
|
213
|
+
display: none;
|
214
|
+
}
|
215
|
+
|
216
|
+
svg {
|
217
|
+
width: 20px;
|
218
|
+
height: 20px;
|
219
|
+
}
|
220
|
+
|
221
|
+
.icon {
|
222
|
+
&:hover {
|
223
|
+
circle,
|
224
|
+
path:last-of-type {
|
225
|
+
fill: $text-color;
|
226
|
+
}
|
227
|
+
}
|
176
228
|
}
|
177
229
|
}
|
178
230
|
|
179
|
-
.
|
180
|
-
|
231
|
+
.nav-list-title,
|
232
|
+
.contact-list-title {
|
233
|
+
display: none;
|
234
|
+
}
|
235
|
+
|
236
|
+
.contact-list {
|
237
|
+
a .username:hover {
|
238
|
+
text-decoration: underline;
|
239
|
+
}
|
181
240
|
}
|
182
241
|
|
183
242
|
.bottom {
|
184
|
-
@include size(vsmall);
|
185
243
|
color: $grey-color-light;
|
186
244
|
width: 100%;
|
187
245
|
clear: both;
|
@@ -202,11 +260,55 @@
|
|
202
260
|
|
203
261
|
}
|
204
262
|
|
263
|
+
@include media-query($on-laptop) {
|
264
|
+
.site-footer {
|
265
|
+
@include size(small);
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
269
|
+
@include media-query($on-palm) {
|
270
|
+
.site-footer {
|
271
|
+
.footer-col-1,
|
272
|
+
.footer-col-2 {
|
273
|
+
width:100%;
|
274
|
+
float: none;
|
275
|
+
}
|
276
|
+
|
277
|
+
.nav-list-title,
|
278
|
+
.contact-list-title {
|
279
|
+
display: inline;
|
280
|
+
font-weight: bold;
|
281
|
+
}
|
282
|
+
|
283
|
+
.nav-list {
|
284
|
+
margin-top: 0;
|
285
|
+
}
|
286
|
+
|
287
|
+
.contact-list {
|
288
|
+
text-align: left;
|
289
|
+
margin-top: 0;
|
290
|
+
|
291
|
+
li {
|
292
|
+
display: block;
|
293
|
+
}
|
294
|
+
|
295
|
+
.username {
|
296
|
+
display: inline;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
.bottom {
|
301
|
+
text-align: left;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
|
305
|
+
}
|
306
|
+
|
205
307
|
/**
|
206
308
|
* Page content
|
207
309
|
*/
|
208
310
|
.page-content {
|
209
|
-
padding: $spacing-unit 0;
|
311
|
+
padding: $spacing-unit 0 $spacing-unit / 2 0;
|
210
312
|
}
|
211
313
|
|
212
314
|
.post-content {
|
@@ -273,8 +375,6 @@
|
|
273
375
|
overflow-y: hidden;
|
274
376
|
|
275
377
|
@include media-query($on-laptop) {
|
276
|
-
margin-bottom: $spacing-unit / 1.5;
|
277
|
-
|
278
378
|
.post-meta {
|
279
379
|
margin-bottom: $spacing-unit / 6;
|
280
380
|
}
|
@@ -306,7 +406,11 @@
|
|
306
406
|
|
307
407
|
.with-thumbnail {
|
308
408
|
@include media-query($on-laptop) {
|
309
|
-
margin-bottom:
|
409
|
+
margin-bottom: $spacing-unit / 2;
|
410
|
+
}
|
411
|
+
|
412
|
+
@include media-query($on-palm) {
|
413
|
+
margin-bottom: 0;
|
310
414
|
}
|
311
415
|
|
312
416
|
.wrapper {
|
@@ -393,7 +497,20 @@
|
|
393
497
|
|
394
498
|
@include media-query($on-palm) {
|
395
499
|
float: none;
|
500
|
+
|
501
|
+
.contact-list {
|
502
|
+
text-align: center;
|
503
|
+
|
504
|
+
&:last-of-type {
|
505
|
+
margin-bottom: $spacing-unit / 2;
|
506
|
+
}
|
507
|
+
}
|
396
508
|
}
|
509
|
+
|
510
|
+
}
|
511
|
+
|
512
|
+
.contact-list-title {
|
513
|
+
display: none;
|
397
514
|
}
|
398
515
|
|
399
516
|
.contact-list {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: academic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gaalcaras
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
64
|
- _includes/calltoaction.html
|
65
|
+
- _includes/contactlist.html
|
65
66
|
- _includes/date.html
|
66
67
|
- _includes/footer.html
|
67
68
|
- _includes/head.html
|
@@ -76,6 +77,8 @@ files:
|
|
76
77
|
- _includes/icon-keybase.svg
|
77
78
|
- _includes/icon-linkedin.html
|
78
79
|
- _includes/icon-linkedin.svg
|
80
|
+
- _includes/icon-rss.html
|
81
|
+
- _includes/icon-rss.svg
|
79
82
|
- _includes/icon-twitter.html
|
80
83
|
- _includes/icon-twitter.svg
|
81
84
|
- _includes/icon-website.html
|