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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_shim_generator.html +11 -0
  3. data/lib/j1/version.rb +1 -1
  4. data/lib/j1_app.rb +0 -1
  5. data/lib/j1_app/j1_auth_manager/auth_manager.rb +498 -292
  6. data/lib/j1_app/j1_auth_manager/helpers.rb +19 -2
  7. data/lib/j1_app/omniauth/strategies/disqus.rb +1 -1
  8. data/lib/j1_app/omniauth/strategies/patreon.rb +5 -3
  9. data/lib/starter_web/Gemfile +4 -4
  10. data/lib/starter_web/_config.yml +2 -2
  11. data/lib/starter_web/_data/apps/j1_bootstrap_gallery.yml +11 -10
  12. data/lib/starter_web/_data/apps/j1_carousel.yml +49 -48
  13. data/lib/starter_web/_data/apps/j1_justified_gallery.yml +14 -12
  14. data/lib/starter_web/_data/apps/j1_light_gallery.yml +10 -8
  15. data/lib/starter_web/_data/apps/j1_lightbox.yml +31 -29
  16. data/lib/starter_web/_data/apps/j1_link_checker.yml +6 -4
  17. data/lib/starter_web/_data/asciidoc2pdf/default-theme.yml +57 -55
  18. data/lib/starter_web/_data/asciidoc2pdf/j1-theme.yml +6 -6
  19. data/lib/starter_web/_data/builder/blog_navigator.yml +9 -11
  20. data/lib/starter_web/_data/j1_colors.yml +27 -27
  21. data/lib/starter_web/_data/j1_config.yml +43 -41
  22. data/lib/starter_web/_data/j1_polyfills.yml +49 -0
  23. data/lib/starter_web/_data/j1_resources.yml +5 -4
  24. data/lib/starter_web/_data/layouts/app.yml +14 -15
  25. data/lib/starter_web/_data/layouts/blog_archive.yml +24 -26
  26. data/lib/starter_web/_data/layouts/collection.yml +24 -25
  27. data/lib/starter_web/_data/layouts/default.yml +74 -107
  28. data/lib/starter_web/_data/layouts/home.yml +24 -32
  29. data/lib/starter_web/_data/layouts/page.yml +24 -25
  30. data/lib/starter_web/_data/layouts/post.yml +24 -25
  31. data/lib/starter_web/_data/layouts/raw.yml +14 -15
  32. data/lib/starter_web/_data/modules/j1_back2top.yml +25 -23
  33. data/lib/starter_web/_data/modules/j1_footer.yml +5 -4
  34. data/lib/starter_web/_data/modules/j1_header.yml +4 -4
  35. data/lib/starter_web/_data/modules/j1_iframe_resizer.yml +40 -20
  36. data/lib/starter_web/_data/modules/j1_jekyll_search.yml +25 -12
  37. data/lib/starter_web/_data/modules/j1_log4javascript.yml +12 -12
  38. data/lib/starter_web/_data/modules/j1_panel.yml +56 -58
  39. data/lib/starter_web/_data/modules/j1_parallax.yml +10 -6
  40. data/lib/starter_web/_data/modules/j1_polyfills.yml +0 -0
  41. data/lib/starter_web/_data/modules/j1_smooth_scroll.yml +83 -55
  42. data/lib/starter_web/_data/modules/j1_theme_switcher.yml +57 -43
  43. data/lib/starter_web/_data/modules/j1_toccer.yml +36 -35
  44. data/lib/starter_web/_data/pages/builder.yml +17 -16
  45. data/lib/starter_web/_rack/config.ru +4 -3
  46. data/lib/starter_web/assets/themes/j1/core/css/uno.css +8 -2
  47. data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
  48. data/lib/starter_web/package.json +1 -1
  49. metadata +4 -4
  50. data/lib/starter_web/_config.yml.kapott +0 -1064
  51. data/lib/starter_web/assets/data/_panel.html +0 -597
@@ -20,15 +20,15 @@
20
20
  # ------------------------------------------------------------------------------
21
21
  # Layout configuration settings
22
22
 
23
- # lanes|lane
24
- # -------------------------------------
23
+ # lanes|lane
24
+ # ----------------------------------------------------------------------------
25
25
  # Set LANE specific configuration parameters for a page LAYOUT. The
26
26
  # LANES array contains multiple (lane) hashes that describes the type
27
27
  # of the component that is loaded into a lane and their specific
28
28
  # (placement) parameters.
29
29
  #
30
- # region
31
- # -------------------------------------
30
+ # region
31
+ # ----------------------------------------------------------------------------
32
32
  # J1 templates defines, based on the general structure of a HTML page
33
33
  # (head|body), more specific REGIONS based on HTML5 semantic elements
34
34
  # to place HTML data:
@@ -54,57 +54,49 @@
54
54
  # values: head|body-navigation|body-header|body-main|body-footer
55
55
  # default: no defaults
56
56
  #
57
- # comment
58
- # ------------------------------------------------------------------------------
59
- # Each lane should be commented for easier reading the HTML source code.
60
- #
61
- # values: string
62
- # default: no defaults
63
- #
64
- # type
65
- # ------------------------------------------------------------------------------
57
+ # type
58
+ # ----------------------------------------------------------------------------
66
59
  # The (HTML) content of a lane can be included (from an include file) or
67
60
  # loaded asychronously from a HTML data file by AJAX (get|load) calls.
68
61
  # J1 template is using jQuery as an interface to AJAX calls.
69
62
  #
70
- # values: include|load
71
- # default: no defaults
63
+ # values: include|load
64
+ # default: no defaults
72
65
  #
73
- # source
74
- # ------------------------------------------------------------------------------
66
+ # source
67
+ # ----------------------------------------------------------------------------
75
68
  # The parameter source defines a (site root relativ) path to the data
76
69
  # source to be included or loaded.
77
70
  #
78
- # values: string (path)
79
- # default: no defaults
71
+ # values: string (path)
72
+ # default: no defaults
80
73
  #
81
- # file
82
- # ------------------------------------------------------------------------------
74
+ # file
75
+ # ----------------------------------------------------------------------------
83
76
  # Defines the data file to be included or loaded.
84
77
  #
85
- # values: string
86
- # default: no defaults
78
+ # values: string
79
+ # default: no defaults
87
80
  #
88
- # id
89
- # ------------------------------------------------------------------------------
81
+ # id
82
+ # ----------------------------------------------------------------------------
90
83
  # Used for AJAX load calls (see parameter type). The id is used twice. First,
91
84
  # id references a HTML fragment as part of the (HTML) data file (see parameter
92
85
  # data below). Second, the id is used to identify the placeholder (div)
93
86
  # element where the AJAX call puts the data on.
94
87
  #
95
- # values: string
96
- # default: no defaults
88
+ # values: string
89
+ # default: no defaults
97
90
  #
98
- # helper_classes
99
- # -------------------------------------
91
+ # class
92
+ # ----------------------------------------------------------------------------
100
93
  # Additional CSS classes that are put on the placeholder (div) element.
101
94
  # Can be used for type 'load', only.
102
95
  #
103
- # values: string (CSS class name)
104
- # default: no defaults
96
+ # values: string (CSS class name)
97
+ # default: no defaults
105
98
  #
106
99
  # ------------------------------------------------------------------------------
107
-
108
100
  lanes:
109
101
 
110
102
  # ----------------------------------------------------------------------------
@@ -20,15 +20,15 @@
20
20
  # ------------------------------------------------------------------------------
21
21
  # Layout configuration settings
22
22
 
23
- # lanes|lane
24
- # -------------------------------------
23
+ # lanes|lane
24
+ # ----------------------------------------------------------------------------
25
25
  # Set LANE specific configuration parameters for a page LAYOUT. The
26
26
  # LANES array contains multiple (lane) hashes that describes the type
27
27
  # of the component that is loaded into a lane and their specific
28
28
  # (placement) parameters.
29
29
  #
30
- # region
31
- # -------------------------------------
30
+ # region
31
+ # ----------------------------------------------------------------------------
32
32
  # J1 templates defines, based on the general structure of a HTML page
33
33
  # (head|body), more specific REGIONS based on HTML5 semantic elements
34
34
  # to place HTML data:
@@ -54,50 +54,49 @@
54
54
  # values: head|body-navigation|body-header|body-main|body-footer
55
55
  # default: no defaults
56
56
  #
57
- # type
58
- # -------------------------------------
57
+ # type
58
+ # ----------------------------------------------------------------------------
59
59
  # The (HTML) content of a lane can be included (from an include file) or
60
60
  # loaded asychronously from a HTML data file by AJAX (get|load) calls.
61
61
  # J1 template is using jQuery as an interface to AJAX calls.
62
62
  #
63
- # values: include|load
64
- # default: no defaults
63
+ # values: include|load
64
+ # default: no defaults
65
65
  #
66
- # source
67
- # -------------------------------------
66
+ # source
67
+ # ----------------------------------------------------------------------------
68
68
  # The parameter source defines a (site root relativ) path to the data
69
69
  # source to be included or loaded.
70
70
  #
71
- # values: string (path)
72
- # default: no defaults
71
+ # values: string (path)
72
+ # default: no defaults
73
73
  #
74
- # file
75
- # -------------------------------------
74
+ # file
75
+ # ----------------------------------------------------------------------------
76
76
  # Defines the data file to be included or loaded.
77
77
  #
78
- # values: string
79
- # default: no defaults
78
+ # values: string
79
+ # default: no defaults
80
80
  #
81
- # id
82
- # -------------------------------------
81
+ # id
82
+ # ----------------------------------------------------------------------------
83
83
  # Used for AJAX load calls (see parameter type). The id is used twice. First,
84
84
  # id references a HTML fragment as part of the (HTML) data file (see parameter
85
85
  # data below). Second, the id is used to identify the placeholder (div)
86
86
  # element where the AJAX call puts the data on.
87
87
  #
88
- # values: string
89
- # default: no defaults
88
+ # values: string
89
+ # default: no defaults
90
90
  #
91
- # class
92
- # -------------------------------------
91
+ # class
92
+ # ----------------------------------------------------------------------------
93
93
  # Additional CSS classes that are put on the placeholder (div) element.
94
94
  # Can be used for type 'load', only.
95
95
  #
96
- # values: string (CSS class name)
97
- # default: no defaults
96
+ # values: string (CSS class name)
97
+ # default: no defaults
98
98
  #
99
99
  # ------------------------------------------------------------------------------
100
-
101
100
  lanes:
102
101
 
103
102
  # ------------------------------------------------------------------------------
@@ -20,15 +20,15 @@
20
20
  # ------------------------------------------------------------------------------
21
21
  # Layout configuration settings
22
22
 
23
- # lanes|lane
24
- # -------------------------------------
23
+ # lanes|lane
24
+ # ----------------------------------------------------------------------------
25
25
  # Set LANE specific configuration parameters for a page LAYOUT. The
26
26
  # LANES array contains multiple (lane) hashes that describes the type
27
27
  # of the component that is loaded into a lane and their specific
28
28
  # (placement) parameters.
29
29
  #
30
- # region
31
- # -------------------------------------
30
+ # region
31
+ # ----------------------------------------------------------------------------
32
32
  # J1 templates defines, based on the general structure of a HTML page
33
33
  # (head|body), more specific REGIONS based on HTML5 semantic elements
34
34
  # to place HTML data:
@@ -54,50 +54,49 @@
54
54
  # values: head|body-navigation|body-header|body-main|body-footer
55
55
  # default: no defaults
56
56
  #
57
- # type
58
- # -------------------------------------
57
+ # type
58
+ # ----------------------------------------------------------------------------
59
59
  # The (HTML) content of a lane can be included (from an include file) or
60
60
  # loaded asychronously from a HTML data file by AJAX (get|load) calls.
61
61
  # J1 template is using jQuery as an interface to AJAX calls.
62
62
  #
63
- # values: include|load
64
- # default: no defaults
63
+ # values: include|load
64
+ # default: no defaults
65
65
  #
66
- # source
67
- # -------------------------------------
66
+ # source
67
+ # ----------------------------------------------------------------------------
68
68
  # The parameter source defines a (site root relativ) path to the data
69
69
  # source to be included or loaded.
70
70
  #
71
- # values: string (path)
72
- # default: no defaults
71
+ # values: string (path)
72
+ # default: no defaults
73
73
  #
74
- # file
75
- # -------------------------------------
74
+ # file
75
+ # ----------------------------------------------------------------------------
76
76
  # Defines the data file to be included or loaded.
77
77
  #
78
- # values: string
79
- # default: no defaults
78
+ # values: string
79
+ # default: no defaults
80
80
  #
81
- # id
82
- # -------------------------------------
81
+ # id
82
+ # ----------------------------------------------------------------------------
83
83
  # Used for AJAX load calls (see parameter type). The id is used twice. First,
84
84
  # id references a HTML fragment as part of the (HTML) data file (see parameter
85
85
  # data below). Second, the id is used to identify the placeholder (div)
86
86
  # element where the AJAX call puts the data on.
87
87
  #
88
- # values: string
89
- # default: no defaults
88
+ # values: string
89
+ # default: no defaults
90
90
  #
91
- # class
92
- # -------------------------------------
91
+ # class
92
+ # ----------------------------------------------------------------------------
93
93
  # Additional CSS classes that are put on the placeholder (div) element.
94
94
  # Can be used for type 'load', only.
95
95
  #
96
- # values: string (CSS class name)
97
- # default: no defaults
96
+ # values: string (CSS class name)
97
+ # default: no defaults
98
98
  #
99
99
  # ------------------------------------------------------------------------------
100
-
101
100
  lanes:
102
101
 
103
102
  # ------------------------------------------------------------------------------
@@ -20,15 +20,15 @@
20
20
  # ------------------------------------------------------------------------------
21
21
  # Layout configuration settings
22
22
 
23
- # lanes|lane
24
- # -------------------------------------
23
+ # lanes|lane
24
+ # ----------------------------------------------------------------------------
25
25
  # Set LANE specific configuration parameters for a page LAYOUT. The
26
26
  # LANES array contains multiple (lane) hashes that describes the type
27
27
  # of the component that is loaded into a lane and their specific
28
28
  # (placement) parameters.
29
29
  #
30
- # region
31
- # -------------------------------------
30
+ # region
31
+ # ----------------------------------------------------------------------------
32
32
  # J1 templates defines, based on the general structure of a HTML page
33
33
  # (head|body), more specific REGIONS based on HTML5 semantic elements
34
34
  # to place HTML data:
@@ -54,8 +54,8 @@
54
54
  # values: head|body-navigation|body-header|body-main|body-footer
55
55
  # default: no defaults
56
56
  #
57
- # type
58
- # -------------------------------------
57
+ # type
58
+ # ----------------------------------------------------------------------------
59
59
  # The (HTML) content of a lane can be included (from an include file) or
60
60
  # loaded asychronously from a HTML data file by AJAX (get|load) calls.
61
61
  # J1 template is using jQuery as an interface to AJAX calls.
@@ -63,23 +63,23 @@
63
63
  # values: include|load
64
64
  # default: no defaults
65
65
  #
66
- # source
67
- # -------------------------------------
66
+ # source
67
+ # ----------------------------------------------------------------------------
68
68
  # The parameter source defines a (site root relativ) path to the data
69
69
  # source to be included or loaded.
70
70
  #
71
71
  # values: string (path)
72
72
  # default: no defaults
73
73
  #
74
- # file
75
- # -------------------------------------
74
+ # file
75
+ # ----------------------------------------------------------------------------
76
76
  # Defines the data file to be included or loaded.
77
77
  #
78
78
  # values: string
79
79
  # default: no defaults
80
80
  #
81
- # id
82
- # -------------------------------------
81
+ # id
82
+ # ----------------------------------------------------------------------------
83
83
  # Used for AJAX load calls (see parameter type). The id is used twice. First,
84
84
  # id references a HTML fragment as part of the (HTML) data file (see parameter
85
85
  # data below). Second, the id is used to identify the placeholder (div)
@@ -88,8 +88,8 @@
88
88
  # values: string
89
89
  # default: no defaults
90
90
  #
91
- # class
92
- # -------------------------------------
91
+ # class
92
+ # ----------------------------------------------------------------------------
93
93
  # Additional CSS classes that are put on the placeholder (div) element.
94
94
  # Can be used for type 'load', only.
95
95
  #
@@ -97,7 +97,6 @@
97
97
  # default: no defaults
98
98
  #
99
99
  # ------------------------------------------------------------------------------
100
-
101
100
  lanes:
102
101
 
103
102
  # ------------------------------------------------------------------------------
@@ -14,16 +14,16 @@
14
14
  # ------------------------------------------------------------------------------
15
15
  # Back2Top settings
16
16
  # If enabled, a Back2Top button at the bottom of every page is displayed
17
-
18
- # enabled
19
- # --------------------------------------------------------------------
17
+ #
18
+ # enabled
19
+ # ----------------------------------------------------------------------------
20
20
  # Enables|Disables the use of Back2Top (button)
21
21
  #
22
22
  # values: boolean (true|false)
23
23
  # default: true
24
24
  #
25
- # color
26
- # --------------------------------------------------------------------
25
+ # color
26
+ # ----------------------------------------------------------------------------
27
27
  # Set the color of the Back2Top icon for an hover event. Possible
28
28
  # values are the RGB code like "#204a87" or a color name taken from
29
29
  # file ~/_data/modules/j1_colors.yml
@@ -31,8 +31,8 @@
31
31
  # values: string
32
32
  # default: j1_darkblue
33
33
  #
34
- # icon
35
- # --------------------------------------------------------------------
34
+ # icon
35
+ # ----------------------------------------------------------------------------
36
36
  # Set the font icon used with the Back2Top button. Possible values
37
37
  # depend on the icon family defined by "icon_family". Use the
38
38
  # respective hex value for the icon to be used
@@ -40,8 +40,8 @@
40
40
  # values: string
41
41
  # default: "f102"
42
42
  #
43
- # icon_family
44
- # --------------------------------------------------------------------
43
+ # icon_family
44
+ # ----------------------------------------------------------------------------
45
45
  # Set the icon familiy from what the icon should be taken from. Be
46
46
  # aware that the CSS file for the font icon set needs to be
47
47
  # included as a resource.
@@ -49,16 +49,16 @@
49
49
  # values: string (FontAwesome|Glyphicons Halflings)
50
50
  # default: FontAwesome
51
51
  #
52
- # startline
53
- # --------------------------------------------------------------------
52
+ # startline
53
+ # ----------------------------------------------------------------------------
54
54
  # Number of pixels from top of doc scrollbar is scrolled before
55
55
  # showing control.
56
56
  #
57
57
  # values: integer (px)
58
58
  # default: 100
59
59
  #
60
- # scrollto
61
- # --------------------------------------------------------------------
60
+ # scrollto
61
+ # ----------------------------------------------------------------------------
62
62
  # Integer or "Scroll_to_Element_ID". Specifies how far to scroll
63
63
  # a page up when control is clicked on (0=top).
64
64
  # showing control.
@@ -66,23 +66,23 @@
66
66
  # values: integer (px)
67
67
  # default: 0
68
68
  #
69
- # scrollduration
70
- # --------------------------------------------------------------------
69
+ # scrollduration
70
+ # ----------------------------------------------------------------------------
71
71
  # Time (Duration) measured in msec to scroll the whole page
72
72
  #
73
73
  # values: integer (msec)
74
74
  # default: 1000
75
75
  #
76
- # fadeduration
77
- # --------------------------------------------------------------------
76
+ # fadeduration
77
+ # ----------------------------------------------------------------------------
78
78
  # Fade effect (durationd) measured in msec to show|hide
79
79
  # the control button
80
80
  #
81
81
  # values: integer (msec)
82
82
  # default: 500
83
83
  #
84
- # controlHTML
85
- # --------------------------------------------------------------------
84
+ # controlHTML
85
+ # ----------------------------------------------------------------------------
86
86
  # HTML code for the control button which is AUTO wrapped in an
87
87
  # DIV element tha is automatically placed (ID = #topcontrol).
88
88
  # the control button
@@ -90,22 +90,23 @@
90
90
  # values: string (HTML)
91
91
  # default: '<img src="assets/img/up.png" style="width:51px; height:42px'
92
92
  #
93
- # controlattrs
94
- # --------------------------------------------------------------------
93
+ # controlattrs
94
+ # ----------------------------------------------------------------------------
95
95
  # Offset measured in pixels to place the control (button) relative
96
96
  # to right|bottom of the window corner.
97
97
  #
98
98
  # values: array (integer|px)
99
99
  # default: [5, 5]
100
100
  #
101
- # anchorkeyword
102
- # --------------------------------------------------------------------
101
+ # anchorkeyword
102
+ # ----------------------------------------------------------------------------
103
103
  # Anchor|href value of HTML anchors on the page that should be
104
104
  # used for a "Scroll Up" link.
105
105
  #
106
106
  # values: string (ID)
107
107
  # default: "#top"
108
108
  #
109
+ # ------------------------------------------------------------------------------
109
110
  enabled: true
110
111
  active_color: md_indigo
111
112
  background_color: md_grey_900
@@ -118,3 +119,4 @@ fadeduration: 500
118
119
  controlHTML: '<img src="/assets/img/up.png" style="width:51px; height:42px'
119
120
  controlattrs: [ 5, 5 ]
120
121
  anchorkeyword: "#top"
122
+