betterplace-content 0.5.9 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/_includes/hero_image.html +4 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 509e43a545f53fc22a7b716d061d2539a65a2e87b3305e43e31499ec11580c06
4
- data.tar.gz: 3b659b0c5ad44b2fa5e4644f67d8cc8e23c275c39c58e3c4341573ca09f63761
2
+ SHA1:
3
+ metadata.gz: 68dd9187377c7f601631442bed453ed5b9cf51f8
4
+ data.tar.gz: d98d760e1b7f8150c11c9126908518668493e135
5
5
  SHA512:
6
- metadata.gz: '079588175eaa80d0e46c4b4a24392a8ebb7fccae43bde03789e4e2b1ccedd6404b6bf7132dbf24dcc13de69f83bb820463bec9abc4ac2be1973b7d2f11c8bdc9'
7
- data.tar.gz: 4c0f8ed7d65e1637637fadee43ddc3eff3f64c9308dc414f9fbeacd7665c3080239ec6aa7638bb5362ed170b0270b4167c952ae84e6b21d915c9afe6e1247e69
6
+ metadata.gz: bdf2642555c72e9a341b9b173d961e9f0076c849de1a9a96231cb2b93baefef9382026e5bb6dc8cad70f3b28fda77c9a69b73918146beb45c7db7f9b2ad1280a
7
+ data.tar.gz: b5a5ff04c5f63888ecd4563b2855683a85cf1df8a11649f0686ab8039f8c9db77e198763bc67982543d9977de43641fb190eb548e021b0e8d90e135782351ca5
@@ -4,12 +4,14 @@
4
4
  # Option 1: Auf _config Ebene für alle Seiten.
5
5
  # Option 2: Pro Page/Post.
6
6
  # Option 3: Über die _config-Defaults für bestimmte Page/Post (siehe bspw. content-stellen).
7
+ # Option 4: Wenn es über die Config aktiviert ist, aber für eine Page deaktiviert werden soll:
8
+ # `header_image_path: false`
7
9
 
8
10
  {% endcomment %}
9
11
 
10
- {% assign captured_header_image_path = page.header_image_path | default: site.header_image_path %}
12
+ {% capture captured_header_image_path %}{% if page.header_image_path == false %}{% else %}{{ page.header_image_path | default: site.header_image_path }}{% endif %}{% endcapture %}
11
13
 
12
- {% if captured_header_image_path %}
14
+ {% if captured_header_image_path != "" %}
13
15
  <div class="generic-hero-image" style="background-image: url('{{ site.baseurl }}{{ captured_header_image_path }}');">
14
16
  </div>
15
17
  {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-11 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.7.6
195
+ rubygems_version: 2.6.14
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: betterplace.org's Jekyll Content Theme