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
@@ -1,132 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/cookiebar.yml
3
- # Default configuration settings for J1 Cookiebar module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2021 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
- # ------------------------------------------------------------------------------
13
-
14
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
- title: Cookiebar
19
- scope: Default settings
20
- location: _data/modules/defaults/cookiebar.yml
21
-
22
- # ------------------------------------------------------------------------------
23
- # Default settings
24
- #
25
- defaults:
26
-
27
- enabled: false
28
-
29
- xhr_container_id: cookiebar_modals
30
- xhr_data_path: /assets/data/cookiebar/index.html
31
-
32
- modal_type: full
33
- modal_position: top
34
- consent_modal_id: cookiebar_consent_modals
35
- consent_modals_title: Privacy
36
-
37
- show_cookie_icon: false
38
- expireDays: 365
39
- renewOnVisit: false
40
- forceShow: false
41
- referrer: www.example.com
42
-
43
- strict: false # all pages requires a consent (currently NOT supported)
44
- show_consent_icon: true # show the consent icon (in quicklinks)
45
- show_consent_on_pending: false # on first visit, whitelisted pages does NOT require a consent (overloaded by strict)
46
- delete_cookies_on_decline: false # currently NOT supported
47
- whitelisted_pages: []
48
-
49
- categories:
50
- enabled: true
51
- category_title: Cookie usage by category
52
- category_description: Usage Information
53
- category_description_text: Cookies are used for content pages if marked
54
- category_session: Session
55
- category_persistent: Persistent
56
- category_first_party: 1st Party
57
- category_second_party: 2nd Party
58
-
59
- buttons:
60
- policy_button: false
61
- policy_button_text: Cookie Policy
62
- accept_button: true
63
- accept_button_text: Yes, I accept cookies
64
- decline_button: true
65
- decline_button_text: No, I refuse cookies
66
- revoke_button_text: Yes, please revoke cookie consent
67
- do_nothing_button_text: No, please do nothing
68
-
69
- policy_about: >
70
- This website uses cookies to ensure vistors get the best experience
71
- on our content, presented user-friendly, more effective and safer.
72
-
73
- cookie_policy_title: Cookie Policy
74
- cookie_policy_tagline: >
75
- Based on EU legislation on cookies.
76
- See
77
- http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:32009L0136:EN:NOT[Directive 2009/136/EC, window="_blank"] (ePrivacy Directive),
78
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32018R1725[Regulation (EU) 2018/1725, window="_blank"] (Data protection)
79
- for more details
80
-
81
- cookie_policy_text: >
82
- The operators of this website take protection of your personal data extremely
83
- seriously. We treat your personal data as confidential and comply with the
84
- data protection legislation and this privacy policy.
85
-
86
-
87
- A cookie is a commonly used automated data collection tool. Cookies are
88
- small text files that are placed on your computer or device by websites
89
- that you visit in order to make websites work, or work more efficiently.
90
-
91
-
92
- NOTE: If you do not wish to receive cookies you may be able to refuse them by
93
- adjusting your browser settings to reject cookies. If you do so, we may be
94
- unable to offer you some of our functionalities, services or support.
95
- If you have previously visited our websites, you may also have to delete
96
- any existing cookies from your browser.
97
-
98
-
99
- We, may our partners, make use of cookies, web beacons, pixel tags,
100
- scripts or other similar technologies on our websites to improve the
101
- browsing experience of our pages. We use different kinds of cookies.
102
-
103
-
104
- Cookies are classified by its *lifespan* and the *domain* to which it
105
- belongs.
106
-
107
-
108
- Session Cookie::
109
- Classified by *lifespan*. Necessary to provide you with services and
110
- features available through our websites. Without these cookies, services
111
- you may need, such as shopping carts or e-billing, cannot be provided.
112
-
113
-
114
- Persistent Cookie::
115
- Classified by *lifespan*. Necessary to provide you with services and
116
- features available through our websites. Without these cookies, services
117
- you may need, such as shopping carts or e-billing, cannot be provided.
118
-
119
-
120
- First-party Cookie::
121
- Classified by the *domain*. Collect information that is either used in
122
- aggregate form to help us understand how the website is being used or how
123
- effective our marketing campaigns are, or to help us customize the website
124
- for you.
125
-
126
-
127
- Second-party Cookie::
128
- Classified by the *domain*. Used to make advertising messages more
129
- relevant to you.
130
-
131
- # ------------------------------------------------------------------------------
132
- # END config