linaro-jekyll-theme 4.0.1 → 4.0.2

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
  SHA256:
3
- metadata.gz: 79390c1da8c7f4b44b28d9bdc09a46d3d5523a24693ada36fb1ce3b24679b0f8
4
- data.tar.gz: de85d8ca76ae47c47020800f0b5af8f62fb3e47a1ab8692efce33251a654d532
3
+ metadata.gz: 13b59232fc52a8783593df9d10fe6d0444ab089882c40d2f8f41e8c5ad4fbb55
4
+ data.tar.gz: 4014faf024f65408f0473166a996b6a98ccec4d63d65f249728dd1663b80ac3e
5
5
  SHA512:
6
- metadata.gz: 0aefad34a92479c04c48cca0f1371a7189fe45bbc7c008749d3cbb88b1f9a7e84a0f8b4fc2b54b91eb72c0fc8a9565d4fc5a4d7cff5746fac37e8caa88f8b4fe
7
- data.tar.gz: 463d52006a9da9245a15b48b204add3225b05a4971e46551b8a0d8fe2b07717c61c1ff79a748774d13e6f9c833c4a979f028ac31c8d288e3ba80ca3ab918c4af
6
+ metadata.gz: 83c7b716109199d617fdc69d96e045f29a1cca3204920543b5fbffaf1dc8cdcb89a6a5abbaea96ba33d571cc3ec73804a43e96ee532a09b884bd6666296882e9
7
+ data.tar.gz: 7990edf3ed1b6cdc5c48fe4db789f870eb444aee622134dd650fed214b0c0dc177af565f6d08c740e6114df861228c6177fabd1167638283276dac7b0dab790e
@@ -55,9 +55,9 @@
55
55
  <h6 class="card-subtitle mb-2 text-muted">{{ post.date | date: "%A, %B %-d, %Y"}}</h6>
56
56
  <p class="card-text">
57
57
  {% if post.description %}
58
- {{post.description}}
58
+ {{post.description | truncate: 184 }}
59
59
  {% else %}
60
- {{ post.content | strip_html | truncatewords:30 }}
60
+ {{ post.content | strip_html | truncate: 184 }}
61
61
  {% endif %}
62
62
  </p>
63
63
  <p class="card-text">
@@ -1,4 +1,5 @@
1
- {% if page.jumbotron.slider %}
1
+ {% assign num_of_slides = page.jumbotron.slider | size %}
2
+ {% if page.jumbotron.slider and num_of_slides > 0 %}
2
3
  <div class="jumbotron jumbotron-fluid background_image slider {% if page.jumbotron.class %}{{page.jumbotron.class}}{% endif %}">
3
4
  <div id="jumbotron-slider" class="owl-carousel owl-theme full-width-slider">
4
5
  {% for slide in page.jumbotron.slider %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-27 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll