academic 0.5.3 → 0.5.4
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 +23 -11
- data/_includes/{date.html → _i18n/date.html} +0 -0
- data/_includes/{i18n.html → _i18n/i18n.html} +0 -0
- data/_includes/{lang_selector.html → _i18n/lang_selector.html} +0 -0
- data/_includes/{last_modified_at.html → _i18n/last_modified_at.html} +1 -1
- data/_includes/{link.html → _i18n/link.html} +0 -0
- data/_includes/{sitetitle.html → _i18n/sitetitle.html} +3 -3
- data/_includes/_icons/email.html +1 -0
- data/_includes/{icon-email.svg → _icons/email.svg} +0 -0
- data/_includes/{icon-file.html → _icons/file.html} +2 -2
- data/_includes/{icon-file.svg → _icons/file.svg} +0 -0
- data/_includes/_icons/github.html +1 -0
- data/_includes/{icon-github.svg → _icons/github.svg} +0 -0
- data/_includes/{icon-keybase.html → _icons/keybase.html} +1 -1
- data/_includes/{icon-keybase.svg → _icons/keybase.svg} +0 -0
- data/_includes/{icon-linkedin.html → _icons/linkedin.html} +1 -1
- data/_includes/{icon-linkedin.svg → _icons/linkedin.svg} +0 -0
- data/_includes/{icon-rss.html → _icons/rss.html} +1 -1
- data/_includes/{icon-rss.svg → _icons/rss.svg} +0 -0
- data/_includes/{icon-twitter.html → _icons/twitter.html} +1 -1
- data/_includes/{icon-twitter.svg → _icons/twitter.svg} +0 -0
- data/_includes/_icons/website.html +2 -0
- data/_includes/{icon-website.svg → _icons/website.svg} +0 -0
- data/_includes/calltoaction.html +1 -1
- data/_includes/contactlist.html +5 -5
- data/_includes/footer.html +6 -6
- data/_includes/head.html +4 -4
- data/_includes/header.html +3 -3
- data/_includes/image.html +9 -0
- data/_includes/nav_menu.html +2 -2
- data/_includes/post-li.html +2 -2
- data/_layouts/about.html +3 -3
- data/_layouts/home.html +2 -2
- data/_layouts/post.html +4 -4
- data/_sass/academic/_base.scss +14 -10
- metadata +25 -24
- data/_includes/icon-email.html +0 -1
- data/_includes/icon-github.html +0 -1
- data/_includes/icon-website.html +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dca60c56ebfa28c7c19efb91794abdf67463904d
|
|
4
|
+
data.tar.gz: bd87ac9e35f272d040cade9d567c157f975ae3b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b25fac4c11d6abc7b747361fff7ee6a3ec706d51fb5cd60820f7d8ca4a446c4a008f72b570b00f86ba02f69294b8adc4221da7dc66169894d314cbe2aa8ba7bc
|
|
7
|
+
data.tar.gz: 8672e32407b6faf197dab976b0f4c96e1ffaebd62f1953ba7d203c7c07d84c8f57c278ee29e607a2e54ac0166be7f16b8bb77423ba6ea50adb860536abcafe02
|
data/README.md
CHANGED
|
@@ -53,15 +53,16 @@ Table of contents:
|
|
|
53
53
|
+ *Supported languages* : English, French
|
|
54
54
|
+ Lang selector to change languages automatically added in header and footer
|
|
55
55
|
+ Basic SEO support for multilingual pages (sitemap and `<head>`)
|
|
56
|
-
+
|
|
57
|
-
+ Add
|
|
58
|
-
+ **MathJax**
|
|
59
|
-
+ **Tables and footnotes** styled by default (with the `redcarpet` markdown engine)
|
|
60
|
-
+ Add your name and a shortbio at the end of each post
|
|
61
|
-
+ Easily add a "call to action" (
|
|
62
|
-
+
|
|
63
|
-
+ **Sitemap** layout
|
|
64
|
-
+
|
|
56
|
+
+ Posts layout allows you to:
|
|
57
|
+
+ Add an **image thumbnail** and a **summary**
|
|
58
|
+
+ Use mathematical notations with **MathJax** (loaded only on posts)
|
|
59
|
+
+ **Tables and footnotes** styled by default (with the `redcarpet` markdown engine)
|
|
60
|
+
+ Add your name and a shortbio at the end of each post
|
|
61
|
+
+ Easily add a "call to action" (RSS feed, Twitter, etc.) at the end of each post and on your homepage
|
|
62
|
+
+ **Add a Creative Commons license** to your website directly from your `_config.yml` file
|
|
63
|
+
+ **Sitemap** and **404 page** layout
|
|
64
|
+
+ Piwik tracking
|
|
65
|
+
+ **About page** layout:
|
|
65
66
|
+ Responsive two-columns layout
|
|
66
67
|
+ Just fill out your usernames for Twitter, Github, LinkedIn, Keybase ; contact email or personal website ; link to your curriculum vitae.
|
|
67
68
|
+ Academic automatically loads your Github profile picture.
|
|
@@ -69,8 +70,6 @@ Table of contents:
|
|
|
69
70
|
+ Navigation menu:
|
|
70
71
|
+ Hide pages from the navigation menu
|
|
71
72
|
+ Add external links in the menu from the `_config.yml` file
|
|
72
|
-
+ 404 page layout
|
|
73
|
-
+ Piwik tracking
|
|
74
73
|
|
|
75
74
|
## Installation
|
|
76
75
|
|
|
@@ -310,6 +309,19 @@ layout: sitemap
|
|
|
310
309
|
|
|
311
310
|
You now have a sitemap you can feed to the search engines.
|
|
312
311
|
|
|
312
|
+
### Includes
|
|
313
|
+
|
|
314
|
+
Sometimes you need to use figures and images in your posts, with detailed captions and maybe even the source of the image.
|
|
315
|
+
The `image.html` allows you to do just that without all the HTML markup.
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
{% include image.html src="/assets/img/zotero-archives-numeriques/screencast.gif"
|
|
319
|
+
caption="Notre solution en action"
|
|
320
|
+
desc="Screencast de capture Zotero"
|
|
321
|
+
source="Google"
|
|
322
|
+
href="http://google.com"%}
|
|
323
|
+
```
|
|
324
|
+
|
|
313
325
|
## Contributing
|
|
314
326
|
|
|
315
327
|
Bug reports and pull requests are welcome on GitHub at https://github.com/gaalcaras/academic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
{% capture title %}
|
|
12
12
|
{% if site.title_html %}
|
|
13
|
-
{% include i18n.html value=site.title_html escape=false %}
|
|
13
|
+
{% include _i18n/i18n.html value=site.title_html escape=false %}
|
|
14
14
|
{% else %}
|
|
15
|
-
{% include i18n.html value=site.title %}
|
|
15
|
+
{% include _i18n/i18n.html value=site.title %}
|
|
16
16
|
{% endif %}
|
|
17
17
|
{% endcapture %}
|
|
18
18
|
|
|
19
|
-
<a class="{{ title_class }}" href="{% include link.html path="index" %}">{{ title }}</a>
|
|
19
|
+
<a class="{{ title_class }}" href="{% include _i18n/link.html path="index" %}">{{ title }}</a>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<a href="mailto:{{site.email}}" title="Email"><span class="icon icon--email">{% include _icons/email.svg %}</span><span class="username">contact</span></span></a>
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{% assign plang = page.lang | default: site.langs[0] | default: "en" %}
|
|
2
|
-
<a href="{% include i18n.html value=include.curriculum.url %}" title="Curriculum Vitae"><span class="icon icon--cv">{% include
|
|
2
|
+
<a href="{% include _i18n/i18n.html value=include.curriculum.url %}" title="Curriculum Vitae"><span class="icon icon--cv">{% include _icons/file.svg %}</span>
|
|
3
3
|
<span class="username">
|
|
4
4
|
{% if include.curriculum.name %}
|
|
5
|
-
{% include i18n.html value=include.curriculum.name %}
|
|
5
|
+
{% include _i18n/i18n.html value=include.curriculum.name %}
|
|
6
6
|
{% else %}
|
|
7
7
|
{{ site.data.academic_i18n.cv[plang] }}
|
|
8
8
|
{% endif %}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<a target="_blank" href="https://github.com/{{ include.username }}" title="Github"><span class="icon icon--github">{% include _icons/github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a target="_blank" href="https://keybase.io/{{ include.username }}" title="Keybase"><span class="icon icon--keybase">{% include
|
|
1
|
+
<a target="_blank" href="https://keybase.io/{{ include.username }}" title="Keybase"><span class="icon icon--keybase">{% include _icons/keybase.svg %}</span><span class="username">{{ include.username }}</span></a>
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a target="_blank" href="https://www.linkedin.com/in/{{ include.username }}" title="LinkedIn"><span class="icon icon--linkedin">{% include
|
|
1
|
+
<a target="_blank" href="https://www.linkedin.com/in/{{ include.username }}" title="LinkedIn"><span class="icon icon--linkedin">{% include _icons/linkedin.svg %}</span><span class="username">{{ include.username }}</span></a>
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% assign plang = page.lang | default: site.langs[0] | default: "en" %}
|
|
2
|
-
<a href="/feed.xml" title="RSS"><span class="icon icon--feed">{% include
|
|
2
|
+
<a href="/feed.xml" title="RSS"><span class="icon icon--feed">{% include _icons/rss.svg %}</span>
|
|
3
3
|
<span class="username">
|
|
4
4
|
{{ site.data.academic_i18n.feed[plang] }}
|
|
5
5
|
</span>
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a target="_blank" href="https://twitter.com/{{ include.username }}" title="Twitter"><span class="icon icon--twitter">{% include
|
|
1
|
+
<a target="_blank" href="https://twitter.com/{{ include.username }}" title="Twitter"><span class="icon icon--twitter">{% include _icons/twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{% capture url %}{% include _i18n/i18n.html value=include.url %}{% endcapture %}
|
|
2
|
+
<a target="_blank" href="{{ url }}" title="Site"><span class="icon icon--website">{% include _icons/website.svg %}</span><span class="username">{{ url | replace:'https://','' | replace: 'http://','' }}</span></a>
|
|
File without changes
|
data/_includes/calltoaction.html
CHANGED
data/_includes/contactlist.html
CHANGED
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
</span>
|
|
5
5
|
<ul class="contact-list {{ include.class }}">
|
|
6
6
|
<li>
|
|
7
|
-
{% include
|
|
7
|
+
{% include _icons/rss.html %}
|
|
8
8
|
</li>
|
|
9
9
|
|
|
10
10
|
{% if site.github_username %}
|
|
11
11
|
<li>
|
|
12
|
-
{% include
|
|
12
|
+
{% include _icons/github.html username=site.github_username %}
|
|
13
13
|
</li>
|
|
14
14
|
{% endif %}
|
|
15
15
|
|
|
16
16
|
{% if site.twitter_username %}
|
|
17
17
|
<li>
|
|
18
|
-
{% include
|
|
18
|
+
{% include _icons/twitter.html username=site.twitter_username %}
|
|
19
19
|
</li>
|
|
20
20
|
{% endif %}
|
|
21
21
|
|
|
22
22
|
{% if site.linkedin_username %}
|
|
23
23
|
<li>
|
|
24
|
-
{% include
|
|
24
|
+
{% include _icons/linkedin.html username=site.linkedin_username %}
|
|
25
25
|
</li>
|
|
26
26
|
{% endif %}
|
|
27
27
|
|
|
28
28
|
{% if site.keybase_username %}
|
|
29
29
|
<li>
|
|
30
|
-
{% include
|
|
30
|
+
{% include _icons/keybase.html username=site.keybase_username %}
|
|
31
31
|
</li>
|
|
32
32
|
{% endif %}
|
|
33
33
|
|
data/_includes/footer.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
<ul class="footer-col footer-col-1">
|
|
8
8
|
<li>
|
|
9
|
-
{% include sitetitle.html %}
|
|
9
|
+
{% include _i18n/sitetitle.html %}
|
|
10
10
|
|
|
11
11
|
{% if site.author_display %}
|
|
12
12
|
<span class="author">
|
|
13
13
|
{{ i18n.by[plang] }}
|
|
14
14
|
{% if site.author_website %}
|
|
15
|
-
<a target="_blank" href="{% include i18n.html value=site.author_website %}">{{ site.author }}</a>
|
|
15
|
+
<a target="_blank" href="{% include _i18n/i18n.html value=site.author_website %}">{{ site.author }}</a>
|
|
16
16
|
{% else %}
|
|
17
17
|
{{ site.author }}
|
|
18
18
|
{% endif %}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
{% endif %}
|
|
22
22
|
|
|
23
23
|
{% if site.description %}
|
|
24
|
-
<li>{% include i18n.html value=site.description %}</li>
|
|
24
|
+
<li>{% include _i18n/i18n.html value=site.description %}</li>
|
|
25
25
|
{% endif %}
|
|
26
26
|
|
|
27
27
|
</ul>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
{% assign nblangs = site.langs | size %}
|
|
41
41
|
{% if nblangs > 1 %}
|
|
42
|
-
{% include lang_selector.html %}
|
|
42
|
+
{% include _i18n/lang_selector.html %}
|
|
43
43
|
{% endif %}
|
|
44
44
|
|
|
45
45
|
<div class="tech">
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
|
|
52
52
|
<div class="legal">
|
|
53
53
|
{% if site.cc == null %}©{% endif %}
|
|
54
|
-
{% include sitetitle.html %}
|
|
54
|
+
{% include _i18n/sitetitle.html %}
|
|
55
55
|
{% assign oldest_post = site.posts reversed | first %}
|
|
56
56
|
{% assign oldest = oldest_post.date | date: "%Y" %}
|
|
57
57
|
{% assign newest = site.time | date: "%Y" %}
|
|
58
58
|
({% if oldest != newest %}{{ oldest }}-{% endif %}{{ newest }})
|
|
59
59
|
{% if site.author and site.author_display %}
|
|
60
60
|
{{ i18n.legal[plang][0] }}
|
|
61
|
-
<a target="_blank" href="{% include i18n.html value=site.author_website %}">{{ site.author }}</a>
|
|
61
|
+
<a target="_blank" href="{% include _i18n/i18n.html value=site.author_website %}">{{ site.author }}</a>
|
|
62
62
|
{% endif %}
|
|
63
63
|
{% if site.cc %}
|
|
64
64
|
{{ i18n.legal[plang][1] }}
|
data/_includes/head.html
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
|
|
7
7
|
{% if page.title %}
|
|
8
|
-
<title>{{ page.title }} | {% include i18n.html value=site.title %}</title>
|
|
8
|
+
<title>{{ page.title }} | {% include _i18n/i18n.html value=site.title %}</title>
|
|
9
9
|
{% else %}
|
|
10
|
-
<title>{% include i18n.html value=site.title %}</title>
|
|
10
|
+
<title>{% include _i18n/i18n.html value=site.title %}</title>
|
|
11
11
|
{% endif %}
|
|
12
|
-
<meta name="description" content="{% include i18n.html value=site.description %}">
|
|
12
|
+
<meta name="description" content="{% include _i18n/i18n.html value=site.description %}">
|
|
13
13
|
|
|
14
14
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
|
15
15
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
|
16
|
-
<link rel="alternate" type="application/rss+xml" title="{% include i18n.html value=site.title %}" href="{{ "/feed.xml" | relative_url }}">
|
|
16
|
+
<link rel="alternate" type="application/rss+xml" title="{% include _i18n/i18n.html value=site.title %}" href="{{ "/feed.xml" | relative_url }}">
|
|
17
17
|
|
|
18
18
|
{% assign pagename = page.path | split:"." | first %}
|
|
19
19
|
|
data/_includes/header.html
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<div class="wrapper">
|
|
4
4
|
|
|
5
5
|
<div class="site-header-float">
|
|
6
|
-
{% include sitetitle.html class=true %}
|
|
6
|
+
{% include _i18n/sitetitle.html class=true %}
|
|
7
7
|
{% if site.pitch %}
|
|
8
|
-
<span class="site-pitch">{% include i18n.html value=site.pitch %}</span>
|
|
8
|
+
<span class="site-pitch">{% include _i18n/i18n.html value=site.pitch %}</span>
|
|
9
9
|
{% endif %}
|
|
10
10
|
|
|
11
11
|
{% if site.pitch == null %}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
{% assign nblangs = site.langs | size %}
|
|
29
29
|
{% if nblangs > 1 %}
|
|
30
|
-
{% include lang_selector.html %}
|
|
30
|
+
{% include _i18n/lang_selector.html %}
|
|
31
31
|
{% endif %}
|
|
32
32
|
|
|
33
33
|
</div>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<figure>
|
|
2
|
+
<img src="{{ include.src }}" title="{{ include.caption }}" alt="{{ include.desc }}">
|
|
3
|
+
<figcaption>{{ include.caption }}{% if include.source %} @
|
|
4
|
+
{% if include.href %}<a href="{{ include.href }}">{% endif %}
|
|
5
|
+
{{ include.source }}
|
|
6
|
+
{% if include.href %}</a>{% endif %}
|
|
7
|
+
{% endif %}
|
|
8
|
+
</figcaption>
|
|
9
|
+
</figure>
|
data/_includes/nav_menu.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<ul class="nav-list {{ include.class }}">
|
|
5
5
|
{% for link in site.nav_ext_links %}
|
|
6
6
|
{% if link.url and link.name %}
|
|
7
|
-
<li><a target="_blank" class="page-link" href="{% include i18n.html value=link.url %}">
|
|
8
|
-
{% include i18n.html value=link.name %}
|
|
7
|
+
<li><a target="_blank" class="page-link" href="{% include _i18n/i18n.html value=link.url %}">
|
|
8
|
+
{% include _i18n/i18n.html value=link.name %}
|
|
9
9
|
</a></li>
|
|
10
10
|
{% endif %}
|
|
11
11
|
{% endfor %}
|
data/_includes/post-li.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
</h2>
|
|
5
5
|
<span class="post-meta">
|
|
6
6
|
<span class="date">
|
|
7
|
-
{% include date.html date=post.date %}
|
|
8
|
-
{% include last_modified_at.html object=post %}
|
|
7
|
+
{% include _i18n/date.html date=post.date %}
|
|
8
|
+
{% include _i18n/last_modified_at.html object=post %}
|
|
9
9
|
</span>
|
|
10
10
|
</span>
|
|
11
11
|
|
data/_layouts/about.html
CHANGED
|
@@ -12,13 +12,13 @@ layout: default
|
|
|
12
12
|
<ul class="contact-list">
|
|
13
13
|
{% if site.email %}
|
|
14
14
|
<li>
|
|
15
|
-
{% include
|
|
15
|
+
{% include _icons/email.html username=site.email %}
|
|
16
16
|
</li>
|
|
17
17
|
{% endif %}
|
|
18
18
|
|
|
19
19
|
{% if site.curriculum.url %}
|
|
20
20
|
<li>
|
|
21
|
-
{% include
|
|
21
|
+
{% include _icons/file.html curriculum=site.curriculum %}
|
|
22
22
|
</li>
|
|
23
23
|
{% endif %}
|
|
24
24
|
</ul>
|
|
@@ -26,7 +26,7 @@ layout: default
|
|
|
26
26
|
<ul class="contact-list">
|
|
27
27
|
{% if site.author_website %}
|
|
28
28
|
<li>
|
|
29
|
-
{% include
|
|
29
|
+
{% include _icons/website.html url=site.author_website %}
|
|
30
30
|
</li>
|
|
31
31
|
{% endif %}
|
|
32
32
|
</ul>
|
data/_layouts/home.html
CHANGED
|
@@ -11,7 +11,7 @@ layout: default
|
|
|
11
11
|
|
|
12
12
|
<div class="{{ div_class }}">
|
|
13
13
|
{% unless site.pitch %}
|
|
14
|
-
<p>{% include i18n.html value=site.description %}</p>
|
|
14
|
+
<p>{% include _i18n/i18n.html value=site.description %}</p>
|
|
15
15
|
{% endunless %}
|
|
16
16
|
|
|
17
17
|
{{ content }}
|
|
@@ -25,7 +25,7 @@ layout: default
|
|
|
25
25
|
{% if nb_posts > site.nb_posts_page %}
|
|
26
26
|
<div class="archive">
|
|
27
27
|
{{ site.data.academic_i18n.all_posts[plang][0] }}
|
|
28
|
-
<a href="{% include link.html path="archive" %}">{{ site.data.academic_i18n.all_posts[plang][1] }}</a>.</div>
|
|
28
|
+
<a href="{% include _i18n/link.html path="archive" %}">{{ site.data.academic_i18n.all_posts[plang][1] }}</a>.</div>
|
|
29
29
|
{% endif %}
|
|
30
30
|
|
|
31
31
|
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -15,9 +15,9 @@ layout: default
|
|
|
15
15
|
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
16
16
|
<p class="post-meta">
|
|
17
17
|
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
18
|
-
{% include date.html date=page.date %}
|
|
18
|
+
{% include _i18n/date.html date=page.date %}
|
|
19
19
|
</time>
|
|
20
|
-
{% include last_modified_at.html object=page %}
|
|
20
|
+
{% include _i18n/last_modified_at.html object=page %}
|
|
21
21
|
{% if page.author %} •
|
|
22
22
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
|
|
23
23
|
{% endif %}
|
|
@@ -35,7 +35,7 @@ layout: default
|
|
|
35
35
|
{% if site.shortbio %}
|
|
36
36
|
<div class="post-author">
|
|
37
37
|
{% if site.github_username %}
|
|
38
|
-
<a href="{
|
|
38
|
+
<a href="{% include _i18n/i18n.html value=site.author_website %}">
|
|
39
39
|
<img class="user-picture" src="https://github.com/{{ site.github_username }}.png" alt="{{ site.author }}">
|
|
40
40
|
</a>
|
|
41
41
|
{% endif %}
|
|
@@ -43,7 +43,7 @@ layout: default
|
|
|
43
43
|
<li class="user-name">
|
|
44
44
|
{{ site.author }}
|
|
45
45
|
</li>
|
|
46
|
-
<li class="user-shortbio">{% include i18n.html value=site.shortbio %}</li>
|
|
46
|
+
<li class="user-shortbio">{% include _i18n/i18n.html value=site.shortbio %}</li>
|
|
47
47
|
</ul>
|
|
48
48
|
</div>
|
|
49
49
|
{% endif %}
|
data/_sass/academic/_base.scss
CHANGED
|
@@ -75,6 +75,17 @@ h1 + h3, h1 + h4, h2 + h4 {
|
|
|
75
75
|
// left: calc(-20vw + 20%);
|
|
76
76
|
// vertical-align: middle;
|
|
77
77
|
// }
|
|
78
|
+
|
|
79
|
+
figure {
|
|
80
|
+
text-align: center;
|
|
81
|
+
|
|
82
|
+
figcaption {
|
|
83
|
+
margin-top: 5px;
|
|
84
|
+
font-style: italic;
|
|
85
|
+
@include size(vsmall);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
78
89
|
img {
|
|
79
90
|
vertical-align: middle;
|
|
80
91
|
max-width: 100%;
|
|
@@ -192,9 +203,9 @@ blockquote {
|
|
|
192
203
|
* Code formatting
|
|
193
204
|
*/
|
|
194
205
|
|
|
195
|
-
code
|
|
196
|
-
|
|
197
|
-
|
|
206
|
+
p code,
|
|
207
|
+
li code {
|
|
208
|
+
@include size(vsmall);
|
|
198
209
|
}
|
|
199
210
|
|
|
200
211
|
pre {
|
|
@@ -204,13 +215,6 @@ pre {
|
|
|
204
215
|
padding-left: 10px;
|
|
205
216
|
overflow-x: auto;
|
|
206
217
|
@include size(vsmall);
|
|
207
|
-
|
|
208
|
-
> code {
|
|
209
|
-
@include size(vsmall);
|
|
210
|
-
border: 0;
|
|
211
|
-
padding-right: 0;
|
|
212
|
-
padding-left: 0;
|
|
213
|
-
}
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
/**
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: academic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- gaalcaras
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll-data
|
|
@@ -76,38 +76,39 @@ files:
|
|
|
76
76
|
- LICENSE.txt
|
|
77
77
|
- README.md
|
|
78
78
|
- _data/academic_i18n.yml
|
|
79
|
+
- _includes/_i18n/date.html
|
|
80
|
+
- _includes/_i18n/i18n.html
|
|
81
|
+
- _includes/_i18n/lang_selector.html
|
|
82
|
+
- _includes/_i18n/last_modified_at.html
|
|
83
|
+
- _includes/_i18n/link.html
|
|
84
|
+
- _includes/_i18n/sitetitle.html
|
|
85
|
+
- _includes/_icons/email.html
|
|
86
|
+
- _includes/_icons/email.svg
|
|
87
|
+
- _includes/_icons/file.html
|
|
88
|
+
- _includes/_icons/file.svg
|
|
89
|
+
- _includes/_icons/github.html
|
|
90
|
+
- _includes/_icons/github.svg
|
|
91
|
+
- _includes/_icons/keybase.html
|
|
92
|
+
- _includes/_icons/keybase.svg
|
|
93
|
+
- _includes/_icons/linkedin.html
|
|
94
|
+
- _includes/_icons/linkedin.svg
|
|
95
|
+
- _includes/_icons/rss.html
|
|
96
|
+
- _includes/_icons/rss.svg
|
|
97
|
+
- _includes/_icons/twitter.html
|
|
98
|
+
- _includes/_icons/twitter.svg
|
|
99
|
+
- _includes/_icons/website.html
|
|
100
|
+
- _includes/_icons/website.svg
|
|
79
101
|
- _includes/calltoaction.html
|
|
80
102
|
- _includes/contactlist.html
|
|
81
|
-
- _includes/date.html
|
|
82
103
|
- _includes/footer.html
|
|
83
104
|
- _includes/head.html
|
|
84
105
|
- _includes/header.html
|
|
85
|
-
- _includes/
|
|
86
|
-
- _includes/icon-email.html
|
|
87
|
-
- _includes/icon-email.svg
|
|
88
|
-
- _includes/icon-file.html
|
|
89
|
-
- _includes/icon-file.svg
|
|
90
|
-
- _includes/icon-github.html
|
|
91
|
-
- _includes/icon-github.svg
|
|
92
|
-
- _includes/icon-keybase.html
|
|
93
|
-
- _includes/icon-keybase.svg
|
|
94
|
-
- _includes/icon-linkedin.html
|
|
95
|
-
- _includes/icon-linkedin.svg
|
|
96
|
-
- _includes/icon-rss.html
|
|
97
|
-
- _includes/icon-rss.svg
|
|
98
|
-
- _includes/icon-twitter.html
|
|
99
|
-
- _includes/icon-twitter.svg
|
|
100
|
-
- _includes/icon-website.html
|
|
101
|
-
- _includes/icon-website.svg
|
|
102
|
-
- _includes/lang_selector.html
|
|
103
|
-
- _includes/last_modified_at.html
|
|
104
|
-
- _includes/link.html
|
|
106
|
+
- _includes/image.html
|
|
105
107
|
- _includes/nav_menu.html
|
|
106
108
|
- _includes/piwik.html
|
|
107
109
|
- _includes/post-li.html
|
|
108
110
|
- _includes/post-ul.html
|
|
109
111
|
- _includes/sitemap-url.html
|
|
110
|
-
- _includes/sitetitle.html
|
|
111
112
|
- _layouts/about.html
|
|
112
113
|
- _layouts/archive.html
|
|
113
114
|
- _layouts/default.html
|
data/_includes/icon-email.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
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-github.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
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-website.html
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
{% capture url %}{% include i18n.html value=include.url %}{% endcapture %}
|
|
2
|
-
<a target="_blank" href="{{ url }}" title="Site"><span class="icon icon--website">{% include icon-website.svg %}</span><span class="username">{{ url | replace:'https://','' | replace: 'http://','' }}</span></a>
|