j1-template 2022.0.10 → 2022.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/advertising.js +66 -48
  3. data/assets/themes/j1/adapter/js/algolia.js +10 -13
  4. data/assets/themes/j1/adapter/js/analytics.js +259 -0
  5. data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
  6. data/assets/themes/j1/adapter/js/attic.js +10 -5
  7. data/assets/themes/j1/adapter/js/bmd.js +10 -14
  8. data/assets/themes/j1/adapter/js/carousel.js +10 -13
  9. data/assets/themes/j1/adapter/js/clipboard.js +9 -10
  10. data/assets/themes/j1/adapter/js/comments.js +407 -0
  11. data/assets/themes/j1/adapter/js/cookieConsent.js +106 -87
  12. data/assets/themes/j1/adapter/js/fab.js +11 -11
  13. data/assets/themes/j1/adapter/js/framer.js +60 -62
  14. data/assets/themes/j1/adapter/js/j1.js +225 -268
  15. data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
  16. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
  17. data/assets/themes/j1/adapter/js/lightbox.js +12 -9
  18. data/assets/themes/j1/adapter/js/logger.js +11 -5
  19. data/assets/themes/j1/adapter/js/mmenu.js +11 -12
  20. data/assets/themes/j1/adapter/js/navigator.js +13 -12
  21. data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
  22. data/assets/themes/j1/adapter/js/rouge.js +10 -13
  23. data/assets/themes/j1/adapter/js/rtable.js +10 -13
  24. data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
  25. data/assets/themes/j1/adapter/js/scroller.js +13 -11
  26. data/assets/themes/j1/adapter/js/themer.js +12 -3
  27. data/assets/themes/j1/adapter/js/toccer.js +10 -13
  28. data/assets/themes/j1/adapter/js/translator.js +35 -81
  29. data/assets/themes/j1/core/js/template.js +13 -5
  30. data/assets/themes/j1/core/js/template.min.js +1 -1
  31. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  32. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +14 -4
  33. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  34. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  35. data/lib/j1/version.rb +1 -1
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +1 -9
  38. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  39. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  40. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  41. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  42. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  43. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  44. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  45. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  46. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  47. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  48. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  49. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  50. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  51. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  52. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  53. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  54. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  55. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  56. data/lib/starter_web/_data/j1_config.yml +0 -116
  57. data/lib/starter_web/_data/layouts/default.yml +14 -14
  58. data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
  59. data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
  60. data/lib/starter_web/_data/layouts/home.yml +1 -1
  61. data/lib/starter_web/_data/layouts/page.yml +7 -18
  62. data/lib/starter_web/_data/layouts/post.yml +0 -11
  63. data/lib/starter_web/_data/modules/advertising.yml +4 -14
  64. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  65. data/lib/starter_web/_data/modules/attics.yml +3 -2
  66. data/lib/starter_web/_data/modules/comments.yml +55 -0
  67. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  68. data/lib/starter_web/_data/modules/cookies.yml +6 -1
  69. data/lib/starter_web/_data/modules/defaults/advertising.yml +9 -9
  70. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  71. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  72. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  73. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  74. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  75. data/lib/starter_web/_data/modules/defaults/cookies.yml +107 -26
  76. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  77. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  78. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  79. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  80. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  81. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  82. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  83. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  84. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  85. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  86. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  87. data/lib/starter_web/_data/modules/fab.yml +3 -2
  88. data/lib/starter_web/_data/modules/framer.yml +3 -4
  89. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  90. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  91. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  92. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  93. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  94. data/lib/starter_web/_data/modules/themer.yml +2 -3
  95. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  96. data/lib/starter_web/_data/modules/translator.yml +1 -1
  97. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  98. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  99. data/lib/starter_web/_data/resources.yml +442 -309
  100. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  101. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  102. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  103. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
  104. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  105. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  106. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
  107. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
  108. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  109. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  110. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
  111. data/lib/starter_web/index.html +0 -3
  112. data/lib/starter_web/package.json +1 -1
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -4
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -4
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -4
  119. data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.no_ads.asciidoc → 100_present_images.base.asciidoc} +0 -0
  120. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  121. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
  122. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
  123. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  124. data/lib/starter_web/utilsrv/package.json +1 -1
  125. metadata +14 -26
  126. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  127. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  128. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  129. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  130. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  131. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  132. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  133. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  134. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  135. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  136. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  137. data/_includes/themes/j1/modules/connectors/comments +0 -64
  138. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  139. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  140. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  141. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  142. data/_includes/themes/j1/modules/connectors/translator +0 -58
  143. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  144. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  145. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  146. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  147. data/assets/data/disqus.js +0 -81
  148. data/assets/data/hyvor.js +0 -72
@@ -437,7 +437,7 @@ end::tables[]
437
437
  // -----------------------------------------------------------------------------
438
438
  tag::products[]
439
439
  :j1--license: MIT License
440
- :j1--version: 2022.0.10
440
+ :j1--version: 2022.0.14
441
441
  :j1--site-name: Jekyll One
442
442
  end::products[]
443
443
 
@@ -364,6 +364,6 @@ end
364
364
 
365
365
  module Jekyll
366
366
  module J1LunrSearch
367
- VERSION = '2022.0.10'
367
+ VERSION = '2022.0.14'
368
368
  end
369
369
  end
@@ -9,7 +9,7 @@ tags: [ J1, Jekyll ]
9
9
  image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
10
10
 
11
11
  regenerate: false
12
- resources: []
12
+ resources: [ animate ]
13
13
  resource_options:
14
14
  - attic:
15
15
  opacity: 0.5
@@ -9,7 +9,7 @@ image: /assets/images/modules/attics/cookies-19
9
9
 
10
10
  regenerate: false
11
11
 
12
- resources: []
12
+ resources: [ animate ]
13
13
  resource_options:
14
14
  - attic:
15
15
  padding_top: 400
@@ -0,0 +1,196 @@
1
+ ---
2
+ title: Cookies
3
+ tagline: good to know
4
+
5
+ categories: [ Knowledge ]
6
+ tags: [ Cookies ]
7
+
8
+ image: /assets/images/modules/attics/cookies-1920x1200.jpg
9
+
10
+ regenerate: false
11
+
12
+ resources: [ animate, advertising ]
13
+ resource_options:
14
+ - attic:
15
+ padding_top: 400
16
+ padding_bottom: 50
17
+ opacity: 0.5
18
+ slides:
19
+ - url: /assets/images/modules/attics/cookies-1920x1200.jpg
20
+ alt: Photo by Miroslava on Unsplash
21
+ # caption:
22
+ # text: Photo by Miroslava on Unsplash
23
+ # href: https://unsplash.com/@miroslava
24
+ badge:
25
+ type: unsplash
26
+ author: Miroslava
27
+ href: https://unsplash.com/@miroslava
28
+ ---
29
+
30
+ // Page Initializer
31
+ // =============================================================================
32
+ // Enable the Liquid Preprocessor
33
+ :page-liquid:
34
+
35
+ // Set (local) page attributes here
36
+ // -----------------------------------------------------------------------------
37
+ // :page--attr: <attr-value>
38
+
39
+ // Additional Asciidoc page attributes goes here
40
+ // -----------------------------------------------------------------------------
41
+ // :page-imagesdir: {{page.images.dir}}
42
+
43
+ // Place an excerpt at the most top position
44
+ // -----------------------------------------------------------------------------
45
+ [role="dropcap"]
46
+ Is it needed for visitors to know what cookies are about? No doubts, you're
47
+ requested to inform - in Europe for legal reasons. All users visiting websites
48
+ are bothered all the time to accept cookies. For good reasons.
49
+
50
+ excerpt__end
51
+
52
+ // Load Liquid procedures
53
+ // -----------------------------------------------------------------------------
54
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
55
+
56
+ // Load page attributes
57
+ // -----------------------------------------------------------------------------
58
+ {% include {{load_attributes}} scope="global" %}
59
+
60
+
61
+ // Page content
62
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
+
64
+ ++++
65
+ <!-- insert gad container -->
66
+ <div id="xxx..xx" class="mb-5">
67
+ <!-- display-ad-horizontal-1 -->
68
+ <ins class="adsbygoogle"
69
+ style="display:block"
70
+ data-ad-client="ca-pub-xxxx..xxx"
71
+ data-ad-slot="xxxx..xx"
72
+ data-ad-format="auto"
73
+ data-full-width-responsive="true">
74
+ </ins>
75
+ </div>
76
+ ++++
77
+
78
+ // Include sub-documents (if any)
79
+ // -----------------------------------------------------------------------------
80
+
81
+ == What are cookies technically
82
+
83
+ In short: a cookie is a small piece of data that a website asks your
84
+ browser to store on your computer or mobile device. The cookie allows the
85
+ website to "remember" your actions or preferences over time. All modern
86
+ browsers support cookies, but users can set their browsers to decline them
87
+ and can delete them whenever they like. Good to know.
88
+
89
+ Websites mainly use cookies for:
90
+
91
+ Identification::
92
+ Identify users
93
+
94
+ General information storage::
95
+ Remember users' custom preferences
96
+
97
+ Support::
98
+ Help users complete tasks without re-entering information when browsing from
99
+ one page to another or when visiting the site later.
100
+
101
+ Track behavioral::
102
+ Cookies can also be used for online behavioral target advertising and to
103
+ show adverts relevant to something that the user searched for in the past.
104
+ The webserver supplying the webpage can store a cookie on the user's
105
+ computer or mobile device.
106
+
107
+ All these cookies are called HTTP header cookies. Another way of storing
108
+ cookies is through JavaScript code contained or referenced on that page.
109
+ Each time the user requests a new page, the webserver can receive the
110
+ values of the cookies it previously set and return the page with content
111
+ relating to these values. Similarly, JavaScript code can read a
112
+ cookie belonging to its domain and act accordingly.
113
+
114
+ .How are they used
115
+ [NOTE]
116
+ ====
117
+ The web server supplying the webpage can store a cookie on the user's
118
+ computer or mobile device. An external web server that manages files
119
+ included or referenced in the web page can store cookies. All these
120
+ cookies are called HTTP header cookies. Another way of storing cookies
121
+ is through JavaScript code contained or referenced on that page.
122
+
123
+ Each time the user requests a new page, the web server can receive the
124
+ values of the cookies it previously set and return the page with content
125
+ relating to these values. Similarly, JavaScript code can read a
126
+ cookie belonging to its domain and act accordingly.
127
+ ====
128
+
129
+ == Types of cookies
130
+
131
+ HTTP cookies are essential to the modern Internet but potentially a
132
+ vulnerability to your privacy. As a necessary part of web browsing, cookies
133
+ help web developers give you more personal, convenient website visits.
134
+ Cookies let websites remember you, your website logins, shopping carts, and
135
+ more. But they can also be a treasure trove of private info for criminals
136
+ to spy on.
137
+
138
+ Since the data in cookies doesn't change, cookies themselves aren't harmful.
139
+ They *can't infect* computers with viruses or other malware. However, some
140
+ cyberattacks can hijack cookies and enable access to your browsing sessions.
141
+ The danger lies in their ability to track individuals' browsing histories.
142
+ Cookies generally can be classified by its *lifespan* and the *domain* to
143
+ which it belongs.
144
+
145
+ === By Lifespan
146
+
147
+ Cookies classified by *lifespan* are either a:
148
+
149
+ Session cookie::
150
+ Session cookies gets automatically deleted when the user closes the web browser
151
+ and all open window tabs.
152
+
153
+ Persistent cookie::
154
+ A persistent cookie *remains* on the user's computer/device for a pre-defined
155
+ period of time.
156
+
157
+ === By Domain
158
+
159
+ Cookies classified by the *domain* to which it belongs, are either of:
160
+
161
+ First-party cookie::
162
+ First-party cookie cookies are set by the webserver of the visited page
163
+ and share the *same domain* you're visiting. These are generally safer, as
164
+ long as users are browsing reputable websites or ones that have not been
165
+ compromised.
166
+
167
+ Third-party cookies::
168
+ Third-party cookies are stored by a *different* domain to the visited page.
169
+ This can happen when the webpage references a file located outside its domain.
170
+ Third-party cookies let advertisers or analytics companies track the user's
171
+ browsing history across the web on *any* sites that contain their ads.
172
+
173
+
174
+ == Security aspects on using cookies
175
+
176
+ Without cookies, the web would not work as it does today. However, since the
177
+ mid 90ies when cookies were invented, the web changed quite a lot, and so did
178
+ the attack methods on web applications; as mentioned, the Internet is not a
179
+ friendly place.
180
+
181
+ A well-known attack method is known as Cross-Site Request Forgery or short
182
+ *CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
183
+ unwanted actions. A cookie may play a *role* in such scenarios, but they are
184
+ not generally *unsafe* if you want, you can read more about that on the
185
+ CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
186
+
187
+ == How to control cookies
188
+
189
+ Users can take control, used or *not* used, or delete cookies. For more
190
+ details, see {url-about-cookies--home}[AboutCookies]. You can delete
191
+ all cookies that are already on your computer, and you can set most
192
+ browsers to prevent them from being placed.
193
+
194
+ If you do this, however, you may have to manually adjust some preferences
195
+ every time you visit a site, and some services and functionalities may not
196
+ work.
@@ -0,0 +1,182 @@
1
+ ---
2
+ title: Cookies
3
+ tagline: good to know
4
+
5
+ categories: [ Knowledge ]
6
+ tags: [ Cookies ]
7
+
8
+ image: /assets/images/modules/attics/cookies-1920x1200.jpg
9
+
10
+ regenerate: false
11
+
12
+ resources: [ animate, comments ]
13
+ resource_options:
14
+ - attic:
15
+ padding_top: 400
16
+ padding_bottom: 50
17
+ opacity: 0.5
18
+ slides:
19
+ - url: /assets/images/modules/attics/cookies-1920x1200.jpg
20
+ alt: Photo by Miroslava on Unsplash
21
+ # caption:
22
+ # text: Photo by Miroslava on Unsplash
23
+ # href: https://unsplash.com/@miroslava
24
+ badge:
25
+ type: unsplash
26
+ author: Miroslava
27
+ href: https://unsplash.com/@miroslava
28
+ ---
29
+
30
+ // Page Initializer
31
+ // =============================================================================
32
+ // Enable the Liquid Preprocessor
33
+ :page-liquid:
34
+
35
+ // Set (local) page attributes here
36
+ // -----------------------------------------------------------------------------
37
+ // :page--attr: <attr-value>
38
+
39
+ // Additional Asciidoc page attributes goes here
40
+ // -----------------------------------------------------------------------------
41
+ // :page-imagesdir: {{page.images.dir}}
42
+
43
+ // Place an excerpt at the most top position
44
+ // -----------------------------------------------------------------------------
45
+ [role="dropcap"]
46
+ Is it needed for visitors to know what cookies are about? No doubts, you're
47
+ requested to inform - in Europe for legal reasons. All users visiting websites
48
+ are bothered all the time to accept cookies. For good reasons.
49
+
50
+ excerpt__end
51
+
52
+ // Load Liquid procedures
53
+ // -----------------------------------------------------------------------------
54
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
55
+
56
+ // Load page attributes
57
+ // -----------------------------------------------------------------------------
58
+ {% include {{load_attributes}} scope="global" %}
59
+
60
+
61
+ // Page content
62
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
+
64
+ // Include sub-documents (if any)
65
+ // -----------------------------------------------------------------------------
66
+
67
+ == What are cookies technically
68
+
69
+ In short: a cookie is a small piece of data that a website asks your
70
+ browser to store on your computer or mobile device. The cookie allows the
71
+ website to "remember" your actions or preferences over time. All modern
72
+ browsers support cookies, but users can set their browsers to decline them
73
+ and can delete them whenever they like. Good to know.
74
+
75
+ Websites mainly use cookies for:
76
+
77
+ Identification::
78
+ Identify users
79
+
80
+ General information storage::
81
+ Remember users' custom preferences
82
+
83
+ Support::
84
+ Help users complete tasks without re-entering information when browsing from
85
+ one page to another or when visiting the site later.
86
+
87
+ Track behavioral::
88
+ Cookies can also be used for online behavioral target advertising and to
89
+ show adverts relevant to something that the user searched for in the past.
90
+ The webserver supplying the webpage can store a cookie on the user's
91
+ computer or mobile device.
92
+
93
+ All these cookies are called HTTP header cookies. Another way of storing
94
+ cookies is through JavaScript code contained or referenced on that page.
95
+ Each time the user requests a new page, the webserver can receive the
96
+ values of the cookies it previously set and return the page with content
97
+ relating to these values. Similarly, JavaScript code can read a
98
+ cookie belonging to its domain and act accordingly.
99
+
100
+ .How are they used
101
+ [NOTE]
102
+ ====
103
+ The web server supplying the webpage can store a cookie on the user's
104
+ computer or mobile device. An external web server that manages files
105
+ included or referenced in the web page can store cookies. All these
106
+ cookies are called HTTP header cookies. Another way of storing cookies
107
+ is through JavaScript code contained or referenced on that page.
108
+
109
+ Each time the user requests a new page, the web server can receive the
110
+ values of the cookies it previously set and return the page with content
111
+ relating to these values. Similarly, JavaScript code can read a
112
+ cookie belonging to its domain and act accordingly.
113
+ ====
114
+
115
+ == Types of cookies
116
+
117
+ HTTP cookies are essential to the modern Internet but potentially a
118
+ vulnerability to your privacy. As a necessary part of web browsing, cookies
119
+ help web developers give you more personal, convenient website visits.
120
+ Cookies let websites remember you, your website logins, shopping carts, and
121
+ more. But they can also be a treasure trove of private info for criminals
122
+ to spy on.
123
+
124
+ Since the data in cookies doesn't change, cookies themselves aren't harmful.
125
+ They *can't infect* computers with viruses or other malware. However, some
126
+ cyberattacks can hijack cookies and enable access to your browsing sessions.
127
+ The danger lies in their ability to track individuals' browsing histories.
128
+ Cookies generally can be classified by its *lifespan* and the *domain* to
129
+ which it belongs.
130
+
131
+ === By Lifespan
132
+
133
+ Cookies classified by *lifespan* are either a:
134
+
135
+ Session cookie::
136
+ Session cookies gets automatically deleted when the user closes the web browser
137
+ and all open window tabs.
138
+
139
+ Persistent cookie::
140
+ A persistent cookie *remains* on the user's computer/device for a pre-defined
141
+ period of time.
142
+
143
+ === By Domain
144
+
145
+ Cookies classified by the *domain* to which it belongs, are either of:
146
+
147
+ First-party cookie::
148
+ First-party cookie cookies are set by the webserver of the visited page
149
+ and share the *same domain* you're visiting. These are generally safer, as
150
+ long as users are browsing reputable websites or ones that have not been
151
+ compromised.
152
+
153
+ Third-party cookies::
154
+ Third-party cookies are stored by a *different* domain to the visited page.
155
+ This can happen when the webpage references a file located outside its domain.
156
+ Third-party cookies let advertisers or analytics companies track the user's
157
+ browsing history across the web on *any* sites that contain their ads.
158
+
159
+
160
+ == Security aspects on using cookies
161
+
162
+ Without cookies, the web would not work as it does today. However, since the
163
+ mid 90ies when cookies were invented, the web changed quite a lot, and so did
164
+ the attack methods on web applications; as mentioned, the Internet is not a
165
+ friendly place.
166
+
167
+ A well-known attack method is known as Cross-Site Request Forgery or short
168
+ *CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
169
+ unwanted actions. A cookie may play a *role* in such scenarios, but they are
170
+ not generally *unsafe* if you want, you can read more about that on the
171
+ CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
172
+
173
+ == How to control cookies
174
+
175
+ Users can take control, used or *not* used, or delete cookies. For more
176
+ details, see {url-about-cookies--home}[AboutCookies]. You can delete
177
+ all cookies that are already on your computer, and you can set most
178
+ browsers to prevent them from being placed.
179
+
180
+ If you do this, however, you may have to manually adjust some preferences
181
+ every time you visit a site, and some services and functionalities may not
182
+ work.
@@ -9,7 +9,7 @@ image: /assets/images/modules/attics/machine-ge
9
9
 
10
10
  regenerate: false
11
11
 
12
- resources: [ lightbox ]
12
+ resources: [ animate, lightbox ]
13
13
  resource_options:
14
14
  - attic:
15
15
  padding_top: 400
@@ -11,7 +11,7 @@ fab_menu_id: default
11
11
 
12
12
  regenerate: false
13
13
 
14
- resources: []
14
+ resources: [ animate ]
15
15
  resource_options:
16
16
  - attic:
17
17
  padding_top: 400
@@ -9,7 +9,7 @@ series: wiki-series
9
9
  image: /assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg
10
10
  regenerate: false
11
11
 
12
- resources: []
12
+ resources: [ animate ]
13
13
  resource_options:
14
14
  - toccer:
15
15
  collapseDepth: 3
@@ -10,7 +10,7 @@ image: /assets/images/collections/blog/wikipedi
10
10
 
11
11
  regenerate: false
12
12
 
13
- resources: []
13
+ resources: [ animate ]
14
14
  resource_options:
15
15
  - toccer:
16
16
  collapseDepth: 3
@@ -10,7 +10,7 @@ image: /assets/images/collections/blog/wikipedi
10
10
 
11
11
  regenerate: false
12
12
 
13
- resources: []
13
+ resources: [ animate ]
14
14
  resource_options:
15
15
  - toccer:
16
16
  collapseDepth: 3
@@ -22,9 +22,6 @@ robots:
22
22
  personalization: false
23
23
  exclude_from_search: false
24
24
 
25
- analytics: true
26
- comments: false
27
-
28
25
  fab_menu_id: default
29
26
  scrollbar: false
30
27
  toc: false
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1_starter",
4
- "version": "2022.0.10",
4
+ "version": "2022.0.14",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -21,7 +21,7 @@ robots:
21
21
  permalink: /pages/public/skeleton/documentation/000_intro/
22
22
  regenerate: false
23
23
 
24
- resources: []
24
+ resources: [ animate, clipboard, lightbox, rouge ]
25
25
  resource_options:
26
26
  - toccer:
27
27
  collapseDepth: 4
@@ -10,7 +10,7 @@ tags: [ Asciidoctor, PDF, Converter ]
10
10
  permalink: /pages/public/skeleton/documentation/100_converter/
11
11
  regenerate: false
12
12
 
13
- resources: [ animate, lightbox, clipboard, rouge ]
13
+ resources: [ animate, clipboard, lightbox, rouge ]
14
14
  resource_options:
15
15
  - toccer:
16
16
  collapseDepth: 2
@@ -9,7 +9,7 @@ tags: [ Asciidoctor, PDF, Converter ]
9
9
  permalink: /pages/public/skeleton/documentation/200_themes/
10
10
  regenerate: false
11
11
 
12
- resources: [ animate, lightbox, clipboard, rouge ]
12
+ resources: [ animate, clipboard, lightbox, rouge ]
13
13
  resource_options:
14
14
  - toccer:
15
15
  collapseDepth: 2
@@ -14,9 +14,6 @@ description: >
14
14
  categories: [ Knowledge ]
15
15
  tags: [ Asciidoc, Skeleton, Documentation, PDF ]
16
16
 
17
- sitemap: false
18
- comments: false
19
-
20
17
  robots:
21
18
  index: false
22
19
  follow: false
@@ -24,7 +21,7 @@ robots:
24
21
  permalink: /pages/public/skeleton/documentation/
25
22
  regenerate: false
26
23
 
27
- resources: [ clipboard, lightbox, rouge, animate ]
24
+ resources: [ animate, clipboard, lightbox, rouge ]
28
25
  resource_options:
29
26
  - toccer:
30
27
  collapseDepth: 4
@@ -12,9 +12,6 @@ description: >
12
12
  categories: [ Knowledge ]
13
13
  tags: [ Asciidoc, Skeleton, Document ]
14
14
 
15
- sitemap: false
16
- comments: false
17
-
18
15
  robots:
19
16
  index: false
20
17
  follow: false
@@ -22,7 +19,7 @@ robots:
22
19
  permalink: /pages/public/skeleton/multi/
23
20
  regenerate: false
24
21
 
25
- resources: [ lightbox, clipboard, rouge, animate ]
22
+ resources: [ animate, clipboard, lightbox, rouge ]
26
23
  resource_options:
27
24
  - toccer:
28
25
  collapseDepth: 4
@@ -11,9 +11,6 @@ description: >
11
11
  categories: [ Knowledge ]
12
12
  tags: [ Asciidoc, Skeleton, Document ]
13
13
 
14
- sitemap: false
15
- comments: false
16
-
17
14
  robots:
18
15
  index: false
19
16
  follow: false
@@ -21,7 +18,7 @@ robots:
21
18
  permalink: /pages/public/skeleton/simple/
22
19
  regenerate: false
23
20
 
24
- resources: [ clipboard, rouge, animate ]
21
+ resources: [ animate, clipboard, lightbox, rouge ]
25
22
  resource_options:
26
23
  - toccer:
27
24
  collapseDepth: 4