betterplace-content 0.3.10 → 0.3.11

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 +4 -4
  2. data/_layouts/default.html +14 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d11fc7f7bf496b98b0d90abbe3b1804db740bd67
4
- data.tar.gz: a46b967bb3770fe0378e347e96056c7c8206b153
3
+ metadata.gz: 924059f4ca5a23dcb689db9590d390e040662582
4
+ data.tar.gz: 7612556d7b1ddf950c5926835b09d7200bc6b3f5
5
5
  SHA512:
6
- metadata.gz: db91ae5a0f8b6f8261cb128f878bcf0e2fa8076ffec133771d91f8aaa27dd35422a4b8696ef9ba8c63c10ab369669330acec5cd45d777fed36cf8975eef6fcc4
7
- data.tar.gz: '00693e160d9f6a0ad7d604e12ece37ca7030fbcf390b9266eb90e1fe2cfeafc7a5098abc1012b6beda232ebde458cc87395e5ccbda0697c2c64c7e2b7b45a8ef'
6
+ metadata.gz: b3475b4a8e41f5e9e837a900925ed2a4b6426cb17f4104b6bc7132df7809d29d00b737b7a1f90fe6e760e1a44fc79849f131019912720f4a4edf49833d612aa3
7
+ data.tar.gz: bebee1cb523061fb1060809c498faaa62d75e96ab0ea5daf98aa31b151147816750116c81951ac2d5caf19c17e3c54feb5d29b900eb3366e54d4229c82a90dcd
@@ -12,15 +12,20 @@
12
12
  <link rel="alternate" hreflang="{{ site.translation_lang | replace:'_','-' }}" href="{{ clean_translation_path }}">
13
13
  {% endif %}
14
14
 
15
- <script src="https://www.betterplace.org/de/layouts/current_javascript/application"></script>
16
-
17
- {% include sharing.html %}
15
+ {% comment %}Use via `JEKYLL_ENV=production bundle exec jekyll serve`{% endcomment %}
16
+ {% if jekyll.environment == 'production' %}
17
+ {% assign style_host = 'https://www.betterplace.org' %}
18
+ {% elsif jekyll.environment == 'staging' %}
19
+ {% assign style_host = 'https://www.bp42.com' %}
20
+ {% endif %}
21
+ <script src="{{ style_host }}/de/layouts/current_javascript/application"></script>
18
22
 
19
- <link rel="stylesheet" href="https://www.betterplace.org{{ site.baseurl }}/assets/css/default.css" />
23
+ {% comment %}Das content--theme legt die default.css für jedes repo ab. Nicht geil, aber OK.{% endcomment %}
24
+ <link rel="stylesheet" href="{{ style_host }}{{ site.baseurl }}/assets/css/default.css" />
20
25
 
21
- <link rel="stylesheet" href="https://www.betterplace.org/de/layouts/current_stylesheet/generics_bootstrap" />
22
- <link rel="stylesheet" href="https://www.betterplace.org/de/layouts/current_stylesheet/generics" />
23
- <link rel="stylesheet" href="https://www.betterplace.org/de/layouts/current_stylesheet/application" />
26
+ <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/generics_bootstrap" />
27
+ <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/generics" />
28
+ <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/application" />
24
29
 
25
30
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
26
31
 
@@ -29,6 +34,8 @@
29
34
 
30
35
  {% include google_analytics.html %}
31
36
 
37
+ {% include sharing.html %}
38
+
32
39
  {% if site.feed_meta_in_head %}{% feed_meta %}{% endif %}
33
40
  </head>
34
41
  {% assign transparent_header = page.transparent_header | default: site.transparent_header %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers