betterplace-content 0.7.57 → 0.7.63

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: fbd54d4bf03dc470c9bee66da6170f09f5cca044e35d05ab41a48d164d387347
4
- data.tar.gz: 9df4622cb2fbfc1500463b3f9ba8ec964424d2c9192d9ebbf49b088a423e095a
3
+ metadata.gz: 83141c31596c263a867be060b8bb7ff5ba2731eee0489c09b849823128f71c92
4
+ data.tar.gz: c333acc63734b4bc89fb7beaa924cf0ad5dcd39167cf40522ff5b0713b5796cc
5
5
  SHA512:
6
- metadata.gz: 56ad8596f3bb0efad4d2fe55880f376fde960f9d4bfea61e49276e2bdd53b30a30c7e6cc43edb9e546dd142fb02aa48c83c7a8ab15ab8f923dcb4d21bc27b61d
7
- data.tar.gz: 8c7a7cd3d28e788e81bbe4cb72ccc4f2b9050feacb76857d871ff0e4e1025f4e82b36df49489fb7322ccef09cb9b9de8cf6fad647dd34a7c2d5134d6e746ecf3
6
+ metadata.gz: 8b6cd64104a7e41286e76e2039953381294dc2a687c78fdb831c6fc47f043adf4ef008ee59cf25ac7e79eaf4eebf8cd06fab43b12f20acc4c8a6732e3f2f2768
7
+ data.tar.gz: bcae651ca45aca25418496fcd9d9abbcca6f646993cb5d7d280246344a91df768363f5ab6674f7c3cc5b2220f0e643e15a1e8384f159568fb6bfefbe688832c8
@@ -21,11 +21,9 @@
21
21
  {% if jekyll.environment == 'production' %}
22
22
  {% assign hostname = 'https://www.betterplace.org' %}
23
23
  {% assign style_host = 'https://www.betterplace.org' %}
24
- {% assign assets_host = 'https://betterplace-assets.betterplace.org' %}
25
24
  {% elsif jekyll.environment == 'staging' %}
26
25
  {% assign hostname = 'https://www.bp42.com' %}
27
26
  {% assign style_host = 'https://www.bp42.com' %}
28
- {% assign assets_host = 'https://staging-assets.bp42.com' %}
29
27
  {% endif %}
30
28
 
31
29
  {% comment %}Avoid redirect loop. We cannot have URLs ending in "/" since we redirect those with 302. But our "<root>/index.html" files are translated to "<root>/" since page.url is "/" for index.html. This creates the loop for the facebook-debugger for example. Using this clean_page_url solves the problem for the "<root>/index". For "<root>/<folder>/index" we have a different solution: we need to add a "permalink"-front-matter that has the same name as the folder, which also removes the trailing "/".
@@ -58,9 +56,9 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
58
56
  <link rel="stylesheet" href="{{ style_host }}{{ site.baseurl }}{{ site._options.content.styles }}" />
59
57
  {% endif %}
60
58
 
61
- <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/application" />
59
+ <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/utils" />
62
60
 
63
- <link rel="shortcut icon" href="{{ assets_host }}/static-images/logos/favicon.png" />
61
+ <link rel="shortcut icon" href="https://betterplace-assets.betterplace.org/static-images/logos/favicon.png" />
64
62
 
65
63
  {{ page.head_include }}{{ site.head_include }}{{ layout.head_include }}
66
64
 
@@ -75,6 +73,8 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
75
73
  <body class="{% if page.url contains '404' %} error404 {% else %} {{ site.css_root }} {% endif %}{% if transparent_header %} has-transparent-header {% endif %}">
76
74
  <div id="fb-root"></div>
77
75
 
76
+ <div class='fixed-viewport-width bg-white'>
77
+
78
78
  {% include subnavi-helper.html hostname=hostname %}
79
79
 
80
80
  {{ content }}
@@ -107,7 +107,10 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
107
107
  {{ footer | replace_first:'<!--language-switch-content-->',language_switch_content }}
108
108
 
109
109
  {% include cookie_banner.html %}
110
- <script src="{{ style_host }}/de/layouts/current_javascript/application"></script>
110
+
111
+ </div>
112
+
113
+ <script src="{{ style_host }}/de/layouts/current_pack/utils"></script>
111
114
  <script src="{{ style_host }}/de/layouts/current_pack/homepage"></script>
112
115
 
113
116
  </body>
@@ -108,10 +108,14 @@
108
108
  padding: 30px 20px 30px 20px
109
109
 
110
110
  .panel-collapse
111
+ display: none
111
112
  +phone
112
113
  transition: none
113
114
 
114
- .panel.expanded:last-child
115
+ .panel-expanded .panel-collapse
116
+ display: block
117
+
118
+ .panel-expanded:last-child
115
119
  position: relative
116
120
 
117
121
  &:before
@@ -15,6 +15,3 @@
15
15
 
16
16
  > p
17
17
  margin-bottom: 0
18
-
19
- // Desktop:
20
- @media (min-width: $breakpoint-sm)
@@ -44,3 +44,6 @@ body.about-us
44
44
 
45
45
  body.jobs
46
46
  @import about-us/generic_content_header
47
+
48
+ html
49
+ scroll-behavior: smooth
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.57
4
+ version: 0.7.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-24 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.5'
19
+ version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.5'
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description:
83
+ description:
84
84
  email:
85
85
  - developers@betterplace.org
86
86
  executables: []
@@ -202,7 +202,7 @@ homepage: https://github.com/betterplace/content--theme
202
202
  licenses:
203
203
  - Apache-2.0
204
204
  metadata: {}
205
- post_install_message:
205
+ post_install_message:
206
206
  rdoc_options: []
207
207
  require_paths:
208
208
  - lib
@@ -217,8 +217,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  requirements: []
220
- rubygems_version: 3.0.3
221
- signing_key:
220
+ rubygems_version: 3.1.2
221
+ signing_key:
222
222
  specification_version: 4
223
223
  summary: betterplace.org's Jekyll Content Theme
224
224
  test_files: []