j1_template_mde 2018.4.28 → 2018.4.29
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/procedures/global/collect_frontmatter_options.proc +7 -5
- data/_includes/themes/j1/procedures/global/collect_page_options.proc +66 -0
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +22 -14
- data/_layouts/default.html +16 -2
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +14 -2
- data/lib/starter_web/Gemfile +6 -1
- data/lib/starter_web/_config.yml +17 -6
- data/lib/starter_web/_data/j1_config.yml +1 -1
- data/lib/starter_web/_data/modules/j1_navigator_menu.yml +3 -0
- data/lib/starter_web/_data/modules/j1_toccer.yml +6 -6
- data/lib/starter_web/assets/images/pages/roundtrip/oleg-magni-1370182-unsplash.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/oleg-magni-1920x1280.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/package.json +125 -0
- data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.css +34 -32
- data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/lib/starter_web/assets/themes/j1/core/css/uno.css +34 -32
- data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
- data/lib/starter_web/assets/themes/j1/core/css/vendor.css +57 -11
- data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +2 -2
- data/lib/starter_web/assets/themes/j1/core/js/adapter/algolia.js +81 -79
- data/lib/starter_web/assets/themes/j1/core/js/adapter/template.js +6 -2
- data/lib/starter_web/assets/themes/j1/core/js/adapter/toccer.js +7 -9
- data/lib/starter_web/assets/themes/j1/core/js/template.js +1 -1
- 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/index.html +11 -2
- data/lib/starter_web/package.json +13 -21
- data/lib/starter_web/package.json.new +125 -0
- data/lib/starter_web/pages/public/start/change_me_first.adoc +2 -3
- data/lib/starter_web/pages/public/start/read_me_first.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/000_includes/documents/710_responsive_tables.asciidoc +202 -0
- data/lib/starter_web/pages/public/start/roundtrip/100_present_images.adoc +2 -0
- data/lib/starter_web/pages/public/start/roundtrip/200_cards.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/300_typography.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/400_icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/600_themes.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/700_extended_modals.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/710_responsive_tables.adoc +53 -0
- metadata +9 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34e37cda7cd490f1fad553d7a35e60a6f1cb06c2
|
|
4
|
+
data.tar.gz: 7dfe6b358807ae548d0e2e546f05d95c890b62bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47179fc82350782965354ab49ca29ad719737f60577b4bfef880f5c4b221d4f6cd6d0dc5bd35fe124bb08506622240207918323c62dc3657accf480399a0d87f
|
|
7
|
+
data.tar.gz: c705f869b1579d0c842600fe9634de5055acedad50498304bf374d31898f847be21d19afa82bae646a568bf92d6dc9b8b670fb068f9920415c45094294bd0305
|
|
@@ -41,22 +41,24 @@
|
|
|
41
41
|
{% endcomment %}
|
|
42
42
|
|
|
43
43
|
{% comment %} Liquid procedures
|
|
44
|
-
|
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
45
45
|
|
|
46
46
|
{% comment %} Variables
|
|
47
|
-
|
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
48
48
|
{% assign module = include.module %}
|
|
49
49
|
{% assign all_module_config = site.data.modules %}
|
|
50
50
|
{% assign frontmatter_options = nil %}
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
{% comment %} Main
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
56
55
|
{% for items in page.resource_options %}
|
|
57
56
|
{% for item in items %}
|
|
58
57
|
{% if item[0] == module %}
|
|
59
|
-
|
|
58
|
+
{% assign frontmatter_options = {{item[1] | replace:'=>',':'}} %}
|
|
60
59
|
{% endif %}
|
|
61
60
|
{% endfor %}
|
|
62
61
|
{% endfor %}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
# -----------------------------------------------------------------------------
|
|
3
|
+
# ~/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc
|
|
4
|
+
# Liquid PROCEDURE to extract|collect frontmatter options from the current
|
|
5
|
+
# PAGE for a given MODULE.
|
|
6
|
+
# Returns a JSON string (object) of all name-value pairs found.
|
|
7
|
+
#
|
|
8
|
+
# https://jekyll-one.com
|
|
9
|
+
#
|
|
10
|
+
# Copyright (C) 2019 Juergen Adams
|
|
11
|
+
#
|
|
12
|
+
# J1 Template is licensed under the MIT License.
|
|
13
|
+
# See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE
|
|
14
|
+
#
|
|
15
|
+
# -----------------------------------------------------------------------------
|
|
16
|
+
# Components procedure. Calculate the CLASS of an icon for a given size
|
|
17
|
+
# for a specific icon font.
|
|
18
|
+
#
|
|
19
|
+
# Usage:
|
|
20
|
+
# 1) assign the 'page_options' variable
|
|
21
|
+
# 2) include the collect_frontmatter_options.proc procedure
|
|
22
|
+
#
|
|
23
|
+
# Example:
|
|
24
|
+
#
|
|
25
|
+
# {% capture collect_frontmatter_options %}themes/{{site.template.name}}/procedures/global/collect_frontmatter_options.proc{% endcapture %}
|
|
26
|
+
# {% assign my_module = "j1_my_module_name" %}
|
|
27
|
+
#
|
|
28
|
+
# {% include {{collect_frontmatter_options}} module=my_module %}
|
|
29
|
+
# {% assign my_frontmatter_options = {{frontmatter_options}} %}
|
|
30
|
+
#
|
|
31
|
+
# or
|
|
32
|
+
#
|
|
33
|
+
# {% include {{collect_frontmatter_options}} module="j1_my_module_name" %}
|
|
34
|
+
# {% assign my_frontmatter_options = {{frontmatter_options}} %}
|
|
35
|
+
#
|
|
36
|
+
# -----------------------------------------------------------------------------
|
|
37
|
+
# Test data:
|
|
38
|
+
# liquid_var: {{ liquid_var | debug }}
|
|
39
|
+
#
|
|
40
|
+
# -----------------------------------------------------------------------------
|
|
41
|
+
{% endcomment %}
|
|
42
|
+
|
|
43
|
+
{% comment %} Liquid procedures
|
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
45
|
+
|
|
46
|
+
{% comment %} Variables
|
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
48
|
+
{% assign page_options = nil %}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
{% comment %} Main
|
|
52
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
53
|
+
|
|
54
|
+
{% comment %}
|
|
55
|
+
{% for items in page.resource_options %}
|
|
56
|
+
{% for item in items %}
|
|
57
|
+
{% assign page_options = {{item[1] | replace:'=>',':'}} %}
|
|
58
|
+
{% endfor %}
|
|
59
|
+
{% endfor %}
|
|
60
|
+
{% endcomment %}
|
|
61
|
+
|
|
62
|
+
{% assign page_options = page.body | strip | strip_newlines %}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
# -----------------------------------------------------------------------------
|
|
29
29
|
{% endcomment %}
|
|
30
30
|
|
|
31
|
-
{% comment %} TODO: For POSTS,
|
|
31
|
+
{% comment %} TODO: For POSTS, currently the ASCIIDOC macro include:: does NOT work.
|
|
32
32
|
Path calculation needes to be fixed. Seems Jekyll is using different flavours
|
|
33
33
|
for page_path (post|pages).
|
|
34
34
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
@@ -21,22 +21,23 @@
|
|
|
21
21
|
|
|
22
22
|
{% comment %} Liquid procedures
|
|
23
23
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
{% capture collect_module_defaults %}themes/{{site.template.name}}/procedures/layouts/collect_module_defaults.proc{% endcapture %}
|
|
25
|
+
{% capture collect_frontmatter_options %}themes/{{site.template.name}}/procedures/global/collect_frontmatter_options.proc{% endcapture %}
|
|
26
|
+
{% capture collect_page_options %}themes/{{site.template.name}}/procedures/global/collect_page_options.proc{% endcapture %}
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
{% comment %} Variables
|
|
29
30
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
{% assign environment = site.environment %}
|
|
32
|
+
{% assign logger_config = site.data.modules.j1_log4javascript %}
|
|
33
|
+
{% assign loader_finished_message = logger_config.loader_finished_message %}
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
{% assign items = include.resources %}
|
|
36
|
+
{% assign placement = include.region %}
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
{% comment %} For default, init parameters passed to adapters
|
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
40
|
+
{% assign pass_init_data = true %}
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
{% comment %} Main
|
|
@@ -79,6 +80,10 @@
|
|
|
79
80
|
{% include {{collect_frontmatter_options}} module=id %}
|
|
80
81
|
{% assign frontmatter_options = {{frontmatter_options}} %}
|
|
81
82
|
|
|
83
|
+
{% include {{collect_page_options}} %}
|
|
84
|
+
{% assign page_options = {{page_options}} %}
|
|
85
|
+
|
|
86
|
+
|
|
82
87
|
{% assign layout_valid = false %}
|
|
83
88
|
{% for layout in layouts %}
|
|
84
89
|
{% assign layout = layout | downcase %}
|
|
@@ -126,19 +131,22 @@
|
|
|
126
131
|
{% comment %} Added layout|toc|comments to all adapters
|
|
127
132
|
----------------------------------------------------------- {% endcomment %}
|
|
128
133
|
{% for init_function in data_value %}
|
|
134
|
+
|
|
129
135
|
{% if frontmatter_options %}
|
|
130
|
-
// [INFO ] [j1.layout.module_writer.proc ] [extend frontmatter options]
|
|
131
|
-
{% capture frontmatter_options %}{{frontmatter_options}}, {"layout": "{{page.layout}}", "toc": "{{page.toc}}", "comments": "{{page.comments}}"}{% endcapture %}
|
|
136
|
+
// [INFO ] [j1.layout.module_writer.proc ] [extend frontmatter options]
|
|
137
|
+
{% capture frontmatter_options %}{{frontmatter_options}}, {"layout": "{{page.layout}}", "scrollbar": "{{page.scrollbar}}", "toc": "{{page.toc}}", "comments": "{{page.comments}}"}{% endcapture %}
|
|
132
138
|
var settings = $.extend({}, {{frontmatter_options}});
|
|
133
139
|
{% endif %}
|
|
134
140
|
|
|
135
141
|
{% if frontmatter_options %}
|
|
136
|
-
// [INFO ] [j1.layout.module_writer.proc ] [pass frontmatter options for module: {{id}}]
|
|
142
|
+
// [INFO ] [j1.layout.module_writer.proc ] [pass frontmatter options for module: {{id}}]
|
|
137
143
|
{{ init_function }}( settings );
|
|
138
144
|
{% else %}
|
|
139
|
-
|
|
145
|
+
// [INFO ] [j1.layout.module_writer.proc ] [capture frontmatter options for module: {{id}}]
|
|
146
|
+
{% capture settings %}{"layout": "{{page.layout}}", "scrollbar": "{{page.scrollbar}}", "toc": "{{page.toc}}", "comments": "{{page.comments}}"}{% endcapture %}
|
|
140
147
|
var settings = $.extend({}, {{settings}});
|
|
141
148
|
{% if pass_init_data %}
|
|
149
|
+
// [INFO ] [j1.layout.module_writer.proc ] [frontmatter options captured for module: {{id}}: {{settings}}]
|
|
142
150
|
{{ init_function }}( settings );
|
|
143
151
|
{% else %}
|
|
144
152
|
{{ init_function }}();
|
data/_layouts/default.html
CHANGED
|
@@ -52,13 +52,23 @@ layout: compress
|
|
|
52
52
|
{% assign environment = site.environment %}
|
|
53
53
|
{% assign compress = site.compress_html.enabled %}
|
|
54
54
|
{% assign prettify = site.data.j1_config.prettify %}
|
|
55
|
-
{% assign body_scrollbar = site.data.j1_config.body.scrollbar %}
|
|
56
55
|
{% assign logon_client = site.data.modules.j1_sign_in_up %}
|
|
57
56
|
|
|
57
|
+
|
|
58
|
+
{% assign body_scrollbar = site.data.j1_config.body.scrollbar %}
|
|
59
|
+
|
|
60
|
+
|
|
58
61
|
{% if jekyll.environment != 'development' %}
|
|
59
62
|
{% assign environment = jekyll.environment | strip %}
|
|
60
63
|
{% endif %}
|
|
61
64
|
|
|
65
|
+
{% comment %} Set config options
|
|
66
|
+
--------------------------------------------------------------------------------
|
|
67
|
+
{% assign body_scrollbar_defaults = site.data.j1_config.body.scrollbar %}
|
|
68
|
+
{% assign body_scrollbar_config = page.scrollbar %}
|
|
69
|
+
{% assign body_scrollbar = body_scrollbar_defaults | merge: body_scrollbar_config %}
|
|
70
|
+
--------------------------------------------------------------------------------
|
|
71
|
+
{% endcomment %}
|
|
62
72
|
|
|
63
73
|
{% comment %} Main
|
|
64
74
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
@@ -78,12 +88,16 @@ layout: compress
|
|
|
78
88
|
</head>
|
|
79
89
|
|
|
80
90
|
{% comment %} Collect the body section (region body-*)
|
|
81
|
-
------------------------------------------------------------------------------
|
|
91
|
+
------------------------------------------------------------------------------
|
|
82
92
|
{% if body_scrollbar %}
|
|
83
93
|
<body>
|
|
84
94
|
{% else %}
|
|
85
95
|
<body class="hide-scrollbar">
|
|
86
96
|
{% endif %}
|
|
97
|
+
------------------------------------------------------------------------------
|
|
98
|
+
{% endcomment %}
|
|
99
|
+
|
|
100
|
+
<body>
|
|
87
101
|
|
|
88
102
|
{% comment %} Master Wrapper to prevent "DOM flicker"
|
|
89
103
|
------------------------------------------------------------------------------ {% endcomment %}
|
data/lib/j1/version.rb
CHANGED
data/lib/j1_app.rb
CHANGED
|
@@ -19,8 +19,6 @@ require 'json'
|
|
|
19
19
|
require 'safe_yaml'
|
|
20
20
|
require 'rest-client'
|
|
21
21
|
|
|
22
|
-
require 'puma'
|
|
23
|
-
|
|
24
22
|
require 'rack'
|
|
25
23
|
require 'omniauth'
|
|
26
24
|
require 'omniauth-oauth2'
|
|
@@ -60,6 +58,20 @@ module J1App
|
|
|
60
58
|
def self.site
|
|
61
59
|
Rack::Builder.new do
|
|
62
60
|
use Rack::ShowExceptions # Middleware. Generate web-based error pages (for Rack)
|
|
61
|
+
use Rack::Deflater # Middleware. Enable gzip compression for ALL web servers out of Rack
|
|
62
|
+
use J1App::AuthManager # Middleware. Support authentication methods using OmniAuth
|
|
63
|
+
run J1App::SiteManager # Run J1App Manager to manage the (static) site as an (Rack-based) Web Application:
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# App in production mode
|
|
69
|
+
#
|
|
70
|
+
module J1AppCompress
|
|
71
|
+
def self.site
|
|
72
|
+
Rack::Builder.new do
|
|
73
|
+
use Rack::ShowExceptions # Middleware. Generate web-based error pages (for Rack)
|
|
74
|
+
use Rack::Deflater # Middleware. Enable gzip compression for ALL web servers out of Rack
|
|
63
75
|
use J1App::AuthManager # Middleware. Support authentication methods using OmniAuth
|
|
64
76
|
run J1App::SiteManager # Run J1App Manager to manage the (static) site as an (Rack-based) Web Application:
|
|
65
77
|
end
|
data/lib/starter_web/Gemfile
CHANGED
|
@@ -46,7 +46,7 @@ gem 'jekyll', '~> 3.8.5'
|
|
|
46
46
|
# Theme Rubies
|
|
47
47
|
# Default: J1 Template
|
|
48
48
|
#
|
|
49
|
-
gem 'j1_template_mde', '~> 2018.4.
|
|
49
|
+
gem 'j1_template_mde', '~> 2018.4.29'
|
|
50
50
|
|
|
51
51
|
# --------------------------------------------------------------------
|
|
52
52
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
|
@@ -72,6 +72,11 @@ gem 'slim', '~> 3.0.7'
|
|
|
72
72
|
gem 'thread_safe', '~> 0.3.5'
|
|
73
73
|
gem 'middleman-core', '~> 4.2', '>= 4.2.1'
|
|
74
74
|
|
|
75
|
+
# ---------------------------------------------------------
|
|
76
|
+
# Additional Gem for Docker support
|
|
77
|
+
#
|
|
78
|
+
gem 'parallel', '~> 1.15'
|
|
79
|
+
|
|
75
80
|
# ---------------------------------------------------------
|
|
76
81
|
# Timezone support (multi-platform)
|
|
77
82
|
#
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -60,7 +60,7 @@ environment: development
|
|
|
60
60
|
# anything here because version information is bumped-in by
|
|
61
61
|
# the build process
|
|
62
62
|
#
|
|
63
|
-
version: 2018.4.
|
|
63
|
+
version: 2018.4.29
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
# ==============================================================================
|
|
@@ -739,7 +739,7 @@ collections:
|
|
|
739
739
|
# Instead of repeating this configuration each time a page is being
|
|
740
740
|
# created, Jekyll provides a way to set these configuration items
|
|
741
741
|
# as defaults in this site configuration (_config.yml).
|
|
742
|
-
#
|
|
742
|
+
#
|
|
743
743
|
defaults:
|
|
744
744
|
|
|
745
745
|
# ------------------------------------------------------------------
|
|
@@ -752,10 +752,12 @@ defaults:
|
|
|
752
752
|
values:
|
|
753
753
|
layout: page
|
|
754
754
|
author: J1 Team
|
|
755
|
-
resources: toccer
|
|
756
755
|
toc: true
|
|
756
|
+
resources: toccer
|
|
757
757
|
adsense: false
|
|
758
758
|
comments: false
|
|
759
|
+
scrollbar: false
|
|
760
|
+
indexed: true
|
|
759
761
|
|
|
760
762
|
icons:
|
|
761
763
|
family: MDI
|
|
@@ -782,9 +784,10 @@ defaults:
|
|
|
782
784
|
|
|
783
785
|
values:
|
|
784
786
|
layout: post
|
|
787
|
+
scrollbar: false
|
|
785
788
|
author: J1 Team
|
|
786
|
-
resources: toccer
|
|
787
789
|
toc: true
|
|
790
|
+
resources: toccer
|
|
788
791
|
adsense: true
|
|
789
792
|
comments: true
|
|
790
793
|
|
|
@@ -811,9 +814,10 @@ defaults:
|
|
|
811
814
|
|
|
812
815
|
values:
|
|
813
816
|
layout: post
|
|
817
|
+
scrollbar: false
|
|
814
818
|
author: J1 Team
|
|
815
|
-
resources: toccer
|
|
816
819
|
toc: true
|
|
820
|
+
resources: toccer
|
|
817
821
|
adsense: true
|
|
818
822
|
comments: true
|
|
819
823
|
|
|
@@ -837,8 +841,10 @@ defaults:
|
|
|
837
841
|
|
|
838
842
|
values:
|
|
839
843
|
layout: post
|
|
844
|
+
scrollbar: false
|
|
840
845
|
author: J1 Team
|
|
841
846
|
toc: true
|
|
847
|
+
resources: toccer
|
|
842
848
|
adsense: true
|
|
843
849
|
comments: true
|
|
844
850
|
|
|
@@ -862,9 +868,11 @@ defaults:
|
|
|
862
868
|
|
|
863
869
|
values:
|
|
864
870
|
layout: post
|
|
871
|
+
scrollbar: false
|
|
865
872
|
author: Wikipedia
|
|
866
873
|
resources: toccer
|
|
867
874
|
toc: true
|
|
875
|
+
resources: toccer
|
|
868
876
|
adsense: true
|
|
869
877
|
comments: false
|
|
870
878
|
|
|
@@ -892,6 +900,7 @@ defaults:
|
|
|
892
900
|
values:
|
|
893
901
|
layout: page
|
|
894
902
|
adsense: true
|
|
903
|
+
scrollbar: false
|
|
895
904
|
|
|
896
905
|
# --------------------------------------------------------
|
|
897
906
|
# BIOGRAPHY (Book Shelf)
|
|
@@ -903,6 +912,7 @@ defaults:
|
|
|
903
912
|
values:
|
|
904
913
|
layout: page
|
|
905
914
|
adsense: true
|
|
915
|
+
scrollbar: false
|
|
906
916
|
|
|
907
917
|
# --------------------------------------------------------
|
|
908
918
|
# FANTASY (Book Shelf)
|
|
@@ -914,7 +924,7 @@ defaults:
|
|
|
914
924
|
values:
|
|
915
925
|
layout: page
|
|
916
926
|
adsense: true
|
|
917
|
-
|
|
927
|
+
scrollbar: false
|
|
918
928
|
|
|
919
929
|
# --------------------------------------------------------
|
|
920
930
|
# ROMANCE (Book Shelf)
|
|
@@ -926,6 +936,7 @@ defaults:
|
|
|
926
936
|
values:
|
|
927
937
|
layout: page
|
|
928
938
|
adsense: true
|
|
939
|
+
scrollbar: false
|
|
929
940
|
|
|
930
941
|
|
|
931
942
|
# ==============================================================================
|
|
@@ -46,6 +46,9 @@
|
|
|
46
46
|
- title: Modals
|
|
47
47
|
href: /pages/public/start/roundtrip/modals/
|
|
48
48
|
icon: image
|
|
49
|
+
- title: Responsive Tables
|
|
50
|
+
href: /pages/public/start/roundtrip/responsive_tables/
|
|
51
|
+
icon: table
|
|
49
52
|
- title: Search Engine
|
|
50
53
|
href: /pages/public/start/roundtrip/search_engine/
|
|
51
54
|
icon: magnify
|
|
@@ -148,9 +148,9 @@ defaults:
|
|
|
148
148
|
collapseDepth: 2
|
|
149
149
|
throttleTimeout: 50
|
|
150
150
|
includeHtml: false
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
smoothScrollEnabled: true
|
|
152
|
+
smoothScrollDuration: 300
|
|
153
|
+
smoothScrollOffset: 90
|
|
154
|
+
headingsOffset: 0
|
|
155
|
+
throttleTimeout: 50
|
|
156
|
+
|
|
Binary file
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "web",
|
|
4
|
+
"version": "2018.4.29",
|
|
5
|
+
"description": "Web/Content sources for J1 Starter",
|
|
6
|
+
"main": "_config.yml",
|
|
7
|
+
"config": {
|
|
8
|
+
"bundler": "jekyll"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://jekyll-one.com",
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "Juergen Adams",
|
|
13
|
+
"email": "jadams@jekyll-one.com",
|
|
14
|
+
"url": "https://jekyll-one.com"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/jekyll-one/j1_template_mde/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": "https://github.com/jekyll-one/j1_template_mde/packages/400_template_web/",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=8.9",
|
|
23
|
+
"npm": ">=5.5",
|
|
24
|
+
"yarn": ">=1.3",
|
|
25
|
+
"webpack": "^4.8.3"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"J1",
|
|
29
|
+
"Template",
|
|
30
|
+
"Starter"
|
|
31
|
+
],
|
|
32
|
+
"jekyll": {
|
|
33
|
+
"configfile": "_config.yml",
|
|
34
|
+
"gemfile": "Gemfile",
|
|
35
|
+
"metadata": ".jekyll-metadata",
|
|
36
|
+
"opt_incremental": "--incremental",
|
|
37
|
+
"opt_interface": "0.0.0.0",
|
|
38
|
+
"opt_web_port": "4000",
|
|
39
|
+
"opt_web_url": "http://127.0.0.1:4000/",
|
|
40
|
+
"opt_app_port": "5000",
|
|
41
|
+
"opt_app_url": "http://127.0.0.1:5000/",
|
|
42
|
+
"opt_profile": "",
|
|
43
|
+
"opt_watch": "--watch",
|
|
44
|
+
"opt_livereload": "--livereload",
|
|
45
|
+
"vendor_path": "vendor/bundle",
|
|
46
|
+
"vendorize": "false"
|
|
47
|
+
},
|
|
48
|
+
"algolia": {
|
|
49
|
+
"admin_key": "f2f002c197220fabf4ed13e3b0431d00"
|
|
50
|
+
},
|
|
51
|
+
"wds": {
|
|
52
|
+
"common": "../200_template_js/wp4_configs/webpack.common.js",
|
|
53
|
+
"develop": "../200_template_js/wp4_configs/webpack.develop.js"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"app": "cross-var cross-env if-env J1DOCKER=true && run-s app-docker || run-s app-local",
|
|
57
|
+
"app-local": "run-p -s app-local:*",
|
|
58
|
+
"app-local:rackup": "cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec rackup -o $npm_package_jekyll_opt_interface -p $npm_package_jekyll_opt_app_port",
|
|
59
|
+
"app-local:jekyll": "cross-var cross-env JEKYLL_ENV=$npm_package_config_mode BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle exec jekyll b -c $npm_package_jekyll_configfile $npm_package_jekyll_opt_watch $npm_package_jekyll_opt_incremental",
|
|
60
|
+
"app-local:open": "npm run delay-3s && cross-var opn $npm_package_jekyll_opt_app_url",
|
|
61
|
+
"app-docker": "run-p -s app-docker:*",
|
|
62
|
+
"app-docker:rackup": "cross-var bundle exec rackup -o $npm_package_jekyll_opt_interface -p $npm_package_jekyll_opt_app_port",
|
|
63
|
+
"app-docker:open": "npm run delay-3s && cross-var opn $npm_package_jekyll_opt_app_url",
|
|
64
|
+
"algolia": "cross-env ALGOLIA_API_KEY=$npm_package_algolia_admin_key bundle exec jekyll algolia",
|
|
65
|
+
"algolia-check": "cross-env ALGOLIA_API_KEY=$npm_package_algolia_admin_key bundle exec jekyll algolia --dry-run --verbose",
|
|
66
|
+
"clean": "run-p -s clean:*",
|
|
67
|
+
"clean-starter": "run-p -s clean:*",
|
|
68
|
+
"clean:jekyll-conf": "shx rm -f _config* Gemfile* .jekyll-metadata",
|
|
69
|
+
"clean:jekyll-site": "shx rm -f jekyll_built.log *.lock *.old && shx rm -rf .bundle .sass-cache _site",
|
|
70
|
+
"clean:jekyll-links": "shx rm -f _includes _layouts _plugins _install apps assets && shx rm -rf _sass/*",
|
|
71
|
+
"bundle": "cross-env if-env BUNDLE_VENDORIZE=true && run-s bundle_vendor || run-s bundle_global",
|
|
72
|
+
"bundle_global": "cross-env BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle install",
|
|
73
|
+
"bundle_vendor": "cross-env BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle install --path $npm_package_jekyll_vendor_path",
|
|
74
|
+
"built": "run-s -s clean:jekyll-conf && run-s -s jekyll_built:*",
|
|
75
|
+
"jekyll_built:conf": "shx cat ../../packages/300_template_src/_install/site/_config.yml | shx sed \"s/^port:.*/#port:/\" | shx sed \"s/^theme:.*/#theme:/\" | shx sed \"s/^source:.*/source: ./\" > _config.yml",
|
|
76
|
+
"jekyll_built:gemfile": "shx cat ../../packages/300_template_src/_install/site/Gemfile | shx sed \"s/gem 'j1_template_mde'/#gem 'j1_template_mde'/\" > Gemfile",
|
|
77
|
+
"jekyll_built:bundle": "cross-env BUNDLE_VENDORIZE=$npm_package_jekyll_vendorize npm run bundle",
|
|
78
|
+
"jekyll_built:built": "cross-var cross-env JEKYLL_ENV=$npm_package_config_mode BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle exec jekyll b -c $npm_package_jekyll_configfile $npm_package_jekyll_opt_incremental",
|
|
79
|
+
"develop": "run-p -s develop:*",
|
|
80
|
+
"develop:wds": "cross-var webpack-dev-server --config $npm_package_wds_develop --env.MODE",
|
|
81
|
+
"develop:jekyll": "cross-var cross-env JEKYLL_ENV=$npm_package_config_mode BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle exec jekyll b -c $npm_package_jekyll_configfile $npm_package_jekyll_opt_watch $npm_package_jekyll_opt_incremental",
|
|
82
|
+
"delay-1s": "node ./node_modules/npm-delay 1000",
|
|
83
|
+
"delay-2s": "node ./node_modules/npm-delay 2000",
|
|
84
|
+
"delay-3s": "node ./node_modules/npm-delay 3000",
|
|
85
|
+
"delay-5s": "node ./node_modules/npm-delay 5000",
|
|
86
|
+
"setup-links": "cross-var if-env OS=Windows_NT && run-s -s link-default || cross-env OS=$(echo $(getos)) run-s -s switch-links",
|
|
87
|
+
"switch-links": "if-env OS=darwin && run-s -s link-osx || run-s -s link-default",
|
|
88
|
+
"link-default": "cross-var echo OS detected as: $OS && run-p -s link-default:*",
|
|
89
|
+
"link-osx": "echo OS detected as: OSX && run-p -s link-osx:*",
|
|
90
|
+
"link-default:link-type": "cross-var echo use default links for OS: $OS",
|
|
91
|
+
"link-default:apps": "lnk ../300_template_src/apps ../400_template_web",
|
|
92
|
+
"link-default:assets": "lnk ../300_template_src/assets ../400_template_web",
|
|
93
|
+
"link-default:includes": "lnk ../300_template_src/_includes ../400_template_web",
|
|
94
|
+
"link-default:layouts": "lnk ../300_template_src/_layouts ../400_template_web",
|
|
95
|
+
"link-default:plugins": "lnk ../300_template_src/_plugins ../400_template_web",
|
|
96
|
+
"link-default:sass": "lnk ../100_template_css/scss ../400_template_web/_sass",
|
|
97
|
+
"link-default:install_files": "lnk ../300_template_src/_install ../400_template_web",
|
|
98
|
+
"link-osx:link-type": "echo use explicit symlinks for OS: MacOS",
|
|
99
|
+
"link-osx:apps": "lnk -s ../300_template_src/apps ../400_template_web",
|
|
100
|
+
"link-osx:assets": "lnk -s ../300_template_src/assets ../400_template_web",
|
|
101
|
+
"link-osx:includes": "lnk -s ../300_template_src/_includes ../400_template_web",
|
|
102
|
+
"link-osx:layouts": "lnk -s ../300_template_src/_layouts ../400_template_web",
|
|
103
|
+
"link-osx:plugins": "lnk -s ../300_template_src/_plugins ../400_template_web",
|
|
104
|
+
"link-osx:sass": "lnk -s ../100_template_css/scss ../400_template_web/_sass",
|
|
105
|
+
"link-osx:templates": "lnk -s ../300_template_src/_install ../400_template_web"
|
|
106
|
+
},
|
|
107
|
+
"dependencies": {
|
|
108
|
+
"cross-env": "^5.1.4",
|
|
109
|
+
"cross-var": "^1.1.0",
|
|
110
|
+
"getos": "^3.1.0",
|
|
111
|
+
"getos-cli": "^1.0.0",
|
|
112
|
+
"if-env": "^1.0.4",
|
|
113
|
+
"lnk-cli": "^1.0.1",
|
|
114
|
+
"npm-delay": "^1.0.4",
|
|
115
|
+
"npm-run-all": "^4.0.2",
|
|
116
|
+
"opn-cli": "^3.1.0",
|
|
117
|
+
"shx": "^0.2.2"
|
|
118
|
+
},
|
|
119
|
+
"devDependencies": {
|
|
120
|
+
"webpack": "4.19.1",
|
|
121
|
+
"webpack-cli": "^3.2.3",
|
|
122
|
+
"webpack-dev-server": ">=3.1.11",
|
|
123
|
+
"webpack-merge": "4.1.4"
|
|
124
|
+
}
|
|
125
|
+
}
|