classic-jekyll-theme 1.9.3 → 1.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/_layouts/home.html +4 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5afb06bcd3a7d3d37457db9e43c64b5628b89d55
4
- data.tar.gz: 54511e50b300ba23973cdfa238d37e30bf637205
3
+ metadata.gz: e1ae45a86e79a34fb87013e16cc90d90bed851b5
4
+ data.tar.gz: e677302c3fa97212e821f178ed99961eaccbcfba
5
5
  SHA512:
6
- metadata.gz: fc7e0fc511c13340bb43f5ba63d870ba34778cdafd4baad198bbc8695e1da6b8d120a46637f6a8cc468cc7a565e6ba12b67881dcfc23a3dbd5d508ff8af7d847
7
- data.tar.gz: 7a1b60b2de726465789cc58f483615dd60013f71a39ad6a0d3a9f5733439a1726355a2144caa9dfab4c7b919e23b3d5fc74c2fafc5c9af62d3330b8e919254ed
6
+ metadata.gz: 7b8810cc219c908c6b3232d18019e92aafa1b7d233e6fb25ed79def10ac24bac5992298973daf2537fd7f17fb1271f34cff493c7f45dcb1482e3f158171db628
7
+ data.tar.gz: 43488f54ed2d78455c404c1075fc79ff60e98d1c4b9bd6b03cafd0b5103087551ea4f59bc8b3bcf019e56f5abf39afcd5d5f6b9179834d9d49824bfa90333000
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Classic-Jekyll-Theme v1.9.3
1
+ # Classic-Jekyll-Theme v1.9.4
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 (dropdown), (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
 
@@ -359,6 +359,10 @@ Release 1.9.3
359
359
  - Added image to posts (Rien)
360
360
  - Added support for sub-menu links with anchor id's. Allows multiple sub-menu entries per file. (Rien)
361
361
 
362
+ Release 1.9.4
363
+
364
+ - Bugfix: Fixed a problem that would cause all posts to appear om home layout instead of the specified number.
365
+
362
366
  ## Upgrade information
363
367
 
364
368
  ### from 1.8.0 to 1.8.1
@@ -421,6 +425,10 @@ The file `_layouts/default.html` was updated.
421
425
  pages/classic/pages.md
422
426
  ~~~~
423
427
 
428
+ ### from 1.9.3 to 1.9.4
429
+
430
+ - The layout file 'home.html' was updated. If you made changes to this file, make sure to verify if the bugfix must be applied to your own version.
431
+
424
432
  ## Feedback
425
433
 
426
434
  Comments, bug reports, feature requests and improvements are eagerly anticipated via email: rien@balancingrock.nl or via [github](https://github.com/Balancingrock/classic-jekyll-theme).
@@ -4,14 +4,13 @@ layout: default
4
4
 
5
5
  <div>
6
6
 
7
- {% assign posts = 'Posts' %}
8
- {% if site.data.text-for.tPosts %}{% assign posts = site.data.text-for.tPosts %}{% endif %}
9
- <h1>{{ posts }}</h1>
7
+ {% assign posts-text = 'Posts' %}
8
+ {% if site.data.text-for.tPosts %}{% assign posts-text = site.data.text-for.tPosts %}{% endif %}
9
+ <h1>{{ posts-text }}</h1>
10
10
 
11
11
  <!-- {{ content }} -->
12
12
 
13
- {% for post in site.posts %}
14
- {% if forloop.index > site.data.setup.number_of_posts_on_home_page %} {% break %} {% endif %}
13
+ {% for post in site.posts limit: site.data.setup.number-of-posts-on-home-page %}
15
14
 
16
15
  <h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
17
16
  <span class="post-meta">{{ post.date | date: "%F" }}</span>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.3
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-14 00:00:00.000000000 Z
11
+ date: 2017-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll