betterplace-content 0.7.92 → 0.7.93

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
  SHA256:
3
- metadata.gz: 269058cb07f2c466b7aecfd8ca2e724a30c87cef5188ba9b478ce7e917cdc7fc
4
- data.tar.gz: fdb15c876fd1e7ff4e526ddd1c9086951378e807e0786a3310cd478398be41f8
3
+ metadata.gz: 76a9fac41b7206fa68b41d209984385ea221a63100aadcc1f17882c09fe91b7a
4
+ data.tar.gz: a53368e8f0db9199569245f3828c5eb26892ef8fad22afe85c5d77eee291ccf1
5
5
  SHA512:
6
- metadata.gz: 857dfccbda73ac007eeced56bed21c2e7a0a07bffdaa050491d6bc999a2871194125cff8d77743887494719cfe8ea78ac622c912b1b7fde5aa038b863a72daf1
7
- data.tar.gz: c6d1d5afef0a5d79e2714b30938ad2ece431d952e391e6a50c3d48cb2bb643a35da49b84d6c6f79639279045d572370b5fe78cbf3484b971af408f39aaa6b8a6
6
+ metadata.gz: c8104e47b3e91fa18aeb55b905de3e088e40dd806779cea0adb8e1858e073611867258511a73f4f2719ad7958f553e09bee083e970f73e96e84dbf94916051c8
7
+ data.tar.gz: 7c624fda731983016127e3a12468143c01e355d76836fdf0c93892906515efef74e368b0b89c548d6d649e3111678772f341890acecadac72f2ae8234ed16552
@@ -121,8 +121,9 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
121
121
  // This will also replace URLs like the navbar logo URL which is a nice extra.
122
122
  // The attribute data-host-replaced=true is meant as a heads up when using the inspector that something was change here.
123
123
  // We cannot use the same logic for JS – more at https://github.com/betterplace/content--theme/commit/cff6293.
124
+ // We work around checking for bp42 here to not expose the staging domain.
124
125
  {% endcomment -%}
125
- if (window.location.hostname !== 'www.betterplace.org') {
126
+ if (window.location.hostname !== 'www.betterplace.org' && window.location.hostname !== 'app.cloudcannon.com') {
126
127
  document.querySelectorAll("[href]").forEach(element => {
127
128
  if (element.href.includes('www.betterplace.org')) {
128
129
  element.href = element.href.replace('www.betterplace.org', window.location.hostname)
@@ -6,7 +6,6 @@ $gray-500: #919191
6
6
  $gray-700: #636363
7
7
  $gray-800: #3f3f3f
8
8
 
9
- $green-100: #f5fccc
10
9
  $green-300: #d6ef66
11
10
  $green-500: #9ecb09
12
11
  $green-500: #9ecb0a
@@ -15,8 +14,7 @@ $purple-600: #6d2c64
15
14
 
16
15
  $red-500: #ff6f6c
17
16
 
18
- $teal-500: #4597a2
19
- $teal-500: #4597a2
17
+ $teal-500: #60B2A4
20
18
 
21
19
  $yellow-400: #f6ce46
22
20
 
@@ -11,7 +11,6 @@
11
11
  +generate-backgrounds($red-500, red-500)
12
12
  +generate-backgrounds($legacy-gray-blue-200, legacy-gray-blue-200)
13
13
  +generate-backgrounds($teal-500, teal-500)
14
- +generate-backgrounds($green-100, green-100)
15
14
  +generate-backgrounds($purple-600, purple-600)
16
15
  +generate-backgrounds($yellow-400, yellow-400)
17
16
  +generate-backgrounds($gray-800, gray-800)
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.7.92
4
+ version: 0.7.93
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: 2021-05-05 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.2.16
221
+ rubygems_version: 3.2.4
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: betterplace.org's Jekyll Content Theme