j1-template 2022.0.12 → 2022.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +61 -32
- data/assets/themes/j1/adapter/js/algolia.js +9 -9
- data/assets/themes/j1/adapter/js/analytics.js +46 -24
- data/assets/themes/j1/adapter/js/asciidoctor.js +9 -9
- data/assets/themes/j1/adapter/js/attic.js +9 -1
- data/assets/themes/j1/adapter/js/bmd.js +9 -10
- data/assets/themes/j1/adapter/js/carousel.js +9 -9
- data/assets/themes/j1/adapter/js/clipboard.js +8 -8
- data/assets/themes/j1/adapter/js/comments.js +31 -10
- data/assets/themes/j1/adapter/js/cookieConsent.js +70 -78
- data/assets/themes/j1/adapter/js/fab.js +10 -10
- data/assets/themes/j1/adapter/js/framer.js +59 -58
- data/assets/themes/j1/adapter/js/j1.js +139 -92
- data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -10
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +9 -9
- data/assets/themes/j1/adapter/js/lightbox.js +11 -4
- data/assets/themes/j1/adapter/js/logger.js +10 -3
- data/assets/themes/j1/adapter/js/mmenu.js +9 -9
- data/assets/themes/j1/adapter/js/navigator.js +9 -9
- data/assets/themes/j1/adapter/js/quicksearch.js +9 -9
- data/assets/themes/j1/adapter/js/rouge.js +9 -9
- data/assets/themes/j1/adapter/js/rtable.js +9 -9
- data/assets/themes/j1/adapter/js/rtextResizer.js +9 -9
- data/assets/themes/j1/adapter/js/scroller.js +12 -7
- data/assets/themes/j1/adapter/js/themer.js +11 -2
- data/assets/themes/j1/adapter/js/toccer.js +9 -9
- data/assets/themes/j1/adapter/js/translator.js +13 -16
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +14 -4
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +1 -1
- data/lib/starter_web/_data/modules/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/analytics.yml +1 -1
- data/lib/starter_web/_data/modules/cookies.yml +0 -2
- data/lib/starter_web/_data/modules/defaults/advertising.yml +0 -1
- data/lib/starter_web/_data/modules/defaults/comments.yml +4 -4
- data/lib/starter_web/_data/modules/defaults/cookies.yml +104 -36
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -3
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +4 -2
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
# ------------------------------------------------------------------------------
|
|
2
|
+
# ~/_data/layouts/home.yml
|
|
3
|
+
# Configuration data to specify the (HTML) Layout of all content
|
|
4
|
+
# pages of type HOME placed by the content loader
|
|
5
|
+
#
|
|
6
|
+
# Product/Info:
|
|
7
|
+
# https://jekyll.one
|
|
8
|
+
#
|
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
|
10
|
+
#
|
|
11
|
+
# J1 Template is licensed under the MIT License.
|
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
|
13
|
+
#
|
|
14
|
+
# ------------------------------------------------------------------------------
|
|
15
|
+
# NOTE:
|
|
16
|
+
# By J1 template, "Liquid Procedures" are being used intensively. To load
|
|
17
|
+
# HTML data for a layout, the loader procedure places the data based this
|
|
18
|
+
# YAML data file into the REGION specified with a LANE.
|
|
19
|
+
# ------------------------------------------------------------------------------
|
|
20
|
+
|
|
21
|
+
# ------------------------------------------------------------------------------
|
|
22
|
+
# Layout configuration settings
|
|
23
|
+
#
|
|
24
|
+
# lanes|lane
|
|
25
|
+
# ----------------------------------------------------------------------------
|
|
26
|
+
# Set LANE specific configuration parameters for a page LAYOUT. The
|
|
27
|
+
# LANES array contains multiple (lane) hashes that describes the type
|
|
28
|
+
# of the component that is loaded into a lane and their specific
|
|
29
|
+
# (placement) parameters.
|
|
30
|
+
#
|
|
31
|
+
# region
|
|
32
|
+
# ----------------------------------------------------------------------------
|
|
33
|
+
# J1 templates defines, based on the general structure of a HTML page
|
|
34
|
+
# (head|body), more specific REGIONS based on HTML5 semantic elements
|
|
35
|
+
# to place HTML data:
|
|
36
|
+
#
|
|
37
|
+
# head <head> section. Contains (site-wide) meta data and
|
|
38
|
+
# all CSS and JS files are to be loaded for a page.
|
|
39
|
+
# body-navigation <body> NAV section. Contains the main navigation bar.
|
|
40
|
+
# Placed a the BEGINNING of the <body> section.
|
|
41
|
+
# body-header <body> HEADER section. Contains the page banner (header).
|
|
42
|
+
# Placed AFTER the page navigation but BEFORE the main
|
|
43
|
+
# content (body-main) of a page.
|
|
44
|
+
# body-main <body> MAIN section. J1 template puts a <main> container
|
|
45
|
+
# element in the <body> section to place the (main) content.
|
|
46
|
+
# All content related elements are loaded into the region
|
|
47
|
+
# 'body-main'. Content may components like boxes, panels,
|
|
48
|
+
# quotes etc. and the document content like sections and
|
|
49
|
+
# articles.
|
|
50
|
+
# body-footer <body> FOOTER section. J1 template puts a <footer> element
|
|
51
|
+
# at the end of the <BODY> section. The body-footer region
|
|
52
|
+
# contains all elements that should be loaded at the end
|
|
53
|
+
# of a page; typically the page footer.
|
|
54
|
+
#
|
|
55
|
+
# values: head|body-navigation|body-header|body-main|body-footer
|
|
56
|
+
# default: no defaults
|
|
57
|
+
#
|
|
58
|
+
# type
|
|
59
|
+
# ----------------------------------------------------------------------------
|
|
60
|
+
# The (HTML) content of a lane can be included (from an include file) or
|
|
61
|
+
# loaded asychronously from a HTML data file by AJAX (get|load) calls.
|
|
62
|
+
# J1 template is using jQuery as an interface to AJAX calls.
|
|
63
|
+
#
|
|
64
|
+
# values: include|load
|
|
65
|
+
# default: no defaults
|
|
66
|
+
#
|
|
67
|
+
# source
|
|
68
|
+
# ----------------------------------------------------------------------------
|
|
69
|
+
# The parameter source defines a (site root relativ) path to the data
|
|
70
|
+
# source to be included or loaded.
|
|
71
|
+
#
|
|
72
|
+
# values: string (path)
|
|
73
|
+
# default: no defaults
|
|
74
|
+
#
|
|
75
|
+
# file
|
|
76
|
+
# ----------------------------------------------------------------------------
|
|
77
|
+
# Defines the data file to be included or loaded.
|
|
78
|
+
#
|
|
79
|
+
# values: string
|
|
80
|
+
# default: no defaults
|
|
81
|
+
#
|
|
82
|
+
# id
|
|
83
|
+
# ----------------------------------------------------------------------------
|
|
84
|
+
# Used for AJAX load calls (see parameter type). The id is used twice. First,
|
|
85
|
+
# id references a HTML fragment as part of the (HTML) data file (see parameter
|
|
86
|
+
# data below). Second, the id is used to identify the placeholder (div)
|
|
87
|
+
# element where the AJAX call puts the data on.
|
|
88
|
+
#
|
|
89
|
+
# values: string
|
|
90
|
+
# default: no defaults
|
|
91
|
+
#
|
|
92
|
+
# class
|
|
93
|
+
# ----------------------------------------------------------------------------
|
|
94
|
+
# Additional CSS classes that are put on the placeholder (div) element.
|
|
95
|
+
# Can be used for type 'load', only.
|
|
96
|
+
#
|
|
97
|
+
# values: string (CSS class name)
|
|
98
|
+
# default: no defaults
|
|
99
|
+
#
|
|
100
|
+
# ------------------------------------------------------------------------------
|
|
101
|
+
|
|
102
|
+
# ------------------------------------------------------------------------------
|
|
103
|
+
# Layout configuration settings
|
|
104
|
+
#
|
|
105
|
+
lanes:
|
|
106
|
+
|
|
107
|
+
# ----------------------------------------------------------------------------
|
|
108
|
+
# MASTER header
|
|
109
|
+
#
|
|
110
|
+
- lane:
|
|
111
|
+
enabled: true
|
|
112
|
+
region: body-header
|
|
113
|
+
type: sync
|
|
114
|
+
base: _includes/themes/j1
|
|
115
|
+
path: modules/attics
|
|
116
|
+
file: generator.html
|
|
117
|
+
|
|
118
|
+
# ----------------------------------------------------------------------------
|
|
119
|
+
# MASTER slider
|
|
120
|
+
#
|
|
121
|
+
- lane:
|
|
122
|
+
enabled: false
|
|
123
|
+
id: master_slider
|
|
124
|
+
region: body-header
|
|
125
|
+
type: async
|
|
126
|
+
properties: mb-0
|
|
127
|
+
|
|
128
|
+
# ----------------------------------------------------------------------------
|
|
129
|
+
# Top Advertisment
|
|
130
|
+
#
|
|
131
|
+
- lane:
|
|
132
|
+
enabled: false
|
|
133
|
+
region: body-header
|
|
134
|
+
id: google_ad_top_home
|
|
135
|
+
type: sync
|
|
136
|
+
base: _includes/themes/j1
|
|
137
|
+
path: modules/ads
|
|
138
|
+
file: google_ad_top_home.html
|
|
139
|
+
|
|
140
|
+
# ----------------------------------------------------------------------------
|
|
141
|
+
# PAGE CONTENT (region body-main)
|
|
142
|
+
#
|
|
143
|
+
# NOTE:
|
|
144
|
+
# The CONTENT of a post or page may already rendered (page contains HTML
|
|
145
|
+
# data) or unrendered (page contains MARKUP data). In both cases, rendered
|
|
146
|
+
# or unrendered content, a valid FRONTMATTER is needed to pass the data.
|
|
147
|
+
#
|
|
148
|
+
# The CONTENT generation for posts and pages depends on the data type,
|
|
149
|
+
# the MARKUP language (Markdown, Asciidoc) the page is using. The data
|
|
150
|
+
# type is specified by the file EXTENSION (e.g. ".md" for Markdown or
|
|
151
|
+
# ".adoc" for Asciidoc formatted content).
|
|
152
|
+
#
|
|
153
|
+
# To enable Jekyll running the render phase, the respective processor
|
|
154
|
+
# (e.g.kramdown for MARKDOWN or asciidoctor for ASCIIDOC) needs to be
|
|
155
|
+
# loaded and configured (Gemfile and the side-wide configuration file
|
|
156
|
+
# _config.yml).
|
|
157
|
+
#
|
|
158
|
+
# NOTE:
|
|
159
|
+
# The CONTENT of a PAGE is passed trough a (Liquid) wrapper procedure
|
|
160
|
+
# (page_content.html) to add or inject specific ADDITIONAL data like
|
|
161
|
+
# a TOC etc. that influences the resulting page.
|
|
162
|
+
#
|
|
163
|
+
# To modify the wrapper, DO NOT CHANGE the template files. See with
|
|
164
|
+
# ***URL*** how to create your own wrapper (and OVERLOAD the J1 template
|
|
165
|
+
# system with the data you provided).
|
|
166
|
+
#
|
|
167
|
+
# ----------------------------------------------------------------------------
|
|
168
|
+
|
|
169
|
+
# ----------------------------------------------------------------------------
|
|
170
|
+
# TEASER banner
|
|
171
|
+
#
|
|
172
|
+
- lane:
|
|
173
|
+
enabled: true
|
|
174
|
+
id: home_teaser_banner
|
|
175
|
+
region: body-main
|
|
176
|
+
type: async
|
|
177
|
+
properties: g-2 elevated-z0
|
|
178
|
+
|
|
179
|
+
# ----------------------------------------------------------------------------
|
|
180
|
+
# SERVICE panel
|
|
181
|
+
#
|
|
182
|
+
- lane:
|
|
183
|
+
enabled: false
|
|
184
|
+
id: home_service_panel
|
|
185
|
+
region: body-main
|
|
186
|
+
type: async
|
|
187
|
+
properties: g-2 elevated-z0
|
|
188
|
+
|
|
189
|
+
# ----------------------------------------------------------------------------
|
|
190
|
+
# DIVIDER banner
|
|
191
|
+
#
|
|
192
|
+
- lane:
|
|
193
|
+
enabled: false
|
|
194
|
+
id: divider-1
|
|
195
|
+
region: body-main
|
|
196
|
+
type: async
|
|
197
|
+
properties: mt-4 mr-5 mb-4 ml-5
|
|
198
|
+
|
|
199
|
+
# ----------------------------------------------------------------------------
|
|
200
|
+
# Page Advertisment
|
|
201
|
+
#
|
|
202
|
+
- lane:
|
|
203
|
+
enabled: false
|
|
204
|
+
region: body-main
|
|
205
|
+
id: google_ad_content_home
|
|
206
|
+
type: sync
|
|
207
|
+
base: _includes/themes/j1
|
|
208
|
+
path: modules/ads
|
|
209
|
+
file: google_ad_content_home.html
|
|
210
|
+
|
|
211
|
+
# ----------------------------------------------------------------------------
|
|
212
|
+
# INTRO panel
|
|
213
|
+
#
|
|
214
|
+
- lane:
|
|
215
|
+
enabled: true
|
|
216
|
+
id: home_intro_panel
|
|
217
|
+
region: body-main
|
|
218
|
+
type: async
|
|
219
|
+
properties: g-2 elevated-z2
|
|
220
|
+
|
|
221
|
+
# ----------------------------------------------------------------------------
|
|
222
|
+
# PARALLAX banner
|
|
223
|
+
#
|
|
224
|
+
- lane:
|
|
225
|
+
enabled: true
|
|
226
|
+
id: home_parallax_banner
|
|
227
|
+
region: body-main
|
|
228
|
+
type: async
|
|
229
|
+
properties: elevated-z0
|
|
230
|
+
|
|
231
|
+
# ----------------------------------------------------------------------------
|
|
232
|
+
# IMAGE banner
|
|
233
|
+
#
|
|
234
|
+
- lane:
|
|
235
|
+
enabled: false
|
|
236
|
+
id: home_image_banner
|
|
237
|
+
region: body-main
|
|
238
|
+
type: async
|
|
239
|
+
properties: mb-3
|
|
240
|
+
|
|
241
|
+
# ----------------------------------------------------------------------------
|
|
242
|
+
# NEWS panel
|
|
243
|
+
#
|
|
244
|
+
- lane:
|
|
245
|
+
enabled: true
|
|
246
|
+
id: home_news_panel
|
|
247
|
+
region: body-main
|
|
248
|
+
type: async
|
|
249
|
+
properties: g-2 elevated-z2
|
|
250
|
+
|
|
251
|
+
# ----------------------------------------------------------------------------
|
|
252
|
+
# FAB
|
|
253
|
+
#
|
|
254
|
+
- lane:
|
|
255
|
+
enabled: true
|
|
256
|
+
id: fab-container
|
|
257
|
+
region: body-main
|
|
258
|
+
type: async
|
|
259
|
+
properties: elevated-z0
|
|
260
|
+
|
|
261
|
+
# ------------------------------------------------------------------------------
|
|
262
|
+
# END config
|
|
@@ -95,12 +95,11 @@ settings:
|
|
|
95
95
|
#
|
|
96
96
|
# --------------------------------------------------------------------------
|
|
97
97
|
#
|
|
98
|
-
publisherID:
|
|
98
|
+
publisherID: '<your-publisher-id>'
|
|
99
99
|
autoHideOnUnfilled: false
|
|
100
100
|
addBorderOnUnfilled: true
|
|
101
101
|
checkTrackingProtection: true
|
|
102
102
|
showErrorPageOnBlocked: true
|
|
103
|
-
addBorderOnUnfilled: true
|
|
104
103
|
|
|
105
104
|
ads:
|
|
106
105
|
|
|
@@ -90,22 +90,22 @@ defaults:
|
|
|
90
90
|
# Provider settings
|
|
91
91
|
# ----------------------------------------------------------------------------
|
|
92
92
|
hyvor:
|
|
93
|
-
site_id: 'hyvor-site-id'
|
|
93
|
+
site_id: '<your-hyvor-site-id>'
|
|
94
94
|
|
|
95
95
|
disqus:
|
|
96
96
|
site_id: '<your-site-short-name>'
|
|
97
97
|
|
|
98
98
|
# currently NOT supported
|
|
99
99
|
commento:
|
|
100
|
-
site_id: '<commento-site-id>'
|
|
100
|
+
site_id: '<your-commento-site-id>'
|
|
101
101
|
|
|
102
102
|
# currently NOT supported
|
|
103
103
|
just-comments:
|
|
104
|
-
site_id: '<just-comments-site-id>'
|
|
104
|
+
site_id: '<your-just-comments-site-id>'
|
|
105
105
|
|
|
106
106
|
# currently NOT supported
|
|
107
107
|
facebook:
|
|
108
|
-
|
|
108
|
+
site_id: '<your-facebook-app-id>'
|
|
109
109
|
num_posts: 5
|
|
110
110
|
width: 580
|
|
111
111
|
colorscheme: light
|
|
@@ -31,7 +31,76 @@ defaults:
|
|
|
31
31
|
enabled: true
|
|
32
32
|
|
|
33
33
|
# ----------------------------------------------------------------------------
|
|
34
|
-
#
|
|
34
|
+
# Switches
|
|
35
|
+
#
|
|
36
|
+
# checkCookies
|
|
37
|
+
# --------------------------------------------------------------------------
|
|
38
|
+
# Check if cookies are created and available to the browser. If the cookie
|
|
39
|
+
# attributes does NOT allow to create and|or access on cookies,
|
|
40
|
+
# setting-up a page will fail. It is recommended to enable checks on
|
|
41
|
+
# cookies to issue an error page (HTML 445) if access on cookies has
|
|
42
|
+
# failed for some reason. This will prevent severe failures and|or endless
|
|
43
|
+
# loops accessing a page on missing cookies or invalid cookie settings.
|
|
44
|
+
#
|
|
45
|
+
# values: [false|true]
|
|
46
|
+
# default: true
|
|
47
|
+
#
|
|
48
|
+
# encryptCookiesOnHttp (currently NOT supported)
|
|
49
|
+
# --------------------------------------------------------------------------
|
|
50
|
+
# If a website does not use encryption over the HTTPS protocol, the
|
|
51
|
+
# content written by J1 to cookies can be (AES) encrypted to prevent
|
|
52
|
+
# unwanted manipulation.
|
|
53
|
+
#
|
|
54
|
+
# NOTE: For sites deployed on the Internet, it is highly recommended
|
|
55
|
+
# to use encryption (HTTPS protocol) for all sites to prevent
|
|
56
|
+
# (man-in-the-middle) attacks. If this is NOT possible, at least
|
|
57
|
+
# cookies should be encrypted to prevent attacks based on manipulated
|
|
58
|
+
# contents.
|
|
59
|
+
#
|
|
60
|
+
# NOTE: Encrpytion on cookies is only enabled, if an unsecure connection
|
|
61
|
+
# over the HTTP protocol is detected. This is for performance reasons
|
|
62
|
+
# to not do time consuming calculations if a site is already
|
|
63
|
+
# encrypted.
|
|
64
|
+
#
|
|
65
|
+
# values: [false|true]
|
|
66
|
+
# default: false
|
|
67
|
+
#
|
|
68
|
+
# expireCookiesOnRequiredOnly
|
|
69
|
+
# --------------------------------------------------------------------------
|
|
70
|
+
# J1 uses permanent cookies to store user-related data and process stored
|
|
71
|
+
# data on subsequent visits. permanent cookies require consent, which is
|
|
72
|
+
# automatically displayed as a cookie banner on the first visit.
|
|
73
|
+
#
|
|
74
|
+
# If the switch 'expireCookiesOnRequiredOnly' is set to 'true', all
|
|
75
|
+
# permanent cookies created by J1 are rewritten to session cookies if
|
|
76
|
+
# the consent for advanced cookies (type personalization or analysis) has
|
|
77
|
+
# been denied.
|
|
78
|
+
# The browser automatically deletes all session cookies when all browser
|
|
79
|
+
# sessions (windows/tabs) are closed. Since all session cookies are deleted
|
|
80
|
+
# automatically, this will result in a cookie consent dialog being
|
|
81
|
+
# displayed again on visitors next visit.
|
|
82
|
+
#
|
|
83
|
+
# NOTE: It is recommended that permanent J1 cookies be rewritten to
|
|
84
|
+
# session cookies for visitors who reject advanced cookies. In
|
|
85
|
+
# addition, session cookies improve privacy policy compliance and
|
|
86
|
+
# increase the chance all cookies are accepted on return.
|
|
87
|
+
#
|
|
88
|
+
# NOTE: Make sure that your website complies with applicable privacy
|
|
89
|
+
# regulations, such as the GDPR (DSGVO) or California California
|
|
90
|
+
# Consumer Privacy Act (CCPA) by using the cookie banner provided
|
|
91
|
+
# by J1 Template.
|
|
92
|
+
#
|
|
93
|
+
# values: [false|true]
|
|
94
|
+
# default: true
|
|
95
|
+
#
|
|
96
|
+
# ----------------------------------------------------------------------------
|
|
97
|
+
#
|
|
98
|
+
checkCookies: true
|
|
99
|
+
encryptCookiesOnHttp: false
|
|
100
|
+
expireCookiesOnRequiredOnly: true
|
|
101
|
+
|
|
102
|
+
# ----------------------------------------------------------------------------
|
|
103
|
+
# Attributes
|
|
35
104
|
#
|
|
36
105
|
# path
|
|
37
106
|
# --------------------------------------------------------------------------
|
|
@@ -44,19 +113,19 @@ defaults:
|
|
|
44
113
|
# domain
|
|
45
114
|
# --------------------------------------------------------------------------
|
|
46
115
|
# Switch 'domain' controls if the value for the attribute 'domain' is
|
|
47
|
-
# used (= auto|
|
|
48
|
-
# is calculated from the hostname
|
|
49
|
-
# to be used.
|
|
50
|
-
# If the switch 'domain' is to 'false', the attribute 'domain' is
|
|
51
|
-
# automatically set to the (fully qualified)
|
|
52
|
-
# are
|
|
116
|
+
# used (= auto|domain_string) or NOT used (false). If 'auto' is given,
|
|
117
|
+
# the domain is calculated from the hostname found in URL of the current
|
|
118
|
+
# page. Otherwise 'domain_string' is treates as domain to be used.
|
|
119
|
+
# If the switch 'domain' is set to 'false', the attribute 'domain' is
|
|
120
|
+
# not set, but automatically set by the browser to the (fully qualified)
|
|
121
|
+
# hostname and all subdomains are excluded from accessing the cookies.
|
|
53
122
|
#
|
|
54
123
|
# NOTE: Be carefull setting switch 'domain' to auto. For sites deployed
|
|
55
124
|
# to hosts of public domain providers like Netlify (netlify.app),
|
|
56
125
|
# this will open the access on cookies to ALL hosts (subdomains)!
|
|
57
126
|
# See 'same_site'.
|
|
58
127
|
#
|
|
59
|
-
# values: [false|auto|
|
|
128
|
+
# values: [false|auto|domain_string]
|
|
60
129
|
# default: false
|
|
61
130
|
#
|
|
62
131
|
# expires
|
|
@@ -70,54 +139,53 @@ defaults:
|
|
|
70
139
|
#
|
|
71
140
|
# same_site
|
|
72
141
|
# --------------------------------------------------------------------------
|
|
73
|
-
# Lax:
|
|
74
|
-
# in cross-site requests.
|
|
75
|
-
# Strict: The cookie is only sent to the site where it originated
|
|
76
|
-
#
|
|
77
|
-
# None: Send cookies in cross-site requests if
|
|
78
|
-
# enabled
|
|
79
|
-
#
|
|
80
|
-
# NOTE:
|
|
81
|
-
# Specify SameSite=Strict or SameSite=Lax if the cookie should
|
|
82
|
-
# NOT be sent in cross-site requests.
|
|
83
|
-
# NOTE:
|
|
84
|
-
# Specify SameSite=None and Secure=true if the cookie should be sent
|
|
85
|
-
# in cross-site requests. This enables third-party use.
|
|
142
|
+
# Lax: Sent cookie for all requests, including subdomains, but
|
|
143
|
+
# not in cross-site requests.
|
|
144
|
+
# Strict: The cookie is only sent to the site where it originated,
|
|
145
|
+
# excluding subdomains, but not in cross-site requests.
|
|
146
|
+
# None: Send cookies in cross-site requests if the attribute
|
|
147
|
+
# 'secure' is enabled. Note, the value 'None' can be only
|
|
148
|
+
# used for HTTPS requests.
|
|
86
149
|
#
|
|
87
150
|
# values: [Strict|Lax|None]
|
|
88
|
-
# default:
|
|
151
|
+
# default: Strict
|
|
89
152
|
#
|
|
90
153
|
# http_only
|
|
91
154
|
# --------------------------------------------------------------------------
|
|
92
|
-
#
|
|
155
|
+
# Prevent access on cookies via JavaScript (client-side). Note, for
|
|
156
|
+
# client-side processing of cookies, like J1 Modules, never change
|
|
157
|
+
# the attribute to 'true'.
|
|
158
|
+
#
|
|
159
|
+
# NOTE: The attribute 'http_only' is only used for web applications to
|
|
160
|
+
# store sensitive private user data (like passwords, account data) to
|
|
161
|
+
# to cookies. Only 'server-sided' web applications will be able to
|
|
162
|
+
# read cookies secured by 'http_only'.
|
|
93
163
|
#
|
|
94
164
|
# values: [false|true]
|
|
95
165
|
# default: false
|
|
96
166
|
#
|
|
97
167
|
# secure
|
|
98
168
|
# --------------------------------------------------------------------------
|
|
99
|
-
#
|
|
100
|
-
# the HTTPS protocol
|
|
169
|
+
# If set to 'true', cookies are only sent to the server with an encrypted
|
|
170
|
+
# request over the HTTPS protocol. If set to 'auto', the attribute is
|
|
171
|
+
# ENABLED (set to 'true') automatically, if a secure connection (HTTPS)
|
|
172
|
+
# is detected.
|
|
101
173
|
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
174
|
+
# NOTE: For sites deployed on the Internet, it is highly recommended
|
|
175
|
+
# to use encryption (HTTPS protocol) for all sites to prevent
|
|
176
|
+
# (man-in-the-middle) attacks (and manipulation on cookies).
|
|
104
177
|
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
# Check if cookies created/available
|
|
108
|
-
#
|
|
109
|
-
# values: [false|true]
|
|
110
|
-
# default: true
|
|
178
|
+
# values: [auto|false|true]
|
|
179
|
+
# default: auto
|
|
111
180
|
#
|
|
112
181
|
# ----------------------------------------------------------------------------
|
|
113
182
|
#
|
|
114
|
-
check_cookies: true
|
|
115
183
|
path: /
|
|
116
184
|
domain: false
|
|
117
185
|
expires: 365
|
|
118
|
-
same_site:
|
|
186
|
+
same_site: Strict
|
|
187
|
+
secure: auto
|
|
119
188
|
http_only: false
|
|
120
|
-
secure: false
|
|
121
189
|
|
|
122
190
|
# ------------------------------------------------------------------------------
|
|
123
191
|
# END config
|
|
@@ -437,7 +437,7 @@ end::tables[]
|
|
|
437
437
|
// -----------------------------------------------------------------------------
|
|
438
438
|
tag::products[]
|
|
439
439
|
:j1--license: MIT License
|
|
440
|
-
:j1--version: 2022.0.
|
|
440
|
+
:j1--version: 2022.0.13
|
|
441
441
|
:j1--site-name: Jekyll One
|
|
442
442
|
end::products[]
|
|
443
443
|
|
data/lib/starter_web/index.html
CHANGED