j1-template 2021.1.4 → 2021.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
  3. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
  4. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  5. data/_layouts/default.html +4 -7
  6. data/assets/data/cookieconsent.html +249 -0
  7. data/assets/data/quicklinks.html +18 -16
  8. data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +102 -54
  9. data/assets/themes/j1/adapter/js/j1.js +40 -15
  10. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +2 -2
  11. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  12. data/assets/themes/j1/core/js/template.js +3 -9
  13. data/assets/themes/j1/core/js/template.js.map +1 -1
  14. data/assets/themes/j1/core/js/template.min.js +3 -9
  15. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  16. data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
  17. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
  18. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
  19. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  20. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  21. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  22. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  23. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  24. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  25. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  26. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  27. data/assets/themes/j1/modules/util/js/domready.js +146 -0
  28. data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
  29. data/lib/j1/version.rb +3 -3
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/_config.yml +2 -1
  32. data/lib/starter_web/_data/_defaults/resources.yml +11 -8
  33. data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
  34. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
  35. data/lib/starter_web/_data/pages/builder.yml +7 -7
  36. data/lib/starter_web/_data/private.yml +6 -6
  37. data/lib/starter_web/_data/resources.yml +9 -7
  38. data/lib/starter_web/_includes/attributes.asciidoc +10 -1
  39. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  40. data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
  41. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  42. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
  43. data/lib/starter_web/package.json +1 -1
  44. data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
  45. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
  46. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +104 -209
  47. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  48. data/lib/starter_web/utilsrv/package.json +1 -1
  49. metadata +14 -13
  50. data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
  51. data/assets/data/cookiebar.html +0 -288
  52. data/assets/data/footer.new.1.html +0 -256
  53. data/assets/data/footer.new.2.html +0 -256
  54. data/assets/data/footer.org.html +0 -249
  55. data/assets/themes/j1/adapter/js/j1.new.js +0 -1878
  56. data/assets/themes/j1/adapter/js/j1.org.js +0 -1874
  57. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -133
@@ -1,133 +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_element: cookieConsentModals
31
- xhr_data_path: /assets/data/cookiebar/index.html
32
-
33
- modal_type: full
34
- modal_position: top
35
- consent_modal_id: cookiebar_consent_modals
36
- consent_modals_title: Privacy
37
-
38
- show_cookie_icon: false
39
- expireDays: 365
40
- renewOnVisit: false
41
- forceShow: false
42
- referrer: www.example.com
43
-
44
- strict: false # all pages requires a consent (currently NOT supported)
45
- show_consent_icon: true # show the consent icon (in quicklinks)
46
- show_consent_on_pending: false # on first visit, whitelisted pages does NOT require a consent (overloaded by strict)
47
- delete_cookies_on_decline: false # currently NOT supported
48
- whitelisted_pages: []
49
-
50
- categories:
51
- enabled: true
52
- category_title: Cookie usage by category
53
- category_description: Usage Information
54
- category_description_text: Cookies are used for content pages if marked
55
- category_session: Session
56
- category_persistent: Persistent
57
- category_first_party: 1st Party
58
- category_second_party: 2nd Party
59
-
60
- buttons:
61
- policy_button: false
62
- policy_button_text: Cookie Policy
63
- accept_button: true
64
- accept_button_text: Yes, I accept cookies
65
- decline_button: true
66
- decline_button_text: No, I refuse cookies
67
- revoke_button_text: Yes, please revoke cookie consent
68
- do_nothing_button_text: No, please do nothing
69
-
70
- policy_about: >
71
- This website uses cookies to ensure vistors get the best experience
72
- on our content, presented user-friendly, more effective and safer.
73
-
74
- cookie_policy_title: Cookie Policy
75
- cookie_policy_tagline: >
76
- Based on EU legislation on cookies.
77
- See
78
- http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:32009L0136:EN:NOT[Directive 2009/136/EC, window="_blank"] (ePrivacy Directive),
79
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32018R1725[Regulation (EU) 2018/1725, window="_blank"] (Data protection)
80
- for more details
81
-
82
- cookie_policy_text: >
83
- The operators of this website take protection of your personal data extremely
84
- seriously. We treat your personal data as confidential and comply with the
85
- data protection legislation and this privacy policy.
86
-
87
-
88
- A cookie is a commonly used automated data collection tool. Cookies are
89
- small text files that are placed on your computer or device by websites
90
- that you visit in order to make websites work, or work more efficiently.
91
-
92
-
93
- NOTE: If you do not wish to receive cookies you may be able to refuse them by
94
- adjusting your browser settings to reject cookies. If you do so, we may be
95
- unable to offer you some of our functionalities, services or support.
96
- If you have previously visited our websites, you may also have to delete
97
- any existing cookies from your browser.
98
-
99
-
100
- We, may our partners, make use of cookies, web beacons, pixel tags,
101
- scripts or other similar technologies on our websites to improve the
102
- browsing experience of our pages. We use different kinds of cookies.
103
-
104
-
105
- Cookies are classified by its *lifespan* and the *domain* to which it
106
- belongs.
107
-
108
-
109
- Session Cookie::
110
- Classified by *lifespan*. Necessary to provide you with services and
111
- features available through our websites. Without these cookies, services
112
- you may need, such as shopping carts or e-billing, cannot be provided.
113
-
114
-
115
- Persistent Cookie::
116
- Classified by *lifespan*. Necessary to provide you with services and
117
- features available through our websites. Without these cookies, services
118
- you may need, such as shopping carts or e-billing, cannot be provided.
119
-
120
-
121
- First-party Cookie::
122
- Classified by the *domain*. Collect information that is either used in
123
- aggregate form to help us understand how the website is being used or how
124
- effective our marketing campaigns are, or to help us customize the website
125
- for you.
126
-
127
-
128
- Second-party Cookie::
129
- Classified by the *domain*. Used to make advertising messages more
130
- relevant to you.
131
-
132
- # ------------------------------------------------------------------------------
133
- # END config