jekyll-theme-consulting 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/date.html +24 -0
- data/_includes/footer.html +2 -1
- data/_includes/head.html +6 -0
- data/_includes/language.html +3 -7
- data/_layouts/default.html +2 -0
- data/_layouts/landing.html +2 -0
- data/_layouts/post.html +6 -7
- data/_layouts/redirect.html +1 -0
- data/_sass/layout/_sidebar.scss +4 -3
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7d07c3882397d91631cdfa6df6e0ce5238342fa
|
4
|
+
data.tar.gz: a0467718ab2ebe4166c30f359abaa3fcd2b44a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98d105a88a779f09ef9f3ee085a3d1b3c4968c7c3139641b0ebac4befc1ee340cd5fec7bb5668cf66595c6c8b0d32d72ef67ee948b036c4142210c8afa4ca269
|
7
|
+
data.tar.gz: bf1bffd8dd309b08a24dc53d9b2a65754c09d220b4049e7a219fe91ba09254daf89d4939d3e032968cc487930c39b63beb01e0c8a83c263ed5f353cc7936d31b
|
data/_includes/date.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
{% assign day = include.date | date: "%-d" %}
|
2
|
+
{% assign month = include.date | date: "%-m" %}
|
3
|
+
{% if page.lang == "en" %}
|
4
|
+
{{ include.date | date: "%B" }} {{ day }}, {{ include.date | date: "%Y" }}
|
5
|
+
{% elsif page.lang == "fr" %}
|
6
|
+
{% if day == "1" %}
|
7
|
+
{{ day }}<sup>er</sup>
|
8
|
+
{% else %} {{ day }}
|
9
|
+
{% endif %}
|
10
|
+
{% case month %}
|
11
|
+
{% when '1' %}janvier
|
12
|
+
{% when '2' %}février
|
13
|
+
{% when '3' %}mars
|
14
|
+
{% when '4' %}avril
|
15
|
+
{% when '5' %}mai
|
16
|
+
{% when '6' %}juin
|
17
|
+
{% when '7' %}juillet
|
18
|
+
{% when '8' %}août
|
19
|
+
{% when '9' %}septembre
|
20
|
+
{% when '10' %}octobre
|
21
|
+
{% when '11' %}novembre
|
22
|
+
{% when '12' %}décembre
|
23
|
+
{% endcase %} {{ include.date | date: "%Y" }}
|
24
|
+
{% endif %}
|
data/_includes/footer.html
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
<!-- Footer -->
|
2
2
|
<footer id="footer">
|
3
|
-
|
3
|
+
<p class="copyright">© {{ site.copyright_holder }}. All rights reserved.<br />
|
4
|
+
Design: <a href="https://github.com/moodule">MOODULE</a>.</p>
|
4
5
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
{% assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' %}
|
2
|
+
{% assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts %}
|
3
|
+
|
1
4
|
<head>
|
2
5
|
<title>{{ include.title }} - {{ include.subtitle }}</title>
|
3
6
|
<meta charset="utf-8" />
|
4
7
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
5
8
|
<link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
|
9
|
+
{% for page in pages %}
|
10
|
+
<link rel="alternate" hreflang="{{ page.lang }}" href="{{ page.url }}" />
|
11
|
+
{% endfor %}
|
6
12
|
<noscript><link rel="stylesheet" href="{{ 'assets/css/noscript.css' | absolute_url }}" /></noscript>
|
7
13
|
{% if site.favicon_url %}<link rel="icon" href="{{ site.favicon_url | absolute_url }}" />{% endif %}
|
8
14
|
<!--[if lte IE 8]><script src="{{ 'assets/js/ie/html5shiv.js' | absolute_url }}"></script><![endif]-->
|
data/_includes/language.html
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
{% assign posts=site.posts | where:"lang-ref", page.lang-ref | sort: 'lang' %}
|
2
|
-
{% assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' %}
|
3
|
-
|
4
|
-
{% for post in posts %}
|
5
|
-
<li>
|
6
|
-
<a href="{{ post.url | absolute_url }}" class="{{ post.lang }}">{{ post.lang }}</a>
|
7
|
-
</li>
|
8
|
-
{% endfor %}
|
2
|
+
{% assign pages=site.pages | where:"lang-ref", page.lang-ref | sort: 'lang' | concat: posts %}
|
9
3
|
|
10
4
|
{% for page in pages %}
|
5
|
+
{% if page.lang != "x-default" %}
|
11
6
|
<li>
|
12
7
|
<a href="{{ page.url | absolute_url }}" class="{{ page.lang }}">{{ page.lang }}</a>
|
13
8
|
</li>
|
9
|
+
{% endif%}
|
14
10
|
{% endfor %}
|
data/_layouts/default.html
CHANGED
data/_layouts/landing.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -7,12 +7,11 @@ layout: default
|
|
7
7
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
8
|
<p class="post-meta">
|
9
9
|
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
10
|
-
{
|
11
|
-
{{ page.date | date: date_format }}
|
10
|
+
{% include date.html date=page.date %}
|
12
11
|
</time>
|
13
|
-
{
|
12
|
+
{% if page.author %}
|
14
13
|
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
15
|
-
{
|
14
|
+
{% endif %}
|
16
15
|
</p>
|
17
16
|
</header>
|
18
17
|
|
@@ -20,9 +19,9 @@ layout: default
|
|
20
19
|
{{ content }}
|
21
20
|
</div>
|
22
21
|
|
23
|
-
{
|
24
|
-
{
|
25
|
-
{
|
22
|
+
{% if site.disqus.shortname %}
|
23
|
+
{% include disqus_comments.html %}
|
24
|
+
{% endif %}
|
26
25
|
|
27
26
|
<a class="u-url" href="{{ page.url | absolute_url }}" hidden></a>
|
28
27
|
</article>
|
data/_layouts/redirect.html
CHANGED
data/_sass/layout/_sidebar.scss
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
form {
|
11
11
|
@include icon;
|
12
12
|
position: relative;
|
13
|
+
margin-left: 4em;
|
13
14
|
|
14
15
|
&:before {
|
15
16
|
@include vendor('transform', 'scaleX(-1)');
|
@@ -89,11 +90,11 @@
|
|
89
90
|
border: 0;
|
90
91
|
display: block;
|
91
92
|
height: 7.5em;
|
92
|
-
left:
|
93
|
+
left: 0;
|
93
94
|
line-height: 7.5em;
|
94
95
|
outline: 0;
|
95
96
|
overflow: hidden;
|
96
|
-
position:
|
97
|
+
position: fixed;
|
97
98
|
text-align: center;
|
98
99
|
text-indent: 7.5em;
|
99
100
|
top: 0;
|
@@ -135,7 +136,7 @@
|
|
135
136
|
|
136
137
|
.toggle {
|
137
138
|
height: 6.25em;
|
138
|
-
left:
|
139
|
+
left: 0;
|
139
140
|
line-height: 6.25em;
|
140
141
|
text-indent: 5em;
|
141
142
|
width: 5em;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-consulting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Mougeolle
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- _includes/banner.html
|
65
65
|
- _includes/bouncing.svg
|
66
66
|
- _includes/contact.html
|
67
|
+
- _includes/date.html
|
67
68
|
- _includes/footer.html
|
68
69
|
- _includes/head.html
|
69
70
|
- _includes/header.html
|