jekyll-theme-consulting 0.1.2 → 0.1.3

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
2
  SHA1:
3
- metadata.gz: 43350ad22d4a95d49fcca06c18dd9efa782e11cf
4
- data.tar.gz: e3539ad2fa5c876f8c6e82515b1cf6bd6a5a118a
3
+ metadata.gz: eec228ca185370d3a9c298a77fd8d2c5dd50eae2
4
+ data.tar.gz: 13153f07ad56dda4c5b61e4407d8818ceeed02bc
5
5
  SHA512:
6
- metadata.gz: 90f8217947b91cfe24d9375b9a99df2e6220608a1b416cac5dac378d2d33a5decb4778b927c72096fd0c4eeed4509ab92896f2ee3dd1929e1aa9bc378d95e294
7
- data.tar.gz: f64e9116a1583a7a24141866d3b6680e269f226623c5b288f1ee75541dde6128f913945bc98285a6041780c768c472df8ddced9b21cc375f56f1136da7d07db5
6
+ metadata.gz: a4e11cc24a63503977fb8cb425f9255e8aa8fb33253fe46e7181e2bc60089a96f704ada9311d62c48324b3a5d59ec07fb1b4b409e1e2b481dc353c49dd21eab0
7
+ data.tar.gz: 6dbfb2a655070ed7230cae1c264e2f97024238dd494cd08434e153908e5673a2ea0c106cf27f1a07b0173078a8b6d932f63b76e1df525924ab387ec0a844ea45
@@ -6,7 +6,8 @@
6
6
  <a href="{{ '' | absolute_url }}" class="logo">
7
7
  <strong>{{ include.title }}</strong> - {{ include.subtitle }}
8
8
  </a>
9
- <ul class="icons">
9
+ <ul class="icons language">
10
+ {% include language.html %}
10
11
  {% if site.twitter_url %}
11
12
  <li><a href="{{ site.twitter_url }}" class="icon fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
12
13
  {% endif %}
@@ -0,0 +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' %}
3
+
4
+ {% for post in posts %}
5
+ <li>
6
+ <a href="{{ post.url }}" class="{{ post.lang }}">{{ post.lang }}</a>
7
+ </li>
8
+ {% endfor %}
9
+
10
+ {% for page in pages %}
11
+ <li>
12
+ <a href="{{ page.url }}" class="{{ page.lang }}">{{ page.lang }}</a>
13
+ </li>
14
+ {% endfor %}
@@ -1,21 +1,25 @@
1
- {%- if site.posts.size > 0 -%}
2
- <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
3
- <ul class="post-list">
4
- {%- for post in site.posts -%}
5
- <li>
6
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
7
- <span class="post-meta">{{ post.date | date: date_format }}</span>
8
- <h3>
9
- <a class="post-link" href="{{ post.url | absolute_url }}">
10
- {{ post.title | escape }}
11
- </a>
12
- </h3>
13
- {%- if site.show_excerpts -%}
14
- {{ post.excerpt }}
15
- {%- endif -%}
16
- </li>
17
- {%- endfor -%}
18
- </ul>
1
+ {% assign posts=site.posts | where:"lang", page.lang %}
2
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
3
+
4
+ {%- if posts.size > 0 -%}
5
+ <section>
6
+ <header class="major">
7
+ <h2>{{ page.list_title | default: "Posts" }}</h2>
8
+ </header>
9
+ <div class="posts">
10
+ {%- for post in site.posts -%}
11
+ <article>
12
+ <a href="{{ post.url | absolute_url }}" class="image"><img src="{{ post.image | absolute_url }}" alt="" /></a>
13
+ <h3>{{ post.title | escape }}</h3>
14
+ <!-- <span>{{ post.date | date: date_format }}</span> -->
15
+ <p>{{ post.excerpt }}</p>
16
+ <ul class="actions">
17
+ <li><a href="{{ post.url | absolute_url }}" class="button">More</a></li>
18
+ </ul>
19
+ </article>
20
+ {% endfor %}
21
+ </div>
22
+ </section>
19
23
 
20
24
  <p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | absolute_url }}">via RSS</a></p>
21
25
  {%- endif -%}
@@ -0,0 +1,9 @@
1
+ ---
2
+ ---
3
+ <!doctype html>
4
+ <html>
5
+ <head>
6
+ <meta http-equiv="refresh" content="0; url={{ page.forward_url | absolute_url }}">
7
+ <link rel="canonical" href="{{ page.forward_url | absolute_url }}" />
8
+ </head>
9
+ </html>
@@ -28,6 +28,16 @@
28
28
  text-align: right;
29
29
  }
30
30
 
31
+ .language {
32
+ a {
33
+ border: none;
34
+ }
35
+
36
+ .en:lang(en), .fr:lang(fr), .de:lang(de){
37
+ font-weight: bold;
38
+ }
39
+ }
40
+
31
41
  @include breakpoint(xlarge) {
32
42
 
33
43
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-02 00:00:00.000000000 Z
11
+ date: 2019-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -67,6 +67,7 @@ files:
67
67
  - _includes/footer.html
68
68
  - _includes/head.html
69
69
  - _includes/header.html
70
+ - _includes/language.html
70
71
  - _includes/navigation.html
71
72
  - _includes/scripts.html
72
73
  - _includes/sidebar.html
@@ -76,6 +77,7 @@ files:
76
77
  - _layouts/landing.html
77
78
  - _layouts/page.html
78
79
  - _layouts/post.html
80
+ - _layouts/redirect.html
79
81
  - _sass/base/_page.scss
80
82
  - _sass/base/_typography.scss
81
83
  - _sass/components/_box.scss