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.
- checksums.yaml +5 -5
- data/_includes/hero_image.html +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 68dd9187377c7f601631442bed453ed5b9cf51f8
|
4
|
+
data.tar.gz: d98d760e1b7f8150c11c9126908518668493e135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf2642555c72e9a341b9b173d961e9f0076c849de1a9a96231cb2b93baefef9382026e5bb6dc8cad70f3b28fda77c9a69b73918146beb45c7db7f9b2ad1280a
|
7
|
+
data.tar.gz: b5a5ff04c5f63888ecd4563b2855683a85cf1df8a11649f0686ab8039f8c9db77e198763bc67982543d9977de43641fb190eb548e021b0e8d90e135782351ca5
|
data/_includes/hero_image.html
CHANGED
@@ -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
|
-
{%
|
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.
|
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
|
+
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.
|
195
|
+
rubygems_version: 2.6.14
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: betterplace.org's Jekyll Content Theme
|