j1_template_mde 2018.4.34 → 2018.4.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/layout_shim_generator.html +62 -13
- data/_includes/themes/j1/modules/navigator/generator.html +37 -35
- data/_includes/themes/j1/modules/navigator/procedures/{quicklinks.proc → _unused/quicklinks.proc} +0 -0
- data/_includes/themes/j1/modules/navigator/procedures/{sidebar.proc → _unused/sidebar.proc} +0 -0
- data/_layouts/default.html +0 -39
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +22 -0
- data/lib/starter_web/_data/modules/j1_cookie_consent.yml +3 -3
- data/lib/starter_web/_data/modules/j1_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/j1_navigator_menu.yml +12 -12
- data/lib/starter_web/_data/modules/j1_theme_switcher.yml +48 -55
- data/lib/starter_web/_rack/config.ru +15 -1
- data/lib/starter_web/assets/data/quicklinks.html +27 -11
- data/lib/starter_web/assets/images/pages/roundtrip/package.json +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/adapter/cookie_consent.js +15 -14
- data/lib/starter_web/assets/themes/j1/core/js/adapter/navigator.js +24 -62
- data/lib/starter_web/assets/themes/j1/core/js/adapter/template.js +83 -46
- data/lib/starter_web/assets/themes/j1/core/js/template.js +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +152 -55
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +15 -4
- data/lib/starter_web/pages/public/start/roundtrip/000_includes/documents/{710_responsive_tables.asciidoc → 420_responsive_tables.asciidoc} +0 -0
- data/lib/starter_web/pages/public/start/roundtrip/100_present_images.adoc +18 -4
- data/lib/starter_web/pages/public/start/roundtrip/{300_typography.adoc → 200_typography.adoc} +0 -0
- data/lib/starter_web/pages/public/start/roundtrip/{400_icon_fonts.adoc → 300_icon_fonts.adoc} +0 -0
- data/lib/starter_web/pages/public/start/roundtrip/{500_asciidoc_extensions.adoc → 400_asciidoc_extensions.adoc} +4 -4
- data/lib/starter_web/pages/public/start/roundtrip/{700_extended_modals.adoc → 410_bs_modals_extentions.adoc} +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/420_responsive_tables_extensions.adoc +267 -0
- data/lib/starter_web/pages/public/start/roundtrip/{600_themes.adoc → 500_themes.adoc} +11 -3
- data/lib/starter_web/pages/public/start/roundtrip/{200_cards.adoc → _unused/600_cards.adoc} +0 -0
- data/lib/starter_web/pages/public/start/roundtrip/{800_search_engine.adoc → _unused/710_search_engine.adoc} +0 -0
- data/lib/starter_web/pages/public/start/roundtrip/{800_google_custom_search.adoc → _unused/720_google_custom_search.adoc} +0 -0
- metadata +14 -14
- data/lib/starter_web/pages/public/start/roundtrip/710_responsive_tables.adoc +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cae96d300c71a8b958a141d3535c4345c32b93ad
|
4
|
+
data.tar.gz: 18f4659dff1647711d6a391906f6cb4d545db9bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f609b237b5e43a185a68efbbde77d7e13e64ef9a0e92710627a51b4ec00e8aa15ed7ef6cc7d44e796ae85770a9050ab079f07af29740453c5df7c028b520370
|
7
|
+
data.tar.gz: ce08278b5aff1ab78b6915fa3c893e73fa975f5cdc9e9c50e60ac4726bc0bf2a77dec004989a5d11c3dd732df9db0e64e4f96adc088aa4dfac0c483e8ec3e971
|
@@ -37,18 +37,22 @@
|
|
37
37
|
|
38
38
|
{% comment %} Main
|
39
39
|
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
<!-- [INFO ] [j1.layout_shim_generator.html ] [
|
41
|
-
<!-- [INFO ] [j1.layout_shim_generator.html ] [
|
40
|
+
<!-- [INFO ] [j1.layout_shim_generator.html ] [Start processing: place all SHIM config for all MODULES, layout: {{page.layout}} ] -->
|
41
|
+
<!-- [INFO ] [j1.layout_shim_generator.html ] [Create GLOBAL js script variables for later module access ] -->
|
42
42
|
|
43
43
|
<script>
|
44
|
-
// [INFO ] [j1.layout_shim_generator.html ] [
|
44
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global ENVIRONMENT variable for Javascript access]
|
45
45
|
var j1_environment = "{{ site.environment }}";
|
46
46
|
|
47
|
-
|
47
|
+
{% comment %} Create global NeDB database object
|
48
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
49
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global NeDB database object]
|
48
50
|
// jadams, 2017-06-06: for the time being, NeDB is NOT a module */
|
49
51
|
//var {{site.data.modules.j1_nedb.datastore}};
|
50
52
|
|
51
|
-
|
53
|
+
{% comment %} Create global INSTANCE variables
|
54
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
55
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global INSTANCE variables for J1 Carousel]
|
52
56
|
{% if j1_apps.j1_carousel.enabled and page.layout != 'app' %}
|
53
57
|
|
54
58
|
{% assign config = site.data.apps.j1_carousel %}
|
@@ -63,7 +67,7 @@
|
|
63
67
|
|
64
68
|
{% endif %}
|
65
69
|
|
66
|
-
// [INFO ] [j1.layout_shim_generator.html ] [
|
70
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global INSTANCE variables for J1 Justified Gallery]
|
67
71
|
{% if j1_apps.j1_justified_gallery.enabled and page.layout != 'app' %}
|
68
72
|
|
69
73
|
{% assign config = site.data.apps.j1_justified_gallery %}
|
@@ -79,7 +83,7 @@
|
|
79
83
|
|
80
84
|
{% endif %}
|
81
85
|
|
82
|
-
// [INFO ] [j1.layout_shim_generator.html ] [
|
86
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global INSTANCE variables for J1 Justified Gallery]
|
83
87
|
{% if j1_apps.j1_light_gallery.enabled and page.layout != 'app' %}
|
84
88
|
|
85
89
|
{% assign config = site.data.apps.j1_light_gallery %}
|
@@ -95,7 +99,7 @@
|
|
95
99
|
|
96
100
|
{% endif %}
|
97
101
|
|
98
|
-
// [INFO ] [j1.layout_shim_generator.html ] [
|
102
|
+
// [INFO ] [j1.layout_shim_generator.html ] [Create global INSTANCE variables for headers]
|
99
103
|
if ( $('#homehead').length ) {
|
100
104
|
j1["homehead"] = true;
|
101
105
|
}
|
@@ -106,6 +110,10 @@
|
|
106
110
|
j1["texthead"] = true;
|
107
111
|
}
|
108
112
|
|
113
|
+
|
114
|
+
{% comment %} Page hacks
|
115
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
116
|
+
|
109
117
|
// IE10 viewport hack for Surface/Desktop Windows 8 bug
|
110
118
|
// Copyright 2014-2015 Twitter, Inc. (Bootstrap)
|
111
119
|
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
|
@@ -114,14 +122,55 @@
|
|
114
122
|
document.querySelector("head").appendChild(e);
|
115
123
|
}
|
116
124
|
|
117
|
-
// jadams, 2019-01-14: Test to declare SideBar variables
|
118
|
-
// var $this;
|
119
|
-
// var html;
|
120
|
-
|
121
125
|
</script>
|
122
126
|
|
127
|
+
|
128
|
+
{% comment %} Place|Initialize J1 Module components
|
129
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
130
|
+
|
131
|
+
{% comment %} Place container for Cookie Consent Modals
|
132
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
123
133
|
{% if cookie_consent %}
|
124
|
-
<!-- [INFO ] [j1.layout_shim_generator.html ] [
|
134
|
+
<!-- [INFO ] [j1.layout_shim_generator.html ] [Place container for Cookie Consent Modals] -->
|
125
135
|
<div id="{{consent_modal_id}}"></div>
|
126
136
|
{% endif %}
|
127
137
|
|
138
|
+
{% comment %} Initialize Tooltips|Popovers
|
139
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
140
|
+
<!-- [INFO ] [j1.layout_shim_generator.html ] [Initialize Tooltips|Popovers] -->
|
141
|
+
<script>
|
142
|
+
$(function() {
|
143
|
+
$('[data-toggle="tooltip"]').tooltip();
|
144
|
+
$('[data-toggle="popover"]').popover();
|
145
|
+
});
|
146
|
+
</script>
|
147
|
+
|
148
|
+
{% comment %} Initialize Enhanced Bootstrap Modals (used by Roundtrip examples)
|
149
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
150
|
+
<!-- [INFO ] [j1.layout_shim_generator.html ] [Initialize enhanced bootstrap modals] -->
|
151
|
+
<script>
|
152
|
+
$(function() {
|
153
|
+
$('body').on('shown.bs.modal', '.modal', function() {
|
154
|
+
if($('.modal-backdrop').length) {
|
155
|
+
} else {
|
156
|
+
|
157
|
+
$modal_dialog = $(this).children('.modal-dialog');
|
158
|
+
|
159
|
+
if($modal_dialog.hasClass('modal-side')) {
|
160
|
+
$(this).addClass('modal-scrolling');
|
161
|
+
$('body').addClass('scrollable');
|
162
|
+
}
|
163
|
+
|
164
|
+
if($modal_dialog.hasClass('modal-frame')) {
|
165
|
+
$(this).addClass('modal-content-clickable');
|
166
|
+
$('body').addClass('scrollable');
|
167
|
+
}
|
168
|
+
}
|
169
|
+
});
|
170
|
+
|
171
|
+
$('body').on('hidden.bs.modal', '.modal', function() {
|
172
|
+
$('body').removeClass('scrollable');
|
173
|
+
});
|
174
|
+
});
|
175
|
+
</script>
|
176
|
+
|
@@ -67,7 +67,6 @@
|
|
67
67
|
{% assign cookiebar_config = site.data.modules.j1_cookiebar.cookiebar %}
|
68
68
|
|
69
69
|
|
70
|
-
|
71
70
|
{% comment %} Set config options
|
72
71
|
------------------------------------------------------------------------------ {% endcomment %}
|
73
72
|
{% assign nav_bar_options = nav_bar_defaults | merge: nav_bar_config %}
|
@@ -77,6 +76,7 @@
|
|
77
76
|
{% assign authclient_options = nav_authclient_default | merge: nav_authclient_config %}
|
78
77
|
{% assign cookie_consent_options = consent_defaults | merge: consent_settings %}
|
79
78
|
|
79
|
+
|
80
80
|
{% comment %} Set navBarOptions
|
81
81
|
------------------------------------------------------------------------------ {% endcomment %}
|
82
82
|
{% assign brand_position = nav_bar_options.brand_position %}
|
@@ -102,31 +102,35 @@
|
|
102
102
|
|
103
103
|
{% comment %} Main
|
104
104
|
-------------------------------------------------------------------------------- {% endcomment %}
|
105
|
-
|
105
|
+
|
106
|
+
|
107
|
+
{% comment %} Generate TopSearch container
|
108
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
109
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Check for topsearch] -->
|
106
110
|
{% if topsearch_options.enabled %}
|
107
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
111
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Start processing: topsearch] -->
|
108
112
|
{% include {{ topsearch_create }} options=topsearch_options %}
|
109
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
113
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [End processing: topsearch] -->
|
110
114
|
{% endif %}
|
111
115
|
|
112
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
116
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Start processing: navigation] -->
|
113
117
|
<nav id="{{nav_id}}" class="{{nav_bar_defaults}} {{nav_bar_color}} {{nav_bar_fixed}} {{nav_bar_style}}">
|
114
118
|
|
115
|
-
|
119
|
+
{% comment %} Place|Hide Sidebar container (HTML data loaded via AJAX)
|
120
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
121
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Check for sidebar] -->
|
116
122
|
{% if sidebar_options.enabled %}
|
117
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
118
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
123
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Sidebar detected] -->
|
124
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Place container for: sidebar] -->
|
119
125
|
<div id="mod_sidebar" class="side"></div>
|
120
|
-
|
121
|
-
{% comment %}
|
122
|
-
{% include {{ sidebar_create }} options=sidebar_options %}
|
123
|
-
{% endcomment %}
|
124
|
-
|
125
126
|
{% endif %}
|
126
|
-
|
127
|
-
|
127
|
+
|
128
|
+
{% comment %} Place brand image
|
129
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
130
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [End processing: sidebar] -->
|
131
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Start processing: main menue] -->
|
128
132
|
{% if brand_position == "left" %}
|
129
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ]
|
133
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] Place brand to the left] -->
|
130
134
|
{% if site.brand.image %}
|
131
135
|
<a class="navbar-brand" href="{{ home_path }}"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
|
132
136
|
{% else %}
|
@@ -136,7 +140,7 @@
|
|
136
140
|
<i class="mdi mdi-menu mdi-48px"></i>
|
137
141
|
</button>
|
138
142
|
{% elsif brand_position == "right" %}
|
139
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ]
|
143
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] Place brand to the right] -->
|
140
144
|
<button type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{menu_id}}" aria-controls="{{menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
141
145
|
<i class="mdi mdi-menu mdi-48px"></i>
|
142
146
|
</button>
|
@@ -146,7 +150,7 @@
|
|
146
150
|
<a class="navbar-brand" href="{{home_path}}" "> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
|
147
151
|
{% endif %}
|
148
152
|
{% else %}
|
149
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ]
|
153
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] Place brand to default (right)] -->
|
150
154
|
<button type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{menu_id}}" aria-controls="{{menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
151
155
|
<i class="mdi mdi-menu mdi-48px"></i>
|
152
156
|
</button>
|
@@ -157,33 +161,31 @@
|
|
157
161
|
{% endif %}
|
158
162
|
{% endif %}
|
159
163
|
|
160
|
-
|
161
|
-
|
164
|
+
{% comment %} Place NAV menu container (HTML data loaded via AJAX)
|
165
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
166
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Start processing: nav bar] -->
|
167
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Place nav menu container for AJAX load] -->
|
162
168
|
<div id="{{menu_id}}" class="collapse"></div>
|
163
|
-
|
169
|
+
|
170
|
+
{% comment %} Place|Hide Quicklinks container (HTML data loaded via AJAX)
|
171
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
172
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Check for Quicklinks] -->
|
164
173
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] Quicklinks enabled: {{quicklinks_options.enabled}}] -->
|
165
174
|
{% if quicklinks_options.enabled %}
|
166
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
167
|
-
<!-- [INFO ] [j1.modules.navigator.quicklinks.proc ] [J1 AuthManager detected as: {{ authentication_enabled }}] -->
|
168
|
-
<!-- [INFO ] [j1.modules.navigator.quicklinks.proc ] [J1 CookieConsent detected as: {{ consent_enabled }}] -->
|
175
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Place container for: quicklinks] -->
|
169
176
|
<div id="mod_quicklinks" class="attr-nav collapse navbar-collapse justify-content-end"></div>
|
170
|
-
|
171
|
-
{% comment %}
|
172
|
-
{% include {{ quicklinks_create }} options=quicklinks_options auth_options=j1_auth_config consent_options=cookie_consent_options %}
|
173
|
-
{% endcomment %}
|
174
|
-
|
175
177
|
{% endif %}
|
176
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
178
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [End processing: quicklinks] -->
|
177
179
|
|
178
180
|
</nav>
|
179
181
|
|
180
|
-
{% comment %} Place
|
182
|
+
{% comment %} Place container for sign in|out dialog used by J1 AuthClient
|
181
183
|
-------------------------------------------------------------------------------- {% endcomment %}
|
182
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
184
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [Check for J1 AuthClient] -->
|
183
185
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [J1 AuthClient enabled: {{j1_auth_config.enabled}}] -->
|
184
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
186
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [J1 AuthClient: Place container for the auth_client sign in|out dialog] -->
|
185
187
|
<div id="{{authclient_modals_id}}" class="authclient_modals"></div>
|
186
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
187
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
188
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [End processing: auth_client] -->
|
189
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [End processing: navigation] -->
|
188
190
|
|
189
191
|
|
data/_includes/themes/j1/modules/navigator/procedures/{quicklinks.proc → _unused/quicklinks.proc}
RENAMED
File without changes
|
File without changes
|
data/_layouts/default.html
CHANGED
@@ -127,45 +127,6 @@ layout: compress
|
|
127
127
|
|
128
128
|
</div>
|
129
129
|
<!-- [INFO ] [j1.layout.default.html ] [End page processing: content creation] -->
|
130
|
-
|
131
|
-
{% comment %} Initialize Tooltips|Popovers
|
132
|
-
---------------------------------------------------------------------------- {% endcomment %}
|
133
|
-
<!-- [INFO ] [j1.layout.default.html ] [Initialize Tooltips|Popovers] -->
|
134
|
-
<script>
|
135
|
-
$(function() {
|
136
|
-
$('[data-toggle="tooltip"]').tooltip();
|
137
|
-
$('[data-toggle="popover"]').popover();
|
138
|
-
});
|
139
|
-
</script>
|
140
|
-
|
141
|
-
{% comment %} Initialize Enhanced Bootstrap Modals
|
142
|
-
---------------------------------------------------------------------------- {% endcomment %}
|
143
|
-
<!-- [INFO ] [j1.layout.default.html ] [Initialize enhanced bootstrap modals] -->
|
144
|
-
<script>
|
145
|
-
$(function() {
|
146
|
-
$('body').on('shown.bs.modal', '.modal', function() {
|
147
|
-
if($('.modal-backdrop').length) {
|
148
|
-
} else {
|
149
|
-
|
150
|
-
$modal_dialog = $(this).children('.modal-dialog');
|
151
|
-
|
152
|
-
if($modal_dialog.hasClass('modal-side')) {
|
153
|
-
$(this).addClass('modal-scrolling');
|
154
|
-
$('body').addClass('scrollable');
|
155
|
-
}
|
156
|
-
|
157
|
-
if($modal_dialog.hasClass('modal-frame')) {
|
158
|
-
$(this).addClass('modal-content-clickable');
|
159
|
-
$('body').addClass('scrollable');
|
160
|
-
}
|
161
|
-
}
|
162
|
-
});
|
163
|
-
|
164
|
-
$('body').on('hidden.bs.modal', '.modal', function() {
|
165
|
-
$('body').removeClass('scrollable');
|
166
|
-
});
|
167
|
-
});
|
168
|
-
</script>
|
169
130
|
<!-- [INFO ] [j1.layout.default.html ] [End|Processing default writer] -->
|
170
131
|
|
171
132
|
</body>
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
@@ -46,7 +46,7 @@ gem 'jekyll', '~> 3.8.5'
|
|
46
46
|
# Theme Rubies
|
47
47
|
# Default: J1 Template
|
48
48
|
#
|
49
|
-
gem 'j1_template_mde', '~> 2018.4.
|
49
|
+
gem 'j1_template_mde', '~> 2018.4.35'
|
50
50
|
|
51
51
|
# --------------------------------------------------------------------
|
52
52
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -79,6 +79,28 @@ user_info_url: /pages/public/legal/en/privacy/
|
|
79
79
|
theme_author_url: https://jekyll.one
|
80
80
|
|
81
81
|
|
82
|
+
# ==============================================================================
|
83
|
+
# 2. PAGE configuration settings
|
84
|
+
#
|
85
|
+
# ------------------------------------------------------------------------------
|
86
|
+
|
87
|
+
# ------------------------------------------------------------------------------
|
88
|
+
# flicker_timeout
|
89
|
+
# ----------------------------------------------------------------------------
|
90
|
+
# Number of milliseconds (ms) the current page is hidden (display: none)
|
91
|
+
# to prevent "DOM flicker" (aka "FOUC": Flash of unstyled content)
|
92
|
+
#
|
93
|
+
# prettify
|
94
|
+
# ----------------------------------------------------------------------------
|
95
|
+
# If set to true, all generated HTML pages (by Liquid|Jekyll) get
|
96
|
+
# formatted "pretty" by layout "default".
|
97
|
+
#
|
98
|
+
# NOTE: Used for developent mode ONLY
|
99
|
+
# NOTE: See ~/packages/300_template_src/_layouts/default.html
|
100
|
+
#
|
101
|
+
# ------------------------------------------------------------------------------
|
102
|
+
flicker_timeout: 150
|
103
|
+
|
82
104
|
# -------------------------------------------------------------------------
|
83
105
|
# HTML Pretty Print
|
84
106
|
#
|
@@ -54,11 +54,11 @@ defaults:
|
|
54
54
|
#
|
55
55
|
consent:
|
56
56
|
enabled: true
|
57
|
-
strict: false # all pages requires a consent
|
57
|
+
strict: false # all pages requires a consent (currently NOT supported)
|
58
58
|
|
59
59
|
show_consent_icon: false # show the consent icon (in quicklinks)
|
60
|
-
|
61
|
-
|
60
|
+
show_consent_on_pending: false # on first visit, whitelisted pages does NOT require a consent (overloaded by strict)
|
61
|
+
delete_cookies_on_decline: false # currently NOT supported
|
62
62
|
|
63
63
|
policy_about: >
|
64
64
|
This website uses cookies to ensure vistors get the best experience
|
@@ -28,30 +28,30 @@
|
|
28
28
|
- title: Present Images
|
29
29
|
href: /pages/public/start/roundtrip/present_images/
|
30
30
|
icon: image
|
31
|
-
- title: Cards
|
32
|
-
href: /pages/public/start/roundtrip/cards/
|
33
|
-
icon: cards-outline
|
34
31
|
- title: Typography
|
35
32
|
href: /pages/public/start/roundtrip/typography/
|
36
33
|
icon: format-text
|
37
34
|
- title: Icon Fonts
|
38
35
|
href: /pages/public/start/roundtrip/mdi_icon_font/
|
39
36
|
icon: incognito
|
40
|
-
- title: Asciidoc
|
37
|
+
- title: Extended Asciidoc Blocks
|
41
38
|
href: /pages/public/start/roundtrip/asciidoc_extensions/
|
42
39
|
icon: format-annotation-plus
|
43
|
-
- title:
|
44
|
-
href: /pages/public/start/roundtrip/themes/
|
45
|
-
icon: face
|
46
|
-
- title: Modals
|
40
|
+
- title: Extended BS Modals
|
47
41
|
href: /pages/public/start/roundtrip/modals/
|
48
42
|
icon: image
|
49
|
-
- title:
|
43
|
+
- title: Extended Tables
|
50
44
|
href: /pages/public/start/roundtrip/responsive_tables/
|
51
45
|
icon: table
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
# - title: Cards
|
47
|
+
# href: /pages/public/start/roundtrip/cards/
|
48
|
+
# icon: cards-outline
|
49
|
+
- title: Bootstrap Themes
|
50
|
+
href: /pages/public/start/roundtrip/themes/
|
51
|
+
icon: face
|
52
|
+
# - title: Search Engine
|
53
|
+
# href: /pages/public/start/roundtrip/search_engine/
|
54
|
+
# icon: magnify
|
55
55
|
|
56
56
|
- title: Web in a Day
|
57
57
|
icon: rocket
|
@@ -18,86 +18,86 @@
|
|
18
18
|
# ----------------------------------------------------------------------------
|
19
19
|
# Enables|Disables the use of J1 Theme Switcher
|
20
20
|
#
|
21
|
-
# values:
|
22
|
-
# default:
|
21
|
+
# values: boolean (true|false)
|
22
|
+
# default: false
|
23
23
|
#
|
24
24
|
# debug
|
25
25
|
# ----------------------------------------------------------------------------
|
26
26
|
# Enables|Disables the console log
|
27
27
|
#
|
28
|
-
# values:
|
29
|
-
# default:
|
28
|
+
# values: boolean (true|false)
|
29
|
+
# default: false
|
30
30
|
#
|
31
31
|
# cssThemeLink
|
32
32
|
# ----------------------------------------------------------------------------
|
33
33
|
# The ID used for the bootstrap theme css file
|
34
34
|
#
|
35
|
-
# values:
|
36
|
-
# default:
|
35
|
+
# values: string
|
36
|
+
# default: bootstrapTheme
|
37
37
|
#
|
38
38
|
# saveToCookie
|
39
39
|
# ----------------------------------------------------------------------------
|
40
40
|
# If true, a cookie will be saved with the currently selected theme
|
41
41
|
#
|
42
|
-
# values:
|
43
|
-
# default:
|
42
|
+
# values: boolean (true|false)
|
43
|
+
# default: true
|
44
44
|
#
|
45
45
|
# cookieThemeName
|
46
46
|
# The name of the cookie to be used to store the theme name
|
47
47
|
#
|
48
|
-
# values:
|
49
|
-
# default:
|
48
|
+
# values: string
|
49
|
+
# default: bootstrapTheme.name
|
50
50
|
#
|
51
51
|
# cookieDefaultThemeName
|
52
52
|
# ----------------------------------------------------------------------------
|
53
53
|
# The name of the cookie to be used to store the default theme name
|
54
54
|
#
|
55
|
-
# values:
|
56
|
-
# default:
|
55
|
+
# values: string
|
56
|
+
# default: bootstrapDefaultTheme.name
|
57
57
|
#
|
58
58
|
# cookieThemeCss
|
59
59
|
# ----------------------------------------------------------------------------
|
60
60
|
# The name of the cookie to be used to store the css file name
|
61
61
|
# used for the theme
|
62
62
|
#
|
63
|
-
# values:
|
64
|
-
# default:
|
63
|
+
# values: string
|
64
|
+
# default: bootstrapTheme.css
|
65
65
|
#
|
66
66
|
# cookieExpiration
|
67
67
|
# ----------------------------------------------------------------------------
|
68
68
|
# The number of days the cookies should expire
|
69
69
|
#
|
70
|
-
# values:
|
71
|
-
# default:
|
70
|
+
# values: integer
|
71
|
+
# default: 7
|
72
72
|
#
|
73
73
|
# cookiePath
|
74
74
|
# ----------------------------------------------------------------------------
|
75
75
|
# The path the cookie should be stored
|
76
76
|
#
|
77
|
-
# values:
|
78
|
-
# default:
|
77
|
+
# values: string (path)
|
78
|
+
# default: /
|
79
79
|
#
|
80
80
|
# defaultCssFile
|
81
81
|
# ----------------------------------------------------------------------------
|
82
82
|
# The default css file the plugin should use if it can not load
|
83
83
|
# the themes from Bootswatch
|
84
84
|
#
|
85
|
-
# values:
|
86
|
-
# default:
|
85
|
+
# values: string (URI)
|
86
|
+
# default: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
|
87
87
|
#
|
88
88
|
# bootswatchApiUrl
|
89
89
|
# ----------------------------------------------------------------------------
|
90
90
|
# The url for the bootswatch api
|
91
91
|
#
|
92
|
-
# values:
|
93
|
-
# default:
|
92
|
+
# values: string (URI)
|
93
|
+
# default: http://api.bootswatch.com
|
94
94
|
#
|
95
95
|
# bootswatchApiVersion
|
96
96
|
# ----------------------------------------------------------------------------
|
97
97
|
# The version of the bootswatch api to use
|
98
98
|
#
|
99
|
-
# values:
|
100
|
-
# default:
|
99
|
+
# values: integer
|
100
|
+
# default: 3
|
101
101
|
#
|
102
102
|
# localFeed
|
103
103
|
# ----------------------------------------------------------------------------
|
@@ -106,16 +106,16 @@
|
|
106
106
|
# from here and not go to the bootswatchApiUrl. A sample of the json
|
107
107
|
# file can be found at themes.json
|
108
108
|
#
|
109
|
-
# values:
|
110
|
-
# default:
|
109
|
+
# values: string
|
110
|
+
# default: empty string
|
111
111
|
#
|
112
112
|
# excludeBootswatch
|
113
113
|
# ----------------------------------------------------------------------------
|
114
114
|
# Comma separated list of BootSwatch names (e.g. Slate,Yeti) that
|
115
115
|
# should be excluded from the rendered <ul> or <select>
|
116
116
|
#
|
117
|
-
# values:
|
118
|
-
# default:
|
117
|
+
# values: string
|
118
|
+
# default: empty string
|
119
119
|
#
|
120
120
|
# hideOnReload
|
121
121
|
# ----------------------------------------------------------------------------
|
@@ -123,31 +123,24 @@
|
|
123
123
|
# to prevent "DOM flicker" aka "FOUC" (Flash of unstyled content) while
|
124
124
|
# the css file is loaded|activated
|
125
125
|
#
|
126
|
-
# values:
|
127
|
-
# default:
|
126
|
+
# values: integer
|
127
|
+
# default: 150
|
128
128
|
# ------------------------------------------------------------------------------
|
129
|
-
enabled:
|
130
|
-
debug:
|
131
|
-
previewPage:
|
132
|
-
menu_icon_family:
|
133
|
-
menu_icon_color:
|
134
|
-
menu_icon_size:
|
135
|
-
cssThemeLink:
|
136
|
-
saveToCookie:
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
loadFromBootswatch: true
|
148
|
-
localFeed: /assets/data/themes.json
|
149
|
-
hideOnReload: 250
|
150
|
-
flicker_timeout: 250
|
151
|
-
excludeBootswatch: Sketchy
|
152
|
-
includeBootswatch: /assets/themes/j1/core/css/theme_extensions.css
|
153
|
-
skipIncludeBootswatch: Uno
|
129
|
+
enabled: true
|
130
|
+
debug: false
|
131
|
+
previewPage: /pages/public/previewer/theme/
|
132
|
+
menu_icon_family: FontAwesome
|
133
|
+
menu_icon_color: rgba_darken
|
134
|
+
menu_icon_size: large
|
135
|
+
cssThemeLink: bootstrapTheme
|
136
|
+
saveToCookie: true
|
137
|
+
defaultCssFile: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
|
138
|
+
bootswatchApiUrl: "https://bootswatch.com/api"
|
139
|
+
bootswatchApiVersion: 4
|
140
|
+
loadFromBootswatch: true
|
141
|
+
localFeed: /assets/data/themes.json
|
142
|
+
hideOnReload: 150
|
143
|
+
excludeBootswatch: Sketchy
|
144
|
+
includeBootswatch: /assets/themes/j1/core/css/theme_extensions.css
|
145
|
+
skipIncludeBootswatch: Uno
|
146
|
+
|