j1-template 2021.1.28 → 2021.2.2
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_news_panel_posts.html +6 -6
- data/_includes/themes/j1/layouts/content_generator_post.html +3 -0
- data/_includes/themes/j1/modules/navigator/generator.html +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +5 -5
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +6 -6
- data/_layouts/default.html +6 -2
- data/assets/data/mdil_icons.json +2417 -0
- data/assets/data/panel.html +10 -10
- data/assets/themes/j1/adapter/js/j1.js +8 -7
- data/assets/themes/j1/adapter/js/j1scroll.js +19 -1
- data/assets/themes/j1/adapter/js/navigator.js +11 -4
- data/assets/themes/j1/adapter/js/rtable.js +77 -24
- data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +1222 -0
- data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -0
- data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +58 -109
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +28 -18
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +7 -20
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/eot/materialdesignicons-light-webfont.eot +0 -0
- data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff +0 -0
- data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff2 +0 -0
- data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/svg/materialdesignicons-light-webfont.svg +801 -0
- data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/ttf/materialdesignicons-light-webfont.ttf +0 -0
- data/assets/themes/j1/core/js/template.js +4 -4
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +4 -4
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +11 -21
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +5 -15
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +97 -0
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +15 -0
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +125 -0
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +15 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +3 -3
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +2 -174
- data/assets/themes/j1/modules/rtable/js/rtable.js +59 -25
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +12 -683
- data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +73 -73
- data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -15
- data/lib/j1/commands/generate.rb +5 -8
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +15 -51
- data/lib/starter_web/_data/blocks/banner.yml +4 -5
- data/lib/starter_web/_data/blocks/panel.yml +217 -183
- data/lib/starter_web/_data/layouts/home.yml +20 -16
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/rtable.yml +34 -0
- data/lib/starter_web/_data/modules/j1scroll.yml +12 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +34 -0
- data/lib/starter_web/_data/resources.yml +38 -16
- data/lib/starter_web/_includes/attributes.asciidoc +6 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/annie-spratt-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/humble-lamb-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/{pages/videos → modules/attics}/szabo-viktor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-01-01-about-cookies.adoc → 2021-01-01-about-cookies.adoc} +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/{2021-03-01-site-generators.adoc → 2021-02-01-site-generators.adoc} +0 -0
- data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-20-minneapolis.adoc → series/_posts/2020-01-01-post-wiki-series.adoc} +11 -10
- data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc → series/_posts/2020-01-02-post-wiki-series.adoc} +15 -13
- data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-26-columbia-river.adoc → series/_posts/2020-01-03-post-wiki-series.adoc} +28 -11
- data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/attributes.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/index.html +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/000_intro.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +43 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +61 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +95 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +54 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/000_basic_example.asciidoc +31 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +111 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +95 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +39 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter.asciidoc +8 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +122 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +502 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +261 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes.asciidoc +8 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.bat +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.sh +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/{book/book.a2p → documentation/documentation.a2p} +2 -8
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +86 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +848 -40
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +149 -38
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +312 -119
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -5
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +51 -82
- data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +0 -18
- data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +0 -2371
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +0 -128
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +0 -131
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +0 -131
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +0 -132
- data/lib/starter_web/pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +0 -11
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +0 -23
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +0 -5
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +0 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +0 -9
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +0 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +0 -6
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +0 -12
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +0 -30
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +0 -16
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +0 -25
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +0 -62
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +0 -64
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +0 -73
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +0 -74
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +0 -33
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +0 -21
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +0 -36
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +0 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +0 -53
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +0 -5
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +0 -23
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +0 -33
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +0 -26
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +0 -81
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +0 -23
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +0 -136
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +0 -60
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +0 -59
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
- data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +0 -60
- data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +0 -19
- data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
- data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +0 -119
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -39
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +0 -71
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +0 -31
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -39
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -61
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -55
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +0 -41
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +0 -857
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -71
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +0 -30
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -31
- data/lib/starter_web/pages/public/previewer/iframer.adoc +0 -93
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +0 -41
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -574
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +0 -220
- data/lib/starter_web/pages/public/previewer/rouge.adoc +0 -133
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +0 -191
@@ -1,73 +1,73 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js
|
4
|
-
# Very simple J1 implementation for showOnScroll
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2021 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# For details, see https://jekyll.one
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
// -------------------------------------------------------------------------
|
16
|
-
// isInViewport:
|
17
|
-
// Detects if an element is visible in an viewport specified
|
18
|
-
// -------------------------------------------------------------------------
|
19
|
-
function isInViewport(elm, offset) {
|
20
|
-
// if the element doesn't exist, abort
|
21
|
-
if( elm.length == 0 ) {
|
22
|
-
return;
|
23
|
-
}
|
24
|
-
var $window = jQuery(window);
|
25
|
-
var viewport_top = $window.scrollTop();
|
26
|
-
var viewport_height = $window.height();
|
27
|
-
var viewport_bottom = viewport_top + viewport_height;
|
28
|
-
var $elm = jQuery(elm);
|
29
|
-
var top = $elm.offset().top + offset;
|
30
|
-
var height = $elm.height();
|
31
|
-
var bottom = top + height;
|
32
|
-
|
33
|
-
return (top >= viewport_top && top < viewport_bottom) ||
|
34
|
-
(bottom > viewport_top && bottom <= viewport_bottom) ||
|
35
|
-
(height > viewport_height && top <= viewport_top && bottom >= viewport_bottom);
|
36
|
-
}
|
37
|
-
|
38
|
-
// -----------------------------------------------------------------------------
|
39
|
-
// Initializer
|
40
|
-
// -----------------------------------------------------------------------------
|
41
|
-
$(document).ready( function() {
|
42
|
-
|
43
|
-
var showDelay = 700;
|
44
|
-
var yOffset = 500;
|
45
|
-
var logger = log4javascript.getLogger('j1ShowOnScroll');
|
46
|
-
|
47
|
-
// ---------------------------------------------------------------------------
|
48
|
-
// EventHandler: Service Panel
|
49
|
-
// ---------------------------------------------------------------------------
|
50
|
-
var eventHandler_service_panel = function (event) {
|
51
|
-
if (isInViewport ($('#home_service_panel'), yOffset)) {
|
52
|
-
logger.info('\n' + 'specified container is in view: home_service_panel');
|
53
|
-
$(".home_service_panel").show(showDelay);
|
54
|
-
logger.info('\n' + 'remove eventHandler');
|
55
|
-
window.removeEventListener('scroll', eventHandler_service_panel);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
window.addEventListener('scroll', eventHandler_service_panel);
|
59
|
-
|
60
|
-
// ---------------------------------------------------------------------------
|
61
|
-
// EventHandler: Intro Panel
|
62
|
-
// ---------------------------------------------------------------------------
|
63
|
-
var eventHandler_intro_panel = function (event) {
|
64
|
-
if (isInViewport ($('#home_intro_panel'), yOffset)) {
|
65
|
-
logger.info('\n' + 'specified container is in view: home_intro_panel');
|
66
|
-
$(".home_intro_panel").show(showDelay);
|
67
|
-
logger.info('\n' + 'remove eventHandler');
|
68
|
-
window.removeEventListener('scroll', eventHandler_intro_panel);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
window.addEventListener('scroll', eventHandler_intro_panel);
|
72
|
-
|
73
|
-
});
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js
|
4
|
+
# Very simple J1 implementation for showOnScroll
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# For details, see https://jekyll.one
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
// -------------------------------------------------------------------------
|
16
|
+
// isInViewport:
|
17
|
+
// Detects if an element is visible in an viewport specified
|
18
|
+
// -------------------------------------------------------------------------
|
19
|
+
function isInViewport(elm, offset) {
|
20
|
+
// if the element doesn't exist, abort
|
21
|
+
if( elm.length == 0 ) {
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
var $window = jQuery(window);
|
25
|
+
var viewport_top = $window.scrollTop();
|
26
|
+
var viewport_height = $window.height();
|
27
|
+
var viewport_bottom = viewport_top + viewport_height;
|
28
|
+
var $elm = jQuery(elm);
|
29
|
+
var top = $elm.offset().top + offset;
|
30
|
+
var height = $elm.height();
|
31
|
+
var bottom = top + height;
|
32
|
+
|
33
|
+
return (top >= viewport_top && top < viewport_bottom) ||
|
34
|
+
(bottom > viewport_top && bottom <= viewport_bottom) ||
|
35
|
+
(height > viewport_height && top <= viewport_top && bottom >= viewport_bottom);
|
36
|
+
}
|
37
|
+
|
38
|
+
// -----------------------------------------------------------------------------
|
39
|
+
// Initializer
|
40
|
+
// -----------------------------------------------------------------------------
|
41
|
+
$(document).ready( function() {
|
42
|
+
|
43
|
+
var showDelay = 700;
|
44
|
+
var yOffset = 500;
|
45
|
+
var logger = log4javascript.getLogger('j1ShowOnScroll');
|
46
|
+
|
47
|
+
// ---------------------------------------------------------------------------
|
48
|
+
// EventHandler: Service Panel
|
49
|
+
// ---------------------------------------------------------------------------
|
50
|
+
var eventHandler_service_panel = function (event) {
|
51
|
+
if (isInViewport ($('#home_service_panel'), yOffset)) {
|
52
|
+
logger.info('\n' + 'specified container is in view: home_service_panel');
|
53
|
+
$(".home_service_panel").show(showDelay);
|
54
|
+
logger.info('\n' + 'remove eventHandler');
|
55
|
+
window.removeEventListener('scroll', eventHandler_service_panel);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
window.addEventListener('scroll', eventHandler_service_panel);
|
59
|
+
|
60
|
+
// ---------------------------------------------------------------------------
|
61
|
+
// EventHandler: Intro Panel
|
62
|
+
// ---------------------------------------------------------------------------
|
63
|
+
var eventHandler_intro_panel = function (event) {
|
64
|
+
if (isInViewport ($('#home_intro_panel'), yOffset)) {
|
65
|
+
logger.info('\n' + 'specified container is in view: home_intro_panel');
|
66
|
+
$(".home_intro_panel").show(showDelay);
|
67
|
+
logger.info('\n' + 'remove eventHandler');
|
68
|
+
window.removeEventListener('scroll', eventHandler_intro_panel);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
window.addEventListener('scroll', eventHandler_intro_panel);
|
72
|
+
|
73
|
+
});
|
@@ -1,15 +1,15 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js
|
4
|
-
# J1 implementation for showOnScroll
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2021 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# For details, see https://jekyll.one
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
function isInViewport(g,f){if(g.length==0){return}var c=jQuery(window);var j=c.scrollTop();var b=c.height();var d=j+b;var e=jQuery(g);var h=e.offset().top+f;var i=e.height();var a=h+i;return(h>=j&&h<d)||(a>j&&a<=d)||(i>b&&h<=j&&a>=d)}$(document).ready(function(){var a=700;var e=500;var b=log4javascript.getLogger("j1.core.showOnScroll");var c=function(f){if(isInViewport($("#home_service_panel"),e)){b.info("\nThe specified container is in view: home_service_panel");$(".home_service_panel").show(a);window.removeEventListener("scroll",c)}};window.addEventListener("scroll",c);var d=function(f){if(isInViewport($("#home_intro_panel"),e)){b.info("\nThe specified container is in view: home_intro_panel");$(".home_intro_panel").show(a);window.removeEventListener("scroll",d)}};window.addEventListener("scroll",d)});
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js
|
4
|
+
# J1 implementation for showOnScroll
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# For details, see https://jekyll.one
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
function isInViewport(g,f){if(g.length==0){return}var c=jQuery(window);var j=c.scrollTop();var b=c.height();var d=j+b;var e=jQuery(g);var h=e.offset().top+f;var i=e.height();var a=h+i;return(h>=j&&h<d)||(a>j&&a<=d)||(i>b&&h<=j&&a>=d)}$(document).ready(function(){var a=700;var e=500;var b=log4javascript.getLogger("j1.core.showOnScroll");var c=function(f){if(isInViewport($("#home_service_panel"),e)){b.info("\nThe specified container is in view: home_service_panel");$(".home_service_panel").show(a);window.removeEventListener("scroll",c)}};window.addEventListener("scroll",c);var d=function(f){if(isInViewport($("#home_intro_panel"),e)){b.info("\nThe specified container is in view: home_intro_panel");$(".home_intro_panel").show(a);window.removeEventListener("scroll",d)}};window.addEventListener("scroll",d)});
|
data/lib/j1/commands/generate.rb
CHANGED
@@ -156,23 +156,20 @@ module J1
|
|
156
156
|
|
157
157
|
if lib_version === '2.7'
|
158
158
|
if options['system']
|
159
|
-
# J1.logger.info "Install patches on path #{system_path} ..."
|
160
159
|
dest = system_path + '/gems/' + patch_gem_execjs + '/lib/execjs'
|
161
160
|
else
|
162
|
-
# J1.logger.info "Install patches on path #{user_path} ..."
|
163
161
|
dest = user_path + '/gems/' + patch_gem_execjs + '/lib/execjs'
|
164
162
|
end
|
165
163
|
src = patch_execjs_source_path
|
166
|
-
|
164
|
+
if Dir.exist?(dest)
|
165
|
+
FileUtils.cp(src, dest)
|
166
|
+
else
|
167
|
+
J1.logger.info "Skipped install patches for execjs-2.7.0 ..."
|
168
|
+
end
|
167
169
|
end
|
168
170
|
|
169
171
|
end
|
170
172
|
end
|
171
|
-
|
172
|
-
def install_patch(options)
|
173
|
-
end
|
174
|
-
|
175
|
-
|
176
173
|
end
|
177
174
|
end
|
178
175
|
end
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2021.
|
56
|
+
gem 'j1-template', '~> 2021.2.2'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -47,13 +47,13 @@
|
|
47
47
|
# values: development|production
|
48
48
|
# default: production
|
49
49
|
#
|
50
|
-
environment:
|
50
|
+
environment: development
|
51
51
|
|
52
52
|
# version
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2021.
|
56
|
+
version: 2021.2.2
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -223,8 +223,8 @@ doctype: html
|
|
223
223
|
# values: boolean (true|false)
|
224
224
|
# default: false
|
225
225
|
#
|
226
|
-
title:
|
227
|
-
slogan: starter
|
226
|
+
title: Jekyll One
|
227
|
+
slogan: starter web
|
228
228
|
description: >
|
229
229
|
Made for Jekyll · Made for Your Web
|
230
230
|
|
@@ -443,7 +443,7 @@ plugins:
|
|
443
443
|
# - jekyll-gist
|
444
444
|
# - jekyll-redirect-from
|
445
445
|
# - jekyll-sass-converter
|
446
|
-
|
446
|
+
- jekyll-sitemap
|
447
447
|
- j1-paginator
|
448
448
|
|
449
449
|
# ------------------------------------------------------------------------------
|
@@ -594,8 +594,8 @@ defaults:
|
|
594
594
|
author: J1 Team
|
595
595
|
|
596
596
|
robots:
|
597
|
-
index:
|
598
|
-
follow:
|
597
|
+
index: true
|
598
|
+
follow: true
|
599
599
|
|
600
600
|
personalization: false
|
601
601
|
exclude_from_search: false
|
@@ -638,8 +638,8 @@ defaults:
|
|
638
638
|
author: J1 Team
|
639
639
|
|
640
640
|
robots:
|
641
|
-
index:
|
642
|
-
follow:
|
641
|
+
index: true
|
642
|
+
follow: true
|
643
643
|
|
644
644
|
personalization: false
|
645
645
|
exclude_from_search: false
|
@@ -682,8 +682,12 @@ defaults:
|
|
682
682
|
author: J1 Team
|
683
683
|
|
684
684
|
robots:
|
685
|
-
index:
|
686
|
-
follow:
|
685
|
+
index: true
|
686
|
+
follow: true
|
687
|
+
|
688
|
+
toc: true
|
689
|
+
fam_menu_id: page_ctrl_simple
|
690
|
+
scrollbar: false
|
687
691
|
|
688
692
|
personalization: false
|
689
693
|
exclude_from_search: false
|
@@ -704,46 +708,6 @@ defaults:
|
|
704
708
|
category-image: false # img26.jpg
|
705
709
|
dir: /assets/images/collections/blog/series
|
706
710
|
|
707
|
-
# ----------------------------------------------------------------------------
|
708
|
-
# PUBLIC - WIKIPEDIA
|
709
|
-
#
|
710
|
-
- scope:
|
711
|
-
type: posts
|
712
|
-
path: posts/public/wikipedia
|
713
|
-
|
714
|
-
values:
|
715
|
-
layout: post
|
716
|
-
author: Wikipedia
|
717
|
-
|
718
|
-
robots:
|
719
|
-
index: false
|
720
|
-
follow: false
|
721
|
-
|
722
|
-
personalization: false
|
723
|
-
exclude_from_search: false
|
724
|
-
|
725
|
-
analytics: true
|
726
|
-
comments: false
|
727
|
-
advertising: false
|
728
|
-
youtube: false
|
729
|
-
vimeo: false
|
730
|
-
|
731
|
-
series: false
|
732
|
-
|
733
|
-
toc: true
|
734
|
-
fam_menu_id: page_ctrl_simple
|
735
|
-
scrollbar: false
|
736
|
-
|
737
|
-
icons:
|
738
|
-
category-icon: false # wikipedia
|
739
|
-
family: MDI
|
740
|
-
color: md-indigo
|
741
|
-
size: 5x
|
742
|
-
|
743
|
-
images:
|
744
|
-
category-image: false
|
745
|
-
dir: /assets/images/collections/blog/wikipedia
|
746
|
-
|
747
711
|
# ----------------------------------------------------------------------------
|
748
712
|
# Collections
|
749
713
|
#
|
@@ -140,11 +140,10 @@ settings:
|
|
140
140
|
description_properties: mt-3 mr-3 mb-3
|
141
141
|
description: >
|
142
142
|
<p class="dropcap">
|
143
|
-
Jekyll One
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
needed to learn what's all about.
|
143
|
+
Jekyll One is a full-featured template for Jekyll to create
|
144
|
+
modern dynamic websites. J1 provides creative people with a
|
145
|
+
rich toolset to build great sites and easy-to-use project
|
146
|
+
management to simplify the build and deployment processes.
|
148
147
|
</p>
|
149
148
|
<p>
|
150
149
|
J1 meets Jekyll and Bootstrap and makes a lot of friends.
|