betterplace-content 0.7.131 → 0.7.137

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: c92dc03e95e724046bbcbd9358d4d02a43f910647ae9fa9fdf0bae79245c5658
4
- data.tar.gz: f81393112d853f393cf6f54f25a7c8dacca552e30ee84085d9a461c0f874ee89
3
+ metadata.gz: 4e3dec38589648484f512b9f67f9cae50e2968c547110084e703af3df3ec05c5
4
+ data.tar.gz: 2e9436ffe606b509de06667ef8b75658ff5fbb5a98c67186835ff1def2955d45
5
5
  SHA512:
6
- metadata.gz: ce52342ef3f63e7b555263513b2b43c45c609ce24fdc17ad7e7e6b42f3d69d3b66b79b4dbb5d5f31b6ab3949a182cf0fd7ced79d9cb0e8c4a8ac4f3a5cfa05fe
7
- data.tar.gz: 40baab0c5577f9a6802b5dc7865961eab5cb44b9cd21d3e2ff4d350bcc940bbdde6c1f982cec753de7397dde829e133c9188d47a3c2ffb5bb151c61508ab871c
6
+ metadata.gz: ebfb843939ec490b13dee7b141b4e72832fe256042453dc183d6743e01ff88ac80fc7f73388cba06c1de2c919199ac0c0937070b7f96a4f0de3e777d096d4fb1
7
+ data.tar.gz: 7e53779191e7911bc34607839a7e60997b47bb1a4c517e947f3eed1fff925d31da68e538eea8d4ad4063e7d6695a3598e3035994ea5576aea483c03b81729327
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Jekyll theme for betterplace content pages.
4
4
 
5
+ **Note that our content pages (theme consumers) are usually edited via cloudcannon.**
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your Jekyll site's `Gemfile`:
@@ -29,13 +31,19 @@ The installation script will ask you for a personal github access token with rep
29
31
  Instructions: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.
30
32
  Afterwards provide this token when the script asks for it, or add it to GITHUB_TOKEN file (ignored by git).
31
33
 
32
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve`
33
- and open your browser at `http://localhost:4000`.
34
- This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test
35
- your theme's contents. As you make modifications to your theme and to your content,
36
- your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
34
+ The theme is setup just like a normal Jekyll site - to test you could add pages, run `bundle exec jekyll serve`
35
+ and open your browser at `http://localhost:4000`. Note however that the real pages are usually edited via cloudcannon.
36
+
37
+ ## Testing 'static pages'
38
+
39
+ To test a static page locally, e.g. [c/stellen](github.com/betterplace/content-stellen), `cd` into the respective directory and run
40
+ `USE_DEVELOPMENT_THEME=1 bundle`.
41
+
42
+ Then use `JEKYLL_ENV=... bundle exec jekyll serve` to start a local jekyll server (on port 4000, read output of the command) emulating the respective environment, e.g. `JEKYLL_ENV=production bundle exec jekyll serve` will let your page include the production javascript assets.
43
+
44
+ Note that the links in the layout (e.g. `c/stellen`) in the betterplace.org application are not automatically updated, i.e. they will not be resolved.
37
45
 
38
- When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
46
+ When done testing, switch back the gem dependency via `USE_DEVELOPMENT_THEME=0 bundle`.
39
47
 
40
48
  ## Helpers
41
49
 
@@ -60,4 +68,4 @@ github every time.
60
68
  ## License
61
69
 
62
70
  'content--theme' is released under the [Apache-2.0](LICENSE.txt) license, Copyright
63
- 2017..2022 [gut.org gAG](gut.org).
71
+ 2017..2022 [betterplace.org gGmbH](betterplace.org).
@@ -2,7 +2,7 @@
2
2
  <li class="is-left"><a href="{{ include.hostname }}/de/projects/7046" class="btn btn-primary">Unterstütze betterplace.org</a></li>
3
3
  <li><a href="{{ include.hostname }}/c/ueber-uns">Über uns</a></li>
4
4
  <li><a href="{{ include.hostname }}/c/neues">Blog &amp; News</a></li>
5
- <li><a href="{{ include.hostname }}/c/hilfe">Hilfe</a></li>
5
+ <li><a href="https://support.betterplace.org/hc/de">Hilfe</a></li>
6
6
  <li><a href="{{ include.hostname }}/c/kontakt">Kontakt</a></li>
7
7
  <li><a href="{{ include.hostname }}/c/stellen">Jobs</a></li>
8
8
  <li><a href="{{ include.hostname }}/c/unser-team">Team</a></li>
@@ -72,7 +72,7 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
72
72
  </head>
73
73
  {% assign transparent_header = page.transparent_header | default: site.transparent_header %}
74
74
  <body class="{% if page.url contains '404' %} error404 {% else %} {{ site.css_root }} {% endif %}{% if transparent_header %} has-transparent-header {% endif %}">
75
-
75
+
76
76
  <div id="fb-root"></div>
77
77
 
78
78
  <div class='fixed-viewport-width bg-white'>
@@ -103,8 +103,7 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
103
103
  {% endcapture %}
104
104
 
105
105
  <div id="c-mountpoint-footer"></div>
106
-
107
- {% include cookie_banner.html %}
106
+ <div id="c-mountpoint-cookie_banner"></div>
108
107
 
109
108
  </div>
110
109
 
@@ -122,7 +121,7 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
122
121
  {% endcomment -%}
123
122
 
124
123
  // fetch and mount header and footer
125
- ;['header', 'footer'].forEach(layoutEl => {
124
+ ;['header', 'footer', 'cookie_banner'].forEach(layoutEl => {
126
125
  fetch(`/{{ site.lang }}/layouts/${layoutEl}_partial`)
127
126
  .then((res) => res.text())
128
127
  .then(html => {
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.131
4
+ version: 0.7.137
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: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2026-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -89,7 +89,6 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
- - _includes/cookie_banner.html
93
92
  - _includes/help_categories.html
94
93
  - _includes/hero_image.html
95
94
  - _includes/schema_org_structured_data.html
@@ -212,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
211
  - !ruby/object:Gem::Version
213
212
  version: '0'
214
213
  requirements: []
215
- rubygems_version: 3.2.22
214
+ rubygems_version: 3.3.26
216
215
  signing_key:
217
216
  specification_version: 4
218
217
  summary: betterplace.org's Jekyll Content Theme
@@ -1,28 +0,0 @@
1
- <script type="text/javascript">
2
- window.gaTrackingPath = window.location.pathname
3
- window.gaTrackingPathDebug = undefined
4
- window.dataLayer = window.dataLayer || [];
5
- window['GoogleAnalyticsObject'] = 'ga'
6
- window.ga = window.ga || function () { (window.ga.q = window.ga.q || []).push(arguments) }
7
- window.ga.l = 1 * new Date()
8
-
9
- window.gaEvent = function (categorySuffix, action, label, value, nonInteraction) {
10
- window.ga('send', {
11
- hitType: 'event',
12
- eventCategory: window.gaTrackingPath + ' ' + categorySuffix,
13
- eventAction: action,
14
- eventLabel: (label || window.location.pathname),
15
- eventValue: (value || null),
16
- nonInteraction: (nonInteraction || false)
17
- });
18
- }
19
- </script>
20
-
21
- <div id='cookie-banner'
22
- data-ga-profile-id="UA-1584203-1"
23
- data-ga-optimize-id="GTM-WK6QJ9P"
24
- data-gtm-auth="QOG8f4h6ut68IH7uRg_6Aw"
25
- data-gtm-id="GTM-NSNPFC"
26
- data-gtm-preview="env-2"
27
- data-hotjar-id='713310'
28
- />