j1-template 2021.1.2 → 2021.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +23 -9
  3. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
  5. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  6. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
  7. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -7
  8. data/_layouts/default.html +4 -7
  9. data/assets/data/authclient.html +231 -229
  10. data/assets/data/banner.html +30 -32
  11. data/assets/data/cookieconsent.html +249 -0
  12. data/assets/data/fam.html +1 -1
  13. data/assets/data/footer.html +1 -1
  14. data/assets/data/gallery_customizer.html +10 -5
  15. data/assets/data/menu.html +3 -3
  16. data/assets/data/mmenu.html +4 -3
  17. data/assets/data/mmenu_sidebar.html +1 -1
  18. data/assets/data/mmenu_toc.html +1 -1
  19. data/assets/data/panel.html +11 -10
  20. data/assets/data/quicklinks.html +20 -18
  21. data/assets/data/themes.json +6 -6
  22. data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +129 -55
  23. data/assets/themes/j1/adapter/js/j1.js +160 -151
  24. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
  25. data/assets/themes/j1/adapter/js/mmenu.js +8 -4
  26. data/assets/themes/j1/adapter/js/navigator.1.js +896 -0
  27. data/assets/themes/j1/adapter/js/navigator.2.js +928 -0
  28. data/assets/themes/j1/adapter/js/navigator.js +176 -209
  29. data/assets/themes/j1/adapter/js/themer.1.js +326 -0
  30. data/assets/themes/j1/adapter/js/themer.js +41 -57
  31. data/assets/themes/j1/adapter/js/toccer.js +4 -45
  32. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
  33. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  34. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3859 -187
  35. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  36. data/assets/themes/j1/core/js/template.js +3 -9
  37. data/assets/themes/j1/core/js/template.js.map +1 -1
  38. data/assets/themes/j1/core/js/template.min.js +3 -9
  39. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  40. data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
  41. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
  42. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
  43. data/assets/themes/j1/modules/fam/css/{uno → theme/uno}/fam.css +0 -0
  44. data/assets/themes/j1/modules/fam/css/theme/uno/fam.min.css +15 -0
  45. data/assets/themes/j1/modules/fam/js/fam.js +1 -6
  46. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  47. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  48. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  49. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  50. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  51. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  52. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  53. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  54. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.css → mmenu-light.css} +0 -0
  55. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.min.css → mmenu-light.min.css} +0 -0
  56. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.css → uno/mmenu.css} +0 -0
  57. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.min.css → uno/mmenu.min.css} +0 -0
  58. data/assets/themes/j1/modules/rtable/css/theme/{uno.css → uno/rtable.css} +0 -0
  59. data/assets/themes/j1/modules/rtable/css/theme/{uno.min.css → uno/rtable.min.css} +0 -0
  60. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +33 -47
  61. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +410 -2
  62. data/assets/themes/j1/modules/util/js/domready.js +146 -0
  63. data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
  64. data/lib/j1/version.rb +1 -1
  65. data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -3
  66. data/lib/starter_web/Gemfile +1 -1
  67. data/lib/starter_web/_config.yml +6 -5
  68. data/lib/starter_web/_data/_defaults/resources.yml +11 -8
  69. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
  70. data/lib/starter_web/_data/blocks/banner.yml +5 -3
  71. data/lib/starter_web/_data/blocks/panel.yml +9 -7
  72. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  73. data/lib/starter_web/_data/j1_config.yml +20 -17
  74. data/lib/starter_web/_data/layouts/default.yml +1 -1
  75. data/lib/starter_web/_data/layouts/home.yml +6 -5
  76. data/lib/starter_web/_data/layouts/page.yml +1 -1
  77. data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
  78. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
  79. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
  80. data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
  81. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
  82. data/lib/starter_web/_data/modules/navigator.yml +24 -21
  83. data/lib/starter_web/_data/pages/builder.yml +7 -7
  84. data/lib/starter_web/_data/private.default.yml +119 -0
  85. data/lib/starter_web/_data/private.yml +6 -6
  86. data/lib/starter_web/_data/resources.yml +15 -14
  87. data/lib/starter_web/_includes/attributes.asciidoc +10 -1
  88. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  89. data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
  90. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  91. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
  92. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +4 -4
  93. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -7
  94. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -7
  95. data/lib/starter_web/dot.gitignore +1 -1
  96. data/lib/starter_web/index.html +1 -1
  97. data/lib/starter_web/package.json +1 -1
  98. data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -3
  99. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +14 -8
  100. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +11 -8
  101. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +6 -5
  102. data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
  103. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
  104. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +104 -209
  105. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +6 -1
  106. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  107. data/lib/starter_web/utilsrv/package.json +1 -1
  108. metadata +26 -15
  109. data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
  110. data/assets/data/cookiebar.html +0 -285
  111. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -132
@@ -13,11 +13,16 @@ description: >
13
13
  tags: [ Jekyll, Template ]
14
14
  categories: [ Info, Introduction ]
15
15
 
16
+ robots:
17
+ index: false
18
+ follow: false
19
+
20
+
16
21
  comments: false
17
22
  fam_menu_id: page_ctrl_simple
18
23
 
19
24
  permalink: /pages/public/panels/intro_panel/
20
- regenerate: false
25
+ regenerate: true
21
26
 
22
27
  resources: [
23
28
  clipboard, rouge, carousel, lightbox,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2021.1.2",
4
+ "version": "2021.1.7",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2021.1.2",
4
+ "version": "2021.1.7",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: j1-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2021.1.2
4
+ version: 2021.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - juergen_jekyll_one
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-25 00:00:00.000000000 Z
11
+ date: 2021-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -284,7 +284,6 @@ files:
284
284
  - _includes/themes/j1/modules/connectors/translators/custom-translator.html
285
285
  - _includes/themes/j1/modules/connectors/translators/google-translator.html
286
286
  - _includes/themes/j1/modules/navigator/generator.html
287
- - _includes/themes/j1/modules/navigator/generator.org.html
288
287
  - _includes/themes/j1/modules/navigator/procedures/topsearch.proc
289
288
  - _includes/themes/j1/modules/search/algolia.html
290
289
  - _includes/themes/j1/modules/search/docsearch.html
@@ -335,7 +334,7 @@ files:
335
334
  - assets/data/authclient.html
336
335
  - assets/data/banner.html
337
336
  - assets/data/carousel.json
338
- - assets/data/cookiebar.html
337
+ - assets/data/cookieconsent.html
339
338
  - assets/data/fam.html
340
339
  - assets/data/footer.html
341
340
  - assets/data/galleries.json
@@ -367,7 +366,7 @@ files:
367
366
  - assets/themes/j1/adapter/js/bmd.js
368
367
  - assets/themes/j1/adapter/js/carousel.js
369
368
  - assets/themes/j1/adapter/js/clipboard.js
370
- - assets/themes/j1/adapter/js/cookiebar.js
369
+ - assets/themes/j1/adapter/js/cookieConsent.js
371
370
  - assets/themes/j1/adapter/js/fam.js
372
371
  - assets/themes/j1/adapter/js/framer.js
373
372
  - assets/themes/j1/adapter/js/j1.js
@@ -376,10 +375,13 @@ files:
376
375
  - assets/themes/j1/adapter/js/lightbox.js
377
376
  - assets/themes/j1/adapter/js/logger.js
378
377
  - assets/themes/j1/adapter/js/mmenu.js
378
+ - assets/themes/j1/adapter/js/navigator.1.js
379
+ - assets/themes/j1/adapter/js/navigator.2.js
379
380
  - assets/themes/j1/adapter/js/navigator.js
380
381
  - assets/themes/j1/adapter/js/quicksearch.js
381
382
  - assets/themes/j1/adapter/js/rouge.js
382
383
  - assets/themes/j1/adapter/js/rtable.js
384
+ - assets/themes/j1/adapter/js/themer.1.js
383
385
  - assets/themes/j1/adapter/js/themer.js
384
386
  - assets/themes/j1/adapter/js/toccer.js
385
387
  - assets/themes/j1/core/css/animate.css
@@ -548,6 +550,9 @@ files:
548
550
  - assets/themes/j1/modules/clipboard/css/theme/uno.min.css
549
551
  - assets/themes/j1/modules/clipboard/js/clipboard.js
550
552
  - assets/themes/j1/modules/clipboard/js/clipboard.min.js
553
+ - assets/themes/j1/modules/cookieConsent/LICENSE
554
+ - assets/themes/j1/modules/cookieConsent/js/cookieConsent.js
555
+ - assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js
551
556
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png
552
557
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png
553
558
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png
@@ -558,7 +563,8 @@ files:
558
563
  - assets/themes/j1/modules/datatables/css/theme/uno.css
559
564
  - assets/themes/j1/modules/datatables/js/datatables.js
560
565
  - assets/themes/j1/modules/datatables/js/datatables.min.js
561
- - assets/themes/j1/modules/fam/css/uno/fam.css
566
+ - assets/themes/j1/modules/fam/css/theme/uno/fam.css
567
+ - assets/themes/j1/modules/fam/css/theme/uno/fam.min.css
562
568
  - assets/themes/j1/modules/fam/js/fam.js
563
569
  - assets/themes/j1/modules/iconifyAPI/js/iconify.min.js
564
570
  - assets/themes/j1/modules/iframeResizer/LICENSE
@@ -819,10 +825,10 @@ files:
819
825
  - assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js
820
826
  - assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js
821
827
  - assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js
822
- - assets/themes/j1/modules/mmenuLight/css/mmenu.css
823
- - assets/themes/j1/modules/mmenuLight/css/mmenu.min.css
824
- - assets/themes/j1/modules/mmenuLight/css/theme/uno.css
825
- - assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css
828
+ - assets/themes/j1/modules/mmenuLight/css/mmenu-light.css
829
+ - assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css
830
+ - assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css
831
+ - assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css
826
832
  - assets/themes/j1/modules/mmenuLight/js/mmenu.js
827
833
  - assets/themes/j1/modules/mmenuLight/js/mmenu.min.js
828
834
  - assets/themes/j1/modules/popper/js/popper.js
@@ -854,8 +860,8 @@ files:
854
860
  - assets/themes/j1/modules/rtable/LICENSE
855
861
  - assets/themes/j1/modules/rtable/README.md
856
862
  - assets/themes/j1/modules/rtable/css/tablesaw.stackonly.css
857
- - assets/themes/j1/modules/rtable/css/theme/uno.css
858
- - assets/themes/j1/modules/rtable/css/theme/uno.min.css
863
+ - assets/themes/j1/modules/rtable/css/theme/uno/rtable.css
864
+ - assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css
859
865
  - assets/themes/j1/modules/rtable/js/rtable.js
860
866
  - assets/themes/j1/modules/rtable/js/rtable.min.js
861
867
  - assets/themes/j1/modules/rtable/js/tablesaw-init.js
@@ -869,6 +875,8 @@ files:
869
875
  - assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js
870
876
  - assets/themes/j1/modules/twemoji/js/twemoji.js
871
877
  - assets/themes/j1/modules/twemoji/js/twemoji.min.js
878
+ - assets/themes/j1/modules/util/js/domready.js
879
+ - assets/themes/j1/modules/util/js/gtag-opt-in.js
872
880
  - assets/themes/j1/modules/util/js/js.cookie.js
873
881
  - assets/themes/j1/modules/util/js/lite-url.js
874
882
  - assets/themes/j1/modules/util/js/lite-url.min.js
@@ -1009,10 +1017,10 @@ files:
1009
1017
  - lib/starter_web/_data/modules/advertising.yml
1010
1018
  - lib/starter_web/_data/modules/attics.yml
1011
1019
  - lib/starter_web/_data/modules/authentication.yml
1012
- - lib/starter_web/_data/modules/cookiebar.yml
1020
+ - lib/starter_web/_data/modules/cookieconsent.yml
1013
1021
  - lib/starter_web/_data/modules/defaults/attics.yml
1014
1022
  - lib/starter_web/_data/modules/defaults/authentication.yml
1015
- - lib/starter_web/_data/modules/defaults/cookiebar.yml
1023
+ - lib/starter_web/_data/modules/defaults/cookieconsent.yml
1016
1024
  - lib/starter_web/_data/modules/defaults/fam.yml
1017
1025
  - lib/starter_web/_data/modules/defaults/framer.yml
1018
1026
  - lib/starter_web/_data/modules/defaults/log4javascript.yml
@@ -1033,6 +1041,7 @@ files:
1033
1041
  - lib/starter_web/_data/pages/builder.yml
1034
1042
  - lib/starter_web/_data/plugins/defaults/paginator.yml
1035
1043
  - lib/starter_web/_data/plugins/paginator.yml
1044
+ - lib/starter_web/_data/private.default.yml
1036
1045
  - lib/starter_web/_data/private.yml
1037
1046
  - lib/starter_web/_data/resources.yml
1038
1047
  - lib/starter_web/_data/utilities/defaults/util_srv.yml
@@ -1089,12 +1098,13 @@ files:
1089
1098
  - lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg
1090
1099
  - lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
1091
1100
  - lib/starter_web/assets/images/modules/attics/christa-dodoo-1920x1280.jpg
1092
- - lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg
1101
+ - lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg
1093
1102
  - lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg
1094
1103
  - lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg
1095
1104
  - lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg
1096
1105
  - lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg
1097
1106
  - lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg
1107
+ - lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg
1098
1108
  - lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg
1099
1109
  - lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg
1100
1110
  - lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg
@@ -1344,6 +1354,7 @@ files:
1344
1354
  - lib/starter_web/pages/public/blog/navigator/archive/dateview.html
1345
1355
  - lib/starter_web/pages/public/blog/navigator/archive/tagview.html
1346
1356
  - lib/starter_web/pages/public/blog/navigator/index.html
1357
+ - lib/starter_web/pages/public/cookieConsent.adoc
1347
1358
  - lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc
1348
1359
  - lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc
1349
1360
  - lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc
@@ -1,232 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/navigator/generator.html
4
- # Liquid HTML template to create the Navigation System for J1 Template
5
- # (includes all containers needed for MMenu)
6
- #
7
- # Product/Info:
8
- # https://jekyll.one
9
- #
10
- # Copyright (C) 2021 Juergen Adams
11
- #
12
- # J1 Template is licensed under the MIT License.
13
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
- #
15
- # -----------------------------------------------------------------------------
16
- # Test data:
17
- # liquid_var: {{ liquid_var | debug }}
18
- #
19
- # -----------------------------------------------------------------------------
20
- {% endcomment %}
21
-
22
- {% comment %} Liquid procedures
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% include themes/{{site.template.name}}/procedures/global/setup.proc %}
25
- {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
26
- {% capture topsearch_create %}themes/{{site.template.name}}/modules/navigator/procedures/topsearch.proc{% endcapture %}
27
-
28
- {% comment %} Not longer used (loaded via AJAX)
29
- --------------------------------------------------------------------------------
30
- {% capture sidebar_create %}themes/{{site.template.name}}/modules/navigator/procedures/sidebar.proc{% endcapture %}
31
- {% capture quicklinks_create %}themes/{{site.template.name}}/modules/navigator/procedures/quicklinks.proc{% endcapture %}
32
- --------------------------------------------------------------------------------
33
- {% endcomment %}
34
-
35
-
36
- {% comment %} Process YML config data
37
- ================================================================================ {% endcomment %}
38
-
39
- {% comment %} Set config files
40
- -------------------------------------------------------------------------------- {% endcomment %}
41
- {% assign template_config = site.data.j1_config %}
42
- {% assign blocks = site.data.blocks %}
43
- {% assign modules = site.data.modules %}
44
-
45
- {% comment %} Set config files
46
- -------------------------------------------------------------------------------- {% endcomment %}
47
- {% assign authentication_defaults = modules.defaults.authentication.defaults %}
48
- {% assign authentication_settings = modules.authentication.settings %}
49
-
50
- {% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
51
- {% assign navigator_settings = site.data.modules.navigator.settings %}
52
-
53
- {% comment %} Cookie Consent module NOT used anymore
54
- --------------------------------------------------------------------------------
55
- {% assign consent_defaults = site.data.modules.defaults.cookie_consent.defaults %}
56
- {% assign consent_settings = site.data.modules.cookie_consent.settings %}
57
- {% assign cookie_consent_options = consent_defaults | merge: consent_settings %}
58
- -------------------------------------------------------------------------------- {% endcomment %}
59
-
60
- {% assign cookiebar_defaults = site.data.modules.defaults.cookiebar.defaults %}
61
- {% assign cookiebar_settings = site.data.modules.cookiebar.settings %}
62
-
63
- {% comment %} SSM module NOT used anymore
64
- --------------------------------------------------------------------------------
65
- {% assign ssm_settings = modules.ssm.settings %}
66
- {% assign ssm_defaults = modules.defaults.ssm.defaults %}
67
- {% assign ssm_options = ssm_defaults | merge: ssm_settings %}
68
- -------------------------------------------------------------------------------- {% endcomment %}
69
-
70
- {% comment %} Set config data
71
- -------------------------------------------------------------------------------- {% endcomment %}
72
- {% assign nav_bar_defaults = navigator_defaults.nav_bar %}
73
- {% assign nav_bar_settings = navigator_settings.nav_bar %}
74
- {% assign nav_quicklinks_defaults = navigator_defaults.nav_quicklinks %}
75
- {% assign nav_quicklinks_settings = navigator_settings.nav_quicklinks %}
76
- {% assign nav_topsearch_defaults = navigator_defaults.nav_topsearch %}
77
- {% assign nav_topsearch_settings = navigator_settings.nav_topsearch %}
78
-
79
- {% assign nav_authclient_defaults = authentication_defaults.auth_client %}
80
- {% assign nav_authclient_settings = authentication_settings.auth_client %}
81
-
82
- {% assign nav_mmenu_defaults = navigator_defaults.nav_mmenu %}
83
- {% assign nav_mmenu_settings = navigator_settings.nav_mmenu %}
84
-
85
- {% comment %} Set config options
86
- -------------------------------------------------------------------------------- {% endcomment %}
87
- {% assign nav_bar_options = nav_bar_defaults | merge: nav_bar_settings %}
88
- {% assign quicklinks_options = nav_quicklinks_defaults | merge: nav_quicklinks_settings %}
89
- {% assign topsearch_options = nav_topsearch_defaults | merge: nav_topsearch_settings %}
90
- {% assign authclient_options = nav_authclient_defaults | merge: nav_authclient_settings %}
91
- {% assign authentication_options = authentication_defaults | merge: authentication_settings %}
92
- {% assign auth_manager_options = authentication_options.j1_auth %}
93
- {% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
94
-
95
-
96
- {% comment %} Set navBarOptions
97
- -------------------------------------------------------------------------------- {% endcomment %}
98
- {% assign brand_position = nav_bar_options.brand_position %}
99
- {% assign nav_fixed = nav_bar_options.fixed %}
100
- {% assign nav_style = nav_bar_options.style %}
101
- {% assign nav_color = nav_bar_options.color %}
102
-
103
- {% comment %} Set global settings
104
- -------------------------------------------------------------------------------- {% endcomment %}
105
- {% assign nav_bar_id = navigator_defaults.nav_bar.xhr_container_id %}
106
- {% assign nav_menu_id = navigator_defaults.nav_menu.xhr_container_id %}
107
- {% assign nav_mmenu_id = navigator_defaults.nav_mmenu.xhr_container_id %}
108
- {% assign nav_sidebar_id = navigator_defaults.nav_sidebar.xhr_container_id %}
109
- {% assign nav_quicklinks_id = navigator_defaults.nav_quicklinks.xhr_container_id %}
110
- {% assign authclient_modals_id = authclient_options.xhr_container_id %}
111
- {% assign nav_navbar_media_breakpoint = navigator_defaults.nav_bar.media_breakpoint %}
112
-
113
- {% comment %} Set navBarProperties
114
- -------------------------------------------------------------------------------- {% endcomment %}
115
- {% if nav_fixed %}
116
- {% assign nav_bar_fixed = 'navbar-fixed' %}
117
- {% if nav_style == 'overlay' %} {% assign nav_bar_style = 'navbar-transparent' %} {% endif %}
118
- {% endif %}
119
-
120
- {% if nav_color == 'light' %}
121
- {% assign nav_bar_color = 'light' %}
122
- {% endif %}
123
-
124
- {% capture nav_bar_default_css_classes %}navbar navigator navbar-expand-{{nav_navbar_media_breakpoint}} navbar-default{% endcapture %}
125
-
126
- {% comment %} Main
127
- -------------------------------------------------------------------------------- {% endcomment %}
128
-
129
- {% comment %} Generate SSM container (not used anymore)
130
- --------------------------------------------------------------------------------
131
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for ssm ] -->
132
- {% if ssm_options.enabled %}
133
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place ssm container for AJAX load ] -->
134
- <nav id="ssm-container" class="ssm-btns-right ssm-anim-slide no-r-text"></nav>
135
- {% endif %}
136
- -------------------------------------------------------------------------------- {% endcomment %}
137
-
138
- {% comment %} Generate TopSearch container
139
- -------------------------------------------------------------------------------- {% endcomment %}
140
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for topsearch ] -->
141
- {% if topsearch_options.enabled %}
142
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: topsearch ] -->
143
- {% include {{ topsearch_create }} options=topsearch_options %}
144
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: topsearch ] -->
145
- {% endif %}
146
-
147
- {% comment %} Place MMobile NAV menu containers (HTML data loaded via AJAX)
148
- -------------------------------------------------------------------------------- {% endcomment %}
149
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: mmenu ] -->
150
- {% for item in nav_mmenu_options.menus %}
151
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ processing: {{item.menu.xhr_container_id}} ] -->
152
-
153
- {% comment %} Condition DISABLED for testing
154
- --------------------------------------------------------------------------------
155
- {% if item.menu.enabled %}
156
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
157
- <nav id="{{item.menu.xhr_container_id}}"></nav>
158
- {% endif %}
159
- -------------------------------------------------------------------------------- {% endcomment %}
160
-
161
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
162
- <nav id="{{item.menu.xhr_container_id}}"></nav>
163
-
164
- {% endfor %}
165
-
166
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: navigation ] -->
167
- <nav id="{{nav_bar_id}}" class="{{nav_bar_default_css_classes}} {{nav_bar_color}} {{nav_bar_fixed}} {{nav_bar_style}}">
168
-
169
- {% comment %} Place brand image
170
- ------------------------------------------------------------------------------ {% endcomment %}
171
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: sidebar ] -->
172
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: main menue ] -->
173
- {% if brand_position == "left" %}
174
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand image to the: left ] -->
175
- {% if site.brand.image %}
176
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
177
- {% else %}
178
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
179
- {% endif %}
180
- <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
181
- <i class="mdi mdi-menu mdi-48px"></i>
182
- </button>
183
- {% elsif brand_position == "right" %}
184
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to the: right ] -->
185
- {% if site.brand.image %}
186
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
187
- {% else %}
188
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
189
- {% endif %}
190
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mobile menu button to the: left ] -->
191
- <button id="mmenu-button" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
192
- <i class="mdi mdi-menu mdi-36px"></i>
193
- </button>
194
- {% else %}
195
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to default position: left ] -->
196
- {% if site.brand.image %}
197
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
198
- {% else %}
199
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
200
- {% endif %}
201
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place menu toggler to the: right ] -->
202
- <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
203
- <i class="mdi mdi-menu mdi-48px"></i>
204
- </button>
205
- {% endif %}
206
-
207
- {% comment %} Place Desktop NAV menu container (HTML data loaded via AJAX)
208
- ------------------------------------------------------------------------------ {% endcomment %}
209
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: nav bar ] -->
210
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place nav menu container for AJAX load (desktop) ] -->
211
- <div id="{{nav_menu_id}}" class="collapse"></div>
212
-
213
- {% comment %} Place|Hide Quicklinks container (HTML data loaded via AJAX)
214
- ------------------------------------------------------------------------------ {% endcomment %}
215
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for quicklinks ] -->
216
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ quicklinks enabled: {{quicklinks_options.enabled}} ] -->
217
- {% if quicklinks_options.enabled %}
218
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place container for: quicklinks ] -->
219
- <div id="{{nav_quicklinks_id}}" class="attr-nav collapse navbar-collapse justify-content-end"></div>
220
- {% endif %}
221
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing for: quicklinks ] -->
222
-
223
- </nav>
224
-
225
- {% comment %} Place container for sign in|out dialog used by J1 AuthClient
226
- -------------------------------------------------------------------------------- {% endcomment %}
227
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for: authclient ] -->
228
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ authclient enabled: {{auth_manager_options.enabled}} ] -->
229
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place container for: authclient ] -->
230
- <div id="{{authclient_modals_id}}" class="authclient_modals"></div>
231
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: auth_client ] -->
232
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: navigation ] -->
@@ -1,285 +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
- {% comment %} Modal cookie consent dialog
64
- -------------------------------------------------------------------------------- {% endcomment %}
65
- <div id="topFullCookieConsent" class="modal fade top"
66
- tabindex="-1"
67
- role="dialog"
68
- data-backdrop="false"
69
- aria-labelledby="myModalLabel"
70
- aria-hidden="true">
71
- <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
72
-
73
- <!-- Content -->
74
- <div class="modal-content">
75
-
76
- <!--Header-->
77
- <div class="modal-header">
78
- <p class="lead">{{cookie_options.consent_modals_title}}</p>
79
- </div>
80
-
81
- <!-- Body -->
82
- <div class="modal-body">
83
-
84
- <!-- About cookies -->
85
- <div class="px-2">
86
- <p class="pt-1 pr-2">{{cookie_options.policy_about}}</p>
87
- </div>
88
- </div> <!-- END Body -->
89
-
90
- <!-- Footer -->
91
- <div class="modal-footer justify-content-center">
92
- {% if cookie_options.buttons.policy_button %}
93
- <a id="policyButton" type="button"
94
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem">
95
- <i class="mdi mdi-18px mdi-white mdi-read mr-2"></i>
96
- {{cookie_options.buttons.policy_button_text}}
97
- </a>
98
- {% endif %}
99
- <a id="acceptButton" type="button"
100
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
101
- data-dismiss="modal">
102
- <i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
103
- {{cookie_options.buttons.accept_button_text}}
104
- </a>
105
- {% if cookie_options.buttons.decline_button %}
106
- <a id="declineButton" type="button"
107
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
108
- data-dismiss="modal">
109
- <i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
110
- {{cookie_options.buttons.decline_button_text}}
111
- </a>
112
- {% endif %}
113
- </div> <!-- END Footer -->
114
-
115
- <!-- Hidden Content -->
116
- <div class="cookie-policy">
117
- {% if cookie_options.buttons.policy_button_text %}
118
- <div id="modal-footer" class="modal-footer-hidden">
119
- <div id="cookiePolicyInfo" class="card card-flat" style="display: none">
120
- <div class="content">
121
- <h4 class="notoc card-title">{{cookie_options.cookie_policy_title}}</h4>
122
- <h6 class="notoc category text-gray">{{cookie_options.cookie_policy_tagline | asciidocify}}</h6>
123
-
124
- <!-- Cookie categories -->
125
- {% if cookie_options.categories.enabled %}
126
- <div class="px-2">
127
- <h6 class="card-subtitle text-muted mb-2 mr-2">{{cookie_options.categories.category_title}}</h6>
128
- <table class="tableblock frame-all grid-all stretch table-responsive-stacked-lg">
129
- <colgroup>
130
- <col style="width: 33.3333%;">
131
- <col style="width: 16.6666%;">
132
- <col style="width: 50.0001%;">
133
- </colgroup>
134
- <thead>
135
- <tr>
136
- <th class="tableblock halign-left valign-top">Cookie</th>
137
- <th class="tableblock halign-left valign-top">Usage</th>
138
- <th class="tableblock halign-left valign-top">Description</th>
139
- </tr>
140
- </thead>
141
- <tbody>
142
- <tr>
143
- <td class="tableblock halign-left valign-top">
144
- <p class="tableblock">{{cookie_options.categories.category_session}}</p>
145
- </td>
146
- <td class="tableblock halign-left valign-top">
147
- <div class="content"><i class="fa md-green fa-check"></i></div>
148
- </td>
149
- <td class="tableblock halign-left valign-top">
150
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
151
- </td>
152
- </tr>
153
- <tr>
154
- <td class="tableblock halign-left valign-top">
155
- <p class="tableblock">{{cookie_options.categories.category_persistent}}</p>
156
- </td>
157
- <td class="tableblock halign-left valign-top">
158
- <div class="content"><i class="fa md-green fa-check"></i></div>
159
- </td>
160
- <td class="tableblock halign-left valign-top">
161
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
162
- </td>
163
- </tr>
164
- <tr>
165
- <td class="tableblock halign-left valign-top">
166
- <p class="tableblock">{{cookie_options.categories.category_first_party}}</p>
167
- </td>
168
- <td class="tableblock halign-left valign-top">
169
- <div class="content"><i class="fa md-green fa-check"></i></div>
170
- </td>
171
- <td class="tableblock halign-left valign-top">
172
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
173
- </td>
174
- </tr>
175
- <tr>
176
- <td class="tableblock halign-left valign-top">
177
- <p class="tableblock">{{cookie_options.categories.category_second_party}}</p>
178
- </td>
179
- <td class="tableblock halign-left valign-top">
180
- <div class="content"><i class="fa md-green fa-check"></i></div>
181
- </td>
182
- <td class="tableblock halign-left valign-top">
183
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
184
- </td>
185
- </tr>
186
- </tbody>
187
- </table>
188
- </div>
189
- {% endif %}
190
- <div class="card-description">{{ cookie_options.cookie_policy_text | asciidocify}}</div>
191
- </div>
192
- </div>
193
- </div>
194
- {% endif %}
195
- </div> <!-- END Hidden Content -->
196
- </div> <!-- END Content -->
197
- </div>
198
- </div> <!-- END Modal -->
199
- {% comment %} END Modal cookie consent dialog
200
- -------------------------------------------------------------------------------- {% endcomment %}
201
-
202
- {% comment %} Modal revoke cookies dialog
203
- -------------------------------------------------------------------------------- {% endcomment %}
204
- <div id="cookieRevokeCentralDanger"
205
- class="modal fade top"
206
- tabindex="-1"
207
- role="dialog"
208
- data-backdrop="false"
209
- aria-modal="true"
210
- aria-labelledby="RevokeCookieConsent">
211
- <div class="modal-dialog modal-frame modal-top modal-notify modal-danger" role="document">
212
- <!-- Content -->
213
- <div class="modal-content">
214
- <!--Header-->
215
- <div class="modal-header">
216
- <p class="lead">Revoke Cookie Consent</p>
217
- </div>
218
- <!--END Header-->
219
- <!-- Body -->
220
- <div class="modal-body">
221
- <div class="text-left">
222
- <div class="sectionbody">
223
- <div class="paragraph">
224
- <p>If you do <strong>not</strong> wish to receive <strong>cookies</strong> anymore from <strong>this site</strong>, you can
225
- revoke the cookie consent you’ve given. Furthermore, you may be able to refuse
226
- them by adjusting your <strong>browser</strong> settings to <strong>reject on cookies</strong>.
227
- </p>
228
- </div>
229
- <!-- div class="admonitionblock caution">
230
- <table>
231
- <tbody>
232
- <tr>
233
- <td class="icon">
234
- <i class="fa icon-caution" title="Caution"></i>
235
- </td>
236
- <td class="content">
237
- If you have previously visited our website&thinsp;—&thinsp;or any pages this
238
- session&thinsp;—&thinsp;<strong>and</strong> agreed on the use of cookies, you may also have to
239
- <strong>delete</strong> already existing <strong>cookies</strong> by your <strong>browser</strong> in order to clean
240
- all cookies left.
241
- </td>
242
- </tr>
243
- </tbody>
244
- </table>
245
- </div -->
246
- <!-- div class="paragraph">
247
- <p>
248
- You are about to <strong>disagree</strong> on cookies used by this site.
249
- If you do so, this site is <strong>unable</strong> to offer you any of our
250
- <strong>functionalities</strong>, <strong>services</strong> or <strong>support</strong>.
251
- </p>
252
- </div -->
253
- </div>
254
- </div>
255
- <!-- END Body -->
256
- <!-- Footer -->
257
- <div class="modal-footer justify-content-center">
258
- <a id="revokeCookies" type="button"
259
- class="btn btn-raised btn-flex btn-danger mb-2 mr-2" style="width: 25rem"
260
- data-dismiss="modal">
261
- <i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
262
- {{cookie_options.buttons.revoke_button_text}}
263
- </a>
264
- <a id="remainCookies" type="button"
265
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 25rem"
266
- data-dismiss="modal">
267
- <i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
268
- {{cookie_options.buttons.do_nothing_button_text}}
269
- </a>
270
- </div> <!-- END Footer -->
271
- </div> <!-- END Body -->
272
- </div> <!-- END Content -->
273
- </div>
274
- </div> <!-- END Modal -->
275
- {% comment %} END Modal revoke cookies dialog
276
- -------------------------------------------------------------------------------- {% endcomment %}
277
-
278
- {% endcapture %}
279
-
280
- {% if production %}
281
- {% 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 %}
282
- {% else %}
283
- {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
284
- {% endif %}
285
- {% assign cache = nil %}