betterplace-content 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/subnavi-helper.html +17 -0
- data/_layouts/default.html +1 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcca7d581255b972f2417a6a8de07f7720aa3e7a
|
4
|
+
data.tar.gz: 9d6dda1b40010d9e64d4e11298f04608dd1b405c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11022025a5af861e882c1f46dfc663ba7f9f833b8f95e03134fa5694a89f2d83d187b9affb332518a469a170801a69b24619fd8384208f8fc8684aab5a7aa43
|
7
|
+
data.tar.gz: 5b23fbac4fe5e964873a715ee1a5db7b219c209228aa84467c51fc3485237d3b2524a720ff83c9028a689152dcfdd8038df26225476e63262c7813572e6fa4e0
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{% comment %}
|
2
|
+
|
3
|
+
# Switch the subnavi:
|
4
|
+
|
5
|
+
All blogs have the subnavi-default-LANG.html, but landindpages a different subnavi.
|
6
|
+
|
7
|
+
# Relative vs. absolute URLs:
|
8
|
+
|
9
|
+
All pages should use relative URLs, except for the 404 pages.
|
10
|
+
They need absolut URLs, so users find a way home from the 404-"content-xyz.betterplace.org"-URL-Mess.
|
11
|
+
|
12
|
+
{% endcomment %}
|
13
|
+
{% capture hostname %}{% if page.layout == 'error404' %}{{ include.hostname }}{% endif %}{% endcapture %}
|
14
|
+
{% if site.lang %}
|
15
|
+
{% include header-{{ site.lang }}.html hostname=hostname %}
|
16
|
+
{% include subnavi-{{ site.subnavi_include_name_part | default: 'default' }}-{{ site.lang }}.html hostname=hostname %}
|
17
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -65,11 +65,7 @@
|
|
65
65
|
<body class="{% if page.url contains '404' %} error404 {% else %} {{ site.css_root }} {% endif %}{% if transparent_header %} has-transparent-header {% endif %}">
|
66
66
|
<div id="fb-root"></div>
|
67
67
|
|
68
|
-
{%
|
69
|
-
{% if site.lang %}
|
70
|
-
{% include header-{{ site.lang }}.html hostname=hostname %}
|
71
|
-
{% include subnavi-{{ site.subnavi_include_name_part | default: 'default' }}-{{ site.lang }}.html hostname=hostname %}
|
72
|
-
{% endif %}
|
68
|
+
{% include subnavi-helper.html hostname=hostname %}
|
73
69
|
|
74
70
|
{{ content }}
|
75
71
|
|
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.5.
|
4
|
+
version: 0.5.8
|
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-09-
|
11
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- _includes/sharing.html
|
75
75
|
- _includes/subnavi-default-de.html
|
76
76
|
- _includes/subnavi-default-en.html
|
77
|
+
- _includes/subnavi-helper.html
|
77
78
|
- _includes/subnavi-landingpages-de.html
|
78
79
|
- _includes/subnavi-landingpages-en.html
|
79
80
|
- _layouts/default.html
|