j1-template 2021.1.4 → 2021.1.9
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_metadata_generator.html +4 -4
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
- data/_includes/themes/j1/modules/connectors/ads +18 -7
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +7 -3
- data/_includes/themes/j1/modules/connectors/analytics +17 -3
- data/_includes/themes/j1/modules/connectors/comments +22 -8
- data/_includes/themes/j1/modules/connectors/translator +20 -6
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_includes/themes/j1/procedures/global/select_location.proc +3 -3
- data/_layouts/default.html +4 -7
- data/assets/data/cookieconsent.html +249 -0
- data/assets/data/quicklinks.html +18 -16
- data/assets/data/themes.json +6 -6
- data/assets/error_pages/HTTP204.html +30 -10
- data/assets/error_pages/HTTP400.html +29 -8
- data/assets/error_pages/HTTP401.html +29 -9
- data/assets/error_pages/HTTP403.html +29 -8
- data/assets/error_pages/HTTP404.html +29 -8
- data/assets/error_pages/HTTP500.html +29 -8
- data/assets/error_pages/HTTP501.html +29 -8
- data/assets/error_pages/HTTP502.html +29 -8
- data/assets/error_pages/HTTP503.html +30 -8
- data/assets/themes/j1/adapter/js/cookieConsent.js +290 -0
- data/assets/themes/j1/adapter/js/fam.js +2 -1
- data/assets/themes/j1/adapter/js/j1.js +154 -153
- data/assets/themes/j1/adapter/js/navigator.js +157 -200
- data/assets/themes/j1/adapter/js/themer.1.js +326 -0
- data/assets/themes/j1/adapter/js/themer.js +41 -57
- data/assets/themes/j1/adapter/js/toccer.js +4 -45
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +3 -9
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +3 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +301 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +301 -0
- data/assets/themes/j1/modules/fam/css/{uno → theme/uno}/fam.css +0 -0
- data/assets/themes/j1/modules/fam/css/theme/uno/fam.min.css +15 -0
- data/assets/themes/j1/modules/fam/js/fam.js +1 -6
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
- data/assets/themes/j1/modules/mmenuLight/css/{mmenu.css → mmenu-light.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/{mmenu.min.css → mmenu-light.min.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.css → uno/mmenu.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.min.css → uno/mmenu.min.css} +0 -0
- data/assets/themes/j1/modules/rtable/css/theme/{uno.css → uno/rtable.css} +0 -0
- data/assets/themes/j1/modules/rtable/css/theme/{uno.min.css → uno/rtable.min.css} +0 -0
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +34 -49
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +410 -2
- data/assets/themes/j1/modules/util/js/domready.js +146 -0
- data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
- data/lib/j1/version.rb +3 -3
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +19 -10
- data/lib/starter_web/_data/_defaults/resources.yml +11 -8
- data/lib/starter_web/_data/j1_config.yml +21 -18
- data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +5 -4
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +136 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
- data/lib/starter_web/_data/pages/builder.yml +7 -7
- data/lib/starter_web/_data/private.default.yml +119 -0
- data/lib/starter_web/_data/private.yml +6 -6
- data/lib/starter_web/_data/resources.yml +15 -14
- data/lib/starter_web/_includes/attributes.asciidoc +10 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/dot.gitignore +1 -1
- data/lib/starter_web/index.html +3 -3
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +6 -4
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +23 -5
- data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +111 -213
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +24 -76
- data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
- data/assets/data/cookiebar.html +0 -288
- data/assets/data/footer.new.1.html +0 -256
- data/assets/data/footer.new.2.html +0 -256
- data/assets/data/footer.org.html +0 -249
- data/assets/error_pages/HTTP520.html +0 -68
- data/assets/error_pages/HTTP521.html +0 -68
- data/assets/error_pages/HTTP533.html +0 -68
- data/assets/themes/j1/adapter/js/cookiebar.js +0 -212
- data/assets/themes/j1/adapter/js/j1.new.js +0 -1878
- data/assets/themes/j1/adapter/js/j1.org.js +0 -1874
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +0 -58
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +0 -778
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +0 -981
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +0 -47
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +0 -10
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +0 -30
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +0 -15
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +0 -262
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +0 -15
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +0 -1362
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +0 -4
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +0 -402
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +0 -8
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +0 -206
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +0 -126
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +0 -101
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +0 -105
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +0 -107
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +0 -478
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +0 -342
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +0 -527
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +0 -5
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -133
data/assets/data/cookiebar.html
DELETED
@@ -1,288 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/cookiebar_modals.html
|
10
|
-
# Liquid PROCEDURE to generate the HTML (data) portion of all modals used
|
11
|
-
# by J1 Cookiebar module
|
12
|
-
#
|
13
|
-
# Product/Info:
|
14
|
-
# https://jekyll.one
|
15
|
-
#
|
16
|
-
# Copyright (C) 2021 Juergen Adams
|
17
|
-
#
|
18
|
-
# J1 Template is licensed under the MIT License.
|
19
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
20
|
-
# -----------------------------------------------------------------------------
|
21
|
-
# Test data:
|
22
|
-
# liquid_var: {{ liquid_var | debug }}
|
23
|
-
# config: {{ config | debug }}
|
24
|
-
# -----------------------------------------------------------------------------
|
25
|
-
{% endcomment %}
|
26
|
-
|
27
|
-
{% comment %} Liquid procedures
|
28
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
-
|
30
|
-
{% comment %} Set global settings
|
31
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
32
|
-
{% assign environment = site.environment %}
|
33
|
-
|
34
|
-
{% comment %} Set config files
|
35
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
36
|
-
{% assign modules = site.data.modules %}
|
37
|
-
|
38
|
-
{% comment %} Process YML config data
|
39
|
-
================================================================================ {% endcomment %}
|
40
|
-
|
41
|
-
{% comment %} Set config files
|
42
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
43
|
-
{% assign cookie_defaults = modules.defaults.cookiebar.defaults %}
|
44
|
-
{% assign cookie_settings = modules.cookiebar.settings %}
|
45
|
-
|
46
|
-
{% comment %} Set config options
|
47
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
-
{% assign cookie_options = cookie_defaults | merge: cookie_settings %}
|
49
|
-
|
50
|
-
{% assign production = false %}
|
51
|
-
{% if environment == 'prod' or environment == 'production' %}
|
52
|
-
{% assign production = true %}
|
53
|
-
{% endif %}
|
54
|
-
|
55
|
-
|
56
|
-
{% comment %} Main
|
57
|
-
================================================================================ {% endcomment %}
|
58
|
-
<!-- [INFO ] [j1.assets.data.cookiebar.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
59
|
-
<head>
|
60
|
-
<meta name="robots" content="noindex, nofollow" />
|
61
|
-
</head>
|
62
|
-
|
63
|
-
<div id="{{cookie_options.xhr_data_element}}">
|
64
|
-
|
65
|
-
{% comment %} Modal cookie consent dialog
|
66
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
67
|
-
<div id="topFullCookieConsent" class="modal fade top"
|
68
|
-
tabindex="-1"
|
69
|
-
role="dialog"
|
70
|
-
data-backdrop="false"
|
71
|
-
aria-labelledby="myModalLabel"
|
72
|
-
aria-hidden="true">
|
73
|
-
<div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
|
74
|
-
|
75
|
-
<!-- Content -->
|
76
|
-
<div class="modal-content">
|
77
|
-
|
78
|
-
<!--Header-->
|
79
|
-
<div class="modal-header">
|
80
|
-
<p class="lead">{{cookie_options.consent_modals_title}}</p>
|
81
|
-
</div>
|
82
|
-
|
83
|
-
<!-- Body -->
|
84
|
-
<div class="modal-body">
|
85
|
-
|
86
|
-
<!-- About cookies -->
|
87
|
-
<div class="px-2">
|
88
|
-
<p class="pt-1 pr-2">{{cookie_options.policy_about}}</p>
|
89
|
-
</div>
|
90
|
-
</div> <!-- END Body -->
|
91
|
-
|
92
|
-
<!-- Footer -->
|
93
|
-
<div class="modal-footer justify-content-center">
|
94
|
-
{% if cookie_options.buttons.policy_button %}
|
95
|
-
<a id="policyButton" type="button"
|
96
|
-
class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem">
|
97
|
-
<i class="mdi mdi-18px mdi-white mdi-read mr-2"></i>
|
98
|
-
{{cookie_options.buttons.policy_button_text}}
|
99
|
-
</a>
|
100
|
-
{% endif %}
|
101
|
-
<a id="acceptButton" type="button"
|
102
|
-
class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
|
103
|
-
data-dismiss="modal">
|
104
|
-
<i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
|
105
|
-
{{cookie_options.buttons.accept_button_text}}
|
106
|
-
</a>
|
107
|
-
{% if cookie_options.buttons.decline_button %}
|
108
|
-
<a id="declineButton" type="button"
|
109
|
-
class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
|
110
|
-
data-dismiss="modal">
|
111
|
-
<i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
|
112
|
-
{{cookie_options.buttons.decline_button_text}}
|
113
|
-
</a>
|
114
|
-
{% endif %}
|
115
|
-
</div> <!-- END Footer -->
|
116
|
-
|
117
|
-
<!-- Hidden Content -->
|
118
|
-
<div class="cookie-policy">
|
119
|
-
{% if cookie_options.buttons.policy_button_text %}
|
120
|
-
<div id="modal-footer" class="modal-footer-hidden">
|
121
|
-
<div id="cookiePolicyInfo" class="card card-flat" style="display: none">
|
122
|
-
<div class="content">
|
123
|
-
<h4 class="notoc card-title">{{cookie_options.cookie_policy_title}}</h4>
|
124
|
-
<h6 class="notoc category text-gray">{{cookie_options.cookie_policy_tagline | asciidocify}}</h6>
|
125
|
-
|
126
|
-
<!-- Cookie categories -->
|
127
|
-
{% if cookie_options.categories.enabled %}
|
128
|
-
<div class="px-2">
|
129
|
-
<h6 class="card-subtitle text-muted mb-2 mr-2">{{cookie_options.categories.category_title}}</h6>
|
130
|
-
<table class="tableblock frame-all grid-all stretch table-responsive-stacked-lg">
|
131
|
-
<colgroup>
|
132
|
-
<col style="width: 33.3333%;">
|
133
|
-
<col style="width: 16.6666%;">
|
134
|
-
<col style="width: 50.0001%;">
|
135
|
-
</colgroup>
|
136
|
-
<thead>
|
137
|
-
<tr>
|
138
|
-
<th class="tableblock halign-left valign-top">Cookie</th>
|
139
|
-
<th class="tableblock halign-left valign-top">Usage</th>
|
140
|
-
<th class="tableblock halign-left valign-top">Description</th>
|
141
|
-
</tr>
|
142
|
-
</thead>
|
143
|
-
<tbody>
|
144
|
-
<tr>
|
145
|
-
<td class="tableblock halign-left valign-top">
|
146
|
-
<p class="tableblock">{{cookie_options.categories.category_session}}</p>
|
147
|
-
</td>
|
148
|
-
<td class="tableblock halign-left valign-top">
|
149
|
-
<div class="content"><i class="fa md-green fa-check"></i></div>
|
150
|
-
</td>
|
151
|
-
<td class="tableblock halign-left valign-top">
|
152
|
-
<p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
|
153
|
-
</td>
|
154
|
-
</tr>
|
155
|
-
<tr>
|
156
|
-
<td class="tableblock halign-left valign-top">
|
157
|
-
<p class="tableblock">{{cookie_options.categories.category_persistent}}</p>
|
158
|
-
</td>
|
159
|
-
<td class="tableblock halign-left valign-top">
|
160
|
-
<div class="content"><i class="fa md-green fa-check"></i></div>
|
161
|
-
</td>
|
162
|
-
<td class="tableblock halign-left valign-top">
|
163
|
-
<p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
|
164
|
-
</td>
|
165
|
-
</tr>
|
166
|
-
<tr>
|
167
|
-
<td class="tableblock halign-left valign-top">
|
168
|
-
<p class="tableblock">{{cookie_options.categories.category_first_party}}</p>
|
169
|
-
</td>
|
170
|
-
<td class="tableblock halign-left valign-top">
|
171
|
-
<div class="content"><i class="fa md-green fa-check"></i></div>
|
172
|
-
</td>
|
173
|
-
<td class="tableblock halign-left valign-top">
|
174
|
-
<p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
|
175
|
-
</td>
|
176
|
-
</tr>
|
177
|
-
<tr>
|
178
|
-
<td class="tableblock halign-left valign-top">
|
179
|
-
<p class="tableblock">{{cookie_options.categories.category_second_party}}</p>
|
180
|
-
</td>
|
181
|
-
<td class="tableblock halign-left valign-top">
|
182
|
-
<div class="content"><i class="fa md-green fa-check"></i></div>
|
183
|
-
</td>
|
184
|
-
<td class="tableblock halign-left valign-top">
|
185
|
-
<p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
|
186
|
-
</td>
|
187
|
-
</tr>
|
188
|
-
</tbody>
|
189
|
-
</table>
|
190
|
-
</div>
|
191
|
-
{% endif %}
|
192
|
-
<div class="card-description">{{ cookie_options.cookie_policy_text | asciidocify}}</div>
|
193
|
-
</div>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
{% endif %}
|
197
|
-
</div> <!-- END Hidden Content -->
|
198
|
-
</div> <!-- END Content -->
|
199
|
-
</div>
|
200
|
-
</div> <!-- END Modal -->
|
201
|
-
{% comment %} END Modal cookie consent dialog
|
202
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
203
|
-
|
204
|
-
{% comment %} Modal revoke cookies dialog
|
205
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
206
|
-
<div id="cookieRevokeCentralDanger"
|
207
|
-
class="modal fade top"
|
208
|
-
tabindex="-1"
|
209
|
-
role="dialog"
|
210
|
-
data-backdrop="false"
|
211
|
-
aria-modal="true"
|
212
|
-
aria-labelledby="RevokeCookieConsent">
|
213
|
-
<div class="modal-dialog modal-frame modal-top modal-notify modal-danger" role="document">
|
214
|
-
<!-- Content -->
|
215
|
-
<div class="modal-content">
|
216
|
-
<!--Header-->
|
217
|
-
<div class="modal-header">
|
218
|
-
<p class="lead">Revoke Cookie Consent</p>
|
219
|
-
</div>
|
220
|
-
<!--END Header-->
|
221
|
-
<!-- Body -->
|
222
|
-
<div class="modal-body">
|
223
|
-
<div class="text-left">
|
224
|
-
<div class="sectionbody">
|
225
|
-
<div class="paragraph">
|
226
|
-
<p>If you do <strong>not</strong> wish to receive <strong>cookies</strong> anymore from <strong>this site</strong>, you can
|
227
|
-
revoke the cookie consent you’ve given. Furthermore, you may be able to refuse
|
228
|
-
them by adjusting your <strong>browser</strong> settings to <strong>reject on cookies</strong>.
|
229
|
-
</p>
|
230
|
-
</div>
|
231
|
-
<!-- div class="admonitionblock caution">
|
232
|
-
<table>
|
233
|
-
<tbody>
|
234
|
-
<tr>
|
235
|
-
<td class="icon">
|
236
|
-
<i class="fa icon-caution" title="Caution"></i>
|
237
|
-
</td>
|
238
|
-
<td class="content">
|
239
|
-
If you have previously visited our website — or any pages this
|
240
|
-
session — <strong>and</strong> agreed on the use of cookies, you may also have to
|
241
|
-
<strong>delete</strong> already existing <strong>cookies</strong> by your <strong>browser</strong> in order to clean
|
242
|
-
all cookies left.
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
</tbody>
|
246
|
-
</table>
|
247
|
-
</div -->
|
248
|
-
<!-- div class="paragraph">
|
249
|
-
<p>
|
250
|
-
You are about to <strong>disagree</strong> on cookies used by this site.
|
251
|
-
If you do so, this site is <strong>unable</strong> to offer you any of our
|
252
|
-
<strong>functionalities</strong>, <strong>services</strong> or <strong>support</strong>.
|
253
|
-
</p>
|
254
|
-
</div -->
|
255
|
-
</div>
|
256
|
-
</div>
|
257
|
-
<!-- END Body -->
|
258
|
-
<!-- Footer -->
|
259
|
-
<div class="modal-footer justify-content-center">
|
260
|
-
<a id="revokeCookies" type="button"
|
261
|
-
class="btn btn-raised btn-flex btn-danger mb-2 mr-2" style="width: 25rem"
|
262
|
-
data-dismiss="modal">
|
263
|
-
<i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
|
264
|
-
{{cookie_options.buttons.revoke_button_text}}
|
265
|
-
</a>
|
266
|
-
<a id="remainCookies" type="button"
|
267
|
-
class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 25rem"
|
268
|
-
data-dismiss="modal">
|
269
|
-
<i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
|
270
|
-
{{cookie_options.buttons.do_nothing_button_text}}
|
271
|
-
</a>
|
272
|
-
</div> <!-- END Footer -->
|
273
|
-
</div> <!-- END Body -->
|
274
|
-
</div> <!-- END Content -->
|
275
|
-
</div>
|
276
|
-
</div> <!-- END Modal -->
|
277
|
-
{% comment %} END Modal revoke cookies dialog
|
278
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
279
|
-
</div>
|
280
|
-
|
281
|
-
{% endcapture %}
|
282
|
-
|
283
|
-
{% if production %}
|
284
|
-
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
285
|
-
{% else %}
|
286
|
-
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
287
|
-
{% endif %}
|
288
|
-
{% assign cache = nil %}
|
@@ -1,256 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
{% capture cache %}
|
5
|
-
|
6
|
-
{% comment %}
|
7
|
-
# -----------------------------------------------------------------------------
|
8
|
-
# ~/assets/data/footer.html
|
9
|
-
# Liquid procedure to generate HTML (data) portion of the page footer for
|
10
|
-
# (fragmented) AJAX load
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# https://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2021 Juergen Adams
|
16
|
-
#
|
17
|
-
# J1 Template is licensed under the MIT License.
|
18
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
-
# -----------------------------------------------------------------------------
|
20
|
-
# Test data:
|
21
|
-
# {{ variable | debug }}
|
22
|
-
# -----------------------------------------------------------------------------
|
23
|
-
{% endcomment %}
|
24
|
-
|
25
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Footer generated: {{site.time}}] -->
|
26
|
-
|
27
|
-
{% comment %} Liquid procedures
|
28
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
-
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
30
|
-
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
31
|
-
{% capture about_box %}themes/{{site.template.name}}/blocks/footer/boxes/about_box.proc{% endcapture %}
|
32
|
-
{% capture news_box %}themes/{{site.template.name}}/blocks/footer/boxes/news_box.proc{% endcapture %}
|
33
|
-
{% capture links_box %}themes/{{site.template.name}}/blocks/footer/boxes/links_box.proc{% endcapture %}
|
34
|
-
{% capture contacts_box %}themes/{{site.template.name}}/blocks/footer/boxes/contacts_box.proc{% endcapture %}
|
35
|
-
{% capture legal_statements %}themes/{{site.template.name}}/blocks/footer/boxes/legal_statements.proc{% endcapture %}
|
36
|
-
{% capture issue %}themes/{{site.template.name}}/blocks/footer/boxes/issue.proc{% endcapture %}
|
37
|
-
{% capture social_media_icons %}themes/{{site.template.name}}/blocks/footer/boxes/social_media_icons.proc{% endcapture %}
|
38
|
-
|
39
|
-
{% comment %} Process YML config data
|
40
|
-
================================================================================ {% endcomment %}
|
41
|
-
|
42
|
-
{% comment %} Set config data
|
43
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
-
{% assign environment = site.environment %}
|
45
|
-
|
46
|
-
{% comment %} Set config files
|
47
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
-
{% assign blocks = site.data.blocks %}
|
49
|
-
{% assign footer_defaults = blocks.defaults.footer %}
|
50
|
-
{% assign footer_settings = blocks.footer %}
|
51
|
-
|
52
|
-
{% comment %} Set config data
|
53
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
54
|
-
{% assign footer_config_defaults = footer_defaults %}
|
55
|
-
{% assign footer_config_settings = footer_settings %}
|
56
|
-
|
57
|
-
{% comment %} Set config options (disabled for now)
|
58
|
-
--------------------------------------------------------------------------------
|
59
|
-
{% assign footer_options = footer_defaults | merge: footer_settings %}
|
60
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
61
|
-
|
62
|
-
{% comment %} Variables
|
63
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
64
|
-
{% assign production = false %}
|
65
|
-
{% if environment == 'prod' or environment == 'production' %}
|
66
|
-
{% assign production = true %}
|
67
|
-
{% endif %}
|
68
|
-
|
69
|
-
{% comment %} Set HELPER variables
|
70
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
71
|
-
{% capture footer_config_file_name %}~/_data/modules/footer.yml{% endcapture %}
|
72
|
-
|
73
|
-
<!-- [INFO ] [j1.assets.data.footer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
74
|
-
<head>
|
75
|
-
<meta name="robots" content="noindex, nofollow" />
|
76
|
-
</head>
|
77
|
-
|
78
|
-
{% comment %} Main
|
79
|
-
================================================================================ {% endcomment %}
|
80
|
-
{% for items in footer_config_settings %}
|
81
|
-
{% assign key = items[0] %}
|
82
|
-
{% assign value = items[1] %}
|
83
|
-
{% assign footer_config = value %}
|
84
|
-
|
85
|
-
{% for items in footer_config %}
|
86
|
-
{% for footers in items %}
|
87
|
-
|
88
|
-
{% if debug %} footers: {{ footers }} {% endif %}
|
89
|
-
|
90
|
-
{% comment %} parse settings for MAIN keys
|
91
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
92
|
-
{% for footer in footers %}
|
93
|
-
{% assign data_type = footer | is_type %}
|
94
|
-
{% if data_type == 'hash' %}
|
95
|
-
{% assign footer_settings = footer %}
|
96
|
-
{% endif %}
|
97
|
-
{% endfor %}
|
98
|
-
|
99
|
-
{% if debug %} <!-- footer_settings.boxes: {{ footer_settings.boxes }} --> {% endif %}
|
100
|
-
|
101
|
-
|
102
|
-
{% comment %} process current footer
|
103
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
104
|
-
{% if footer_settings.enabled %}
|
105
|
-
|
106
|
-
{% assign enabled_boxes = 0 %}
|
107
|
-
{% assign footer_options = footer_config_defaults.footer | merge: footer_settings %}
|
108
|
-
{% if debug %} <!-- footer_options: {{ footer_options }} --> {% endif %}
|
109
|
-
|
110
|
-
{% comment %} Calculate number of enabled footer boxes
|
111
|
-
------------------------------------------------------------------------ {% endcomment %}
|
112
|
-
{% for property in footer_options.boxes %}
|
113
|
-
{% if debug %} <!-- property: {{property}} --> {% endif %}
|
114
|
-
{% if property.enabled %} {% assign enabled_boxes = enabled_boxes | plus:1 %} {% endif %}
|
115
|
-
{% endfor %}
|
116
|
-
{% assign footer_box_width_md = 12 | divided_by:enabled_boxes %}
|
117
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Set footer box column width to: {{ footer_box_width_md }}] -->
|
118
|
-
|
119
|
-
<!-- div id="{{footer_config_defaults.container-id}}" class="{{footer_options.theme}}" -->
|
120
|
-
<div id="{{footer_config_defaults.container-id}}">
|
121
|
-
<div class="footer">
|
122
|
-
|
123
|
-
<div class="container">
|
124
|
-
<div class="row">
|
125
|
-
|
126
|
-
{% comment %} Collect footer config data
|
127
|
-
------------------------------------------------------------------ {% endcomment %}
|
128
|
-
{% for box in footer_options.boxes %}
|
129
|
-
|
130
|
-
{% comment %} COLLECT|PLACE footer boxes
|
131
|
-
---------------------------------------------------------------- {% endcomment %}
|
132
|
-
{% case box.type %}
|
133
|
-
|
134
|
-
{% comment %} PLACE AboutBox
|
135
|
-
---------------------------------------------------------------- {% endcomment %}
|
136
|
-
{% when 'about' %}
|
137
|
-
{% if box.enabled %}
|
138
|
-
{% include {{about_box}} title=box.title tagline=box.tagline text=box.text justify=box.justify %}
|
139
|
-
{% endif %}
|
140
|
-
|
141
|
-
{% comment %} Reset element variable
|
142
|
-
-------------------------------------------------------------- {% endcomment %}
|
143
|
-
{% assign footer_options.boxes = nil %}
|
144
|
-
|
145
|
-
{% comment %} PLACE NewsBox
|
146
|
-
---------------------------------------------------------------- {% endcomment %}
|
147
|
-
{% when 'news' %}
|
148
|
-
{% if box.enabled %}
|
149
|
-
{% include {{news_box}} title=box.title tagline=box.tagline category=box.category max_posts=box.max_posts posts=site.posts %}
|
150
|
-
{% endif %}
|
151
|
-
|
152
|
-
{% comment %} Reset element variable
|
153
|
-
-------------------------------------------------------------- {% endcomment %}
|
154
|
-
{% assign footer_options.boxes = nil %}
|
155
|
-
|
156
|
-
{% comment %} PLACE LinksBox
|
157
|
-
--------------------------------------------------------------- {% endcomment %}
|
158
|
-
{% when 'references' %}
|
159
|
-
{% if box.enabled %}
|
160
|
-
{% include {{links_box}} title=box.title tagline=box.tagline links=box.links %}
|
161
|
-
{% endif %}
|
162
|
-
|
163
|
-
{% comment %} Reset element variable
|
164
|
-
-------------------------------------------------------------- {% endcomment %}
|
165
|
-
{% assign footer_options.boxes = nil %}
|
166
|
-
|
167
|
-
{% comment %} PLACE ContactsBox
|
168
|
-
--------------------------------------------------------------- {% endcomment %}
|
169
|
-
{% when 'contact' %}
|
170
|
-
{% if box.enabled %}
|
171
|
-
{% include {{contacts_box}} %}
|
172
|
-
{% endif %}
|
173
|
-
|
174
|
-
{% comment %} Reset element variable
|
175
|
-
-------------------------------------------------------------- {% endcomment %}
|
176
|
-
{% assign footer_options.boxes = nil %}
|
177
|
-
|
178
|
-
{% else %}
|
179
|
-
{% comment %} Collect EXCEPTION
|
180
|
-
-------------------------------------------------------------- {% endcomment %}
|
181
|
-
{% unless box.type == 'exception_container' %}
|
182
|
-
<div id="exception_container">
|
183
|
-
<div id="{{panel_settings.id}}" class="container-fluid no-padding">
|
184
|
-
<div class="col-md-12 col-sm-12 col-xs-12 no-padding">
|
185
|
-
<div class="box">
|
186
|
-
<div class="content content-danger">
|
187
|
-
<h2 class="notoc">
|
188
|
-
<i class="mdi mdi-alarm-light mdi-3x mdi-md-red mr-1"></i>
|
189
|
-
panel of type <big>{{panel_settings.type}}</big> not found
|
190
|
-
</h2>
|
191
|
-
<h4 class="notoc box-title">Check your configuration at {{panel_config_file_name}}</h4>
|
192
|
-
<div class="box-description">
|
193
|
-
Don't worry about this. Maybe you've a typo in the panel configuration.
|
194
|
-
Check the panel config file for the unknown type. <br />
|
195
|
-
Check for something wrong like:
|
196
|
-
<div class="mt-2 mb-2">
|
197
|
-
<b>id: {{panel_settings.id}}</b> <br />
|
198
|
-
<b>type: {{panel_settings.type}}</b> <br />
|
199
|
-
<b>comment: {{panel_settings.comment}}</b>
|
200
|
-
</div>
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
</div> <!-- End panel {{panel_settings.id}} -->
|
206
|
-
</div> <!-- End exception_container -->
|
207
|
-
{% endunless %}
|
208
|
-
|
209
|
-
{% endcase %}
|
210
|
-
|
211
|
-
{% comment %} END footer boxes
|
212
|
-
---------------------------------------------------------------- {% endcomment %}
|
213
|
-
|
214
|
-
{% endfor %}
|
215
|
-
</div>
|
216
|
-
</div>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
{% comment %} COLLECT|PLACE copyright|issue date information
|
220
|
-
---------------------------------------------------------------------- {% endcomment %}
|
221
|
-
<div class="copyright">
|
222
|
-
<div class="container">
|
223
|
-
<div class="row">
|
224
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Enable horizontal list using id #inline] -->
|
225
|
-
<div class="col-md-10" id="inline">
|
226
|
-
{% include {{legal_statements}} legals=footer_options.legals %}
|
227
|
-
</div>
|
228
|
-
<div class="col-md-10" id="inline">
|
229
|
-
{% include {{issue}} %}
|
230
|
-
</div>
|
231
|
-
<div class="col-md-2">
|
232
|
-
{% include {{social_media_icons}} icons=footer_options.icons %}
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
</div>
|
239
|
-
|
240
|
-
{% comment %} Reset element variables (already processed)
|
241
|
-
------------------------------------------------------------------------ {% endcomment %}
|
242
|
-
{% assign footer_settings = nil %}
|
243
|
-
|
244
|
-
{% endif %}
|
245
|
-
|
246
|
-
{% endfor %}
|
247
|
-
{% endfor %}
|
248
|
-
{% endfor %}
|
249
|
-
|
250
|
-
{% endcapture %}
|
251
|
-
{% if production %}
|
252
|
-
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
253
|
-
{% else %}
|
254
|
-
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
255
|
-
{% endif %}
|
256
|
-
{% assign cache = nil %}
|