classic-jekyll-theme 1.3.0 → 1.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af654b427d09467044663fe69c38f3a0eb521d11
4
- data.tar.gz: a7313fd209d6b2f1eab0c2fbb69fb61def4526ed
3
+ metadata.gz: 19fc7f1ae4ea76a06945b0c0eae46c76316eba3e
4
+ data.tar.gz: 4219217fb41e841bb01645791c3040e6d7552014
5
5
  SHA512:
6
- metadata.gz: 0ba7dc7556c86b0fb6200813bf9e78e16f7586044466d53824351918927fe34fb584ef73d6774295810da5060c068d35b51bf990e36eaa8493762d26af66181a
7
- data.tar.gz: b0b8161f7d39c960f4f564c3b9303bb9d714d1301ef9fcaf51422b7f62d9740facd6105979491f615e6b6dc368c97c347a3f593af2e17f155dc9ab0a7faefdd6
6
+ metadata.gz: f34b8edcb057abc2246ef255351907fb5379401e0253f9d69e4cf67fd0dc084e409ad6e134a572e937ddc38466811c90ba4e88753b1eb5b0151560cec560544d
7
+ data.tar.gz: 75a33f92e060046e82e1dd24f70cfba7f46e99ce7922f72a073e0457ffab41485d074edd8c0d6f2d850d90c018779eef016e126656459323d83c8b5a54d4391e
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Classic-Jekyll-Theme v1.3.0
1
+ # Classic-Jekyll-Theme v1.3.1
2
2
 
3
3
  Welcome to Classic-Jekyll-Theme. This theme centers around one of the most used website structures on the web. A banner, navigation menu, (up to) three columns and a footer. The design is fully responsive for three different screen widths: wide, medium and narrow. It is probably best shown in an example:
4
4
 
@@ -259,6 +259,10 @@ Release 1.3.0
259
259
 
260
260
  - Removed theme specific configuration from the `_config.yml` file into `_data/setup.yml` and `_data/text-for.yml`.
261
261
 
262
+ Release 1.3.1
263
+
264
+ - Quick fix for problem introduced in 1.3.0
265
+
262
266
  ## Upgrade information
263
267
 
264
268
  ### from 0.2.6 to 1.0.0
@@ -323,6 +327,10 @@ The index for a menu item. If not present, the menu ordering is undetermined. If
323
327
  - Remove the classic-jekyll-theme configurations from the `_config.yml` file, and reapply any changes made to either `_data/setup.yml` and/or `_data/text-for.yml` as required.
324
328
  - As always, update the version number in the `Gemfile`
325
329
 
330
+ ### from 1.3.0 to 1.3.1
331
+
332
+ - Update the version number in the `Gemfile`
333
+
326
334
  ## Known problems (need your help)
327
335
 
328
336
  There is some odd behaviour in the navigation bar that I have not been able to nail down yet. It has to do with the space between top level menu items. There is some additional space that I am not able to trace down. For those who like a puzzle: there is some space around a ".navbanner-menu ul li" that has no obvious source. Please let me know if you happen to find where it comes from. (rien@balancingrock.nl)
data/_includes/head.html CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  <!-- Include cookie consent for production build when enabled -->
19
19
  {% if jekyll.environment == 'production' %}
20
- {% if site.enable-cookies-policy %}
20
+ {% if site.data.setup.enable-cookies-policy %}
21
21
  {% include widgets/cookie-consent.html %}
22
22
  {% endif %}
23
23
  {% endif %}
@@ -3,7 +3,7 @@
3
3
  {% if site.data.text-for.tRecent %}{% assign recent = site.data.text-for.tRecent %}{% endif %}
4
4
  <h1>{{ recent }}:</h1>
5
5
  {% for post in site.posts %}
6
- {% if for.index > site.number-of-recent-posts-in-widget %}{% break %}{% endif %}
6
+ {% if for.index > site.data.setup.number-of-recent-posts-in-widget %}{% break %}{% endif %}
7
7
  <p><a href="{{ post.url }}">{% if post.date %}{{ post.date | date: "%F" }}{% endif %} {{ post.title }}</a></p>
8
8
  {% endfor %}
9
9
  </div>
@@ -44,7 +44,7 @@ layout: default
44
44
 
45
45
  {% if found == false %}
46
46
  {% assign message = 'No blogposts found for this category' %}
47
- {% if site.tNoBlogpostFound %}{% assign message = site.tNoBlogpostFound %}{% endif %}
47
+ {% if site.data.text-for.tNoBlogpostFound %}{% assign message = site.data.text-for.tNoBlogpostFound %}{% endif %}
48
48
  <div><p style="text-align: center;">{{ message }}</p></div>
49
49
  {% endif %}
50
50
 
@@ -9,16 +9,16 @@
9
9
 
10
10
  <div class="column-panel">
11
11
 
12
- {% if site.secondary_column == 'left' %}
12
+ {% if site.data.setup.secondary_column == 'left' %}
13
13
  <div class="secondary-column">
14
14
  <div class="secondary-column-content">{% include secondary-column.html %}</div>
15
- {% if site.tertiary_column == 'present' %}
15
+ {% if site.data.setup.tertiary_column == 'present' %}
16
16
  <div class="tertiary-column-content">{% include tertiary-column.html %}</div>
17
17
  {% endif %}
18
18
  </div>
19
19
  <div class="secondary-divider"></div>
20
20
  {% else %}
21
- {% if site.tertiary_column == 'present' %}
21
+ {% if site.data.setup.tertiary_column == 'present' %}
22
22
  <div class="tertiary-column">
23
23
  <div class="tertiary-column-content">{% include tertiary-column.html %}</div>
24
24
  </div>
@@ -32,16 +32,16 @@
32
32
  </div>
33
33
 
34
34
 
35
- {% if site.secondary_column == 'right' %}
35
+ {% if site.data.setup.secondary_column == 'right' %}
36
36
  <div class="secondary-divider"></div>
37
37
  <div class="secondary-column">
38
38
  <div class="secondary-column-content">{% include secondary-column.html %}</div>
39
- {% if site.tertiary_column == 'present' %}
39
+ {% if site.data.setup.tertiary_column == 'present' %}
40
40
  <div class="tertiary-column-content">{% include tertiary-column.html %}</div>
41
41
  {% endif %}
42
42
  </div>
43
43
  {% else %}
44
- {% if site.tertiary_column == 'present' %}
44
+ {% if site.data.setup.tertiary_column == 'present' %}
45
45
  <div class="tertiary-divider"></div>
46
46
  <div class="tertiary-column">
47
47
  <div class="tertiary-column-content">{% include tertiary-column.html %}</div>
data/_layouts/home.html CHANGED
@@ -11,7 +11,7 @@ layout: default
11
11
  <!-- {{ content }} -->
12
12
 
13
13
  {% for post in site.posts %}
14
- {% if forloop.index > site.number_of_posts_on_home_page %} {% break %} {% endif %}
14
+ {% if forloop.index > site.data.setup.number_of_posts_on_home_page %} {% break %} {% endif %}
15
15
 
16
16
  <h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
17
17
  <span class="post-meta">{{ post.date | date: "%F" }}</span>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rien