j1_template_mde 2018.4.25 → 2018.4.26
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/_includes/themes/j1/layouts/layout_shim_generator.html +11 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +0 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +498 -292
- data/lib/j1_app/j1_auth_manager/helpers.rb +19 -2
- data/lib/j1_app/omniauth/strategies/disqus.rb +1 -1
- data/lib/j1_app/omniauth/strategies/patreon.rb +5 -3
- data/lib/starter_web/Gemfile +4 -4
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/apps/j1_bootstrap_gallery.yml +11 -10
- data/lib/starter_web/_data/apps/j1_carousel.yml +49 -48
- data/lib/starter_web/_data/apps/j1_justified_gallery.yml +14 -12
- data/lib/starter_web/_data/apps/j1_light_gallery.yml +10 -8
- data/lib/starter_web/_data/apps/j1_lightbox.yml +31 -29
- data/lib/starter_web/_data/apps/j1_link_checker.yml +6 -4
- data/lib/starter_web/_data/asciidoc2pdf/default-theme.yml +57 -55
- data/lib/starter_web/_data/asciidoc2pdf/j1-theme.yml +6 -6
- data/lib/starter_web/_data/builder/blog_navigator.yml +9 -11
- data/lib/starter_web/_data/j1_colors.yml +27 -27
- data/lib/starter_web/_data/j1_config.yml +43 -41
- data/lib/starter_web/_data/j1_polyfills.yml +49 -0
- data/lib/starter_web/_data/j1_resources.yml +5 -4
- data/lib/starter_web/_data/layouts/app.yml +14 -15
- data/lib/starter_web/_data/layouts/blog_archive.yml +24 -26
- data/lib/starter_web/_data/layouts/collection.yml +24 -25
- data/lib/starter_web/_data/layouts/default.yml +74 -107
- data/lib/starter_web/_data/layouts/home.yml +24 -32
- data/lib/starter_web/_data/layouts/page.yml +24 -25
- data/lib/starter_web/_data/layouts/post.yml +24 -25
- data/lib/starter_web/_data/layouts/raw.yml +14 -15
- data/lib/starter_web/_data/modules/j1_back2top.yml +25 -23
- data/lib/starter_web/_data/modules/j1_footer.yml +5 -4
- data/lib/starter_web/_data/modules/j1_header.yml +4 -4
- data/lib/starter_web/_data/modules/j1_iframe_resizer.yml +40 -20
- data/lib/starter_web/_data/modules/j1_jekyll_search.yml +25 -12
- data/lib/starter_web/_data/modules/j1_log4javascript.yml +12 -12
- data/lib/starter_web/_data/modules/j1_panel.yml +56 -58
- data/lib/starter_web/_data/modules/j1_parallax.yml +10 -6
- data/lib/starter_web/_data/modules/j1_polyfills.yml +0 -0
- data/lib/starter_web/_data/modules/j1_smooth_scroll.yml +83 -55
- data/lib/starter_web/_data/modules/j1_theme_switcher.yml +57 -43
- data/lib/starter_web/_data/modules/j1_toccer.yml +36 -35
- data/lib/starter_web/_data/pages/builder.yml +17 -16
- data/lib/starter_web/_rack/config.ru +4 -3
- data/lib/starter_web/assets/themes/j1/core/css/uno.css +8 -2
- data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
- data/lib/starter_web/package.json +1 -1
- metadata +4 -4
- data/lib/starter_web/_config.yml.kapott +0 -1064
- data/lib/starter_web/assets/data/_panel.html +0 -597
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
#
|
|
27
27
|
# Individual settings (e.g. page placement, cite, source) are configured
|
|
28
28
|
# with the panels configuration (j1_panels.yml).
|
|
29
|
-
|
|
30
|
-
#
|
|
29
|
+
#
|
|
30
|
+
# gridify
|
|
31
|
+
# ----------------------------------------------------------------------------
|
|
31
32
|
# If enabled, a grit pattern is placed over the background image. This
|
|
32
33
|
# puts some "noise" on the image to focus more on the quote|text rather
|
|
33
34
|
# than the image.
|
|
@@ -35,13 +36,15 @@
|
|
|
35
36
|
# values: boolean (true|false)
|
|
36
37
|
# default: true
|
|
37
38
|
#
|
|
38
|
-
#
|
|
39
|
+
# gridifier
|
|
40
|
+
# ----------------------------------------------------------------------------
|
|
39
41
|
# Pixel image used to gridify the background image of the banner.
|
|
40
42
|
#
|
|
41
43
|
# values: image path|name (string)
|
|
42
44
|
# default: /assets/images/patterns/gridtile.png
|
|
43
45
|
#
|
|
44
|
-
#
|
|
46
|
+
# darken
|
|
47
|
+
# ----------------------------------------------------------------------------
|
|
45
48
|
# Sets the lightning for the banner|background image. As higher the value
|
|
46
49
|
# for darken as less is the (background) light. Values are out of the
|
|
47
50
|
# range from 1 (light) to 9 (dark). Useful to focus on the quote|text
|
|
@@ -50,13 +53,14 @@
|
|
|
50
53
|
# values: number [1 .. 9]
|
|
51
54
|
# default: 3
|
|
52
55
|
#
|
|
53
|
-
#
|
|
56
|
+
# background
|
|
57
|
+
# ----------------------------------------------------------------------------
|
|
54
58
|
# Default background image of the banner if no other image is specified with
|
|
55
59
|
# the panels configuration (j1_panels.yml).
|
|
56
60
|
#
|
|
57
61
|
# values: image path|name (string)
|
|
58
62
|
# default: /assets/images/quotes/default.png
|
|
59
|
-
#
|
|
63
|
+
# ------------------------------------------------------------------------------
|
|
60
64
|
parallax_quote:
|
|
61
65
|
gridify: true
|
|
62
66
|
gridifier: /assets/images/patterns/gridtile.png
|
|
File without changes
|
|
@@ -16,96 +16,124 @@
|
|
|
16
16
|
# ------------------------------------------------------------------------------
|
|
17
17
|
# SmoothScroll settings
|
|
18
18
|
# Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
|
|
19
|
-
|
|
20
|
-
#
|
|
19
|
+
#
|
|
20
|
+
# enabled
|
|
21
|
+
# ----------------------------------------------------------------------------
|
|
21
22
|
# Enables|Disables the use of SmoothControl
|
|
22
23
|
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
24
|
+
# values: boolean (true|false)
|
|
25
|
+
# default: false
|
|
25
26
|
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
# frameRate
|
|
29
|
-
# ...
|
|
30
|
-
# values: integer (Hz)
|
|
31
|
-
# default: 150
|
|
27
|
+
# SCROLLING CORE
|
|
28
|
+
# --------------
|
|
32
29
|
#
|
|
33
|
-
#
|
|
30
|
+
# frameRate
|
|
31
|
+
# ----------------------------------------------------------------------------
|
|
34
32
|
# ...
|
|
35
|
-
# values: integer (msec)
|
|
36
|
-
# default: 400
|
|
37
33
|
#
|
|
38
|
-
#
|
|
34
|
+
# values: integer (Hz)
|
|
35
|
+
# default: 150
|
|
36
|
+
#
|
|
37
|
+
# animationTime
|
|
38
|
+
# ----------------------------------------------------------------------------
|
|
39
39
|
# ...
|
|
40
|
-
# values: integer (px)
|
|
41
|
-
# default: 100
|
|
42
40
|
#
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
41
|
+
# values: integer (msec)
|
|
42
|
+
# default: 400
|
|
43
|
+
#
|
|
44
|
+
# stepSize
|
|
45
|
+
# ----------------------------------------------------------------------------
|
|
46
46
|
# ...
|
|
47
|
-
# values: integer
|
|
48
|
-
# default: 50
|
|
49
47
|
#
|
|
50
|
-
#
|
|
48
|
+
# values: integer (px)
|
|
49
|
+
# default: 100
|
|
50
|
+
#
|
|
51
|
+
# ACCELERATION SETTINGS
|
|
52
|
+
# ---------------------
|
|
53
|
+
#
|
|
54
|
+
# accelerationDelta
|
|
55
|
+
# ----------------------------------------------------------------------------
|
|
51
56
|
# ...
|
|
52
|
-
# values: integer
|
|
53
|
-
# default: 3
|
|
54
57
|
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
+
# values: integer
|
|
59
|
+
# default: 50
|
|
60
|
+
#
|
|
61
|
+
# accelerationMax
|
|
62
|
+
# ----------------------------------------------------------------------------
|
|
63
|
+
# ...
|
|
64
|
+
#
|
|
65
|
+
# values: integer
|
|
66
|
+
# default: 3
|
|
67
|
+
#
|
|
68
|
+
# KEYBOARD SETTINGS
|
|
69
|
+
# -----------------
|
|
70
|
+
#
|
|
71
|
+
# keyboardSupport
|
|
72
|
+
# ----------------------------------------------------------------------------
|
|
58
73
|
# Enables|Disables Keyboard support for smooth scrolling
|
|
59
74
|
#
|
|
60
|
-
#
|
|
61
|
-
#
|
|
75
|
+
# values: boolean (true|false)
|
|
76
|
+
# default: true
|
|
62
77
|
#
|
|
63
|
-
#
|
|
78
|
+
# arrowScroll
|
|
79
|
+
# ----------------------------------------------------------------------------
|
|
64
80
|
# Number of pixels to scroll when pressing a keyboard arrow key
|
|
65
81
|
#
|
|
66
|
-
#
|
|
67
|
-
#
|
|
82
|
+
# values: integer (px)
|
|
83
|
+
# default: 50
|
|
68
84
|
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
71
|
-
#
|
|
85
|
+
# PULSE ALGORITHM SETTINGS
|
|
86
|
+
# ------------------------
|
|
87
|
+
#
|
|
88
|
+
# pulseAlgorithm
|
|
89
|
+
# ----------------------------------------------------------------------------
|
|
72
90
|
# Enables easing of the scrolling animation. When disabled, the page
|
|
73
91
|
# animation will be linear (ratio of "tail" to "acceleration")
|
|
74
92
|
#
|
|
75
|
-
#
|
|
76
|
-
#
|
|
93
|
+
# values: boolean (true|false)
|
|
94
|
+
# default: true
|
|
77
95
|
#
|
|
78
|
-
#
|
|
96
|
+
# pulseScale
|
|
97
|
+
# ----------------------------------------------------------------------------
|
|
79
98
|
# Defines the speed of pulse step scrolling
|
|
80
99
|
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
100
|
+
# values: integer
|
|
101
|
+
# default: 4
|
|
83
102
|
#
|
|
84
103
|
# pulseNormalize
|
|
104
|
+
# ----------------------------------------------------------------------------
|
|
85
105
|
# ...
|
|
86
|
-
# values: integer
|
|
87
|
-
# default: 1
|
|
88
106
|
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
107
|
+
# values: integer
|
|
108
|
+
# default: 1
|
|
109
|
+
#
|
|
110
|
+
# TOUCHPAD SETTINGS
|
|
111
|
+
# -----------------
|
|
112
|
+
#
|
|
113
|
+
# touchpadSupport
|
|
114
|
+
# ----------------------------------------------------------------------------
|
|
92
115
|
# Enables|Disables Touchpad support for smooth scrolling
|
|
93
116
|
#
|
|
94
|
-
#
|
|
95
|
-
#
|
|
117
|
+
# values: boolean (true|false)
|
|
118
|
+
# default: false
|
|
119
|
+
#
|
|
120
|
+
# OTHER SETTINGS
|
|
121
|
+
# --------------
|
|
96
122
|
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
# fixedBackground
|
|
123
|
+
# fixedBackground
|
|
124
|
+
# ----------------------------------------------------------------------------
|
|
100
125
|
# ...
|
|
101
|
-
# values: boolean (true|false)
|
|
102
|
-
# default: true
|
|
103
126
|
#
|
|
104
|
-
#
|
|
127
|
+
# values: boolean (true|false)
|
|
128
|
+
# default: true
|
|
129
|
+
#
|
|
130
|
+
# excluded
|
|
131
|
+
# ----------------------------------------------------------------------------
|
|
105
132
|
# ...
|
|
106
|
-
# values: string
|
|
107
|
-
# default: empty string
|
|
108
133
|
#
|
|
134
|
+
# values: string
|
|
135
|
+
# default: empty string
|
|
136
|
+
# ------------------------------------------------------------------------------
|
|
109
137
|
enabled: false
|
|
110
138
|
frameRate: 150
|
|
111
139
|
animationTime: 400
|
|
@@ -14,29 +14,33 @@
|
|
|
14
14
|
# ------------------------------------------------------------------------------
|
|
15
15
|
# J1 Theme Switcher settings
|
|
16
16
|
#
|
|
17
|
-
#
|
|
17
|
+
# enabled
|
|
18
|
+
# ----------------------------------------------------------------------------
|
|
18
19
|
# Enables|Disables the use of J1 Theme Switcher
|
|
19
20
|
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
21
|
+
# values: boolean (true|false)
|
|
22
|
+
# default: false
|
|
22
23
|
#
|
|
23
|
-
#
|
|
24
|
+
# debug
|
|
25
|
+
# ----------------------------------------------------------------------------
|
|
24
26
|
# Enables|Disables the console log
|
|
25
27
|
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
+
# values: boolean (true|false)
|
|
29
|
+
# default: false
|
|
28
30
|
#
|
|
29
|
-
#
|
|
31
|
+
# cssThemeLink
|
|
32
|
+
# ----------------------------------------------------------------------------
|
|
30
33
|
# The ID used for the bootstrap theme css file
|
|
31
34
|
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
35
|
+
# values: string
|
|
36
|
+
# default: bootstrapTheme
|
|
34
37
|
#
|
|
35
|
-
#
|
|
38
|
+
# saveToCookie
|
|
39
|
+
# ----------------------------------------------------------------------------
|
|
36
40
|
# If true, a cookie will be saved with the currently selected theme
|
|
37
41
|
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
42
|
+
# values: boolean (true|false)
|
|
43
|
+
# default: true
|
|
40
44
|
#
|
|
41
45
|
# cookieThemeName
|
|
42
46
|
# The name of the cookie to be used to store the theme name
|
|
@@ -44,74 +48,84 @@
|
|
|
44
48
|
# values: string
|
|
45
49
|
# default: bootstrapTheme.name
|
|
46
50
|
#
|
|
47
|
-
#
|
|
51
|
+
# cookieDefaultThemeName
|
|
52
|
+
# ----------------------------------------------------------------------------
|
|
48
53
|
# The name of the cookie to be used to store the default theme name
|
|
49
54
|
#
|
|
50
|
-
#
|
|
51
|
-
#
|
|
55
|
+
# values: string
|
|
56
|
+
# default: bootstrapDefaultTheme.name
|
|
52
57
|
#
|
|
53
|
-
#
|
|
58
|
+
# cookieThemeCss
|
|
59
|
+
# ----------------------------------------------------------------------------
|
|
54
60
|
# The name of the cookie to be used to store the css file name
|
|
55
61
|
# used for the theme
|
|
56
62
|
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
63
|
+
# values: string
|
|
64
|
+
# default: bootstrapTheme.css
|
|
59
65
|
#
|
|
60
|
-
#
|
|
66
|
+
# cookieExpiration
|
|
67
|
+
# ----------------------------------------------------------------------------
|
|
61
68
|
# The number of days the cookies should expire
|
|
62
69
|
#
|
|
63
|
-
#
|
|
64
|
-
#
|
|
70
|
+
# values: integer
|
|
71
|
+
# default: 7
|
|
65
72
|
#
|
|
66
|
-
#
|
|
73
|
+
# cookiePath
|
|
74
|
+
# ----------------------------------------------------------------------------
|
|
67
75
|
# The path the cookie should be stored
|
|
68
76
|
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
77
|
+
# values: string (path)
|
|
78
|
+
# default: /
|
|
71
79
|
#
|
|
72
|
-
#
|
|
80
|
+
# defaultCssFile
|
|
81
|
+
# ----------------------------------------------------------------------------
|
|
73
82
|
# The default css file the plugin should use if it can not load
|
|
74
83
|
# the themes from Bootswatch
|
|
75
84
|
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
85
|
+
# values: string (URI)
|
|
86
|
+
# default: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
|
|
78
87
|
#
|
|
79
|
-
#
|
|
88
|
+
# bootswatchApiUrl
|
|
89
|
+
# ----------------------------------------------------------------------------
|
|
80
90
|
# The url for the bootswatch api
|
|
81
91
|
#
|
|
82
|
-
#
|
|
83
|
-
#
|
|
92
|
+
# values: string (URI)
|
|
93
|
+
# default: http://api.bootswatch.com
|
|
84
94
|
#
|
|
85
|
-
#
|
|
95
|
+
# bootswatchApiVersion
|
|
96
|
+
# ----------------------------------------------------------------------------
|
|
86
97
|
# The version of the bootswatch api to use
|
|
87
98
|
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
99
|
+
# values: integer
|
|
100
|
+
# default: 3
|
|
90
101
|
#
|
|
91
|
-
#
|
|
102
|
+
# localFeed
|
|
103
|
+
# ----------------------------------------------------------------------------
|
|
92
104
|
# The path to a JSON file that contains the themes you want to use.
|
|
93
105
|
# If this parameter is used, the control will be loaded the themes
|
|
94
106
|
# from here and not go to the bootswatchApiUrl. A sample of the json
|
|
95
107
|
# file can be found at themes.json
|
|
96
108
|
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
109
|
+
# values: string
|
|
110
|
+
# default: empty string
|
|
99
111
|
#
|
|
100
|
-
#
|
|
112
|
+
# excludeBootswatch
|
|
113
|
+
# ----------------------------------------------------------------------------
|
|
101
114
|
# Comma separated list of BootSwatch names (e.g. Slate,Yeti) that
|
|
102
115
|
# should be excluded from the rendered <ul> or <select>
|
|
103
116
|
#
|
|
104
|
-
#
|
|
105
|
-
#
|
|
117
|
+
# values: string
|
|
118
|
+
# default: empty string
|
|
106
119
|
#
|
|
107
|
-
#
|
|
120
|
+
# hideOnReload
|
|
121
|
+
# ----------------------------------------------------------------------------
|
|
108
122
|
# Number of milliseconds (msec) the current page is hidden (display: none)
|
|
109
123
|
# to prevent "DOM flicker" aka "FOUC" (Flash of unstyled content) while
|
|
110
124
|
# the css file is loaded|activated
|
|
111
125
|
#
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
#
|
|
126
|
+
# values: integer
|
|
127
|
+
# default: 150
|
|
128
|
+
# ------------------------------------------------------------------------------
|
|
115
129
|
enabled: true
|
|
116
130
|
debug: false
|
|
117
131
|
previewPage: /pages/public/previewer/theme/
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
# values: boolean (true|false)
|
|
22
22
|
# default: false
|
|
23
23
|
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
24
|
+
# log
|
|
25
|
+
# ----------------------------------------------------------------------------
|
|
26
26
|
# Setting the log option to true enables the current option settings to
|
|
27
27
|
# be written to the JavaScript console so you can inspect the settings.
|
|
28
28
|
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
29
|
+
# values: boolean (true|false)
|
|
30
|
+
# default: false
|
|
31
|
+
# ------------------------------------------------------------------------------
|
|
32
32
|
enabled: true
|
|
33
33
|
log: false
|
|
34
34
|
|
|
@@ -43,60 +43,60 @@ log: false
|
|
|
43
43
|
# values: any HTML class
|
|
44
44
|
# default: .js-toc
|
|
45
45
|
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
46
|
+
# headingSelector
|
|
47
|
+
# ----------------------------------------------------------------------------
|
|
48
48
|
# Which headings to grab inside of the contentSelector element to build
|
|
49
49
|
# the table of contents.
|
|
50
50
|
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
51
|
+
# type: string (HTML class)
|
|
52
|
+
# values: any HTML heading element class
|
|
53
|
+
# default: "h1, h2, h3"
|
|
54
54
|
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
55
|
+
# ignoreSelector
|
|
56
|
+
# ----------------------------------------------------------------------------
|
|
57
57
|
# Headings that match the ignoreSelector will be skipped and ignored.
|
|
58
58
|
# Use this HTML class to exclude a heading from TOC.
|
|
59
59
|
#
|
|
60
|
-
#
|
|
61
|
-
#
|
|
62
|
-
#
|
|
60
|
+
# type: string (HTML class)
|
|
61
|
+
# values: any HTML class
|
|
62
|
+
# default: .notoc
|
|
63
63
|
#
|
|
64
|
-
#
|
|
65
|
-
#
|
|
66
|
-
#
|
|
67
|
-
#
|
|
64
|
+
# contentSelector
|
|
65
|
+
# ----------------------------------------------------------------------------
|
|
66
|
+
# Specifies the <div> element, typiclly your contet area, from which
|
|
67
|
+
# the headings are taken to calculate the TOC.
|
|
68
68
|
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
69
|
+
# type: string (HTML class)
|
|
70
|
+
# default: .js-toc-content
|
|
71
71
|
#
|
|
72
|
-
#
|
|
73
|
-
#
|
|
72
|
+
# activeLinkColor
|
|
73
|
+
# ----------------------------------------------------------------------------
|
|
74
74
|
# Color of the TOC element that is marked as selected (active).
|
|
75
75
|
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
76
|
+
# type: string (color)
|
|
77
|
+
# default: "#204A87"
|
|
78
78
|
#
|
|
79
|
-
#
|
|
80
|
-
#
|
|
79
|
+
# collapseDepth
|
|
80
|
+
# ----------------------------------------------------------------------------
|
|
81
81
|
# Specifies how many heading levels should NOT collapsed (displayed).
|
|
82
82
|
# For example, a value of 6 will show everything (since there are
|
|
83
83
|
# only 6 heading levels (H1 .. H6) and a value of 1 will collapse
|
|
84
84
|
# all. Hidden sections opened and closed (accordion effect) as the
|
|
85
85
|
# content is being scrolled down.
|
|
86
86
|
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
87
|
+
# type: integer ( [1..6] )
|
|
88
|
+
# default: 2
|
|
89
89
|
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
90
|
+
# throttleTimeout
|
|
91
|
+
# ----------------------------------------------------------------------------
|
|
92
92
|
# Timeout between events firing to make sure it's not too rapid
|
|
93
93
|
# (for performance reasons).
|
|
94
94
|
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
95
|
+
# type: integer
|
|
96
|
+
# default: 50
|
|
97
97
|
#
|
|
98
|
-
#
|
|
99
|
-
#
|
|
98
|
+
# scrollOptions
|
|
99
|
+
# ----------------------------------------------------------------------------
|
|
100
100
|
# smooth-scroll options object, see more details at:
|
|
101
101
|
# https://github.com/cferdinandi/smooth-scroll
|
|
102
102
|
#
|
|
@@ -137,6 +137,7 @@ log: false
|
|
|
137
137
|
# values: boolean (true|false)
|
|
138
138
|
# default: true
|
|
139
139
|
#
|
|
140
|
+
# ------------------------------------------------------------------------------
|
|
140
141
|
defaults:
|
|
141
142
|
tocSelector: .js-toc
|
|
142
143
|
headingSelector: "h2, h3, h4, h5"
|