j1-template 2021.1.5 → 2021.1.10
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/ads +18 -7
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +6 -6
- 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/procedures/global/select_location.proc +3 -3
- 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 +93 -56
- data/assets/themes/j1/adapter/js/fam.js +2 -1
- data/assets/themes/j1/adapter/js/j1.js +176 -170
- 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/js/template.js +1 -1
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +25 -10
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +5 -6
- 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/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/lib/j1/version.rb +1 -1
- 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 +18 -10
- data/lib/starter_web/_data/_defaults/private.default.yml +119 -0
- data/lib/starter_web/_data/j1_config.yml +21 -18
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +10 -9
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
- data/lib/starter_web/_data/private.default.yml +119 -0
- data/lib/starter_web/_data/resources.yml +6 -7
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/dot.gitignore +2 -2
- 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/legal/en/300_privacy.adoc +9 -6
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +13 -65
- 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/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/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: production
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2021.1.
|
56
|
+
version: 2021.1.10
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -593,9 +593,9 @@ defaults:
|
|
593
593
|
layout: page
|
594
594
|
author: J1 Team
|
595
595
|
|
596
|
-
|
597
|
-
|
598
|
-
|
596
|
+
robots:
|
597
|
+
index: false
|
598
|
+
follow: false
|
599
599
|
|
600
600
|
analytics: false
|
601
601
|
advertising: false
|
@@ -632,9 +632,9 @@ defaults:
|
|
632
632
|
layout: post
|
633
633
|
author: J1 Team
|
634
634
|
|
635
|
-
|
636
|
-
|
637
|
-
|
635
|
+
robots:
|
636
|
+
index: false
|
637
|
+
follow: false
|
638
638
|
|
639
639
|
analytics: false
|
640
640
|
advertising: false
|
@@ -671,9 +671,9 @@ defaults:
|
|
671
671
|
layout: post
|
672
672
|
author: J1 Team
|
673
673
|
|
674
|
-
|
675
|
-
|
676
|
-
|
674
|
+
robots:
|
675
|
+
index: false
|
676
|
+
follow: false
|
677
677
|
|
678
678
|
analytics: false
|
679
679
|
advertising: false
|
@@ -706,6 +706,10 @@ defaults:
|
|
706
706
|
layout: post
|
707
707
|
author: Wikipedia
|
708
708
|
|
709
|
+
robots:
|
710
|
+
index: false
|
711
|
+
follow: false
|
712
|
+
|
709
713
|
analytics: false
|
710
714
|
advertising: false
|
711
715
|
comments: false
|
@@ -741,6 +745,10 @@ defaults:
|
|
741
745
|
layout: page
|
742
746
|
sitemap: false
|
743
747
|
|
748
|
+
robots:
|
749
|
+
index: false
|
750
|
+
follow: false
|
751
|
+
|
744
752
|
# ==============================================================================
|
745
753
|
# 6. LAYOUT configuration
|
746
754
|
#
|
@@ -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
|
@@ -140,6 +140,7 @@ cookies:
|
|
140
140
|
app_session: j1.app.session
|
141
141
|
user_session: j1.user.session
|
142
142
|
user_state: j1.user.state
|
143
|
+
user_consent: j1.user.consent
|
143
144
|
|
144
145
|
|
145
146
|
# ==============================================================================
|
@@ -161,7 +162,7 @@ cookies:
|
|
161
162
|
# NOTE: Used for developent mode ONLY
|
162
163
|
# NOTE: See ~/packages/300_template_src/_layouts/default.html
|
163
164
|
# ------------------------------------------------------------------------------
|
164
|
-
flicker_timeout:
|
165
|
+
flicker_timeout: 150
|
165
166
|
|
166
167
|
# ------------------------------------------------------------------------------
|
167
168
|
# HTML PrettyPrint
|
@@ -386,15 +387,15 @@ comments:
|
|
386
387
|
provider: disqus
|
387
388
|
|
388
389
|
disqus:
|
389
|
-
short_name: '<your-site-
|
390
|
+
short_name: '<your-site-id>'
|
390
391
|
|
391
|
-
# facebook:
|
392
|
+
# facebook: # currently NOT supported
|
392
393
|
# appid: 123
|
393
394
|
# num_posts: 5
|
394
395
|
# width: 580
|
395
396
|
# colorscheme: light
|
396
397
|
|
397
|
-
# custom:
|
398
|
+
# custom: # currently NOT supported
|
398
399
|
# custom_data:
|
399
400
|
|
400
401
|
# ------------------------------------------------------------------------------
|
@@ -410,8 +411,8 @@ analytics:
|
|
410
411
|
google:
|
411
412
|
tracking_id: '<your-tracking-id>'
|
412
413
|
|
413
|
-
|
414
|
-
|
414
|
+
# custom: # currently NOT supported
|
415
|
+
# custom_data:
|
415
416
|
|
416
417
|
# ------------------------------------------------------------------------------
|
417
418
|
# ADVERTISING settings
|
@@ -422,26 +423,28 @@ analytics:
|
|
422
423
|
advertising:
|
423
424
|
enabled: false
|
424
425
|
provider: google
|
426
|
+
|
425
427
|
google:
|
426
428
|
publisher_id: '<your-publisher-id>'
|
427
|
-
|
428
|
-
|
429
|
+
|
430
|
+
# custom: # currently NOT supported
|
431
|
+
# custom_data:
|
429
432
|
|
430
433
|
# ------------------------------------------------------------------------------
|
431
|
-
# TRANSLATOR settings
|
434
|
+
# TRANSLATOR settings (currently NOT supported)
|
432
435
|
#
|
433
436
|
# Set 'enabled' to false to turn translators off globally
|
434
437
|
# Set 'provider' to the translation provider you want to use
|
435
438
|
#
|
436
|
-
translation:
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
439
|
+
# translation:
|
440
|
+
# enabled: false
|
441
|
+
# provider: google
|
442
|
+
#
|
443
|
+
# google:
|
444
|
+
# layout: default
|
445
|
+
# meta_data: [google-translate-customization]
|
446
|
+
# page_language: en
|
447
|
+
# translation_languages: [all]
|
445
448
|
|
446
449
|
# ------------------------------------------------------------------------------
|
447
450
|
# SHARING settings (currently NOT supported)
|
@@ -26,16 +26,17 @@ defaults:
|
|
26
26
|
|
27
27
|
enabled: false
|
28
28
|
|
29
|
-
autoShowDialog: true #
|
30
|
-
language: en #
|
31
|
-
languages: [en, de] # supported languages, defaults to
|
32
|
-
contentURL: /assets/data/cookieconsent #
|
33
|
-
cookieName: j1.user.consent #
|
34
|
-
cookieStorageDays: 365 #
|
29
|
+
autoShowDialog: true # show consent dialog if NO consent cookie found
|
30
|
+
language: en # language of the modal is shown. Default: navigator.language
|
31
|
+
languages: [en, de] # supported languages, defaults to FIRST language defined by languages
|
32
|
+
contentURL: /assets/data/cookieconsent # dialogs content for all languages
|
33
|
+
cookieName: j1.user.consent # name of the consent cookie
|
34
|
+
cookieStorageDays: 365 # duration the consent cookie is stored
|
35
|
+
postSelectionCallback: j1.adapter.cookieConsent.cbCookie # currently hardcoded
|
35
36
|
|
36
|
-
reloadPageOnChange: false # reload current page if
|
37
|
-
xhr_data_element: consent-data # container for the language-specific consent modal taken from /assets/data/cookieconsent.html
|
38
|
-
whitelisted: [
|
37
|
+
reloadPageOnChange: false # reload current page if user settings has been changed
|
38
|
+
xhr_data_element: consent-data # container for the language-specific consent modal (taken from /assets/data/cookieconsent.html)
|
39
|
+
whitelisted: [ /pages/public/legal/en/privacy ] # pages NO consent issued, currently NOT supported
|
39
40
|
|
40
41
|
consent_modal_title:
|
41
42
|
de: Ihre Privatsphäre
|
@@ -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
|
@@ -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
|