j1-template 2021.1.4 → 2021.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +4 -4
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
- data/_includes/themes/j1/modules/connectors/ads +18 -7
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +7 -3
- data/_includes/themes/j1/modules/connectors/analytics +17 -3
- data/_includes/themes/j1/modules/connectors/comments +22 -8
- data/_includes/themes/j1/modules/connectors/translator +20 -6
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_includes/themes/j1/procedures/global/select_location.proc +3 -3
- data/_layouts/default.html +4 -7
- data/assets/data/cookieconsent.html +249 -0
- data/assets/data/quicklinks.html +18 -16
- data/assets/data/themes.json +6 -6
- data/assets/error_pages/HTTP204.html +30 -10
- data/assets/error_pages/HTTP400.html +29 -8
- data/assets/error_pages/HTTP401.html +29 -9
- data/assets/error_pages/HTTP403.html +29 -8
- data/assets/error_pages/HTTP404.html +29 -8
- data/assets/error_pages/HTTP500.html +29 -8
- data/assets/error_pages/HTTP501.html +29 -8
- data/assets/error_pages/HTTP502.html +29 -8
- data/assets/error_pages/HTTP503.html +30 -8
- data/assets/themes/j1/adapter/js/cookieConsent.js +290 -0
- data/assets/themes/j1/adapter/js/fam.js +2 -1
- data/assets/themes/j1/adapter/js/j1.js +154 -153
- data/assets/themes/j1/adapter/js/navigator.js +157 -200
- data/assets/themes/j1/adapter/js/themer.1.js +326 -0
- data/assets/themes/j1/adapter/js/themer.js +41 -57
- data/assets/themes/j1/adapter/js/toccer.js +4 -45
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +3 -9
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +3 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +301 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +301 -0
- data/assets/themes/j1/modules/fam/css/{uno → theme/uno}/fam.css +0 -0
- data/assets/themes/j1/modules/fam/css/theme/uno/fam.min.css +15 -0
- data/assets/themes/j1/modules/fam/js/fam.js +1 -6
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
- data/assets/themes/j1/modules/mmenuLight/css/{mmenu.css → mmenu-light.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/{mmenu.min.css → mmenu-light.min.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.css → uno/mmenu.css} +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.min.css → uno/mmenu.min.css} +0 -0
- data/assets/themes/j1/modules/rtable/css/theme/{uno.css → uno/rtable.css} +0 -0
- data/assets/themes/j1/modules/rtable/css/theme/{uno.min.css → uno/rtable.min.css} +0 -0
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +34 -49
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +410 -2
- data/assets/themes/j1/modules/util/js/domready.js +146 -0
- data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
- data/lib/j1/version.rb +3 -3
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +19 -10
- data/lib/starter_web/_data/_defaults/resources.yml +11 -8
- data/lib/starter_web/_data/j1_config.yml +21 -18
- data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +5 -4
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +136 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
- data/lib/starter_web/_data/pages/builder.yml +7 -7
- data/lib/starter_web/_data/private.default.yml +119 -0
- data/lib/starter_web/_data/private.yml +6 -6
- data/lib/starter_web/_data/resources.yml +15 -14
- data/lib/starter_web/_includes/attributes.asciidoc +10 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/dot.gitignore +1 -1
- data/lib/starter_web/index.html +3 -3
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +6 -4
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +23 -5
- data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +111 -213
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +24 -76
- data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
- data/assets/data/cookiebar.html +0 -288
- data/assets/data/footer.new.1.html +0 -256
- data/assets/data/footer.new.2.html +0 -256
- data/assets/data/footer.org.html +0 -249
- data/assets/error_pages/HTTP520.html +0 -68
- data/assets/error_pages/HTTP521.html +0 -68
- data/assets/error_pages/HTTP533.html +0 -68
- data/assets/themes/j1/adapter/js/cookiebar.js +0 -212
- data/assets/themes/j1/adapter/js/j1.new.js +0 -1878
- data/assets/themes/j1/adapter/js/j1.org.js +0 -1874
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +0 -58
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +0 -778
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +0 -981
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +0 -47
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +0 -10
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +0 -30
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +0 -15
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +0 -262
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +0 -15
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +0 -1362
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +0 -4
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +0 -402
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +0 -8
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +0 -206
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +0 -126
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +0 -101
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +0 -105
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +0 -107
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +0 -478
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +0 -342
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +0 -527
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +0 -5
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -133
@@ -143,6 +143,7 @@ about_config:
|
|
143
143
|
defaults:
|
144
144
|
|
145
145
|
enabled: false
|
146
|
+
|
146
147
|
retries: 30 # retry to load theme list from API
|
147
148
|
saveToCookie: true
|
148
149
|
debug: false
|
@@ -151,7 +152,7 @@ defaults:
|
|
151
152
|
menu_icon_color: "#9E9E9E"
|
152
153
|
menu_icon_size: mdi-sm
|
153
154
|
cssThemeLink: bootstrapTheme
|
154
|
-
defaultCssFile: https://
|
155
|
+
defaultCssFile: https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css
|
155
156
|
bootswatchApiUrl: https://bootswatch.com/api
|
156
157
|
bootswatchApiVersion: 4
|
157
158
|
loadFromBootswatch: true
|
@@ -75,13 +75,13 @@ generators:
|
|
75
75
|
title: Mansonry grid layout of Justified Gallery
|
76
76
|
tagline:
|
77
77
|
|
78
|
-
css: [
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
78
|
+
# css: [
|
79
|
+
# {
|
80
|
+
# local: "modules/cookiebar/css/cookiebar",
|
81
|
+
# remote: "https://cdnjs.cloudflare.com/ajax/libs/jquery-cookiebar/1.0.5/jquery.cookiebar"
|
82
|
+
# }
|
83
|
+
# ]
|
84
84
|
|
85
85
|
|
86
86
|
# ------------------------------------------------------------------------------
|
87
|
-
# END config
|
87
|
+
# END config
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/private.yml
|
3
|
+
# The private.yml file is used to set sensitive private data used by
|
4
|
+
# J1 components to configure security and authentication settings
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2019 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
|
+
# NOTE:
|
15
|
+
# As this file contains very confidential data, a productive private.yml
|
16
|
+
# file should ALWAYS be excluded from ANY source published to the public
|
17
|
+
# (e.g. a repo at Github)
|
18
|
+
# ------------------------------------------------------------------------------
|
19
|
+
|
20
|
+
|
21
|
+
# ==============================================================================
|
22
|
+
# GLOBAL settings
|
23
|
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
24
|
+
global:
|
25
|
+
|
26
|
+
# used by J1 to encrypt cookies
|
27
|
+
session_secret: <your-secret-string>
|
28
|
+
|
29
|
+
|
30
|
+
# ==============================================================================
|
31
|
+
# MODULE settings
|
32
|
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
33
|
+
modules:
|
34
|
+
|
35
|
+
# J1 Webhook
|
36
|
+
# NOTE:
|
37
|
+
# ----------------------------------------------------------------------------
|
38
|
+
webhook:
|
39
|
+
|
40
|
+
comment:
|
41
|
+
name: <your-config-name>
|
42
|
+
user: <your-gh-user>
|
43
|
+
repo: <your-gh-repo>
|
44
|
+
server_url: <your-gh-webhook-url>
|
45
|
+
|
46
|
+
secret: <your-gh-secret> # secret used at GH Webhooks
|
47
|
+
payload_url: <your-payload-url> # payload url (e.g channel at smee.io)
|
48
|
+
|
49
|
+
|
50
|
+
# ==============================================================================
|
51
|
+
# # J1 Utility Server
|
52
|
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
53
|
+
util_srv:
|
54
|
+
|
55
|
+
oauth:
|
56
|
+
|
57
|
+
# GH OAuth settings used for J1 Control Center (NetlifyCMS) for the
|
58
|
+
# external OAuth client (base_url)
|
59
|
+
# --------------------------------------------------------------------------
|
60
|
+
comment:
|
61
|
+
name: <your-config-name>
|
62
|
+
user: <your-gh-user>
|
63
|
+
user_url: <your-user-url>
|
64
|
+
strategy: members
|
65
|
+
members: all
|
66
|
+
|
67
|
+
site_url: http://localhost:41010
|
68
|
+
site_redirect_url: http://localhost:41010/auth/github/callback
|
69
|
+
client_scope: repo, user
|
70
|
+
client_id: <your-client-id>
|
71
|
+
client_secret: <your-client-secret>
|
72
|
+
|
73
|
+
|
74
|
+
# ==============================================================================
|
75
|
+
# MIDDLEWARE settings
|
76
|
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
77
|
+
middleware:
|
78
|
+
|
79
|
+
# OAuth settings (J1 Auth Client)
|
80
|
+
# ----------------------------------------------------------------------------
|
81
|
+
oauth:
|
82
|
+
|
83
|
+
# --------------------------------------------------------------------------
|
84
|
+
# DISQUS credentials
|
85
|
+
# ==========================================================================
|
86
|
+
disqus:
|
87
|
+
|
88
|
+
# J1 Auth client (mode APP, development system)
|
89
|
+
# ------------------------------------------------------------------------
|
90
|
+
comment:
|
91
|
+
name: <your-disqus-config-name>
|
92
|
+
user: <your-disqus-user>
|
93
|
+
|
94
|
+
client_url: http://localhost:41010
|
95
|
+
client_redirect_url: http://localhost:41010/auth/disqus/callback
|
96
|
+
client_id: <your-disqus-client-id>
|
97
|
+
client_secret: <your-disqus-client-secret>
|
98
|
+
|
99
|
+
# --------------------------------------------------------------------------
|
100
|
+
# GITHUB credentials
|
101
|
+
# ==========================================================================
|
102
|
+
github:
|
103
|
+
|
104
|
+
# J1 Auth client (mode APP, development system)
|
105
|
+
# ------------------------------------------------------------------------
|
106
|
+
comment:
|
107
|
+
name: <your-gh-config-name>
|
108
|
+
user: <your-gh-user>
|
109
|
+
org: <your-gh-org>
|
110
|
+
strategy: members
|
111
|
+
members: all
|
112
|
+
|
113
|
+
client_url: http://localhost:41010
|
114
|
+
client_redirect_url: http://localhost:41010/auth/github/callback
|
115
|
+
client_id: <your-gh-client-id>
|
116
|
+
client_secret: <your-gh-client-secret>
|
117
|
+
|
118
|
+
# ------------------------------------------------------------------------------
|
119
|
+
# END
|
@@ -64,8 +64,8 @@ util_srv:
|
|
64
64
|
strategy: members
|
65
65
|
members: all
|
66
66
|
|
67
|
-
site_url: http://localhost:
|
68
|
-
site_redirect_url: http://localhost:
|
67
|
+
site_url: http://localhost:41010
|
68
|
+
site_redirect_url: http://localhost:41010/auth/github/callback
|
69
69
|
client_scope: repo, user
|
70
70
|
client_id: <your-client-id>
|
71
71
|
client_secret: <your-client-secret>
|
@@ -91,8 +91,8 @@ middleware:
|
|
91
91
|
name: <your-disqus-config-name>
|
92
92
|
user: <your-disqus-user>
|
93
93
|
|
94
|
-
client_url: http://localhost:
|
95
|
-
client_redirect_url: http://localhost:
|
94
|
+
client_url: http://localhost:41010
|
95
|
+
client_redirect_url: http://localhost:41010/auth/disqus/callback
|
96
96
|
client_id: <your-disqus-client-id>
|
97
97
|
client_secret: <your-disqus-client-secret>
|
98
98
|
|
@@ -110,8 +110,8 @@ middleware:
|
|
110
110
|
strategy: members
|
111
111
|
members: all
|
112
112
|
|
113
|
-
client_url: http://localhost:
|
114
|
-
client_redirect_url: http://localhost:
|
113
|
+
client_url: http://localhost:41010
|
114
|
+
client_redirect_url: http://localhost:41010/auth/github/callback
|
115
115
|
client_id: <your-gh-client-id>
|
116
116
|
client_secret: <your-gh-client-secret>
|
117
117
|
|
@@ -365,6 +365,8 @@ resources:
|
|
365
365
|
modules/util/js/js.cookie.js,
|
366
366
|
modules/util/js/lite-url.js,
|
367
367
|
modules/util/js/platform.js,
|
368
|
+
modules/util/js/domready.js,
|
369
|
+
modules/util/js/gtag-opt-in.js,
|
368
370
|
adapter/js/j1.js
|
369
371
|
]
|
370
372
|
js: [
|
@@ -460,9 +462,9 @@ resources:
|
|
460
462
|
init_function: [ j1.adapter.navigator.init ]
|
461
463
|
|
462
464
|
# ----------------------------------------------------------------------------
|
463
|
-
#
|
465
|
+
# Mobile Menu (Light)
|
464
466
|
#
|
465
|
-
- name:
|
467
|
+
- name: MMenu
|
466
468
|
resource:
|
467
469
|
id: mmenu
|
468
470
|
enabled: true
|
@@ -476,8 +478,8 @@ resources:
|
|
476
478
|
pass_init_data: false
|
477
479
|
data:
|
478
480
|
css: [
|
479
|
-
modules/mmenuLight/css/mmenu,
|
480
|
-
modules/mmenuLight/css/theme/uno
|
481
|
+
modules/mmenuLight/css/mmenu-light,
|
482
|
+
modules/mmenuLight/css/theme/uno/mmenu
|
481
483
|
]
|
482
484
|
files: [
|
483
485
|
modules/mmenuLight/js/mmenu.js,
|
@@ -549,13 +551,13 @@ resources:
|
|
549
551
|
init_function: [ j1.adapter.back2top.init ]
|
550
552
|
|
551
553
|
# ----------------------------------------------------------------------------
|
552
|
-
#
|
554
|
+
# GDPR compatible Cookie Consent for J1 Template
|
553
555
|
#
|
554
|
-
- name:
|
556
|
+
- name: J1 CookieConsent
|
555
557
|
resource:
|
556
|
-
id:
|
558
|
+
id: cookieConsent
|
557
559
|
enabled: true
|
558
|
-
comment: module
|
560
|
+
comment: module cookieConsent
|
559
561
|
region: head
|
560
562
|
layout: [ all ]
|
561
563
|
required: always
|
@@ -565,9 +567,9 @@ resources:
|
|
565
567
|
pass_init_data: false
|
566
568
|
data:
|
567
569
|
css: []
|
568
|
-
files: [ adapter/js/
|
569
|
-
js: []
|
570
|
-
init_function: [ j1.adapter.
|
570
|
+
files: [ adapter/js/cookieConsent.js ]
|
571
|
+
js: [ modules/cookieConsent/js/cookieConsent ]
|
572
|
+
init_function: [ j1.adapter.cookieConsent.init ]
|
571
573
|
|
572
574
|
# ----------------------------------------------------------------------------
|
573
575
|
# jqMouseWheel, jQuery plugin to add cross-browser mouse wheel support
|
@@ -676,7 +678,7 @@ resources:
|
|
676
678
|
dependencies: false
|
677
679
|
pass_init_data: false
|
678
680
|
data:
|
679
|
-
css: [ modules/rtable/css/theme/uno ]
|
681
|
+
css: [ modules/rtable/css/theme/uno/rtable ]
|
680
682
|
files: [ adapter/js/rtable.js ]
|
681
683
|
js: [ modules/rtable/js/rtable ]
|
682
684
|
init_function: [ j1.adapter.rtable.init ]
|
@@ -1180,9 +1182,8 @@ resources:
|
|
1180
1182
|
dependencies: false
|
1181
1183
|
pass_init_data: true
|
1182
1184
|
data:
|
1183
|
-
css: []
|
1185
|
+
css: [ modules/fam/css/theme/uno/fam ] # styles for (J1) theme Uno]
|
1184
1186
|
files: [
|
1185
|
-
modules/fam/css/uno/fam.css, # styles for (J1) theme Uno
|
1186
1187
|
# modules/cash/js/cash.js, # current version|s of Cash NOT usable
|
1187
1188
|
modules/materialize/js/cash.js, # adapted|old (1.3.5) version from Materialize
|
1188
1189
|
modules/fam/js/fam.js, # modified version for J1 (former: button.js)
|
@@ -113,6 +113,9 @@ tag::urls[]
|
|
113
113
|
|
114
114
|
:url-execjs--gh-repo: https://github.com/rails/execjs
|
115
115
|
|
116
|
+
:url-facebook--privacy-policy-en: https://www.facebook.com/policy.php
|
117
|
+
:url-facebook--privacy-policy-de: https://de-de.facebook.com/policy.php
|
118
|
+
|
116
119
|
:url-filamentgroup--home: https://www.filamentgroup.com/
|
117
120
|
|
118
121
|
:url-fontawesome--home: https://fontawesome.com/
|
@@ -137,6 +140,8 @@ tag::urls[]
|
|
137
140
|
:url-gdpr-eu--home: https://gdpr.eu/
|
138
141
|
|
139
142
|
:url-google-material-design-icons--gh-repo: https://github.com/google/material-design-icons
|
143
|
+
:url-google--deactivate-ga-en: http://tools.google.com/dlpage/gaoptout?hl=en
|
144
|
+
:url-google--privacy-policy-en: https://www.google.de/intl/en/policies/privacy
|
140
145
|
|
141
146
|
:url-heroku--home: https://www.heroku.com/home
|
142
147
|
|
@@ -145,6 +150,8 @@ tag::urls[]
|
|
145
150
|
:url-iconify--medical-icons: https://iconify.design/icon-sets/medical-icon/
|
146
151
|
:url-iconify--brand-icons: https://iconify.design/icon-sets/logos/
|
147
152
|
|
153
|
+
:url-instagram--privacy-policy: http://instagram.com/about/legal/privacy/
|
154
|
+
|
148
155
|
:url-iframe-resizer--gh-repo: https://github.com/davidjbradshaw/iframe-resizer
|
149
156
|
|
150
157
|
:url-j1--home: https://jekyll.one/
|
@@ -304,6 +311,8 @@ tag::urls[]
|
|
304
311
|
|
305
312
|
:url-twitter-emoji--gh-repo: https://github.com/twitter/twemoji
|
306
313
|
:url-twitter-emoji-picker--gh-repo: https://github.com/xLs51/Twemoji-Picker
|
314
|
+
:url-twitter--privacy-en: https://twitter.com/en/privacy
|
315
|
+
:url-twitter--login: https://twitter.com/login
|
307
316
|
|
308
317
|
:url-uglifier--gh-repo: https://github.com/lautis/uglifier
|
309
318
|
|
@@ -403,7 +412,7 @@ end::tables[]
|
|
403
412
|
// -----------------------------------------------------------------------------
|
404
413
|
tag::products[]
|
405
414
|
:j1--license: MIT License
|
406
|
-
:j1--version: 2021.1.
|
415
|
+
:j1--version: 2021.1.9
|
407
416
|
:j1--site-name: Jekyll One
|
408
417
|
end::products[]
|
409
418
|
|
data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg}
RENAMED
File without changes
|
Binary file
|
@@ -5,7 +5,7 @@ tagline: good to know
|
|
5
5
|
categories: [ Featured, Post ]
|
6
6
|
tags: [ Cookies ]
|
7
7
|
|
8
|
-
image: /assets/images/modules/attics/cookies-1920x1200
|
8
|
+
image: /assets/images/modules/attics/cookies-1920x1200.jpg
|
9
9
|
|
10
10
|
regenerate: false
|
11
11
|
|
@@ -16,7 +16,7 @@ resource_options:
|
|
16
16
|
padding_bottom: 50
|
17
17
|
opacity: 0.5
|
18
18
|
slides:
|
19
|
-
- url: /assets/images/modules/attics/cookies-1920x1200
|
19
|
+
- url: /assets/images/modules/attics/cookies-1920x1200.jpg
|
20
20
|
alt: Photo by Miroslava on Unsplash
|
21
21
|
# caption:
|
22
22
|
# text: Photo by Miroslava on Unsplash
|
data/lib/starter_web/index.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"private": true,
|
3
3
|
"name": "j1_starter",
|
4
|
-
"version": "2021.1.
|
4
|
+
"version": "2021.1.9",
|
5
5
|
"description": "J1 Template Starter Web",
|
6
6
|
"homepage": "https://your.site",
|
7
7
|
"author": {
|
@@ -91,7 +91,7 @@
|
|
91
91
|
"rebuild:do": "cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec jekyll b --incremental",
|
92
92
|
"post-rebuild": "run-s -s postrebuild:*",
|
93
93
|
"post-rebuild:finished": "echo .. rebuild finished.",
|
94
|
-
"post-rebuild:hint": "echo To open the site, run: yarn site
|
94
|
+
"post-rebuild:hint": "echo To open the site, run: yarn site",
|
95
95
|
|
96
96
|
"clean": "run-s -s clean-site && run-s clean:*",
|
97
97
|
"clean-site": "echo Clean up site files .. && bundle exec jekyll clean",
|
@@ -42,6 +42,7 @@ resource_options:
|
|
42
42
|
{% comment %} Variables
|
43
43
|
-------------------------------------------------------------------------------- {% endcomment %}
|
44
44
|
{% assign view_config = site.data.builder.blog_navigator.archive_view %}
|
45
|
+
{% assign truncate_words = site.excerpt_truncate_words %}
|
45
46
|
{% assign view_description = view_config.description %}
|
46
47
|
{% assign defaults = site.data.builder.blog_navigator.defaults %}
|
47
48
|
|
@@ -80,7 +81,7 @@ resource_options:
|
|
80
81
|
|
81
82
|
<!-- ul class="list-unstyled link-news" -->
|
82
83
|
{% for post in site.posts %}
|
83
|
-
{% assign excerpt = post.excerpt|truncatewords:
|
84
|
+
{% assign excerpt = post.excerpt|truncatewords:truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
|
84
85
|
|
85
86
|
<!-- Collect comment provider details -->
|
86
87
|
{% for sharing in builder_config.sharing_provider %}
|
@@ -145,10 +146,11 @@ resource_options:
|
|
145
146
|
var user_state = j1.readCookie(user_state_cookie_name);
|
146
147
|
var user_state_last_page = "{{browser_page_url}}";
|
147
148
|
user_state.last_page = user_state_last_page;
|
148
|
-
|
149
|
+
|
149
150
|
j1.writeCookie({
|
150
151
|
name: user_state_cookie_name,
|
151
|
-
data: user_state
|
152
|
+
data: user_state,
|
153
|
+
samesite: 'Strict'
|
152
154
|
});
|
153
155
|
logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
|
154
156
|
}
|
@@ -190,10 +190,11 @@ resource_options:
|
|
190
190
|
var user_state = j1.readCookie(user_state_cookie_name);
|
191
191
|
var user_state_last_page = "{{browser_page_url}}";
|
192
192
|
user_state.last_page = user_state_last_page;
|
193
|
-
|
193
|
+
|
194
194
|
j1.writeCookie({
|
195
195
|
name: user_state_cookie_name,
|
196
|
-
data: user_state
|
196
|
+
data: user_state,
|
197
|
+
samesite: 'Strict'
|
197
198
|
});
|
198
199
|
logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
|
199
200
|
}
|
@@ -41,7 +41,8 @@ resource_options:
|
|
41
41
|
|
42
42
|
{% comment %} Variables
|
43
43
|
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
-
{% assign view_config = site.data.builder.blog_navigator.
|
44
|
+
{% assign view_config = site.data.builder.blog_navigator.category_view %}
|
45
|
+
{% assign truncate_words = site.excerpt_truncate_words %}
|
45
46
|
{% assign view_description = view_config.description %}
|
46
47
|
{% assign defaults = site.data.builder.blog_navigator.defaults %}
|
47
48
|
|
@@ -112,7 +113,7 @@ resource_options:
|
|
112
113
|
{% endfor %}
|
113
114
|
|
114
115
|
{% capture link %}
|
115
|
-
{% assign excerpt = post.excerpt|truncatewords:
|
116
|
+
{% assign excerpt = post.excerpt|truncatewords:truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
|
116
117
|
<li>
|
117
118
|
<article class="card raised-z3 mb-5">
|
118
119
|
<h4 id="{{100000|rand}}" class="card-header bg-primary">{{post.title}}</h4>
|
@@ -177,10 +178,11 @@ resource_options:
|
|
177
178
|
var user_state = j1.readCookie(user_state_cookie_name);
|
178
179
|
var user_state_last_page = "{{browser_page_url}}";
|
179
180
|
user_state.last_page = user_state_last_page;
|
180
|
-
|
181
|
+
|
181
182
|
j1.writeCookie({
|
182
183
|
name: user_state_cookie_name,
|
183
|
-
data: user_state
|
184
|
+
data: user_state,
|
185
|
+
samesite: 'Strict'
|
184
186
|
});
|
185
187
|
logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
|
186
188
|
}
|