j1-template 2021.0.12 → 2021.1.0
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/blocks/footer/boxes/legal_statements.proc +4 -0
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +34 -12
- data/_includes/themes/j1/layouts/content_generator_post.html +7 -5
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +1 -1
- data/_includes/themes/j1/modules/connectors/ads +1 -1
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics-legacy.html +36 -0
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytics +2 -3
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
- data/_includes/themes/j1/modules/navigator/generator.html +6 -6
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -0
- data/_layouts/default.html +11 -1
- data/assets/data/authclient.html +1 -1
- data/assets/data/carousel.json +1 -1
- data/assets/data/fam.html +2 -2
- data/assets/data/galleries.json +2 -2
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/data/menu.html +15 -17
- data/assets/themes/j1/adapter/js/asciidoctor.js +166 -0
- data/assets/themes/j1/adapter/js/carousel.js +30 -1
- data/assets/themes/j1/adapter/js/fam.js +8 -12
- data/assets/themes/j1/adapter/js/j1.js +71 -24
- data/assets/themes/j1/adapter/js/{jf_gallery.js → justifiedGallery.js} +9 -9
- data/assets/themes/j1/adapter/js/{gallery_customizer.js → justifiedGalleryCustomizer.js} +11 -11
- data/assets/themes/j1/adapter/js/logger.js +35 -23
- data/assets/themes/j1/adapter/js/mmenu.js +9 -4
- data/assets/themes/j1/adapter/js/navigator.js +14 -18
- data/assets/themes/j1/adapter/js/themer.js +32 -27
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +25 -7
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +14 -2
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +6 -6
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -0
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
- data/assets/themes/j1/modules/log4javascript/docs/backwardsincompatibilities.html +90 -0
- data/assets/themes/j1/modules/log4javascript/docs/distribution.html +87 -0
- data/assets/themes/j1/modules/log4javascript/docs/index.html +190 -0
- data/assets/themes/j1/modules/log4javascript/docs/lite.html +182 -0
- data/assets/themes/j1/modules/log4javascript/docs/manual.html +3217 -0
- data/assets/themes/j1/modules/log4javascript/docs/manual_lite.html +383 -0
- data/assets/themes/j1/modules/log4javascript/docs/quickstart.html +230 -0
- data/assets/themes/j1/modules/log4javascript/docs/whatsnew.html +86 -0
- data/assets/themes/j1/modules/log4javascript/js/log4javascript.js +5826 -0
- data/assets/themes/j1/modules/{util/js/log4javascript.js → log4javascript/js/log4javascript.min.js} +17 -0
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +9 -4
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/exe/j1 +1 -1
- data/lib/j1/commands/generate.rb +32 -9
- data/lib/{patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6 → j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.7}/fastfilereaderext.so +0 -0
- data/lib/{patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6 → j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.7}/rubyeventmachine.so +0 -0
- data/lib/j1/patches/rubygems/execjs-2.7.0/lib/execjs/external_runtime.rb +246 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +1 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +8 -2
- data/lib/j1_app/j1_site_manager/static_site.no-cross-origin.rb +94 -0
- data/lib/j1_app/j1_site_manager/static_site.rb +13 -11
- data/lib/starter_web/Gemfile +21 -15
- data/lib/starter_web/_config.yml +7 -48
- data/lib/starter_web/_data/_defaults/j1_config.yml +460 -0
- data/lib/starter_web/_data/_defaults/private.yml +156 -0
- data/lib/starter_web/_data/_defaults/resources.yml +626 -325
- data/lib/starter_web/_data/apps/defaults/{justified_gallery.yml → justifiedGallery.yml} +2 -2
- data/lib/starter_web/_data/apps/defaults/{gallery_customizer.yml → justifiedGalleryCustomizer.yml} +0 -0
- data/lib/starter_web/_data/apps/defaults/{light_gallery.yml → lightGallery.yml} +0 -0
- data/lib/starter_web/_data/apps/{justified_gallery.yml → justifiedGallery.yml} +7 -7
- data/lib/starter_web/_data/apps/{gallery_customizer.yml → justifiedGalleryCustomizer.yml} +0 -0
- data/lib/starter_web/_data/apps/{light_gallery.yml → lightGallery.yml} +0 -0
- data/lib/starter_web/_data/blocks/banner.yml +18 -30
- data/lib/starter_web/_data/blocks/footer.yml +15 -3
- data/lib/starter_web/_data/blocks/panel.yml +4 -6
- data/lib/starter_web/_data/builder/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/j1_config.yml +8 -7
- data/lib/starter_web/_data/modules/authentication.yml +11 -100
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +37 -40
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +5 -24
- data/lib/starter_web/_data/modules/fam.yml +13 -2
- data/lib/starter_web/_data/modules/log4javascript.yml +11 -83
- data/lib/starter_web/_data/modules/navigator_menu.yml +26 -7
- data/lib/starter_web/_data/modules/quicksearch.yml +5 -3
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +15 -12
- data/lib/starter_web/_data/plugins/paginator.yml +5 -3
- data/lib/starter_web/_data/private.yml +29 -57
- data/lib/starter_web/_data/private@default.yml +119 -0
- data/lib/starter_web/_data/private@localhost.yml +156 -0
- data/lib/starter_web/_data/resources.yml +33 -16
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +49 -3
- data/lib/starter_web/_data/utilities/util_srv.yml +8 -65
- data/lib/starter_web/_includes/attributes.asciidoc +10 -6
- data/lib/starter_web/_plugins/asciidoctor-extensions/callout.rb +47 -5
- data/lib/starter_web/_plugins/asciidoctor-extensions/conum.rb +28 -1
- data/lib/starter_web/_plugins/lunr_index.rb +24 -5
- data/lib/starter_web/assets/images/collections/blog/featured/dynamic-web-access.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators.gif +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/static-web-access.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +45 -46
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-06-01-about-cookies.adoc → 2020-01-01-about-cookies.adoc} +42 -40
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-site-generators.adoc → 2021-03-01-site-generators.adoc} +58 -31
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +125 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +4 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +8 -5
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +8 -5
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +8 -5
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +8 -5
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -2
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.gitignore +5 -1
- data/lib/starter_web/package.json +3 -2
- data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +16 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/index.html +10 -11
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +44 -47
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +20 -19
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +5 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +38 -34
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +37 -35
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +15 -13
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +10 -8
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +29 -26
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +50 -49
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +43 -16
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +114 -0
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +81 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +70 -48
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +121 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +78 -70
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +161 -591
- data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +4 -4
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +511 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +10 -12
- data/lib/starter_web/pages/public/previewer/rouge.adoc +3 -3
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +13 -9
- data/lib/starter_web/utilsrv/package.json +6 -2
- data/lib/starter_web/utilsrv/server.js +228 -55
- metadata +48 -210
- data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +0 -110
- data/lib/starter_web/_data/_defaults/template_settings.yml +0 -258
- data/lib/starter_web/_data/plugins/defaults/notebooks.yml +0 -61
- data/lib/starter_web/_data/plugins/notebooks.yml +0 -70
- data/lib/starter_web/assets/images/collections/blog/featured/staticgen.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-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/banner/docker-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/florian-olivo-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-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/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/algolia/search-by-algolia.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +0 -2025
- data/lib/starter_web/assets/images/modules/icons/netlify/nf-logo.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/scalable/p1.svg +0 -2020
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-16x16.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-32x32.png +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/000_browser_console-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/001_smee_channel-1280x400.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/002_gh_repo_settings-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/003_gh_webhook_settings-1280x1000.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/004_gh_webhook_settings-post-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/005_smee_channel_ping_receive-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/006_gh_redeliver_payload-1280x900.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/007_receive_redelivered_payload-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_browser_console.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_smee_channel.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/002_gh_repo-settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/003_gh_webhook_settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/004_gh_webhook_settings-post.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/005_smee_channel_ping_received.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/006_gh_redeliver_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/007_receive_redelivered_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/webhook_flow.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/flows/webhook_flow-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/scaleable/webhook_flow.svg +0 -432
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +0 -632
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +0 -648
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/130_layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance_thumb.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/html_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-quickstart-windows.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-template-theme.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/jekyll-minima-theme.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/lane_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/preparations/msys_installation.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4j/apache-log4j-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log4r/code-1920x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4r/log4r-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_000.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_001.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_002.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_003.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_004.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_005.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_006.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_007.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_008.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_009.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_010.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_011.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_012.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_013.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_014.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_015.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_016.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_017.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_018.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_019.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_020.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_021.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_022.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_023.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_024.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_025.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_026.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_027.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_028.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_029.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_030.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_031.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_032.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_033.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_034.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_035.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_036.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_037.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_038.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_039.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_040.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_041.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_042.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_043.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_044.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_045.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_046.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_047.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_048.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_049.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_050.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_051.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_052.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_053.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_054.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_055.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_056.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_057.png +0 -0
- data/lib/starter_web/assets/images/pages/material/apple-touch-icon.png +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jQuery-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1920x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/src/JQuery-Logo.svg +0 -122
- data/lib/starter_web/assets/images/pages/pen/jquery/src/banner.psd +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/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/pages/protected/site_search.adoc +0 -180
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +1 -5439
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +0 -93
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +0 -55
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +0 -53
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +0 -50
@@ -0,0 +1,94 @@
|
|
1
|
+
module J1App
|
2
|
+
class SiteManager < Sinatra::Base
|
3
|
+
|
4
|
+
# ==========================================================================
|
5
|
+
# Sinatra Framework settings
|
6
|
+
# ==========================================================================
|
7
|
+
|
8
|
+
# NOTE: https://stackoverflow.com/questions/7847536/sinatra-in-facebook-iframe
|
9
|
+
#
|
10
|
+
#set :protection, :except => :frame_options
|
11
|
+
|
12
|
+
# Check: http://sinatrarb.com/intro.html
|
13
|
+
#
|
14
|
+
#set :static_cache_control, [:public, :max_age => 10]
|
15
|
+
|
16
|
+
# Sinatra extension 'sinatra-cross_origin' to enable CORS
|
17
|
+
# See: https://github.com/britg/sinatra-cross_origin
|
18
|
+
# Resource Sharing (CORS).
|
19
|
+
# See more on cross domain resource sharing with:
|
20
|
+
# https://developer.mozilla.org/En/HTTP_access_control
|
21
|
+
# --------------------------------------------------------------------------
|
22
|
+
# register Sinatra::CrossOrigin
|
23
|
+
# configure do
|
24
|
+
# enable :cross_origin
|
25
|
+
# end
|
26
|
+
|
27
|
+
# Additional (response) headers managed by Sinatra extension
|
28
|
+
# 'sinatra-cross_origin'
|
29
|
+
# NOTE: for the static content 'Access-Control-Allow-Origin'
|
30
|
+
# is NOT needed
|
31
|
+
# --------------------------------------------------------------------------
|
32
|
+
# before do
|
33
|
+
# response.headers['Access-Control-Allow-Origin'] = '*'
|
34
|
+
# response.headers['X-Powered-By'] = 'J1 Template'
|
35
|
+
# end
|
36
|
+
|
37
|
+
# OPTION BLOCK for Sinatra extension 'sinatra-cross_origin'
|
38
|
+
# Send a HTTP 200 response on the CORS preflight request (browser)
|
39
|
+
# --------------------------------------------------------------------------
|
40
|
+
# options "*" do
|
41
|
+
# response.headers["Allow"] = "GET, POST, OPTIONS"
|
42
|
+
# response.headers["Access-Control-Allow-Headers"] = "Authorization, Content-Type, Accept, X-User-Email, X-Auth-Token, X-Page-ID, X-Powered-By"
|
43
|
+
# 200
|
44
|
+
# end
|
45
|
+
|
46
|
+
# Register static content
|
47
|
+
# --------------------------------------------------------------------------
|
48
|
+
register Sinatra::Index
|
49
|
+
root = File.expand_path(J1App.destination, J1App.project_path)
|
50
|
+
set :public_folder, root
|
51
|
+
use_static_index "index.html"
|
52
|
+
|
53
|
+
error 400 do
|
54
|
+
four_oh_oh = File.expand_path(settings.public_folder + "/400.html", Dir.pwd)
|
55
|
+
File.read(four_oh_oh) if File.exist?(four_oh_oh)
|
56
|
+
end
|
57
|
+
|
58
|
+
error 401 do
|
59
|
+
four_oh_one = File.expand_path(settings.public_folder + "/401.html", Dir.pwd)
|
60
|
+
File.read(four_oh_one) if File.exist?(four_oh_one)
|
61
|
+
end
|
62
|
+
|
63
|
+
error 403 do
|
64
|
+
four_oh_three = File.expand_path(settings.public_folder + "/403.html", Dir.pwd)
|
65
|
+
File.read(four_oh_three) if File.exist?(four_oh_three)
|
66
|
+
end
|
67
|
+
|
68
|
+
error 404 do
|
69
|
+
four_oh_four = File.expand_path(settings.public_folder + "/404.html", Dir.pwd)
|
70
|
+
File.read(four_oh_four) if File.exist?(four_oh_four)
|
71
|
+
end
|
72
|
+
|
73
|
+
error 500 do
|
74
|
+
five_oh_oh = File.expand_path(settings.public_folder + "/500.html", Dir.pwd)
|
75
|
+
File.read(five_oh_oh) if File.exist?(five_oh_oh)
|
76
|
+
end
|
77
|
+
|
78
|
+
error 501 do
|
79
|
+
five_oh_one = File.expand_path(settings.public_folder + "/501.html", Dir.pwd)
|
80
|
+
File.read(five_oh_one) if File.exist?(five_oh_one)
|
81
|
+
end
|
82
|
+
|
83
|
+
error 502 do
|
84
|
+
five_oh_two = File.expand_path(settings.public_folder + "/502.html", Dir.pwd)
|
85
|
+
File.read(five_oh_two) if File.exist?(five_oh_two)
|
86
|
+
end
|
87
|
+
|
88
|
+
error 533 do
|
89
|
+
five_three_three = File.expand_path(settings.public_folder + "/533.html", Dir.pwd)
|
90
|
+
File.read(five_three_three) if File.exist?(five_three_three)
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
end
|
@@ -5,6 +5,18 @@ module J1App
|
|
5
5
|
# Sinatra Framework settings
|
6
6
|
# ==========================================================================
|
7
7
|
|
8
|
+
# Additional (response) header properties managed by Sinatra::Base
|
9
|
+
# NOTE: for the static content 'Access-Control-Allow-Origin'
|
10
|
+
# is NOT needed ???
|
11
|
+
# --------------------------------------------------------------------------
|
12
|
+
# NOTE: Response header properties are currently set
|
13
|
+
# by HAProxy for production !!!
|
14
|
+
# --------------------------------------------------------------------------
|
15
|
+
# before do
|
16
|
+
# response.headers['Access-Control-Allow-Origin'] = '*'
|
17
|
+
# response.headers['X-Powered-By'] = 'J1 Template'
|
18
|
+
# end
|
19
|
+
|
8
20
|
# NOTE: https://stackoverflow.com/questions/7847536/sinatra-in-facebook-iframe
|
9
21
|
#
|
10
22
|
#set :protection, :except => :frame_options
|
@@ -15,7 +27,7 @@ module J1App
|
|
15
27
|
|
16
28
|
# Sinatra extension 'sinatra-cross_origin' to enable CORS
|
17
29
|
# See: https://github.com/britg/sinatra-cross_origin
|
18
|
-
# Resource Sharing (CORS).
|
30
|
+
# Resource Sharing (CORS).
|
19
31
|
# See more on cross domain resource sharing with:
|
20
32
|
# https://developer.mozilla.org/En/HTTP_access_control
|
21
33
|
# --------------------------------------------------------------------------
|
@@ -24,16 +36,6 @@ module J1App
|
|
24
36
|
# enable :cross_origin
|
25
37
|
# end
|
26
38
|
|
27
|
-
# Additional (response) headers managed by Sinatra extension
|
28
|
-
# 'sinatra-cross_origin'
|
29
|
-
# NOTE: for the static content 'Access-Control-Allow-Origin'
|
30
|
-
# is NOT needed
|
31
|
-
# --------------------------------------------------------------------------
|
32
|
-
# before do
|
33
|
-
# response.headers['Access-Control-Allow-Origin'] = '*'
|
34
|
-
# response.headers['X-Powered-By'] = 'J1 Template'
|
35
|
-
# end
|
36
|
-
|
37
39
|
# OPTION BLOCK for Sinatra extension 'sinatra-cross_origin'
|
38
40
|
# Send a HTTP 200 response on the CORS preflight request (browser)
|
39
41
|
# --------------------------------------------------------------------------
|
data/lib/starter_web/Gemfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/Gemfile (
|
2
|
+
# ~/Gemfile (runtime)
|
3
3
|
# Provides package information to bundle all Ruby gem needed
|
4
4
|
# for Jekyll and J1 template (managed by Ruby Gem Bundler)
|
5
5
|
#
|
@@ -52,9 +52,9 @@ ruby RUBY_VERSION
|
|
52
52
|
#
|
53
53
|
gem 'jekyll', '~> 4.2'
|
54
54
|
|
55
|
-
# Theme Rubies, default: J1 Template
|
55
|
+
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
56
56
|
#
|
57
|
-
gem 'j1-template', '~> 2021.0
|
57
|
+
gem 'j1-template', '~> 2021.1.0'
|
58
58
|
|
59
59
|
# ------------------------------------------------------------------------------
|
60
60
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
@@ -111,17 +111,17 @@ gem 'wdm', '>= 0.1.1' if Gem.win_platform?
|
|
111
111
|
# asciidoctor-rouge output. Currently, older/latest version v1.x is used
|
112
112
|
#
|
113
113
|
group :jekyll_plugins do
|
114
|
+
# gem 'algolia', '~> 2.0', '>= 2.0.4' # New/latest (Jekyll-)Algolia gem
|
114
115
|
gem 'asciidoctor', '= 1.5.8' # See notes!!!
|
115
|
-
# gem 'asciidoctor-pdf', '>= 1.5.4' #
|
116
|
+
# gem 'asciidoctor-pdf', '>= 1.5.4' # Used for PDF creation only
|
116
117
|
gem 'asciidoctor-rouge', '>= 0.4.0'
|
117
118
|
gem 'jekyll-asciidoc', '>= 3.0.0'
|
118
|
-
# gem 'jekyll-algolia', '~> 1.6' # Needed ??? Supported ???
|
119
119
|
# gem 'jekyll-feed', ">= 0.15.1"
|
120
|
-
# gem 'jekyll-gist', '>= 1.5.0' #
|
121
|
-
# gem 'jekyll-
|
122
|
-
# gem 'jekyll-
|
123
|
-
|
124
|
-
gem 'j1-paginator', '>=
|
120
|
+
# gem 'jekyll-gist', '>= 1.5.0' # Useful ???
|
121
|
+
# gem 'jekyll-redirect-from', '>= 0.16.0' # Useful ???
|
122
|
+
# gem 'jekyll-sass-converter', '>= 2.1.0' # Used if SASS (file) conversion is enabled
|
123
|
+
gem 'jekyll-sitemap', '>= 1.2.0'
|
124
|
+
gem 'j1-paginator', '>= 2021.1.0' # New version !!!
|
125
125
|
end
|
126
126
|
|
127
127
|
# ------------------------------------------------------------------------------
|
@@ -133,7 +133,7 @@ end
|
|
133
133
|
# web application, e.g. on Docker or a Heroku Dyno, to define and use
|
134
134
|
# of identical Ruby runtime environments.
|
135
135
|
#
|
136
|
-
# ruby '2.
|
136
|
+
# ruby '2.7.2'
|
137
137
|
|
138
138
|
# ------------------------------------------------------------------------------
|
139
139
|
# Enable the `rake` Gem if needed. For container-based apps, Rake can
|
@@ -181,19 +181,25 @@ gem 'rack-protection', '~> 2.0'
|
|
181
181
|
gem 'rack-ssl-enforcer', '~> 0.2'
|
182
182
|
gem 'rest-client', '~> 2.0'
|
183
183
|
|
184
|
-
gem
|
184
|
+
# NOTE: For the base gem omniauth, the currtent version >= 2 cannot be
|
185
|
+
# used. For unknown reason, a WRONG redirect URL is calculated
|
186
|
+
# e.g. for strategy oauth2/github
|
187
|
+
#
|
188
|
+
# Wrong: http://localhost:xxx/auth/github
|
189
|
+
# Correct: https://github.com/login?client_id=xx&return=yyy
|
190
|
+
#
|
191
|
+
# gem 'omniauth', '~> 2.0'
|
192
|
+
|
193
|
+
gem 'omniauth', '~> 1.0' # latest: 1.9.1
|
185
194
|
gem 'omniauth-oauth2', '~> 1.7'
|
186
195
|
|
187
196
|
gem 'sinatra', '~> 2.0'
|
188
|
-
gem 'sinatra-cross_origin', '~> 0.3.1'
|
189
|
-
|
190
197
|
gem 'warden', '~> 1.2'
|
191
198
|
|
192
199
|
# ------------------------------------------------------------------------------
|
193
200
|
# Gem needed for J1 logger based on log4r (middleware)
|
194
201
|
#
|
195
202
|
gem 'log4r', '~> 1.1', '>= 1.1.10'
|
196
|
-
gem 'uuid', '~> 2.3', '>= 2.3.8'
|
197
203
|
gem 'date', '~> 2.0'
|
198
204
|
|
199
205
|
# ------------------------------------------------------------------------------
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: production
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2021.0
|
56
|
+
version: 2021.1.0
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -312,10 +312,9 @@ permalink: pretty
|
|
312
312
|
# domain http|s://your-site.domain here. Accessible in Liquid as
|
313
313
|
# "site.url". For the development environment there is an EXCEPTION:
|
314
314
|
# if you are running jekyll serve in a development environment,
|
315
|
-
# site.url will be set to the value of host, port.
|
316
|
-
# url: http://localhost:4000.
|
315
|
+
# site.url will be set to the value of host, port.
|
317
316
|
#
|
318
|
-
url: "
|
317
|
+
url: ""
|
319
318
|
|
320
319
|
# The subpath of your site, e.g. /blog/. Used in conjunction with
|
321
320
|
# site.url (see above) when you want a link to something with the
|
@@ -323,12 +322,6 @@ url: "http://localhost:44440/"
|
|
323
322
|
#
|
324
323
|
baseurl: ""
|
325
324
|
|
326
|
-
# TODO: Following parameters should moved to header or panel that uses
|
327
|
-
# these values (production_url, download_url, base_path)
|
328
|
-
#
|
329
|
-
#production_url: http://jekyll.one
|
330
|
-
#download_url: http://jekyll.one/downloads
|
331
|
-
|
332
325
|
# The production_url is only used when full-domain names are needed
|
333
326
|
# such as sitemap.txt. For most places will/should use base_path to
|
334
327
|
# make the URLs.
|
@@ -336,14 +329,12 @@ baseurl: ""
|
|
336
329
|
base_path: ""
|
337
330
|
|
338
331
|
# ------------------------------------------------------------------------------
|
339
|
-
# TODO: Following parameters should moved to the components that uses
|
340
|
-
# these values (protocol, host, port)
|
341
332
|
# Base hostname and protocol for the site
|
342
333
|
#
|
343
334
|
# Defaults:
|
344
335
|
# protocol: http
|
345
336
|
# host: localhost
|
346
|
-
# port:
|
337
|
+
# port: 40000
|
347
338
|
# timezone: Europe/Berlin
|
348
339
|
# encoding: UTF-8
|
349
340
|
#
|
@@ -440,15 +431,15 @@ liquid:
|
|
440
431
|
# PLUGIN configuration
|
441
432
|
#
|
442
433
|
plugins:
|
434
|
+
# - algolia
|
443
435
|
- asciidoctor
|
444
436
|
# - asciidoctor-pdf
|
445
437
|
- jekyll-asciidoc
|
446
|
-
# - jekyll-algolia
|
447
438
|
# - jekyll-feed
|
448
439
|
# - jekyll-gist
|
449
|
-
# - jekyll-sitemap
|
450
440
|
# - jekyll-redirect-from
|
451
441
|
# - jekyll-sass-converter
|
442
|
+
- jekyll-sitemap
|
452
443
|
- j1-paginator
|
453
444
|
|
454
445
|
# ------------------------------------------------------------------------------
|
@@ -484,6 +475,7 @@ asciidoc_attributes: &asciidoc_attributes
|
|
484
475
|
icons: font
|
485
476
|
imagesdir: /assets/images
|
486
477
|
iconsdir: '{imagesdir}/icons/asciidoc'
|
478
|
+
# experimental: true # enable the UI macros, e.g kbd:[], for Asciidoctor globally
|
487
479
|
|
488
480
|
asciidoc:
|
489
481
|
processor: asciidoctor
|
@@ -525,39 +517,6 @@ whitelist:
|
|
525
517
|
#
|
526
518
|
excerpt_separator: excerpt__end
|
527
519
|
|
528
|
-
# ------------------------------------------------------------------------------
|
529
|
-
# PAGINATION settings (Jekyll Paginate V2)
|
530
|
-
#
|
531
|
-
pagination:
|
532
|
-
enabled: true
|
533
|
-
permalink: /page:num/
|
534
|
-
per_page: 4
|
535
|
-
limit: 0
|
536
|
-
sort_field: date
|
537
|
-
sort_reverse: true
|
538
|
-
trail:
|
539
|
-
before: 2
|
540
|
-
after: 2
|
541
|
-
|
542
|
-
# AUTOPAGE settings
|
543
|
-
#
|
544
|
-
autopages:
|
545
|
-
enabled: false
|
546
|
-
|
547
|
-
tags:
|
548
|
-
enabled: false
|
549
|
-
layouts: [
|
550
|
-
paginator/autopage_collections_tags.html,
|
551
|
-
paginator/autopage_tags.html
|
552
|
-
]
|
553
|
-
categories:
|
554
|
-
enabled: false
|
555
|
-
layouts: [ paginator/autopage_category.html ]
|
556
|
-
|
557
|
-
collections:
|
558
|
-
enabled: false
|
559
|
-
layouts: [ paginator/autopage_collection.html ]
|
560
|
-
|
561
520
|
# ------------------------------------------------------------------------------
|
562
521
|
# COLLECTION settings
|
563
522
|
# See: https://jekyllrb.com/docs/collections/#collections
|
@@ -0,0 +1,460 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/j1_config.yml
|
3
|
+
# J1 Template settings
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2021 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# For details, see https://jekyll.one
|
12
|
+
# ------------------------------------------------------------------------------
|
13
|
+
|
14
|
+
# ==============================================================================
|
15
|
+
# THEME configuration
|
16
|
+
#
|
17
|
+
# ------------------------------------------------------------------------------
|
18
|
+
# Sets the default theme used for J1 Template for default
|
19
|
+
#
|
20
|
+
# Note: Themes from Bootswatch cannot used currently as default theme
|
21
|
+
#
|
22
|
+
# ------------------------------------------------------------------------------
|
23
|
+
# theme.name
|
24
|
+
#
|
25
|
+
# values Uno light|Uno dark
|
26
|
+
# default: Uno light
|
27
|
+
# ------------------------------------------------------------------------------
|
28
|
+
# theme.author
|
29
|
+
#
|
30
|
+
# values <string>
|
31
|
+
# default: J1 Team
|
32
|
+
# ------------------------------------------------------------------------------
|
33
|
+
# theme.url
|
34
|
+
#
|
35
|
+
# values <url>
|
36
|
+
# default: https://jekyll.one/
|
37
|
+
# ------------------------------------------------------------------------------
|
38
|
+
theme:
|
39
|
+
name: Uno light
|
40
|
+
author: J1 Team
|
41
|
+
author_url: https://jekyll.one/
|
42
|
+
|
43
|
+
# ------------------------------------------------------------------------------
|
44
|
+
# CSS and SASS settings
|
45
|
+
#
|
46
|
+
css:
|
47
|
+
custom_scss: false
|
48
|
+
custom_css: false
|
49
|
+
|
50
|
+
# ------------------------------------------------------------------------------
|
51
|
+
# Typography settings
|
52
|
+
#
|
53
|
+
typography:
|
54
|
+
rtext: true
|
55
|
+
rtext_size: 300
|
56
|
+
|
57
|
+
# ==============================================================================
|
58
|
+
# URL configuration
|
59
|
+
#
|
60
|
+
# ------------------------------------------------------------------------------
|
61
|
+
#
|
62
|
+
# All links will be name-spaced by base_path if defined.
|
63
|
+
# Links in your website should always be prefixed with {{base_path}}
|
64
|
+
# however this value will be dynamically changed depending on your
|
65
|
+
# deployment situation.
|
66
|
+
#
|
67
|
+
# CNAME (http://yourcustomdomain.com)
|
68
|
+
# DO NOT SET base_path
|
69
|
+
# (url's will be prefixed with "/" and work relatively)
|
70
|
+
#
|
71
|
+
# GitHub Pages (http://username.github.io)
|
72
|
+
# DO NOT SET base_path
|
73
|
+
# (url's will be prefixed with "/" and work relatively)
|
74
|
+
#
|
75
|
+
# GitHub Project Pages (http://username.github.io/project-name)
|
76
|
+
#
|
77
|
+
# A GitHub Project site exists in the `gh-pages` branch of one of
|
78
|
+
# your repositories.
|
79
|
+
# REQUIRED! Set base_path to: http://username.github.io/project-name
|
80
|
+
#
|
81
|
+
# CAUTION:
|
82
|
+
# - When in localhost, your site will run from root "/" regardless
|
83
|
+
# of base_path
|
84
|
+
# - Only the following values are falsy: ["", null, false]
|
85
|
+
# - When setting base_path it must be a valid url.
|
86
|
+
# This means always setting the protocol (http|https) or
|
87
|
+
# prefixing with "/"
|
88
|
+
#
|
89
|
+
#base_path:
|
90
|
+
|
91
|
+
# By default, the asset_path is automatically defined relative to
|
92
|
+
# base_path plus the enabled theme, e.g
|
93
|
+
#
|
94
|
+
# [base_path]/assets/themes/[THEME-NAME]
|
95
|
+
#
|
96
|
+
# e.g. /assets/themes/bootstrap
|
97
|
+
#
|
98
|
+
# Override this by defining an absolute path to assets here.
|
99
|
+
# ex:
|
100
|
+
# http://s3.amazonaws.com/yoursite/themes/watermelon/assets
|
101
|
+
#
|
102
|
+
asset_path: /assets/themes/j1
|
103
|
+
app_path: /assets/apps
|
104
|
+
image_path: /assets/images
|
105
|
+
|
106
|
+
# These paths are to the main pages J1 ships with.
|
107
|
+
# Some template helpers refer to these paths
|
108
|
+
#
|
109
|
+
#pages_path: /builder/pages
|
110
|
+
archive_path: /builder/posts/timeline
|
111
|
+
categories_path: /builder/categories
|
112
|
+
tags_path: /builder/tags
|
113
|
+
#atom_path: /atom.xml
|
114
|
+
#rss_path: /rss.xml
|
115
|
+
|
116
|
+
# ------------------------------------------------------------------------------
|
117
|
+
# Common site URLs
|
118
|
+
#
|
119
|
+
about-site-url: /pages/public/about/site/
|
120
|
+
user_info_url: /pages/public/legal/en/privacy/
|
121
|
+
theme_author_url: https://jekyll.one
|
122
|
+
|
123
|
+
|
124
|
+
# ==============================================================================
|
125
|
+
# DATA path configuration settings
|
126
|
+
#
|
127
|
+
# ------------------------------------------------------------------------------
|
128
|
+
runtime_data_path: /assets/data/runtime-data.yml
|
129
|
+
message_catalog_data_path: /assets/data/messages.yml
|
130
|
+
colors_data_path: /assets/data/colors.json
|
131
|
+
font_size_data_path: /assets/data/font_sizes.json
|
132
|
+
country_data_path: /assets/data/countries.json
|
133
|
+
|
134
|
+
|
135
|
+
# ==============================================================================
|
136
|
+
# COOKIE configuration settings
|
137
|
+
#
|
138
|
+
# ------------------------------------------------------------------------------
|
139
|
+
cookies:
|
140
|
+
app_session: j1.app.session
|
141
|
+
user_session: j1.user.session
|
142
|
+
user_state: j1.user.state
|
143
|
+
|
144
|
+
|
145
|
+
# ==============================================================================
|
146
|
+
# PAGE configuration settings
|
147
|
+
#
|
148
|
+
# ------------------------------------------------------------------------------
|
149
|
+
|
150
|
+
# ------------------------------------------------------------------------------
|
151
|
+
# flicker_timeout (2019-08-06: currently NOT used anymore)
|
152
|
+
# ----------------------------------------------------------------------------
|
153
|
+
# Number of milliseconds (ms) the current page is hidden (display: none)
|
154
|
+
# to prevent "DOM flicker" (aka "FOUC": Flash of unstyled content)
|
155
|
+
#
|
156
|
+
# prettify
|
157
|
+
# ----------------------------------------------------------------------------
|
158
|
+
# If set to true, all generated HTML pages (by Liquid|Jekyll) get
|
159
|
+
# formatted "pretty" by layout "default".
|
160
|
+
#
|
161
|
+
# NOTE: Used for developent mode ONLY
|
162
|
+
# NOTE: See ~/packages/300_template_src/_layouts/default.html
|
163
|
+
# ------------------------------------------------------------------------------
|
164
|
+
flicker_timeout: 250
|
165
|
+
|
166
|
+
# ------------------------------------------------------------------------------
|
167
|
+
# HTML PrettyPrint
|
168
|
+
#
|
169
|
+
prettify: true
|
170
|
+
|
171
|
+
|
172
|
+
# ==============================================================================
|
173
|
+
# USER configuration settings
|
174
|
+
#
|
175
|
+
# ------------------------------------------------------------------------------
|
176
|
+
|
177
|
+
# ------------------------------------------------------------------------------
|
178
|
+
# Default
|
179
|
+
#
|
180
|
+
user:
|
181
|
+
provider: j1
|
182
|
+
provider_site_url: https://jekyll.one
|
183
|
+
provider_home_url: https://jekyll.one
|
184
|
+
provider_blog_url: /pages/public/blog/navigator/
|
185
|
+
provider_member_url: /pages/public/learn/whats_up/
|
186
|
+
provider_privacy_url: /pages/public/legal/en/privacy/
|
187
|
+
user_name: guest
|
188
|
+
status: active
|
189
|
+
provider_membership: guest
|
190
|
+
provider_permissions: [ 'public' ]
|
191
|
+
|
192
|
+
|
193
|
+
# ==============================================================================
|
194
|
+
# FRAMEWORK configuration settings
|
195
|
+
#
|
196
|
+
# ------------------------------------------------------------------------------
|
197
|
+
|
198
|
+
# ------------------------------------------------------------------------------
|
199
|
+
# cards.card-deck (responsive card decks)
|
200
|
+
#
|
201
|
+
# Bootstrap card decks are NOT responsive by default. Additional breakpoint
|
202
|
+
# classes for J1 Template introduce support on card decks for responsiveness.
|
203
|
+
# With the values for `break_on_XX`, the number of cards can be specified
|
204
|
+
# to be shown on a deck per *row*.
|
205
|
+
#
|
206
|
+
# default: no defaults
|
207
|
+
# values: integer (num of cards)
|
208
|
+
#
|
209
|
+
# ------------------------------------------------------------------------------
|
210
|
+
# ------------------------------------------------------------------------------
|
211
|
+
# popovers.trigger (tooltips.trigger)
|
212
|
+
#
|
213
|
+
# How a popover is triggered. You may pass multiple triggers.
|
214
|
+
# Separate them with a space. Trigger `manual` cannot be combined
|
215
|
+
# with any other trigger. 'manual' indicates that the popover will
|
216
|
+
# be triggered programmatically via the .popover('show'), .popover('hide')
|
217
|
+
# and .popover('toggle') methods.
|
218
|
+
#
|
219
|
+
# default: hover
|
220
|
+
# values: click | hover | focus | manual
|
221
|
+
#
|
222
|
+
# ------------------------------------------------------------------------------
|
223
|
+
|
224
|
+
# ------------------------------------------------------------------------------
|
225
|
+
# BOOTSTRAP framework settings
|
226
|
+
#
|
227
|
+
bootstrap:
|
228
|
+
default_theme: bootstrap
|
229
|
+
|
230
|
+
cards:
|
231
|
+
card_deck:
|
232
|
+
break_on_sm: 1
|
233
|
+
break_on_md: 2
|
234
|
+
break_on_lg: 3
|
235
|
+
break_on_xl: 3
|
236
|
+
|
237
|
+
|
238
|
+
tooltips:
|
239
|
+
enabled: true
|
240
|
+
trigger: hover
|
241
|
+
|
242
|
+
popovers:
|
243
|
+
enabled: true
|
244
|
+
trigger: hover
|
245
|
+
|
246
|
+
# ------------------------------------------------------------------------------
|
247
|
+
# HIGHLIGHTER settings
|
248
|
+
#
|
249
|
+
rouge:
|
250
|
+
theme_light: igorpro
|
251
|
+
|
252
|
+
# may github, pastie
|
253
|
+
theme_dark: monokai.sublime
|
254
|
+
|
255
|
+
# ------------------------------------------------------------------------------
|
256
|
+
# SEO settings (optimization)
|
257
|
+
#
|
258
|
+
|
259
|
+
# ------------------------------------------------------------------------------
|
260
|
+
# PRELOAD settings
|
261
|
+
# ------------------------------------------------------------------------------
|
262
|
+
# NOTE:
|
263
|
+
# Specify resources that your page will need very soon, which you want
|
264
|
+
# to start loading early in the page lifecycle, before browsers' main
|
265
|
+
# rendering machinery starts. This may improve the performace for the RENDER
|
266
|
+
# phase to improve the FCP (First Contentful Paint). FCP marks the time
|
267
|
+
# at which the first text or image is shown to the user.
|
268
|
+
# ------------------------------------------------------------------------------
|
269
|
+
# NOTE:
|
270
|
+
# Preloading fonts,the crossorigin attribute is needed to handle
|
271
|
+
# CORS issues.
|
272
|
+
# ------------------------------------------------------------------------------
|
273
|
+
# NOTE:
|
274
|
+
# Preloading applies ONLY if the requested resource is NOT cached (304).
|
275
|
+
# If a resource is already cached (by the browser OR the web server), some
|
276
|
+
# browser (e.g. Chrome) issue WARNINGS, but can be ignored.
|
277
|
+
# ------------------------------------------------------------------------------
|
278
|
+
# INFO:
|
279
|
+
# https://stackoverflow.com/questions/1330825/preloading-font-face-fonts
|
280
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
|
281
|
+
# https://github.com/GoogleChromeLabs/critters/issues/18 (crossorigin)
|
282
|
+
# ------------------------------------------------------------------------------
|
283
|
+
# font:
|
284
|
+
# preload: true
|
285
|
+
# cors: crossorigin
|
286
|
+
# fonts: [
|
287
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff,
|
288
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff2,
|
289
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff,
|
290
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff2,
|
291
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff,
|
292
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff2,
|
293
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff,
|
294
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff2,
|
295
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff,
|
296
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff2,
|
297
|
+
# /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff,
|
298
|
+
# /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2
|
299
|
+
# ]
|
300
|
+
preload:
|
301
|
+
|
302
|
+
font:
|
303
|
+
preload: false
|
304
|
+
cors: crossorigin
|
305
|
+
fonts: []
|
306
|
+
# fonts: [
|
307
|
+
# /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff,
|
308
|
+
# /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff
|
309
|
+
# ]
|
310
|
+
css:
|
311
|
+
preload: true
|
312
|
+
css: [
|
313
|
+
/assets/themes/j1/core/css/themes/uno-light/bootstrap,
|
314
|
+
/assets/themes/j1/core/css/vendor
|
315
|
+
]
|
316
|
+
files: []
|
317
|
+
|
318
|
+
js:
|
319
|
+
preload: true
|
320
|
+
js: [
|
321
|
+
/assets/themes/j1/modules/bmd/js/bootstrap-material-design,
|
322
|
+
/assets/themes/j1/modules/backstretch/js/backstretch,
|
323
|
+
/assets/themes/j1/core/js/template
|
324
|
+
]
|
325
|
+
files: [
|
326
|
+
/assets/themes/j1/adapter/js/attic.js,
|
327
|
+
/assets/themes/j1/adapter/js/logger.js,
|
328
|
+
/assets/themes/j1/adapter/js/bmd.js,
|
329
|
+
/assets/themes/j1/adapter/js/navigator.js
|
330
|
+
]
|
331
|
+
image:
|
332
|
+
preload: false
|
333
|
+
files: [ /assets/images/modules/icons/j1/j1-512x512.png ]
|
334
|
+
|
335
|
+
# ------------------------------------------------------------------------------
|
336
|
+
# PRECONNECT settings
|
337
|
+
# ------------------------------------------------------------------------------
|
338
|
+
# NOTE:
|
339
|
+
# Improve page load speed with preconnect|dns-prefetch for 3rd party
|
340
|
+
# origins. Establishing connections often involves significant time in
|
341
|
+
# slow networks (e.g. mobile 2|3G), particularly when it comes to secure
|
342
|
+
# connections (HTTPS), as it may involve DNS lookups, redirects, and
|
343
|
+
# several round trips to the final server that handles the user's request.
|
344
|
+
# ------------------------------------------------------------------------------
|
345
|
+
preconnect:
|
346
|
+
enabled: true
|
347
|
+
urls: [ "https://bootswatch.com" ]
|
348
|
+
|
349
|
+
|
350
|
+
# ------------------------------------------------------------------------------
|
351
|
+
# Font AweSome settings
|
352
|
+
#
|
353
|
+
fa:
|
354
|
+
color: default
|
355
|
+
|
356
|
+
# ------------------------------------------------------------------------------
|
357
|
+
# Body style settings
|
358
|
+
#
|
359
|
+
body:
|
360
|
+
scrollbar: false
|
361
|
+
background-color: md_gray_50
|
362
|
+
font-color: md_gray_900
|
363
|
+
font-size: 1em
|
364
|
+
font-weight: 400
|
365
|
+
line-height: 1.5
|
366
|
+
|
367
|
+
|
368
|
+
# ==============================================================================
|
369
|
+
# CONNECTOR configuration settings
|
370
|
+
#
|
371
|
+
# ------------------------------------------------------------------------------
|
372
|
+
|
373
|
+
# ------------------------------------------------------------------------------
|
374
|
+
# COMMENTS settings
|
375
|
+
#
|
376
|
+
# Set 'enabled' to false to turn commenting off globally
|
377
|
+
# Set 'provider' to the comment provider you want to use
|
378
|
+
# ------------------------------------------------------------------------------
|
379
|
+
# disqus
|
380
|
+
#
|
381
|
+
# short_name: your-disqus-short-name (w/o disqus.com)
|
382
|
+
#
|
383
|
+
# ------------------------------------------------------------------------------
|
384
|
+
comments:
|
385
|
+
enabled: true
|
386
|
+
provider: disqus
|
387
|
+
|
388
|
+
disqus:
|
389
|
+
short_name: jekyll-one
|
390
|
+
|
391
|
+
# facebook:
|
392
|
+
# appid: 123
|
393
|
+
# num_posts: 5
|
394
|
+
# width: 580
|
395
|
+
# colorscheme: light
|
396
|
+
|
397
|
+
# custom:
|
398
|
+
# custom_data:
|
399
|
+
|
400
|
+
# ------------------------------------------------------------------------------
|
401
|
+
# ANALYTICS settings
|
402
|
+
#
|
403
|
+
# Set 'enabled' to false to turn analytics off globally
|
404
|
+
# Set 'provider' to the analytics provider you want to use
|
405
|
+
#
|
406
|
+
analytics:
|
407
|
+
enabled: false
|
408
|
+
provider: google
|
409
|
+
google:
|
410
|
+
tracking_id: 'UA-138160879-1'
|
411
|
+
custom:
|
412
|
+
custom_data:
|
413
|
+
|
414
|
+
# ------------------------------------------------------------------------------
|
415
|
+
# ADVERTISING settings
|
416
|
+
#
|
417
|
+
# Set 'enabled' to false to turn advertising off globally
|
418
|
+
# Set 'provider' to the analytics provider you want to use
|
419
|
+
#
|
420
|
+
advertising:
|
421
|
+
enabled: true
|
422
|
+
provider: custom
|
423
|
+
google:
|
424
|
+
publisher_id: ca-pub-6537273267695855
|
425
|
+
custom:
|
426
|
+
custom_data:
|
427
|
+
|
428
|
+
# ------------------------------------------------------------------------------
|
429
|
+
# TRANSLATOR settings
|
430
|
+
#
|
431
|
+
# Set 'enabled' to false to turn translators off globally
|
432
|
+
# Set 'provider' to the translation provider you want to use
|
433
|
+
#
|
434
|
+
translation:
|
435
|
+
enabled: false
|
436
|
+
provider: google
|
437
|
+
|
438
|
+
google:
|
439
|
+
layout: default
|
440
|
+
meta_data: [google-translate-customization]
|
441
|
+
page_language: en
|
442
|
+
translation_languages: [all]
|
443
|
+
|
444
|
+
# ------------------------------------------------------------------------------
|
445
|
+
# SHARING settings (currently NOT supported)
|
446
|
+
#
|
447
|
+
# Settings for sharing helper. Sharing is for things like tweet, plusone,
|
448
|
+
# like, reddit buttons etc. Set 'provider' to the sharing provider you
|
449
|
+
# want to use. Set 'provider' to false to turn sharing off globally.
|
450
|
+
#
|
451
|
+
# Set 'enabled' to false to turn sharing off globally
|
452
|
+
# Set 'provider' to the sharing provider you want to use
|
453
|
+
#
|
454
|
+
# sharing:
|
455
|
+
# enabled: false
|
456
|
+
# provider:
|
457
|
+
|
458
|
+
|
459
|
+
# ------------------------------------------------------------------------------
|
460
|
+
# END config
|