j1-template 2020.0.22 → 2020.0.24
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_page.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +63 -161
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +14 -0
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -3
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +37 -24
- data/_includes/themes/j1/modules/navigator/generator.html +8 -3
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +36 -26
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +9 -5
- data/assets/data/banner.html +1 -1
- data/assets/data/fam.html +124 -0
- data/assets/data/mmenu_sidebar.html +3 -3
- data/assets/data/panel.html +9 -9
- data/assets/data/quicklinks.html +13 -13
- data/assets/error_pages/HTTP204.html +1 -0
- data/assets/error_pages/HTTP400.html +3 -2
- data/assets/error_pages/HTTP401.html +3 -2
- data/assets/error_pages/HTTP403.html +3 -2
- data/assets/error_pages/HTTP404.html +3 -2
- data/assets/error_pages/HTTP500.html +3 -2
- data/assets/error_pages/HTTP501.html +3 -2
- data/assets/error_pages/HTTP502.html +3 -2
- data/assets/error_pages/HTTP503.html +3 -2
- data/assets/error_pages/HTTP520.html +3 -2
- data/assets/error_pages/HTTP521.html +3 -2
- data/assets/error_pages/HTTP533.html +3 -2
- data/assets/themes/j1/adapter/js/{ssm.js → fam.js} +248 -138
- data/assets/themes/j1/adapter/js/framer.js +72 -56
- data/assets/themes/j1/adapter/js/gallery_customizer.js +2 -1
- data/assets/themes/j1/adapter/js/j1.js +8 -2
- data/assets/themes/j1/adapter/js/{searcher.js → lunr_search.js} +68 -65
- data/assets/themes/j1/adapter/js/toccer.js +62 -30
- data/assets/themes/j1/core/css/bootstrap.css +7154 -0
- data/assets/themes/j1/core/css/bootstrap.min.css +6 -0
- data/assets/themes/j1/core/css/custom.scss +28 -0
- data/assets/themes/j1/core/css/globals.css +14523 -0
- data/assets/themes/j1/core/css/globals.min.css +1 -0
- data/assets/themes/j1/core/css/globals.scss +28 -0
- data/assets/themes/j1/core/css/theme_extensions.css +11558 -0
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -0
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +7 -4
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +7 -4
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +514 -417
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/uno.css +11823 -0
- data/assets/themes/j1/core/css/uno.min.css +1 -0
- data/assets/themes/j1/core/css/uno.scss +28 -0
- data/assets/themes/j1/core/css/vendor.css +5 -4
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.scss +28 -0
- data/assets/themes/j1/core/js/template.js +6 -11
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6 -0
- data/assets/themes/j1/modules/cash/js/cash.js +1374 -0
- data/assets/themes/j1/modules/cash/js/cash.min.js +42 -0
- data/assets/themes/j1/modules/fam/css/uno/fam.css +369 -0
- data/assets/themes/j1/modules/fam/js/fam.js +477 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +1 -1
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.js → resizer.js} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.map → resizer.map} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.min.js → resizer.min.js} +0 -0
- data/assets/themes/j1/modules/jquery/js/require.js +2145 -0
- data/assets/themes/j1/modules/jquery/js/require.min.js +5 -0
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +32 -0
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +25 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.js +125 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.min.js +14 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.js +3475 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.min.js +51 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +184 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +17 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.js +2340 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +93 -0
- data/assets/themes/j1/modules/materialize/js/anime.js +1283 -0
- data/assets/themes/j1/modules/materialize/js/anime.min.js +34 -0
- data/assets/themes/j1/modules/materialize/js/autocomplete.js +450 -0
- data/assets/themes/j1/modules/materialize/js/buttons.js +409 -0
- data/assets/themes/j1/modules/materialize/js/cards.js +40 -0
- data/assets/themes/j1/modules/materialize/js/carousel.js +717 -0
- data/assets/themes/j1/modules/materialize/js/cash-dom.js +1044 -0
- data/assets/themes/j1/modules/materialize/js/cash.js +960 -0
- data/assets/themes/j1/modules/materialize/js/characterCounter.js +136 -0
- data/assets/themes/j1/modules/materialize/js/chips.js +481 -0
- data/assets/themes/j1/modules/materialize/js/collapsible.js +275 -0
- data/assets/themes/j1/modules/materialize/js/component.js +44 -0
- data/assets/themes/j1/modules/materialize/js/datepicker.js +975 -0
- data/assets/themes/j1/modules/materialize/js/dropdown.js +617 -0
- data/assets/themes/j1/modules/materialize/js/forms.js +275 -0
- data/assets/themes/j1/modules/materialize/js/global.js +427 -0
- data/assets/themes/j1/modules/materialize/js/materialbox.js +453 -0
- data/assets/themes/j1/modules/materialize/js/modal.js +382 -0
- data/assets/themes/j1/modules/materialize/js/parallax.js +138 -0
- data/assets/themes/j1/modules/materialize/js/pushpin.js +145 -0
- data/assets/themes/j1/modules/materialize/js/range.js +263 -0
- data/assets/themes/j1/modules/materialize/js/ripple.js +335 -0
- data/assets/themes/j1/modules/materialize/js/scrollspy.js +295 -0
- data/assets/themes/j1/modules/materialize/js/select.js +432 -0
- data/assets/themes/j1/modules/materialize/js/sidenav.js +580 -0
- data/assets/themes/j1/modules/materialize/js/slider.js +359 -0
- data/assets/themes/j1/modules/materialize/js/tabs.js +402 -0
- data/assets/themes/j1/modules/materialize/js/tapTarget.js +314 -0
- data/assets/themes/j1/modules/materialize/js/timepicker.js +647 -0
- data/assets/themes/j1/modules/materialize/js/toasts.js +310 -0
- data/assets/themes/j1/modules/materialize/js/tooltip.js +303 -0
- data/assets/themes/j1/modules/materialize/js/waves.js +335 -0
- data/assets/themes/j1/modules/materialize/scss/components/_badges.scss +55 -0
- data/assets/themes/j1/modules/materialize/scss/components/_buttons.scss +322 -0
- data/assets/themes/j1/modules/materialize/scss/components/_cards.scss +195 -0
- data/assets/themes/j1/modules/materialize/scss/components/_carousel.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_chips.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_collapsible.scss +91 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-classes.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-variables.scss +370 -0
- data/assets/themes/j1/modules/materialize/scss/components/_datepicker.scss +191 -0
- data/assets/themes/j1/modules/materialize/scss/components/_dropdown.scss +85 -0
- data/assets/themes/j1/modules/materialize/scss/components/_global.scss +769 -0
- data/assets/themes/j1/modules/materialize/scss/components/_grid.scss +156 -0
- data/assets/themes/j1/modules/materialize/scss/components/_icons-material-design.scss +5 -0
- data/assets/themes/j1/modules/materialize/scss/components/_materialbox.scss +43 -0
- data/assets/themes/j1/modules/materialize/scss/components/_modal.scss +94 -0
- data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +208 -0
- data/assets/themes/j1/modules/materialize/scss/components/_normalize.scss +447 -0
- data/assets/themes/j1/modules/materialize/scss/components/_preloader.scss +334 -0
- data/assets/themes/j1/modules/materialize/scss/components/_pulse.scss +34 -0
- data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +216 -0
- data/assets/themes/j1/modules/materialize/scss/components/_slider.scss +92 -0
- data/assets/themes/j1/modules/materialize/scss/components/_table_of_contents.scss +33 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tabs.scss +99 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tapTarget.scss +103 -0
- data/assets/themes/j1/modules/materialize/scss/components/_timepicker.scss +183 -0
- data/assets/themes/j1/modules/materialize/scss/components/_toast.scss +58 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tooltip.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_transitions.scss +13 -0
- data/assets/themes/j1/modules/materialize/scss/components/_typography.scss +60 -0
- data/assets/themes/j1/modules/materialize/scss/components/_variables.scss +349 -0
- data/assets/themes/j1/modules/materialize/scss/components/_waves.scss +114 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_checkboxes.scss +200 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_file-input.scss +44 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_forms.scss +22 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +354 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_radio-buttons.scss +115 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_range.scss +161 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_select.scss +180 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_switches.scss +89 -0
- data/assets/themes/j1/modules/materialize/scss/materialize.scss +41 -0
- data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.js +0 -0
- data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.min.js +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +12 -16
- data/lib/starter_web/_config.yml +95 -21
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/panel.yml +6 -6
- data/lib/starter_web/_data/j1_config.yml +7 -6
- data/lib/starter_web/_data/layouts/home.yml +13 -3
- data/lib/starter_web/_data/layouts/page.yml +10 -0
- data/lib/starter_web/_data/layouts/post.yml +10 -0
- data/lib/starter_web/_data/modules/defaults/{ssm.yml → fam.yml} +12 -15
- data/lib/starter_web/_data/modules/defaults/lunr_search.yml +171 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -4
- data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -2
- data/lib/starter_web/_data/modules/fam.yml +158 -0
- data/lib/starter_web/_data/modules/{back2top.yml → lunr_search.yml} +15 -9
- data/lib/starter_web/_data/modules/navigator.yml +2 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +57 -6
- data/lib/starter_web/_data/modules/toccer.yml +0 -73
- data/lib/starter_web/_data/resources.yml +151 -104
- data/lib/starter_web/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/_includes/breadcrumbs.html +11 -0
- data/lib/starter_web/_plugins/debug.rb +0 -1
- data/lib/starter_web/_plugins/filters.rb +0 -1
- data/lib/starter_web/_plugins/{lorem-inline.rb → lorem_inline.rb} +1 -2
- data/lib/starter_web/_plugins/lunr_index.rb +313 -0
- data/lib/starter_web/_plugins/prettify.rb +0 -3
- data/lib/starter_web/_plugins/simple_search_filter.rb +0 -1
- data/lib/starter_web/_plugins/symlink_watcher.rb +2 -3
- data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +2 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +4 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +3 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +5 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +144 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +2 -4
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +2 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -7
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -6
- data/lib/starter_web/index.html +16 -10
- data/lib/starter_web/package.json +5 -2
- data/lib/starter_web/pages/public/about/about_site.adoc +0 -2
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +8 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +7 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +8 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +7 -2
- data/lib/starter_web/pages/public/blog/navigator/index.html +6 -2
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +3 -4
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +3 -4
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +3 -4
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +25 -20
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +14 -12
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +20 -20
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +13 -8
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +14 -9
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +9 -6
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +62 -8
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +9 -7
- data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +302 -0
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +3 -7
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/500_support.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +30 -27
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +8 -5
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +12 -8
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +7 -0
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +8 -1
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +8 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +3 -1
- data/lib/starter_web/pages/public/previewer/iframer.adoc +36 -28
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -1
- data/lib/starter_web/pages/public/previewer/rouge.adoc +4 -2
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +2 -1
- data/lib/starter_web/pages/public/test_pages/breadcrumbs_tester.adoc +62 -0
- data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +3 -0
- data/lib/starter_web/pages/public/test_pages/floating_actions_button.adoc +523 -0
- data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +1 -0
- data/lib/starter_web/pages/public/test_pages/floating_div.adoc +1 -0
- data/lib/starter_web/pages/public/test_pages/lunr_tester.adoc +89 -0
- data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +1 -0
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +1 -0
- data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +3 -2
- data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +1 -0
- data/lib/starter_web/pages/public/test_pages/toccer_tester.adoc +2245 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +137 -29
- data/assets/data/search.json +0 -165
- data/assets/data/ssm.html +0 -242
- data/assets/themes/j1/adapter/js/back2top.js +0 -231
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +0 -468
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +0 -6
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +0 -95
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +0 -15
- data/assets/themes/j1/modules/tocbot/css/tocbot.css +0 -75
- data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.js +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +0 -19
- data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -146
- data/lib/starter_web/_data/modules/defaults/stickybits.yml +0 -36
- data/lib/starter_web/_data/modules/ssm.yml +0 -142
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Simple-Jekyll-Search v1.7.12
|
3
|
-
* Copyright 2015-2020, Christian Fei
|
4
|
-
* Licensed under the MIT License.
|
5
|
-
*/
|
6
|
-
(function(){var w={compile:l,setOptions:D};var e={};e.pattern=/\{(.*?)\}/g;e.template="";e.middleware=function(){};function D(J){e.pattern=J.pattern||e.pattern;e.template=J.template||e.template;e.results_output=J.results_output;if(typeof J.middleware==="function"){e.middleware=J.middleware}}function l(K){var J;return e.template.replace(e.pattern,function(L,O){var M=e.middleware(O,K[O],e.template);var N=document.getElementById(e.results_output);N.style.display="none";if(M!==undefined){return M}N.style.display="block";if(O=="tags"){J=K[O].replace(/\s+/g,"");K[O]=J.replace(/,/g," · ")}if(O=="date"){if(K[O].length){K[O]=K[O].substring(0,10)}else{K[O]="2020-01-01"}}return K[O]||L})}function z(P,O){var M=O.length;var J=P.length;if(J>M){return false}if(J===M){return P===O}outer:for(var L=0,K=0;L<J;L++){var N=P.charCodeAt(L);while(K<M){if(O.charCodeAt(K++)===N){continue outer}}return false}return true}var k=z;var c=new B();function B(){this.matches=function(K,J){return k(J,K)}}var A=new s();function s(){this.matches=function(K,J){if(typeof K!=="string"){return false}K=K.trim();return K.toLowerCase().indexOf(J.toLowerCase())>=0}}var r={put:j,clear:x,get:F,search:n,setOptions:d};var H=[];var b={};b.fuzzy=false;b.limit=10;b.searchStrategy=b.fuzzy?c:A;b.minSearchItemLen=4;b.resultsOutput=document.getElementById("jss-panel");function j(J){if(o(J)){return t(J)}if(q(J)){return i(J)}return undefined}function x(){H.length=0;return H}function F(){return H}function o(J){return !!J&&Object.prototype.toString.call(J)==="[object Object]"}function q(J){return !!J&&Object.prototype.toString.call(J)==="[object Array]"}function t(J){H.push(J);return H}function i(L){var K=[];for(var J=0;J<L.length;J++){if(o(L[J])){K.push(t(L[J]))}}return K}function n(J){var K=J.length;if(K<b.minSearchItemLen){return[]}if(!J){return[]}return u(H,J,b.searchStrategy,b)}function d(J){b=J||{};b.fuzzy=J.fuzzy||false;b.limit=J.limit||10;b.minSearchItemLen=J.minSearchItemLen||3;b.searchStrategy=J.fuzzy?c:A;b.resultsOutput=J.resultsOutput||"jss-panel"}function u(O,J,P,M){var N=[];for(var L=0;L<O.length&&N.length<M.limit;L++){var K=a(O[L],J,P,M);if(K){N.push(K)}}return N}function a(M,J,N,L){for(var K in M){if(!g(M[K],L.exclude)&&N.matches(M[K],J)){return M}}}function g(N,K){var L=false;K=K||[];for(var M=0;M<K.length;M++){var J=K[M];if(!L&&new RegExp(N).test(J)){L=true}}return L}var y={load:m};function m(J,L){var K=v();K.open("GET",J,true);K.onreadystatechange=E(K,L);K.send()}function E(J,K){return function(){if(J.readyState===4&&J.status===200){try{K(null,JSON.parse(J.responseText))}catch(L){K(L,null)}}}}function v(){return(window.XMLHttpRequest)?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP")}var f=function I(L){if(!J(L)){throw new Error("-- OptionsValidator: required options missing")}if(!(this instanceof I)){return new I(L)}var K=L.required;this.getRequiredOptions=function(){return K};this.validate=function(M){var N=[];K.forEach(function(O){if(M[O]===undefined){N.push(O)}});return N};function J(M){if(!M){return false}return M.required!==undefined&&M.required instanceof Array}};var p={merge:h,isJSON:G};function h(L,K){var M={};for(var J in L){M[J]=L[J];if(K[J]!==undefined){M[J]=K[J]}}return M}function G(J){try{if(J instanceof Object&&JSON.parse(JSON.stringify(J))){return true}return false}catch(K){return false}}var C={};(function(N,S){var Q={};var K={searchInput:null,resultsContainer:null,results_output:null,json:[],searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:function(){},noResultsText:"No results found",limit:10,fuzzy:false,exclude:[]};var R=["searchInput","resultsContainer","results_output","json"];var O=f({required:R});var aa;var P;N.SimpleJekyllSearch=function V(ab){aa=log4javascript.getLogger("j1.core.j1_searcher");aa.info("start initialization");var ac=O.validate(ab);if(ac.length>0){aa.error("missing required options: "+R)}K=p.merge(K,ab);w.setOptions({template:K.searchResultTemplate,results_output:K.results_output,middleware:K.templateMiddleware});r.setOptions({fuzzy:K.fuzzy,limit:K.limit});if(p.isJSON(K.json)){T(K.json)}else{L(K.json)}return true};N.SimpleJekyllSearch.init=N.SimpleJekyllSearch;if(typeof N.SimpleJekyllSearchInit==="function"){N.SimpleJekyllSearchInit.call(this,N.SimpleJekyllSearch)}function T(ab){r.put(ab);M()}function L(ab){y.load(ab,function(ad,ac){if(ad){aa.error("failed to get data at: "+ab)}T(ac)})}function W(){K.resultsContainer.innerHTML=""}function J(ab){K.resultsContainer.innerHTML+=ab}function M(){K.searchInput.addEventListener("keyup",function(ad){var ab=ad.which;if(U(ab)){W();var ac=ad.target.value;if(X(ac)){Z(r.search(ac));$(".result-group-item-text:contains("+ac+")").each(function(){var ae=new RegExp(ac,"gi");$(this).html($(this).text().replace(ae,'<code style="color: red !important; font-weight: 700;font-size: 125% !important">'+ac+"</code>"))});$("h6.result-item:contains("+ac+")").each(function(){var ae=new RegExp(ac,"gi");$(this).html($(this).html().replace(ae,' <code style="color: red !important; font-weight: 700;font-size: 135% !important">'+ac+"</code> "))})}}})}function Z(ac){if(ac.length===0){var ad=S.getElementById(K.results_output);ad.style.display="none";return J(K.noResultsText)}for(var ab=0;ab<ac.length;ab++){J(w.compile(ac[ab]))}}function X(ab){return ab&&ab.length>0}function U(ab){return[13,16,20,37,38,39,40,91].indexOf(ab)===-1}function Y(ab){throw new Error("SimpleJekyllSearch --- "+ab)}})(window,document)}());
|
@@ -1,95 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/css/theme/uno.css
|
4
|
-
# Provides Tocbot styles for theme Uno
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2020 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
# NOTE: Several styles are moved to ~/assets/themes/j1/adapter/js/toccer.js
|
15
|
-
# to set CSS styles fo selected theme dynamically
|
16
|
-
# -----------------------------------------------------------------------------
|
17
|
-
*/
|
18
|
-
|
19
|
-
/* overload settings for class toc */
|
20
|
-
.toc {
|
21
|
-
overflow: hidden;
|
22
|
-
}
|
23
|
-
|
24
|
-
/* enable scrollbar for toccer */
|
25
|
-
.toc > .toc-list {
|
26
|
-
overflow-y: scroll;
|
27
|
-
position: relative;
|
28
|
-
}
|
29
|
-
|
30
|
-
/* hide scrollbar for FF browser */
|
31
|
-
.toc > .toc-list {
|
32
|
-
scrollbar-width: none;
|
33
|
-
}
|
34
|
-
|
35
|
-
/* hide scrollbar for webkit based browsers */
|
36
|
-
.toc-list::-webkit-scrollbar {
|
37
|
-
width: 0px;
|
38
|
-
background: transparent;
|
39
|
-
}
|
40
|
-
|
41
|
-
.toc > .toc-list li {
|
42
|
-
list-style: none;
|
43
|
-
}
|
44
|
-
|
45
|
-
.toc-list {
|
46
|
-
margin: 0;
|
47
|
-
padding-left: 10px;
|
48
|
-
}
|
49
|
-
|
50
|
-
a.toc-link {
|
51
|
-
color: #BDBDBD; /* md-grey-400 */
|
52
|
-
height: 100%;
|
53
|
-
font-size: 1rem; /* jadams, 2017-12-13: added font-size for toc-link */
|
54
|
-
}
|
55
|
-
|
56
|
-
/* jadams, 2020-07-03: added hover to global style */
|
57
|
-
a.toc-link:hover {
|
58
|
-
color: #757575 !important; /* md-grey-600 */
|
59
|
-
text-decoration: none;
|
60
|
-
font-weight: 700;
|
61
|
-
}
|
62
|
-
|
63
|
-
.is-collapsible {
|
64
|
-
max-height: 1000px;
|
65
|
-
overflow: hidden;
|
66
|
-
transition: all 300ms ease-in-out;
|
67
|
-
}
|
68
|
-
|
69
|
-
.is-collapsed {
|
70
|
-
max-height: 0;
|
71
|
-
}
|
72
|
-
|
73
|
-
.is-position-fixed {
|
74
|
-
position: fixed !important;
|
75
|
-
top: 0;
|
76
|
-
}
|
77
|
-
|
78
|
-
.is-active-link {
|
79
|
-
font-weight: 700;
|
80
|
-
}
|
81
|
-
|
82
|
-
.toc-link::before {
|
83
|
-
background-color: #E0E0E0; /* md-grey-300 */
|
84
|
-
content: ' ';
|
85
|
-
display: inline-block;
|
86
|
-
height: inherit;
|
87
|
-
left: 0;
|
88
|
-
margin-top: -1px;
|
89
|
-
position: absolute;
|
90
|
-
width: 2px;
|
91
|
-
}
|
92
|
-
|
93
|
-
.is-active-link::before {
|
94
|
-
background-color: #757575; /* md-grey-600, was: #54BC4B */
|
95
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/css/theme/uno.min.css
|
4
|
-
# Provides Tocbot styles for theme Uno
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2020 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
.toc{overflow:hidden}.toc>.toc-list{overflow-y:scroll;position:relative}.toc>.toc-list{scrollbar-width:none}.toc-list::-webkit-scrollbar{width:0;background:transparent}.toc>.toc-list li{list-style:none}.toc-list{margin:0;padding-left:10px}a.toc-link{color:#bdbdbd;height:100%;font-size:1rem}a.toc-link:hover{color:#757575!important;text-decoration:none;font-weight:700}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed!important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#e0e0e0;content:' ';display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#757575}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/css/tocbot.css
|
4
|
-
# Provides base styles for Tim Scanlin's Tocbot
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://tscanlin.github.io/tocbot
|
9
|
-
#
|
10
|
-
# Copyright (C) 2016 Tim Scanlin
|
11
|
-
# Copyright (C) 2020 Juergen Adams
|
12
|
-
#
|
13
|
-
# J1 Template is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
-
# Tocbot is licensed under MIT License.
|
16
|
-
# See: https://github.com/tscanlin/tocbot/blob/master/LICENSE
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
|
20
|
-
.toc {
|
21
|
-
overflow-y: auto
|
22
|
-
}
|
23
|
-
|
24
|
-
.toc>.toc-list {
|
25
|
-
overflow: hidden;
|
26
|
-
position: relative
|
27
|
-
}
|
28
|
-
|
29
|
-
.toc>.toc-list li {
|
30
|
-
list-style: none
|
31
|
-
}
|
32
|
-
|
33
|
-
.toc-list {
|
34
|
-
margin: 0;
|
35
|
-
padding-left: 10px
|
36
|
-
}
|
37
|
-
|
38
|
-
a.toc-link {
|
39
|
-
color: currentColor;
|
40
|
-
height: 100%
|
41
|
-
}
|
42
|
-
|
43
|
-
.is-collapsible {
|
44
|
-
max-height: 1000px;
|
45
|
-
overflow: hidden;
|
46
|
-
transition: all 300ms ease-in-out
|
47
|
-
}
|
48
|
-
|
49
|
-
.is-collapsed {
|
50
|
-
max-height: 0
|
51
|
-
}
|
52
|
-
|
53
|
-
.is-position-fixed {
|
54
|
-
position: fixed !important;
|
55
|
-
top: 0
|
56
|
-
}
|
57
|
-
|
58
|
-
.is-active-link {
|
59
|
-
font-weight: 700
|
60
|
-
}
|
61
|
-
|
62
|
-
.toc-link::before {
|
63
|
-
background-color: #EEE;
|
64
|
-
content: ' ';
|
65
|
-
display: inline-block;
|
66
|
-
height: inherit;
|
67
|
-
left: 0;
|
68
|
-
margin-top: -1px;
|
69
|
-
position: absolute;
|
70
|
-
width: 2px
|
71
|
-
}
|
72
|
-
|
73
|
-
.is-active-link::before {
|
74
|
-
background-color: #54BC4B
|
75
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/css/tocbot.min.css
|
4
|
-
# Provides base styles for Tim Scanlin's Tocbot
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://tscanlin.github.io/tocbot
|
9
|
-
#
|
10
|
-
# Copyright (C) 2016 Tim Scanlin
|
11
|
-
# Copyright (C) 2020 Juergen Adams
|
12
|
-
#
|
13
|
-
# J1 Template is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
-
# Tocbot is licensed under MIT License.
|
16
|
-
# See: https://github.com/tscanlin/tocbot/blob/master/LICENSE
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
.toc{overflow-y:auto}.toc>.toc-list{overflow:hidden;position:relative}.toc>.toc-list li{list-style:none}.toc-list{margin:0;padding-left:10px}a.toc-link{color:currentColor;height:100%}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed !important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#EEE;content:' ';display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#54BC4B}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/js/tocbot.js
|
4
|
-
# Tocbot v4.12.0
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://tscanlin.github.io/tocbot
|
9
|
-
#
|
10
|
-
# Copyright (C) 2016 Tim Scanlin
|
11
|
-
# Copyright (C) 2020 Juergen Adams
|
12
|
-
#
|
13
|
-
# J1 Template is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
-
# Tocbot is licensed under MIT License.
|
16
|
-
# See: https://github.com/tscanlin/tocbot/blob/master/LICENSE
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var l=t[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,n),l.l=!0,l.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)n.d(o,l,function(t){return e[t]}.bind(null,l));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){(function(o){var l,r,i;!function(o,s){r=[],l=function(e){"use strict";var t,o,l,r=n(2),i={},s={},c=n(3),a=n(4),u=n(5),d=!!(e&&e.document&&e.document.querySelector&&e.addEventListener);if("undefined"==typeof window&&!d)return;var f=Object.prototype.hasOwnProperty;function m(e,t,n){var o,l;return t||(t=250),function(){var r=n||this,i=+new Date,s=arguments;o&&i<o+t?(clearTimeout(l),l=setTimeout(function(){o=i,e.apply(r,s)},t)):(o=i,e.apply(r,s))}}return s.destroy=function(){if(!i.skipRendering)try{document.querySelector(i.tocSelector).innerHTML=""}catch(e){console.warn("Element not found: "+i.tocSelector)}i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).removeEventListener("resize",this._scrollListener,!1),t&&document.querySelector(i.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),t&&document.removeEventListener("click",this._clickListener,!1))},s.init=function(e){if(d&&(i=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)f.call(n,o)&&(e[o]=n[o])}return e}(r,e||{}),this.options=i,this.state={},i.scrollSmooth&&(i.duration=i.scrollSmoothDuration,i.offset=i.scrollSmoothOffset,s.scrollSmooth=n(6).initSmoothScrolling(i)),t=c(i),o=a(i),this._buildHtml=t,this._parseContent=o,s.destroy(),null!==(l=o.selectHeadings(i.contentSelector,i.headingSelector)))){var h=o.nestHeadingsArray(l).nest;i.skipRendering||t.render(i.tocSelector,h),this._scrollListener=m(function(e){t.updateToc(l),!i.disableTocScrollSync&&u(i);var n=e&&e.target&&e.target.scrollingElement&&0===e.target.scrollingElement.scrollTop;(e&&(0===e.eventPhase||null===e.currentTarget)||n)&&(t.updateToc(l),i.scrollEndCallback&&i.scrollEndCallback(e))},i.throttleTimeout),this._scrollListener(),i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var p=null;return this._clickListener=m(function(e){i.scrollSmooth&&t.disableTocAnimation(e),t.updateToc(l),p&&clearTimeout(p),p=setTimeout(function(){t.enableTocAnimation()},i.scrollSmoothDuration)},i.throttleTimeout),i.scrollContainer&&document.querySelector(i.scrollContainer)?document.querySelector(i.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}},s.refresh=function(e){s.destroy(),s.init(e||this.options)},e.tocbot=s,s}(o),void 0===(i="function"==typeof l?l.apply(t,r):l)||(e.exports=i)}(void 0!==o?o:this.window||this.global)}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1}},function(e,t){e.exports=function(e){var t=[].forEach,n=[].some,o=document.body,l=!0,r=" ";function i(n,o){var l=o.appendChild(function(n){var o=document.createElement("li"),l=document.createElement("a");e.listItemClass&&o.setAttribute("class",e.listItemClass);e.onClick&&(l.onclick=e.onClick);e.includeHtml&&n.childNodes.length?t.call(n.childNodes,function(e){l.appendChild(e.cloneNode(!0))}):l.textContent=n.textContent;return l.setAttribute("href",e.basePath+"#"+n.id),l.setAttribute("class",e.linkClass+r+"node-name--"+n.nodeName+r+e.extraLinkClasses),o.appendChild(l),o}(n));if(n.children.length){var c=s(n.isCollapsed);n.children.forEach(function(e){i(e,c)}),l.appendChild(c)}}function s(t){var n=e.orderedList?"ol":"ul",o=document.createElement(n),l=e.listClass+r+e.extraListClasses;return t&&(l+=r+e.collapsibleClass,l+=r+e.isCollapsedClass),o.setAttribute("class",l),o}return{enableTocAnimation:function(){l=!0},disableTocAnimation:function(t){var n=t.target||t.srcElement;"string"==typeof n.className&&-1!==n.className.indexOf(e.linkClass)&&(l=!1)},render:function(e,t){var n=s(!1);t.forEach(function(e){i(e,n)});var o=document.querySelector(e);if(null!==o)return o.firstChild&&o.removeChild(o.firstChild),0===t.length?o:o.appendChild(n)},updateToc:function(i){var s;s=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop,e.positionFixedSelector&&function(){var t;t=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop;var n=document.querySelector(e.positionFixedSelector);"auto"===e.fixedSidebarOffset&&(e.fixedSidebarOffset=document.querySelector(e.tocSelector).offsetTop),t>e.fixedSidebarOffset?-1===n.className.indexOf(e.positionFixedClass)&&(n.className+=r+e.positionFixedClass):n.className=n.className.split(r+e.positionFixedClass).join("")}();var c,a=i;if(l&&null!==document.querySelector(e.tocSelector)&&a.length>0){n.call(a,function(t,n){return function t(n){var o=0;return n!==document.querySelector(e.contentSelector&&null!=n)&&(o=n.offsetTop,e.hasInnerContainers&&(o+=t(n.offsetParent))),o}(t)>s+e.headingsOffset+10?(c=a[0===n?n:n-1],!0):n===a.length-1?(c=a[a.length-1],!0):void 0});var u=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);t.call(u,function(t){t.className=t.className.split(r+e.activeLinkClass).join("")});var d=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);t.call(d,function(t){t.className=t.className.split(r+e.activeListItemClass).join("")});var f=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+c.nodeName+'[href="'+e.basePath+"#"+c.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');-1===f.className.indexOf(e.activeLinkClass)&&(f.className+=r+e.activeLinkClass);var m=f.parentNode;m&&-1===m.className.indexOf(e.activeListItemClass)&&(m.className+=r+e.activeListItemClass);var h=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(h,function(t){-1===t.className.indexOf(e.isCollapsedClass)&&(t.className+=r+e.isCollapsedClass)}),f.nextSibling&&-1!==f.nextSibling.className.indexOf(e.isCollapsedClass)&&(f.nextSibling.className=f.nextSibling.className.split(r+e.isCollapsedClass).join("")),function t(n){return-1!==n.className.indexOf(e.collapsibleClass)&&-1!==n.className.indexOf(e.isCollapsedClass)?(n.className=n.className.split(r+e.isCollapsedClass).join(""),t(n.parentNode.parentNode)):n}(f.parentNode.parentNode)}}}}},function(e,t){e.exports=function(e){var t=[].reduce;function n(e){return e[e.length-1]}function o(t){if(!(t instanceof window.HTMLElement))return t;if(e.ignoreHiddenElements&&(!t.offsetHeight||!t.offsetParent))return null;var n={id:t.id,children:[],nodeName:t.nodeName,headingLevel:function(e){return+e.nodeName.split("H").join("")}(t),textContent:e.headingLabelCallback?String(e.headingLabelCallback(t.textContent)):t.textContent.trim()};return e.includeHtml&&(n.childNodes=t.childNodes),e.headingObjectCallback?e.headingObjectCallback(n,t):n}return{nestHeadingsArray:function(l){return t.call(l,function(t,l){var r=o(l);return r&&function(t,l){for(var r=o(t),i=r.headingLevel,s=l,c=n(s),a=i-(c?c.headingLevel:0);a>0;)(c=n(s))&&void 0!==c.children&&(s=c.children),a--;i>=e.collapseDepth&&(r.isCollapsed=!0),s.push(r)}(r,t.nest),t},{nest:[]})},selectHeadings:function(t,n){var o=n;e.ignoreSelector&&(o=n.split(",").map(function(t){return t.trim()+":not("+e.ignoreSelector+")"}));try{return document.querySelector(t).querySelectorAll(o)}catch(e){return console.warn("Element not found: "+t),null}}}}},function(e,t){e.exports=function(e){var t=document.querySelector(e.tocSelector);if(t&&t.scrollHeight>t.clientHeight){var n=t.querySelector("."+e.activeListItemClass);n&&(t.scrollTop=n.offsetTop)}}},function(e,t){function n(e,t){var n=window.pageYOffset,o={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d},l=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]'),r=typeof e==="string"?o.offset+(e?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,i=typeof o.duration==="function"?o.duration(r):o.duration,s,c;function a(e){c=e-s;window.scrollTo(0,o.easing(c,n,r,i));if(c<i){requestAnimationFrame(a)}else{u()}}function u(){if(window.scrollTo(0,n+r),"function"==typeof o.callback){o.callback()}}function d(e,t,n,o){return(e/=o/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}requestAnimationFrame(function(e){s=e;a(e)})}t.initSmoothScrolling=function(e){document.documentElement.style;var t=e.duration,o=e.offset,l=location.hash?r(location.href):location.href;function r(e){return e.slice(0,e.lastIndexOf("#"))}!function(){document.body.addEventListener("click",function(i){if(!function(e){return"a"===e.tagName.toLowerCase()&&(e.hash.length>0||"#"===e.href.charAt(e.href.length-1))&&(r(e.href)===l||r(e.href)+"#"===l)}(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||"#"===i.target.href.charAt(i.target.href.length-2)&&"!"===i.target.href.charAt(i.target.href.length-1)||-1===i.target.className.indexOf(e.linkClass))return;n(i.target.hash,{duration:t,offset:o,callback:function(){!function(e){var t=document.getElementById(e.substring(1));t&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}(i.target.hash)}})},!1)}()}}]);
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/tocbot/js/tocbot.min.js
|
4
|
-
# Tocbot v4.12.0
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://tscanlin.github.io/tocbot
|
9
|
-
#
|
10
|
-
# Copyright (C) 2016 Tim Scanlin
|
11
|
-
# Copyright (C) 2020 Juergen Adams
|
12
|
-
#
|
13
|
-
# J1 Template is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
-
# Tocbot is licensed under MIT License.
|
16
|
-
# See: https://github.com/tscanlin/tocbot/blob/master/LICENSE
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var l=t[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,n),l.l=!0,l.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)n.d(o,l,function(t){return e[t]}.bind(null,l));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){(function(o){var l,r,i;!function(o,s){r=[],l=function(e){"use strict";var t,o,l,r=n(2),i={},s={},c=n(3),a=n(4),u=n(5),d=!!(e&&e.document&&e.document.querySelector&&e.addEventListener);if("undefined"==typeof window&&!d)return;var f=Object.prototype.hasOwnProperty;function m(e,t,n){var o,l;return t||(t=250),function(){var r=n||this,i=+new Date,s=arguments;o&&i<o+t?(clearTimeout(l),l=setTimeout(function(){o=i,e.apply(r,s)},t)):(o=i,e.apply(r,s))}}return s.destroy=function(){if(!i.skipRendering)try{document.querySelector(i.tocSelector).innerHTML=""}catch(e){console.warn("Element not found: "+i.tocSelector)}i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).removeEventListener("resize",this._scrollListener,!1),t&&document.querySelector(i.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),t&&document.removeEventListener("click",this._clickListener,!1))},s.init=function(e){if(d&&(i=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)f.call(n,o)&&(e[o]=n[o])}return e}(r,e||{}),this.options=i,this.state={},i.scrollSmooth&&(i.duration=i.scrollSmoothDuration,i.offset=i.scrollSmoothOffset,s.scrollSmooth=n(6).initSmoothScrolling(i)),t=c(i),o=a(i),this._buildHtml=t,this._parseContent=o,s.destroy(),null!==(l=o.selectHeadings(i.contentSelector,i.headingSelector)))){var h=o.nestHeadingsArray(l).nest;i.skipRendering||t.render(i.tocSelector,h),this._scrollListener=m(function(e){t.updateToc(l),!i.disableTocScrollSync&&u(i);var n=e&&e.target&&e.target.scrollingElement&&0===e.target.scrollingElement.scrollTop;(e&&(0===e.eventPhase||null===e.currentTarget)||n)&&(t.updateToc(l),i.scrollEndCallback&&i.scrollEndCallback(e))},i.throttleTimeout),this._scrollListener(),i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var p=null;return this._clickListener=m(function(e){i.scrollSmooth&&t.disableTocAnimation(e),t.updateToc(l),p&&clearTimeout(p),p=setTimeout(function(){t.enableTocAnimation()},i.scrollSmoothDuration)},i.throttleTimeout),i.scrollContainer&&document.querySelector(i.scrollContainer)?document.querySelector(i.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}},s.refresh=function(e){s.destroy(),s.init(e||this.options)},e.tocbot=s,s}(o),void 0===(i="function"==typeof l?l.apply(t,r):l)||(e.exports=i)}(void 0!==o?o:this.window||this.global)}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1}},function(e,t){e.exports=function(e){var t=[].forEach,n=[].some,o=document.body,l=!0,r=" ";function i(n,o){var l=o.appendChild(function(n){var o=document.createElement("li"),l=document.createElement("a");e.listItemClass&&o.setAttribute("class",e.listItemClass);e.onClick&&(l.onclick=e.onClick);e.includeHtml&&n.childNodes.length?t.call(n.childNodes,function(e){l.appendChild(e.cloneNode(!0))}):l.textContent=n.textContent;return l.setAttribute("href",e.basePath+"#"+n.id),l.setAttribute("class",e.linkClass+r+"node-name--"+n.nodeName+r+e.extraLinkClasses),o.appendChild(l),o}(n));if(n.children.length){var c=s(n.isCollapsed);n.children.forEach(function(e){i(e,c)}),l.appendChild(c)}}function s(t){var n=e.orderedList?"ol":"ul",o=document.createElement(n),l=e.listClass+r+e.extraListClasses;return t&&(l+=r+e.collapsibleClass,l+=r+e.isCollapsedClass),o.setAttribute("class",l),o}return{enableTocAnimation:function(){l=!0},disableTocAnimation:function(t){var n=t.target||t.srcElement;"string"==typeof n.className&&-1!==n.className.indexOf(e.linkClass)&&(l=!1)},render:function(e,t){var n=s(!1);t.forEach(function(e){i(e,n)});var o=document.querySelector(e);if(null!==o)return o.firstChild&&o.removeChild(o.firstChild),0===t.length?o:o.appendChild(n)},updateToc:function(i){var s;s=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop,e.positionFixedSelector&&function(){var t;t=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop;var n=document.querySelector(e.positionFixedSelector);"auto"===e.fixedSidebarOffset&&(e.fixedSidebarOffset=document.querySelector(e.tocSelector).offsetTop),t>e.fixedSidebarOffset?-1===n.className.indexOf(e.positionFixedClass)&&(n.className+=r+e.positionFixedClass):n.className=n.className.split(r+e.positionFixedClass).join("")}();var c,a=i;if(l&&null!==document.querySelector(e.tocSelector)&&a.length>0){n.call(a,function(t,n){return function t(n){var o=0;return n!==document.querySelector(e.contentSelector&&null!=n)&&(o=n.offsetTop,e.hasInnerContainers&&(o+=t(n.offsetParent))),o}(t)>s+e.headingsOffset+10?(c=a[0===n?n:n-1],!0):n===a.length-1?(c=a[a.length-1],!0):void 0});var u=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);t.call(u,function(t){t.className=t.className.split(r+e.activeLinkClass).join("")});var d=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);t.call(d,function(t){t.className=t.className.split(r+e.activeListItemClass).join("")});var f=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+c.nodeName+'[href="'+e.basePath+"#"+c.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');-1===f.className.indexOf(e.activeLinkClass)&&(f.className+=r+e.activeLinkClass);var m=f.parentNode;m&&-1===m.className.indexOf(e.activeListItemClass)&&(m.className+=r+e.activeListItemClass);var h=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(h,function(t){-1===t.className.indexOf(e.isCollapsedClass)&&(t.className+=r+e.isCollapsedClass)}),f.nextSibling&&-1!==f.nextSibling.className.indexOf(e.isCollapsedClass)&&(f.nextSibling.className=f.nextSibling.className.split(r+e.isCollapsedClass).join("")),function t(n){return-1!==n.className.indexOf(e.collapsibleClass)&&-1!==n.className.indexOf(e.isCollapsedClass)?(n.className=n.className.split(r+e.isCollapsedClass).join(""),t(n.parentNode.parentNode)):n}(f.parentNode.parentNode)}}}}},function(e,t){e.exports=function(e){var t=[].reduce;function n(e){return e[e.length-1]}function o(t){if(!(t instanceof window.HTMLElement))return t;if(e.ignoreHiddenElements&&(!t.offsetHeight||!t.offsetParent))return null;var n={id:t.id,children:[],nodeName:t.nodeName,headingLevel:function(e){return+e.nodeName.split("H").join("")}(t),textContent:e.headingLabelCallback?String(e.headingLabelCallback(t.textContent)):t.textContent.trim()};return e.includeHtml&&(n.childNodes=t.childNodes),e.headingObjectCallback?e.headingObjectCallback(n,t):n}return{nestHeadingsArray:function(l){return t.call(l,function(t,l){var r=o(l);return r&&function(t,l){for(var r=o(t),i=r.headingLevel,s=l,c=n(s),a=i-(c?c.headingLevel:0);a>0;)(c=n(s))&&void 0!==c.children&&(s=c.children),a--;i>=e.collapseDepth&&(r.isCollapsed=!0),s.push(r)}(r,t.nest),t},{nest:[]})},selectHeadings:function(t,n){var o=n;e.ignoreSelector&&(o=n.split(",").map(function(t){return t.trim()+":not("+e.ignoreSelector+")"}));try{return document.querySelector(t).querySelectorAll(o)}catch(e){return console.warn("Element not found: "+t),null}}}}},function(e,t){e.exports=function(e){var t=document.querySelector(e.tocSelector);if(t&&t.scrollHeight>t.clientHeight){var n=t.querySelector("."+e.activeListItemClass);n&&(t.scrollTop=n.offsetTop)}}},function(e,t){function n(e,t){var n=window.pageYOffset,o={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d},l=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]'),r=typeof e==="string"?o.offset+(e?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,i=typeof o.duration==="function"?o.duration(r):o.duration,s,c;function a(e){c=e-s;window.scrollTo(0,o.easing(c,n,r,i));if(c<i){requestAnimationFrame(a)}else{u()}}function u(){if(window.scrollTo(0,n+r),"function"==typeof o.callback){o.callback()}}function d(e,t,n,o){return(e/=o/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}requestAnimationFrame(function(e){s=e;a(e)})}t.initSmoothScrolling=function(e){document.documentElement.style;var t=e.duration,o=e.offset,l=location.hash?r(location.href):location.href;function r(e){return e.slice(0,e.lastIndexOf("#"))}!function(){document.body.addEventListener("click",function(i){if(!function(e){return"a"===e.tagName.toLowerCase()&&(e.hash.length>0||"#"===e.href.charAt(e.href.length-1))&&(r(e.href)===l||r(e.href)+"#"===l)}(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||"#"===i.target.href.charAt(i.target.href.length-2)&&"!"===i.target.href.charAt(i.target.href.length-1)||-1===i.target.className.indexOf(e.linkClass))return;n(i.target.hash,{duration:t,offset:o,callback:function(){!function(e){var t=document.getElementById(e.substring(1));t&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}(i.target.hash)}})},!1)}()}}]);
|
@@ -1,146 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/defaults/back2top.yml
|
3
|
-
# Default configuration settings for J1 Back2Top module
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
12
|
-
# ------------------------------------------------------------------------------
|
13
|
-
|
14
|
-
# ------------------------------------------------------------------------------
|
15
|
-
# About this configuration (used for J1 CC only)
|
16
|
-
#
|
17
|
-
about_config:
|
18
|
-
|
19
|
-
title: Back2Top
|
20
|
-
scope: Default settings
|
21
|
-
location: _data/modules/defaults/back2top.yml
|
22
|
-
|
23
|
-
# ------------------------------------------------------------------------------
|
24
|
-
# Back2Top settings
|
25
|
-
# If enabled, a Back2Top button at the bottom of every page is displayed
|
26
|
-
#
|
27
|
-
# enabled
|
28
|
-
# ----------------------------------------------------------------------------
|
29
|
-
# Enables|Disables the use of Back2Top (button)
|
30
|
-
#
|
31
|
-
# values: boolean (true|false)
|
32
|
-
# default: true
|
33
|
-
#
|
34
|
-
# color
|
35
|
-
# ----------------------------------------------------------------------------
|
36
|
-
# Set the color of the Back2Top icon for an hover event. Possible
|
37
|
-
# values are the RGB code like "#204a87" or a color name taken from
|
38
|
-
# file ~/_data/modules/j1_colors.yml
|
39
|
-
#
|
40
|
-
# values: string
|
41
|
-
# default: j1_darkblue
|
42
|
-
#
|
43
|
-
# icon
|
44
|
-
# ----------------------------------------------------------------------------
|
45
|
-
# Set the font icon used with the Back2Top button. Possible values
|
46
|
-
# depend on the icon family defined by "icon_family". Use the
|
47
|
-
# respective hex value for the icon to be used
|
48
|
-
#
|
49
|
-
# values: string
|
50
|
-
# default: "f102"
|
51
|
-
#
|
52
|
-
# icon_family
|
53
|
-
# ----------------------------------------------------------------------------
|
54
|
-
# Set the icon familiy from what the icon should be taken from. Be
|
55
|
-
# aware that the CSS file for the font icon set needs to be
|
56
|
-
# included as a resource.
|
57
|
-
#
|
58
|
-
# values: string (FontAwesome|Glyphicons Halflings)
|
59
|
-
# default: FontAwesome
|
60
|
-
#
|
61
|
-
# startline
|
62
|
-
# ----------------------------------------------------------------------------
|
63
|
-
# Number of pixels from top of doc scrollbar is scrolled before
|
64
|
-
# showing control.
|
65
|
-
#
|
66
|
-
# values: integer (px)
|
67
|
-
# default: 100
|
68
|
-
#
|
69
|
-
# scrollto
|
70
|
-
# ----------------------------------------------------------------------------
|
71
|
-
# Integer or "Scroll_to_Element_ID". Specifies how far to scroll
|
72
|
-
# a page up when control is clicked on (0=top).
|
73
|
-
# showing control.
|
74
|
-
#
|
75
|
-
# values: integer (px)
|
76
|
-
# default: 0
|
77
|
-
#
|
78
|
-
# scrollduration
|
79
|
-
# ----------------------------------------------------------------------------
|
80
|
-
# Time (Duration) measured in msec to scroll the whole page
|
81
|
-
#
|
82
|
-
# values: integer (msec)
|
83
|
-
# default: 1000
|
84
|
-
#
|
85
|
-
# fadeduration
|
86
|
-
# ----------------------------------------------------------------------------
|
87
|
-
# Fade effect (durationd) measured in msec to show|hide
|
88
|
-
# the control button
|
89
|
-
#
|
90
|
-
# values: integer (msec)
|
91
|
-
# default: 500
|
92
|
-
#
|
93
|
-
# controlHTML
|
94
|
-
# ----------------------------------------------------------------------------
|
95
|
-
# HTML code for the control button which is AUTO wrapped in an
|
96
|
-
# DIV element tha is automatically placed (ID = #topcontrol).
|
97
|
-
# the control button
|
98
|
-
#
|
99
|
-
# values: string (HTML)
|
100
|
-
# default: '<img src="assets/img/up.png" style="width:51px; height:42px'
|
101
|
-
#
|
102
|
-
# controlattrs
|
103
|
-
# ----------------------------------------------------------------------------
|
104
|
-
# Offset measured in pixels to place the control (button) relative
|
105
|
-
# to right|bottom of the window corner.
|
106
|
-
#
|
107
|
-
# values: array (integer|px)
|
108
|
-
# default: [5, 5]
|
109
|
-
#
|
110
|
-
# anchorkeyword
|
111
|
-
# ----------------------------------------------------------------------------
|
112
|
-
# Anchor|href value of HTML anchors on the page that should be
|
113
|
-
# used for a "Scroll Up" link.
|
114
|
-
#
|
115
|
-
# values: string (ID)
|
116
|
-
# default: "#top"
|
117
|
-
#
|
118
|
-
# ------------------------------------------------------------------------------
|
119
|
-
|
120
|
-
# ------------------------------------------------------------------------------
|
121
|
-
# Default configuration settings
|
122
|
-
#
|
123
|
-
defaults:
|
124
|
-
enabled: false
|
125
|
-
|
126
|
-
active_color: "#0D47A1" # md-blue-900
|
127
|
-
background_color: "#212121" # md-grey-900
|
128
|
-
|
129
|
-
icon: "f05d"
|
130
|
-
icon_family: Material Design Icons
|
131
|
-
icon_position: absolute
|
132
|
-
|
133
|
-
startline: 100
|
134
|
-
scrollto: 0
|
135
|
-
|
136
|
-
scrollduration: 1000
|
137
|
-
fadeduration:
|
138
|
-
fadeIn: 500
|
139
|
-
fadeOut: 500
|
140
|
-
|
141
|
-
controlattrs:
|
142
|
-
offsetx: 5
|
143
|
-
offsety: 5
|
144
|
-
|
145
|
-
# ------------------------------------------------------------------------------
|
146
|
-
# END config
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/defaults/stickybits.yml
|
3
|
-
# Default configuration settings for J1 Stickybits module
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
-
# ------------------------------------------------------------------------------
|
13
|
-
|
14
|
-
# ------------------------------------------------------------------------------
|
15
|
-
# About this configuration (used for J1 CC only)
|
16
|
-
#
|
17
|
-
about_config:
|
18
|
-
|
19
|
-
title: Stickybits
|
20
|
-
scope: Default settings
|
21
|
-
location: _data/modules/defaults/stickybits.yml
|
22
|
-
|
23
|
-
# ------------------------------------------------------------------------------
|
24
|
-
# User configuration settings
|
25
|
-
#
|
26
|
-
defaults:
|
27
|
-
|
28
|
-
enabled: true
|
29
|
-
selector: .sticky
|
30
|
-
offset: 0
|
31
|
-
useFixed: false
|
32
|
-
useStickyClasses: true # default: false
|
33
|
-
verticalPosition: bottom
|
34
|
-
|
35
|
-
# ------------------------------------------------------------------------------
|
36
|
-
# END config
|
@@ -1,142 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/ssc.yml
|
3
|
-
# User Configuration of the SSC Module (Sticky Side Menu)
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
-
#
|
13
|
-
# ------------------------------------------------------------------------------
|
14
|
-
# NOTE:
|
15
|
-
#
|
16
|
-
# ------------------------------------------------------------------------------
|
17
|
-
|
18
|
-
# ------------------------------------------------------------------------------
|
19
|
-
# About this configuration (used for J1 CC only)
|
20
|
-
#
|
21
|
-
about_config:
|
22
|
-
title: Sticky Side Menu
|
23
|
-
scope: User settings
|
24
|
-
location: _data/modules/ssm.yml
|
25
|
-
|
26
|
-
# ------------------------------------------------------------------------------
|
27
|
-
# User settings
|
28
|
-
#
|
29
|
-
settings:
|
30
|
-
enabled: true
|
31
|
-
mode: icon # icon|menu
|
32
|
-
|
33
|
-
# ----------------------------------------------------------------------------
|
34
|
-
# CONTAINER elements
|
35
|
-
#
|
36
|
-
items:
|
37
|
-
|
38
|
-
# --------------------------------------------------------------------------
|
39
|
-
# TOPLEVEL items
|
40
|
-
#
|
41
|
-
- item: Reload Page
|
42
|
-
enabled: true
|
43
|
-
id: ssm_reload_page
|
44
|
-
href:
|
45
|
-
target:
|
46
|
-
event_handler: reload_page
|
47
|
-
icon: reload
|
48
|
-
icon_classes:
|
49
|
-
|
50
|
-
- item: Table of Contents
|
51
|
-
enabled: true
|
52
|
-
id: ssm_toc
|
53
|
-
href:
|
54
|
-
target:
|
55
|
-
event_handler: open_ssm_toc
|
56
|
-
icon: wrap
|
57
|
-
icon_classes:
|
58
|
-
|
59
|
-
- item: To Top
|
60
|
-
enabled: true
|
61
|
-
id: ssm_scroll_to_top
|
62
|
-
event_handler: scroll_to_top
|
63
|
-
href:
|
64
|
-
target:
|
65
|
-
icon: step-backward-2
|
66
|
-
icon_classes: mdi-rotate-90
|
67
|
-
|
68
|
-
- item: Previous Section
|
69
|
-
enabled: true
|
70
|
-
id: ssm_previous_section
|
71
|
-
event_handler: scroll_previous_section
|
72
|
-
href:
|
73
|
-
target:
|
74
|
-
icon: step-backward
|
75
|
-
icon_classes: mdi-rotate-90
|
76
|
-
|
77
|
-
- item: Next Section
|
78
|
-
enabled: true
|
79
|
-
id: ssm_next_section
|
80
|
-
event_handler: scroll_next_section
|
81
|
-
href:
|
82
|
-
target:
|
83
|
-
icon: step-forward
|
84
|
-
icon_classes: mdi-rotate-90
|
85
|
-
|
86
|
-
- item: To Bottom
|
87
|
-
enabled: true
|
88
|
-
id: ssm_scroll_to_bottom
|
89
|
-
event_handler: scroll_to_bottom
|
90
|
-
href:
|
91
|
-
target:
|
92
|
-
icon: step-forward-2
|
93
|
-
icon_classes: mdi-rotate-90
|
94
|
-
|
95
|
-
- item: Leave a Comment
|
96
|
-
enabled: false
|
97
|
-
id: ssm_scroll_to_comments
|
98
|
-
event_handler: scroll_to_comments
|
99
|
-
href:
|
100
|
-
target:
|
101
|
-
icon: comment
|
102
|
-
icon_classes:
|
103
|
-
|
104
|
-
- item: Tester
|
105
|
-
enabled: false
|
106
|
-
id: ssm_test
|
107
|
-
href:
|
108
|
-
target:
|
109
|
-
event_handler: alert_me
|
110
|
-
icon: alert
|
111
|
-
icon_classes:
|
112
|
-
|
113
|
-
# --------------------------------------------------------------------------
|
114
|
-
# MENU items
|
115
|
-
#
|
116
|
-
- item: Social Share
|
117
|
-
enabled: false
|
118
|
-
icon: menu
|
119
|
-
icon_classes:
|
120
|
-
sublevel:
|
121
|
-
|
122
|
-
- title: Facebook
|
123
|
-
enabled: true
|
124
|
-
id: ssm_facebook
|
125
|
-
href: https://www.facebook.com/sharer/sharer.php?u=http://demo.enigmaweb.com.au/
|
126
|
-
target:
|
127
|
-
event_handler: window.open(this.href, 'facebook', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
128
|
-
icon: facebook
|
129
|
-
icon_classes:
|
130
|
-
|
131
|
-
- title: Twitter
|
132
|
-
enabled: true
|
133
|
-
id: ssm_twitter
|
134
|
-
href: https://twitter.com/home?status=http://demo.enigmaweb.com.au/
|
135
|
-
target:
|
136
|
-
event_handler: window.open(this.href, 'twitter', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
137
|
-
icon: twitter
|
138
|
-
icon_classes:
|
139
|
-
|
140
|
-
|
141
|
-
# ------------------------------------------------------------------------------
|
142
|
-
# END config
|