j1_template 2019.4.7 → 2019.4.8
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/content_generator_collection.html +24 -9
- data/_includes/themes/j1/layouts/content_generator_page.html +24 -9
- data/_includes/themes/j1/layouts/content_generator_post.html +27 -15
- data/_includes/themes/j1/layouts/layout_theme_generator.html +39 -19
- data/_includes/themes/j1/layouts/layout_theme_generator.new.html +118 -0
- data/_includes/themes/j1/layouts/layout_theme_generator.org.html +119 -0
- data/_includes/themes/j1/procedures/global/pager.proc +49 -51
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +27 -29
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +12 -8
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_cc_test_data/_config.yml +1 -1
- data/lib/starter_web/_cc_test_data/_data/blocks/banner.yml +57 -0
- data/lib/starter_web/_cc_test_data/_data/blocks/defaults/banner.yml +55 -0
- data/lib/starter_web/_cc_test_data/_data/blocks/defaults/footer.yml +3 -3
- data/lib/starter_web/_cc_test_data/_data/blocks/defaults/panel.yml +30 -38
- data/lib/starter_web/_cc_test_data/_data/blocks/footer.yml +181 -110
- data/lib/starter_web/_cc_test_data/_data/modules/back2top.yml +1 -1
- data/lib/starter_web/_cc_test_data/_data/modules/defaults/smooth_scroll.yml +169 -0
- data/lib/starter_web/_cc_test_data/_data/modules/defaults/theme_switcher.yml +168 -0
- data/lib/starter_web/_cc_test_data/_data/modules/smooth_scroll.yml +169 -0
- data/lib/starter_web/_cc_test_data/_data/modules/theme_switcher.yml +168 -0
- data/lib/starter_web/_config.yml +74 -71
- data/lib/starter_web/_data/blocks/banner.yml +57 -0
- data/lib/starter_web/_data/blocks/defaults/banner.yml +55 -0
- data/lib/starter_web/_data/modules/{j1_navigator_menu.yml → _old_configs/j1_navigator_menu.yml} +0 -0
- data/lib/starter_web/_data/modules/{j1_parallax.yml → _old_configs/j1_parallax.yml} +0 -0
- data/lib/starter_web/_data/modules/{j1_smooth_scroll.yml → _old_configs/j1_smooth_scroll.yml} +0 -0
- data/lib/starter_web/_data/modules/{j1_stickybits.yml → _old_configs/j1_stickybits.yml} +0 -0
- data/lib/starter_web/_data/modules/{j1_theme_switcher.yml → _old_configs/j1_theme_switcher.yml} +0 -0
- data/lib/starter_web/_data/modules/{j1_toccer.yml → _old_configs/j1_toccer.yml} +0 -0
- data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +169 -0
- data/lib/starter_web/_data/modules/defaults/stickybits.yml +37 -0
- data/lib/starter_web/_data/modules/defaults/theme_switcher.yml +168 -0
- data/lib/starter_web/_data/modules/defaults/toccer.yml +172 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +306 -0
- data/lib/starter_web/_data/modules/smooth_scroll.yml +169 -0
- data/lib/starter_web/_data/modules/stickybits.yml +38 -0
- data/lib/starter_web/_data/modules/theme_switcher.yml +168 -0
- data/lib/starter_web/_data/modules/toccer.yml +172 -0
- data/lib/starter_web/_data/resources.yml +23 -24
- data/lib/starter_web/_data/template_settings.yml +2 -2
- data/lib/starter_web/assets/data/authclient.html +9 -9
- data/lib/starter_web/assets/data/banner.html +24 -19
- data/lib/starter_web/assets/data/cookie_consent.html +9 -9
- data/lib/starter_web/assets/data/footer.html +9 -10
- data/lib/starter_web/assets/data/menu.html +23 -16
- data/lib/starter_web/assets/data/panel.html +9 -10
- data/lib/starter_web/assets/data/sidebar.html +9 -10
- data/lib/starter_web/assets/data/webhook.html +8 -8
- data/lib/starter_web/assets/images/pages/roundtrip/package.json +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +11 -9
- data/lib/starter_web/assets/themes/j1/adapter/js/cookie_consent.js +5 -5
- data/lib/starter_web/assets/themes/j1/adapter/js/logger.js +8 -18
- data/lib/starter_web/assets/themes/j1/adapter/js/master_header.js +48 -70
- data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +45 -27
- data/lib/starter_web/assets/themes/j1/adapter/js/octokit.app_only.js +433 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/octokit.js +179 -192
- data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +29 -28
- data/lib/starter_web/assets/themes/j1/adapter/js/searcher.js +5 -5
- data/lib/starter_web/assets/themes/j1/adapter/js/stickybits.js +14 -13
- data/lib/starter_web/assets/themes/j1/adapter/js/switcher.js +56 -52
- data/lib/starter_web/assets/themes/j1/adapter/js/template.js +256 -213
- data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +24 -21
- data/lib/starter_web/assets/themes/j1/core/js/template.js +9 -9
- data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/start/downloads/quickstarter/100_linux_starter.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/420_responsive_tables_extensions.adoc +5 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +38 -9
- data/lib/starter_web/_data/resources.new.yml +0 -876
@@ -22,6 +22,61 @@ defaults:
|
|
22
22
|
#
|
23
23
|
data_path: /assets/data/banner/index.html
|
24
24
|
|
25
|
+
# ------------------------------------------------------------------------------
|
26
|
+
# General parallax settings
|
27
|
+
#
|
28
|
+
# Global configuration for parallax|banner quotes. These settings are
|
29
|
+
# side-wide and should match your theme not individual images. Be careful
|
30
|
+
# for the selection of banner images.
|
31
|
+
#
|
32
|
+
# Individual settings (e.g. page placement, cite, source) are configured
|
33
|
+
# with the panels configuration (j1_panels.yml).
|
34
|
+
#
|
35
|
+
# gridify
|
36
|
+
# ----------------------------------------------------------------------------
|
37
|
+
# If enabled, a grit pattern is placed over the background image. This
|
38
|
+
# puts some "noise" on the image to focus more on the quote|text rather
|
39
|
+
# than the image.
|
40
|
+
#
|
41
|
+
# values: boolean (true|false)
|
42
|
+
# default: true
|
43
|
+
#
|
44
|
+
# gridifier
|
45
|
+
# ----------------------------------------------------------------------------
|
46
|
+
# Pixel image used to gridify the background image of the banner.
|
47
|
+
#
|
48
|
+
# values: image path|name (string)
|
49
|
+
# default: /assets/images/patterns/gridtile.png
|
50
|
+
#
|
51
|
+
# darken
|
52
|
+
# ----------------------------------------------------------------------------
|
53
|
+
# Sets the lightning for the banner|background image. As higher the value
|
54
|
+
# for darken as less is the (background) light. Values are out of the
|
55
|
+
# range from 1 (light) to 9 (dark). Useful to focus on the quote|text
|
56
|
+
# rather than the background image.
|
57
|
+
#
|
58
|
+
# values: number [1 .. 9]
|
59
|
+
# default: 3
|
60
|
+
#
|
61
|
+
# background
|
62
|
+
# ----------------------------------------------------------------------------
|
63
|
+
# Default background image of the banner if no other image is specified with
|
64
|
+
# the panels configuration (j1_panels.yml).
|
65
|
+
#
|
66
|
+
# values: image path|name (string)
|
67
|
+
# default: /assets/images/quotes/default.png
|
68
|
+
# ------------------------------------------------------------------------------
|
69
|
+
parallax_settings:
|
70
|
+
|
71
|
+
gridify: true
|
72
|
+
gridifier: /assets/images/patterns/gridtile.png
|
73
|
+
text_color: rgba_lighten
|
74
|
+
cite_color: rgba_lighten
|
75
|
+
darken: 3
|
76
|
+
background: /assets/images/quotes/default.png
|
77
|
+
background_pos_x: 50%
|
78
|
+
background_pos_y: 0
|
79
|
+
|
25
80
|
# ----------------------------------------------------------------------------
|
26
81
|
# DIVIDER banner
|
27
82
|
#
|
data/lib/starter_web/_data/modules/{j1_navigator_menu.yml → _old_configs/j1_navigator_menu.yml}
RENAMED
File without changes
|
File without changes
|
data/lib/starter_web/_data/modules/{j1_smooth_scroll.yml → _old_configs/j1_smooth_scroll.yml}
RENAMED
File without changes
|
File without changes
|
data/lib/starter_web/_data/modules/{j1_theme_switcher.yml → _old_configs/j1_theme_switcher.yml}
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,169 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/defaults/smooth_scroll.yml
|
3
|
+
# Default configuration settings for J1 Smoothscroll module
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2019 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
|
15
|
+
# ------------------------------------------------------------------------------
|
16
|
+
# About this configuration (used for J1 CC only)
|
17
|
+
#
|
18
|
+
about_config:
|
19
|
+
|
20
|
+
title: SmoothScroll
|
21
|
+
scope: Default settings
|
22
|
+
location: _data/modules/defaults/smooth_scroll.yml
|
23
|
+
|
24
|
+
# ------------------------------------------------------------------------------
|
25
|
+
# User configuration settings
|
26
|
+
#
|
27
|
+
defaults:
|
28
|
+
|
29
|
+
# ------------------------------------------------------------------------------
|
30
|
+
# J1 Scroll Manager settings
|
31
|
+
# ------------------------------------------------------------------------------
|
32
|
+
# SmoothScroll settings
|
33
|
+
# Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
|
34
|
+
#
|
35
|
+
# enabled
|
36
|
+
# ----------------------------------------------------------------------------
|
37
|
+
# Enables|Disables the use of SmoothControl
|
38
|
+
#
|
39
|
+
# values: boolean (true|false)
|
40
|
+
# default: false
|
41
|
+
#
|
42
|
+
# SCROLLING CORE
|
43
|
+
# --------------
|
44
|
+
#
|
45
|
+
# frameRate
|
46
|
+
# ----------------------------------------------------------------------------
|
47
|
+
# ...
|
48
|
+
#
|
49
|
+
# values: integer (Hz)
|
50
|
+
# default: 150
|
51
|
+
#
|
52
|
+
# animationTime
|
53
|
+
# ----------------------------------------------------------------------------
|
54
|
+
# ...
|
55
|
+
#
|
56
|
+
# values: integer (msec)
|
57
|
+
# default: 400
|
58
|
+
#
|
59
|
+
# stepSize
|
60
|
+
# ----------------------------------------------------------------------------
|
61
|
+
# ...
|
62
|
+
#
|
63
|
+
# values: integer (px)
|
64
|
+
# default: 100
|
65
|
+
#
|
66
|
+
# ACCELERATION SETTINGS
|
67
|
+
# ---------------------
|
68
|
+
#
|
69
|
+
# accelerationDelta
|
70
|
+
# ----------------------------------------------------------------------------
|
71
|
+
# ...
|
72
|
+
#
|
73
|
+
# values: integer
|
74
|
+
# default: 50
|
75
|
+
#
|
76
|
+
# accelerationMax
|
77
|
+
# ----------------------------------------------------------------------------
|
78
|
+
# ...
|
79
|
+
#
|
80
|
+
# values: integer
|
81
|
+
# default: 3
|
82
|
+
#
|
83
|
+
# KEYBOARD SETTINGS
|
84
|
+
# -----------------
|
85
|
+
#
|
86
|
+
# keyboardSupport
|
87
|
+
# ----------------------------------------------------------------------------
|
88
|
+
# Enables|Disables Keyboard support for smooth scrolling
|
89
|
+
#
|
90
|
+
# values: boolean (true|false)
|
91
|
+
# default: true
|
92
|
+
#
|
93
|
+
# arrowScroll
|
94
|
+
# ----------------------------------------------------------------------------
|
95
|
+
# Number of pixels to scroll when pressing a keyboard arrow key
|
96
|
+
#
|
97
|
+
# values: integer (px)
|
98
|
+
# default: 50
|
99
|
+
#
|
100
|
+
# PULSE ALGORITHM SETTINGS
|
101
|
+
# ------------------------
|
102
|
+
#
|
103
|
+
# pulseAlgorithm
|
104
|
+
# ----------------------------------------------------------------------------
|
105
|
+
# Enables easing of the scrolling animation. When disabled, the page
|
106
|
+
# animation will be linear (ratio of "tail" to "acceleration")
|
107
|
+
#
|
108
|
+
# values: boolean (true|false)
|
109
|
+
# default: true
|
110
|
+
#
|
111
|
+
# pulseScale
|
112
|
+
# ----------------------------------------------------------------------------
|
113
|
+
# Defines the speed of pulse step scrolling
|
114
|
+
#
|
115
|
+
# values: integer
|
116
|
+
# default: 4
|
117
|
+
#
|
118
|
+
# pulseNormalize
|
119
|
+
# ----------------------------------------------------------------------------
|
120
|
+
# ...
|
121
|
+
#
|
122
|
+
# values: integer
|
123
|
+
# default: 1
|
124
|
+
#
|
125
|
+
# TOUCHPAD SETTINGS
|
126
|
+
# -----------------
|
127
|
+
#
|
128
|
+
# touchpadSupport
|
129
|
+
# ----------------------------------------------------------------------------
|
130
|
+
# Enables|Disables Touchpad support for smooth scrolling
|
131
|
+
#
|
132
|
+
# values: boolean (true|false)
|
133
|
+
# default: false
|
134
|
+
#
|
135
|
+
# OTHER SETTINGS
|
136
|
+
# --------------
|
137
|
+
#
|
138
|
+
# fixedBackground
|
139
|
+
# ----------------------------------------------------------------------------
|
140
|
+
# ...
|
141
|
+
#
|
142
|
+
# values: boolean (true|false)
|
143
|
+
# default: true
|
144
|
+
#
|
145
|
+
# excluded
|
146
|
+
# ----------------------------------------------------------------------------
|
147
|
+
# ...
|
148
|
+
#
|
149
|
+
# values: string
|
150
|
+
# default: empty string
|
151
|
+
# ------------------------------------------------------------------------------
|
152
|
+
enabled: false
|
153
|
+
frameRate: 150
|
154
|
+
animationTime: 400
|
155
|
+
stepSize: 100
|
156
|
+
accelerationDelta: 50
|
157
|
+
accelerationMax: 3
|
158
|
+
keyboardSupport: true
|
159
|
+
arrowScroll: 50
|
160
|
+
pulseAlgorithm: true
|
161
|
+
pulseScale: 4
|
162
|
+
pulseNormalize: 1
|
163
|
+
touchpadSupport: false
|
164
|
+
fixedBackground: true
|
165
|
+
excluded:
|
166
|
+
|
167
|
+
|
168
|
+
# END config
|
169
|
+
# ------------------------------------------------------------------------------
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/defaults/stickybits.yml
|
3
|
+
# Default configuration settings for J1 Stickybits module
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2019 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
12
|
+
# ------------------------------------------------------------------------------
|
13
|
+
|
14
|
+
# ------------------------------------------------------------------------------
|
15
|
+
# About this configuration (used for J1 CC only)
|
16
|
+
#
|
17
|
+
about_config:
|
18
|
+
|
19
|
+
title: Stickybits
|
20
|
+
scope: Default settings
|
21
|
+
location: _data/modules/defaults/stickybits.yml
|
22
|
+
|
23
|
+
# ------------------------------------------------------------------------------
|
24
|
+
# User configuration settings
|
25
|
+
#
|
26
|
+
defaults:
|
27
|
+
|
28
|
+
enabled: true
|
29
|
+
selector: .sticky
|
30
|
+
offset: 0
|
31
|
+
useFixed: false
|
32
|
+
useStickyClasses: true # default: false
|
33
|
+
verticalPosition: bottom
|
34
|
+
|
35
|
+
|
36
|
+
# END config
|
37
|
+
# ------------------------------------------------------------------------------
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/defaults/theme_switcher.yml
|
3
|
+
# Default configuration settings for J1 Theme Switcher
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2019 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
|
15
|
+
# ------------------------------------------------------------------------------
|
16
|
+
# J1 Theme Switcher settings
|
17
|
+
#
|
18
|
+
# enabled
|
19
|
+
# ----------------------------------------------------------------------------
|
20
|
+
# Enables|Disables the use of J1 Theme Switcher
|
21
|
+
#
|
22
|
+
# values: boolean (true|false)
|
23
|
+
# default: false
|
24
|
+
#
|
25
|
+
# debug
|
26
|
+
# ----------------------------------------------------------------------------
|
27
|
+
# Enables|Disables the console log
|
28
|
+
#
|
29
|
+
# values: boolean (true|false)
|
30
|
+
# default: false
|
31
|
+
#
|
32
|
+
# cssThemeLink
|
33
|
+
# ----------------------------------------------------------------------------
|
34
|
+
# The ID used for the bootstrap theme css file
|
35
|
+
#
|
36
|
+
# values: string
|
37
|
+
# default: bootstrapTheme
|
38
|
+
#
|
39
|
+
# saveToCookie
|
40
|
+
# ----------------------------------------------------------------------------
|
41
|
+
# If true, a cookie will be saved with the currently selected theme
|
42
|
+
#
|
43
|
+
# values: boolean (true|false)
|
44
|
+
# default: true
|
45
|
+
#
|
46
|
+
# cookieThemeName
|
47
|
+
# The name of the cookie to be used to store the theme name
|
48
|
+
#
|
49
|
+
# values: string
|
50
|
+
# default: bootstrapTheme.name
|
51
|
+
#
|
52
|
+
# cookieDefaultThemeName
|
53
|
+
# ----------------------------------------------------------------------------
|
54
|
+
# The name of the cookie to be used to store the default theme name
|
55
|
+
#
|
56
|
+
# values: string
|
57
|
+
# default: bootstrapDefaultTheme.name
|
58
|
+
#
|
59
|
+
# cookieThemeCss
|
60
|
+
# ----------------------------------------------------------------------------
|
61
|
+
# The name of the cookie to be used to store the css file name
|
62
|
+
# used for the theme
|
63
|
+
#
|
64
|
+
# values: string
|
65
|
+
# default: bootstrapTheme.css
|
66
|
+
#
|
67
|
+
# cookieExpiration
|
68
|
+
# ----------------------------------------------------------------------------
|
69
|
+
# The number of days the cookies should expire
|
70
|
+
#
|
71
|
+
# values: integer
|
72
|
+
# default: 7
|
73
|
+
#
|
74
|
+
# cookiePath
|
75
|
+
# ----------------------------------------------------------------------------
|
76
|
+
# The path the cookie should be stored
|
77
|
+
#
|
78
|
+
# values: string (path)
|
79
|
+
# default: /
|
80
|
+
#
|
81
|
+
# defaultCssFile
|
82
|
+
# ----------------------------------------------------------------------------
|
83
|
+
# The default css file the plugin should use if it can not load
|
84
|
+
# the themes from Bootswatch
|
85
|
+
#
|
86
|
+
# values: string (URI)
|
87
|
+
# default: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
|
88
|
+
#
|
89
|
+
# bootswatchApiUrl
|
90
|
+
# ----------------------------------------------------------------------------
|
91
|
+
# The url for the bootswatch api
|
92
|
+
#
|
93
|
+
# values: string (URI)
|
94
|
+
# default: http://api.bootswatch.com
|
95
|
+
#
|
96
|
+
# bootswatchApiVersion
|
97
|
+
# ----------------------------------------------------------------------------
|
98
|
+
# The version of the bootswatch api to use
|
99
|
+
#
|
100
|
+
# values: integer
|
101
|
+
# default: 3
|
102
|
+
#
|
103
|
+
# localFeed
|
104
|
+
# ----------------------------------------------------------------------------
|
105
|
+
# The path to a JSON file that contains the themes you want to use.
|
106
|
+
# If this parameter is used, the control will be loaded the themes
|
107
|
+
# from here and not go to the bootswatchApiUrl. A sample of the json
|
108
|
+
# file can be found at themes.json
|
109
|
+
#
|
110
|
+
# values: string
|
111
|
+
# default: empty string
|
112
|
+
#
|
113
|
+
# excludeBootswatch
|
114
|
+
# ----------------------------------------------------------------------------
|
115
|
+
# Comma separated list of BootSwatch names (e.g. Slate,Yeti) that
|
116
|
+
# should be excluded from the rendered <ul> or <select>
|
117
|
+
#
|
118
|
+
# values: string
|
119
|
+
# default: empty string
|
120
|
+
#
|
121
|
+
# hideOnReload
|
122
|
+
# ----------------------------------------------------------------------------
|
123
|
+
# Number of milliseconds (msec) the current page is hidden (display: none)
|
124
|
+
# to prevent "DOM flicker" aka "FOUC" (Flash of unstyled content) while
|
125
|
+
# the css file is loaded|activated
|
126
|
+
#
|
127
|
+
# values: integer
|
128
|
+
# default: 150
|
129
|
+
# ------------------------------------------------------------------------------
|
130
|
+
|
131
|
+
# ------------------------------------------------------------------------------
|
132
|
+
# About this configuration (used for J1 CC only)
|
133
|
+
#
|
134
|
+
about_config:
|
135
|
+
|
136
|
+
title: WebHook
|
137
|
+
scope: Default settings
|
138
|
+
location: _data/modules/defaults/theme_switcher.yml
|
139
|
+
|
140
|
+
# ------------------------------------------------------------------------------
|
141
|
+
# User configuration settings
|
142
|
+
#
|
143
|
+
defaults:
|
144
|
+
|
145
|
+
enabled: true
|
146
|
+
debug: false
|
147
|
+
preview_page: /pages/public/previewer/theme/
|
148
|
+
default_theme_css: /assets/themes/j1/core/css/uno.css
|
149
|
+
default_theme_name: Uno
|
150
|
+
default_theme_author: J1 Team
|
151
|
+
default_theme_link: https://jekyll.one/
|
152
|
+
menu_icon_family: FontAwesome
|
153
|
+
menu_icon_color: rgba_darken
|
154
|
+
menu_icon_size: large
|
155
|
+
cssThemeLink: bootstrapTheme
|
156
|
+
saveToCookie: true
|
157
|
+
defaultCssFile: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
|
158
|
+
bootswatchApiUrl: "https://bootswatch.com/api"
|
159
|
+
bootswatchApiVersion: 4
|
160
|
+
loadFromBootswatch: true
|
161
|
+
localFeed: /assets/data/themes.json
|
162
|
+
hideOnReload: 150
|
163
|
+
excludeBootswatch: Sketchy
|
164
|
+
includeBootswatch: /assets/themes/j1/core/css/theme_extensions.css
|
165
|
+
skipIncludeBootswatch: Uno
|
166
|
+
|
167
|
+
# END config
|
168
|
+
# ------------------------------------------------------------------------------
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/defaults/toccer.yml
|
3
|
+
# Default configuration settings for J1 Toccer (TOC Module)
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2019 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
12
|
+
# ------------------------------------------------------------------------------
|
13
|
+
|
14
|
+
# ------------------------------------------------------------------------------
|
15
|
+
# About this configuration (used for J1 CC only)
|
16
|
+
#
|
17
|
+
about_config:
|
18
|
+
|
19
|
+
title: Toccer
|
20
|
+
scope: Default settings
|
21
|
+
location: _data/modules/defaults/toccer.yml
|
22
|
+
|
23
|
+
# ------------------------------------------------------------------------------
|
24
|
+
# User configuration settings
|
25
|
+
#
|
26
|
+
defaults:
|
27
|
+
|
28
|
+
# ----------------------------------------------------------------------------
|
29
|
+
# GENERAL settings
|
30
|
+
#
|
31
|
+
# enabled
|
32
|
+
# ----------------------------------------------------------------------------
|
33
|
+
# Enables|Disables the use of J1 TocManager
|
34
|
+
#
|
35
|
+
# values: boolean (true|false)
|
36
|
+
# default: false
|
37
|
+
#
|
38
|
+
# log
|
39
|
+
# --------------------------------------------------------------------------
|
40
|
+
# Setting the log option to true enables the current option settings to
|
41
|
+
# be written to the JavaScript console so you can inspect the settings.
|
42
|
+
#
|
43
|
+
# values: boolean (true|false)
|
44
|
+
# default: false
|
45
|
+
# ----------------------------------------------------------------------------
|
46
|
+
enabled: true
|
47
|
+
log: false
|
48
|
+
|
49
|
+
# ----------------------------------------------------------------------------
|
50
|
+
# MODULE settings
|
51
|
+
#
|
52
|
+
# tocSelector
|
53
|
+
# ----------------------------------------------------------------------------
|
54
|
+
# Specifies the <div> element where to render the table of contents.
|
55
|
+
#
|
56
|
+
# type: string (HTML class)
|
57
|
+
# values: any HTML class
|
58
|
+
# default: .js-toc
|
59
|
+
#
|
60
|
+
# headingSelector
|
61
|
+
# --------------------------------------------------------------------------
|
62
|
+
# Which headings to grab inside of the contentSelector element to build
|
63
|
+
# the table of contents.
|
64
|
+
#
|
65
|
+
# type: string (HTML class)
|
66
|
+
# values: any HTML heading element class
|
67
|
+
# default: "h1, h2, h3"
|
68
|
+
#
|
69
|
+
# ignoreSelector
|
70
|
+
# --------------------------------------------------------------------------
|
71
|
+
# Headings that match the ignoreSelector will be skipped and ignored.
|
72
|
+
# Use this HTML class to exclude a heading from TOC.
|
73
|
+
#
|
74
|
+
# type: string (HTML class)
|
75
|
+
# values: any HTML class
|
76
|
+
# default: .notoc
|
77
|
+
#
|
78
|
+
# contentSelector
|
79
|
+
# --------------------------------------------------------------------------
|
80
|
+
# Specifies the <div> element, typiclly your contet area, from which
|
81
|
+
# the headings are taken to calculate the TOC.
|
82
|
+
#
|
83
|
+
# type: string (HTML class)
|
84
|
+
# default: .js-toc-content
|
85
|
+
#
|
86
|
+
# activeLinkColor
|
87
|
+
# --------------------------------------------------------------------------
|
88
|
+
# Color of the TOC element that is marked as selected (active).
|
89
|
+
#
|
90
|
+
# type: string (color)
|
91
|
+
# default: "#204A87"
|
92
|
+
#
|
93
|
+
# collapseDepth
|
94
|
+
# --------------------------------------------------------------------------
|
95
|
+
# Specifies how many heading levels should NOT collapsed (displayed).
|
96
|
+
# For example, a value of 6 will show everything (since there are
|
97
|
+
# only 6 heading levels (H1 .. H6) and a value of 1 will collapse
|
98
|
+
# all. Hidden sections opened and closed (accordion effect) as the
|
99
|
+
# content is being scrolled down.
|
100
|
+
#
|
101
|
+
# type: integer ( [1..6] )
|
102
|
+
# default: 2
|
103
|
+
#
|
104
|
+
# throttleTimeout
|
105
|
+
# --------------------------------------------------------------------------
|
106
|
+
# Timeout between events firing to make sure it's not too rapid
|
107
|
+
# (for performance reasons).
|
108
|
+
#
|
109
|
+
# type: integer
|
110
|
+
# default: 50
|
111
|
+
#
|
112
|
+
# scrollOptions
|
113
|
+
# --------------------------------------------------------------------------
|
114
|
+
# smooth-scroll options object, see more details at:
|
115
|
+
# https://github.com/cferdinandi/smooth-scroll
|
116
|
+
#
|
117
|
+
# values
|
118
|
+
#
|
119
|
+
# easing Type|Speed of the scroll effect the heading|section
|
120
|
+
# (of the content) is scrolled to if a toc element
|
121
|
+
# has been selected.
|
122
|
+
# Linear, moves at the same speed from start to finish.
|
123
|
+
# EaseIn, gradually increases in speed.
|
124
|
+
# EaseOut, gradually decreases in speed.
|
125
|
+
# EaseInOut, gradually increases in speed, peaks, and then
|
126
|
+
# gradually slows down.
|
127
|
+
#
|
128
|
+
# values: Linear|
|
129
|
+
# easeInQuad|easeInCubic|easeInQuart|easeInQuint
|
130
|
+
# easeOutQuad|easeOutCubic|easeOutQuart|easeOutQuint
|
131
|
+
# easeInOutQuad|easeInOutCubic|easeInOutQuart|easeInOutQuint
|
132
|
+
#
|
133
|
+
# default: easeInOutCubic
|
134
|
+
#
|
135
|
+
# offset
|
136
|
+
# Amount of space (calculated as pixels) between the top of page and the
|
137
|
+
# selected table of contents item after the page has been scrolled.
|
138
|
+
#
|
139
|
+
# values: integer
|
140
|
+
# default: 0
|
141
|
+
#
|
142
|
+
# speed
|
143
|
+
# Overall time (measured in milliseconds) to complete the scroll.
|
144
|
+
#
|
145
|
+
# values: integer
|
146
|
+
# default: 300
|
147
|
+
#
|
148
|
+
# updateURL
|
149
|
+
# ...
|
150
|
+
#
|
151
|
+
# values: boolean (true|false)
|
152
|
+
# default: true
|
153
|
+
#
|
154
|
+
# ----------------------------------------------------------------------------
|
155
|
+
tocSelector: .js-toc
|
156
|
+
headingSelector: "h2, h3, h4, h5"
|
157
|
+
headingsOffset: 500
|
158
|
+
ignoreSelector: .notoc
|
159
|
+
contentSelector: .js-toc-content
|
160
|
+
activeLinkColor: "#3F51B5"
|
161
|
+
collapseDepth: 2
|
162
|
+
throttleTimeout: 50
|
163
|
+
includeHtml: false
|
164
|
+
smoothScrollEnabled: true
|
165
|
+
smoothScrollDuration: 300
|
166
|
+
smoothScrollOffset: 90
|
167
|
+
headingsOffset: 0
|
168
|
+
throttleTimeout: 50
|
169
|
+
|
170
|
+
|
171
|
+
# END config
|
172
|
+
# ------------------------------------------------------------------------------
|