j1-template 2023.2.7 → 2023.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +38 -38
- data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -3
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +7 -23
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +8 -8
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
- data/_layouts/compress.html +26 -21
- data/_layouts/default.html +36 -30
- data/assets/data/banner.html +5 -2
- data/assets/data/footer.html +15 -3
- data/assets/data/masonry.html +1 -1
- data/assets/data/masterslider.html +1 -0
- data/assets/data/menu.html +4 -4
- data/assets/data/panel.html +6 -3
- data/assets/data/quicklinks.html +138 -149
- data/assets/error_pages/HTTP204.html +3 -3
- data/assets/error_pages/HTTP400.html +3 -3
- data/assets/error_pages/HTTP401.html +3 -3
- data/assets/error_pages/HTTP403.html +3 -3
- data/assets/error_pages/HTTP404.html +3 -3
- data/assets/error_pages/HTTP444.html +3 -3
- data/assets/error_pages/HTTP445.html +3 -3
- data/assets/error_pages/HTTP446.html +5 -5
- data/assets/error_pages/HTTP447.html +7 -7
- data/assets/error_pages/HTTP448.html +7 -7
- data/assets/error_pages/HTTP500.html +3 -3
- data/assets/error_pages/HTTP501.html +3 -3
- data/assets/error_pages/HTTP502.html +3 -3
- data/assets/error_pages/HTTP503.html +3 -3
- data/assets/themes/j1/adapter/js/advertising.js +355 -156
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +1 -1
- data/assets/themes/j1/adapter/js/attic.js +22 -14
- data/assets/themes/j1/adapter/js/bmd.js +1 -1
- data/assets/themes/j1/adapter/js/carousel.js +5 -4
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/comments.js +5 -5
- data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +1 -1
- data/assets/themes/j1/adapter/js/customModule.js +1 -1
- data/assets/themes/j1/adapter/js/dropdowns.js +4 -2
- data/assets/themes/j1/adapter/js/fab.js +9 -6
- data/assets/themes/j1/adapter/js/framer.js +1 -1
- data/assets/themes/j1/adapter/js/iconPicker.js +227 -0
- data/assets/themes/j1/adapter/js/j1.js +402 -76
- data/assets/themes/j1/adapter/js/justifiedGallery.js +9 -3
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +2 -2
- data/assets/themes/j1/adapter/js/lightbox.js +4 -3
- data/assets/themes/j1/adapter/js/logger.js +1 -1
- data/assets/themes/j1/adapter/js/lunr.js +1 -1
- data/assets/themes/j1/adapter/js/masonry.js +4 -3
- data/assets/themes/j1/adapter/js/masterslider.js +30 -57
- data/assets/themes/j1/adapter/js/mmenu.js +2 -2
- data/assets/themes/j1/adapter/js/navigator.js +7 -5
- data/assets/themes/j1/adapter/js/nbinteract.js +9 -9
- data/assets/themes/j1/adapter/js/particles.js +2 -2
- data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
- data/assets/themes/j1/adapter/js/rouge.js +2 -2
- data/assets/themes/j1/adapter/js/rtable.js +1 -1
- data/assets/themes/j1/adapter/js/rtextResizer.js +1 -1
- data/assets/themes/j1/adapter/js/scroller.js +97 -109
- data/assets/themes/j1/adapter/js/slick.js +28 -18
- data/assets/themes/j1/adapter/js/themeToggler.js +259 -0
- data/assets/themes/j1/adapter/js/themer.js +63 -23
- data/assets/themes/j1/adapter/js/toccer.js +9 -6
- data/assets/themes/j1/adapter/js/translator.js +4 -2
- data/assets/themes/j1/adapter/js/waves.js +6 -4
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1322 -417
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +2064 -1273
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +10280 -9399
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +10 -10
- data/assets/themes/j1/core/css/vendor.css +0 -14
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +6 -4
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
- data/assets/themes/j1/modules/iconPicker/README.md +266 -0
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +419 -0
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +17 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.json +467 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.json +169 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.json +1136 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.json +1772 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +292 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +7312 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/images/magnifying-glass-solid.svg +1 -0
- data/assets/themes/j1/modules/iconPicker/images/star-of-life-solid.svg +3 -0
- data/assets/themes/j1/modules/iconPicker/images/xmark-solid.svg +3 -0
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +493 -0
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +17 -0
- data/assets/themes/j1/modules/jquery/AUTHORS.txt +372 -0
- data/assets/themes/j1/modules/jquery/LICENSE.txt +43 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_444444_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_555555_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_777620_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_777777_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_cc0000_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.css +92 -92
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.min.css +4 -4
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.css +88 -88
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.min.css +2 -2
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.css +4 -4
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.min.css +2 -2
- data/assets/themes/j1/modules/jquery/js/jquery-ui.js +13683 -13678
- data/assets/themes/j1/modules/jquery/js/jquery-ui.min.js +3 -3
- data/assets/themes/j1/modules/jquery/js/jquery.js +1029 -1203
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
- data/assets/themes/j1/modules/jquery/js/jquery.min.map +1 -1
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +1315 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +7 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +886 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +446 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +37 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +17 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +42 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +17 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +19057 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +6 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +10872 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +2 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +1 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +2145 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +5 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +2 -2
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
- data/assets/themes/j1/modules/masterslider/css/theme/uno.css +9 -9
- data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +2 -2
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +136 -47
- data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +9 -9
- data/assets/themes/j1/modules/scroller/js/scroller.js +76 -69
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
- data/assets/themes/j1/modules/translator/js/translator.js +1 -1
- data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +5 -2
- data/lib/starter_web/_data/blocks/banner.yml +8 -5
- data/lib/starter_web/_data/blocks/defaults/footer.yml +4 -4
- data/lib/starter_web/_data/blocks/footer.yml +12 -5
- data/lib/starter_web/_data/blocks/panel.yml +41 -38
- data/lib/starter_web/_data/j1_config.yml +68 -58
- data/lib/starter_web/_data/layouts/collection.yml +1 -0
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +38 -9
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -0
- data/lib/starter_web/_data/layouts/page.yml +2 -1
- data/lib/starter_web/_data/layouts/post.yml +1 -0
- data/lib/starter_web/_data/layouts/raw.yml +1 -0
- data/lib/starter_web/_data/modules/advertising.yml +209 -58
- data/lib/starter_web/_data/modules/analytics.yml +2 -2
- data/lib/starter_web/_data/modules/attics.yml +4 -7
- data/lib/starter_web/_data/modules/defaults/advertising.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/iconPicker.yml +42 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +15 -13
- data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +42 -0
- data/lib/starter_web/_data/modules/iconPicker.yml +64 -0
- data/lib/starter_web/_data/modules/masonry.yml +3 -3
- data/lib/starter_web/_data/modules/masterslider.yml +5 -5
- data/lib/starter_web/_data/modules/navigator_menu.yml +311 -160
- data/lib/starter_web/_data/modules/scroller.yml +8 -8
- data/lib/starter_web/_data/modules/slick.yml +47 -86
- data/lib/starter_web/_data/modules/theme_toggler.yml +29 -0
- data/lib/starter_web/_data/modules/themer.yml +0 -6
- data/lib/starter_web/_data/resources.yml +54 -53
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.0.asciidoc +626 -0
- data/lib/starter_web/_includes/attributes.asciidoc +81 -72
- data/lib/starter_web/_includes/google/static/google_ad_5128488466.html +19 -0
- data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +19 -0
- data/lib/starter_web/_includes/google/templates/google_ads.html +55 -0
- data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +47 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/badges/configBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/docsBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/notebookBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/scaleable/configBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/docsBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/myBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/notebookBinder.svg +1 -1
- data/lib/starter_web/assets/images/icons/hyvor-talk/jpg/hyvor-logo.512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/png/hyvor-logo.24x24.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +1 -1
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-256x256.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-64x64.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/icons/mdi/mdi.svg +1 -0
- data/lib/starter_web/assets/images/icons/mdi/mdil.svg +1 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/alina-grubnyak.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/bruno-figueiredo.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/core_web_vitals_best.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/hayden-mills-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/milad-fakurian.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/mohammad-rahmani.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/recha-oktaviani.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/christina-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/200-create-a-link-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/appdevtools-html-validator.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/freeformatter-html-validator.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/w3c-nu-checker.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/w3c-validator.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-faq.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-generator.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-generator.png +0 -0
- data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-og.png +0 -0
- data/lib/starter_web/assets/images/quotes/promo/jekyll/scalable/jekyll-faq.psd +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +8 -9
- data/lib/starter_web/collections/_biography/becoming.adoc +23 -10
- data/lib/starter_web/collections/_biography/born-to-run.adoc +28 -10
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +20 -13
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +25 -15
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +24 -15
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +25 -12
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -10
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +11 -8
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +32 -8
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +17 -14
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +27 -13
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +38 -15
- data/lib/starter_web/collections/_people/diana-petersen.adoc +2 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +2 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +2 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +5 -0
- data/lib/starter_web/collections/_romance/{breath-of-snow-and-ashes-a.adoc → breath-of-snow-and-ashes.adoc} +20 -5
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +26 -14
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +12 -9
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +14 -11
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +48 -25
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +30 -15
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +4 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +5 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/index.html +1 -18
- data/lib/starter_web/package.json +3 -3
- data/lib/starter_web/pages/public/about/features.adoc +1 -1
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +4 -4
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +75 -65
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +58 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/accordion.asciidoc +34 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/alerts.asciidoc +15 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/badges.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/body.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/breadcrumbs.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/buttons.asciidoc +75 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/cards.asciidoc +22 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/carousel.asciidoc +37 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/close.asciidoc +15 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/code.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/color_system.asciidoc +353 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/components.asciidoc +69 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/dropdowns.asciidoc +53 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/figures.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/forms.asciidoc +270 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/grid.asciidoc +49 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/links.asciidoc +21 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/list_groups.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/modals.asciidoc +43 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navbar.asciidoc +45 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navs.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/offcanvas.asciidoc +16 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/options.asciidoc +30 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/pagination.asciidoc +40 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/paragraph.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/placeholders.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/popovers.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/position.asciidoc +8 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/progress_bars.asciidoc +12 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spacing.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spinners.asciidoc +12 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tables.asciidoc +55 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/thumbnails.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/toasts.asciidoc +18 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tooltips.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/typography.asciidoc +115 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/z_index.asciidoc +26 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/_table.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/accordion.asciidoc +87 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +262 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +59 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/100_chapter.asciidoc +541 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/200_chapter.asciidoc +33 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/build_command_options.asciidoc +72 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/files_and_folders.asciidoc +66 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_configuration_options.asciidoc +63 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_variables.asciidoc +26 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/page_variables.asciidoc +54 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/serve_command_options.asciidoc +45 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/site_variables.asciidoc +59 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +442 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.0.asciidoc +112 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +3 -4
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +35 -4
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +3 -3
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +41 -49
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +2 -2
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
- data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +255 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +1458 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/j1.adoc +63 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/yaml.adoc +514 -0
- data/lib/starter_web/pages/public/{previewer → tools/previewer}/preview_bootstrap_theme.adoc +94 -5
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +169 -60
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
- data/assets/themes/j1/core/css/nbinteract-tutorial/styles.css +0 -1711
- data/assets/themes/j1/core/css/nbinteract-tutorial/styles.min.css +0 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +0 -127
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +0 -460
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +0 -97
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +0 -15
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +0 -115
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +0 -15
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +0 -97
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +0 -15
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +0 -125
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +0 -15
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
- data/lib/starter_web/assets/images/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/jupyterlab-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +0 -117
- /data/lib/starter_web/assets/images/badges/{configBinder.png → png/configBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{docsBinder.png → png/docsBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{notebookBinder.png → png/notebookBinder.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.24x24.png → png/hyvor-logo.24x24.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.512x512.png → png/hyvor-logo.512x512.png} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4e546edd3d0fb0df50cb026c9a0fbfecefe67f9e27ab2b3e1197fede65c9c6a
|
4
|
+
data.tar.gz: 4e9f703964a634cdd1c6df8f60733e12a0f5bfe95d92936ba473e4828bc9419b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b8a9a94213f6f7d4cbb096fc978d10d016133dcbe245da037abacabb31c6b0bc6b82aac08e0e65f28d502bc0c2e35c678fb08f1d92719c8902712c092600769
|
7
|
+
data.tar.gz: c7c8bd55790f676f51cff47bf5e42949c48e6a398527730f0f60d3b0b83be13d8c667e6abf4af71e5d3d8ccebd3893299449210c8dcc9b86c232de07fc2cd0e0
|
@@ -351,7 +351,7 @@
|
|
351
351
|
<!-- End post group-->
|
352
352
|
</div>
|
353
353
|
{% endif %}
|
354
|
-
|
354
|
+
<div id="preview_content">
|
355
355
|
{% if card_block == 'card-deck' %}
|
356
356
|
<!-- [INFO ] [j1.layouts.content_generator_news_panel_posts.html ] [ card block detected: 'card-deck' ] -->
|
357
357
|
<!-- Recent posts -->
|
@@ -428,6 +428,7 @@
|
|
428
428
|
{% endfor %} {% endfor %}
|
429
429
|
</div>
|
430
430
|
{% endif %}
|
431
|
+
</div>
|
431
432
|
<!-- End recent posts -->
|
432
433
|
{% endfor %}
|
433
434
|
|
@@ -102,14 +102,14 @@
|
|
102
102
|
<header class="bmd-layout-header">
|
103
103
|
<!-- jadams, 2021-02-28 added mb-3 to the navbar -->
|
104
104
|
<div class="navbar navbar-dark bg-primary raised-z0">
|
105
|
-
<button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-bs-toggle="drawer" data-bs-target="#post_navigator" aria-label="
|
105
|
+
<button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-bs-toggle="drawer" data-bs-target="#post_navigator" aria-label="Series button">
|
106
106
|
<span class="mdi mdi-menu mdi-2x"></span>
|
107
107
|
</button>
|
108
108
|
<ul class="nav navbar-nav">
|
109
109
|
<li class="nav-item">
|
110
110
|
<!-- jadams, 2021-08-04: modified displaying the series name -->
|
111
111
|
<!-- span class="navbar-text">Series: {{page.series}}</span-->
|
112
|
-
<span class="navbar-text mr-3">{{page.series|upcase}}</span>
|
112
|
+
<span class="navbar-text mr-3" style="color: #FFF;font-weight: 500;"><b>{{page.series|upcase}}</b></span>
|
113
113
|
</li>
|
114
114
|
</ul>
|
115
115
|
</div>
|
@@ -60,32 +60,32 @@
|
|
60
60
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ start meta-data processing: place meta tags (taken from site config|page frontmatter) ] -->
|
61
61
|
|
62
62
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ page|content encoding ] -->
|
63
|
-
<meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}"
|
63
|
+
<meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}">
|
64
64
|
|
65
65
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ added for MS Edge Browser ] -->
|
66
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge"
|
66
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
67
67
|
|
68
68
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ initial zoom level when the page is first loaded by the browser ] -->
|
69
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
69
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
70
70
|
|
71
71
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ added version info for the templte ] -->
|
72
|
-
<meta name="template version" content="{{site.version}}"
|
72
|
+
<meta name="template version" content="{{site.version}}">
|
73
73
|
|
74
74
|
{% if template_config.translation.enabled %}
|
75
75
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ add google translator meta tag to enable customized translations ] -->
|
76
|
-
<meta name="translation" content="enabled"
|
76
|
+
<meta name="translation" content="enabled">
|
77
77
|
{% endif %}
|
78
78
|
|
79
79
|
{% if template_config.translation.google %}
|
80
80
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ add google translator meta tag to enable customized translations ] -->
|
81
|
-
<meta name="{{template_config.translation.google.meta_data}}" content="enabled"
|
81
|
+
<meta name="{{template_config.translation.google.meta_data}}" content="enabled">
|
82
82
|
{% endif %}
|
83
83
|
|
84
84
|
{% if site.favicon.image %}
|
85
85
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ favicon for browser ] -->
|
86
|
-
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}"
|
86
|
+
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}">
|
87
87
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ favicon for the google crawler ] -->
|
88
|
-
<link rel="shortcut icon" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}"
|
88
|
+
<link rel="shortcut icon" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}">
|
89
89
|
{% endif %}
|
90
90
|
|
91
91
|
{% comment %} Check robot settings from site configuration
|
@@ -93,18 +93,18 @@
|
|
93
93
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from SITE configuration ] -->
|
94
94
|
{% if site.robots.index and site.robots.index <> nil %}
|
95
95
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_index: {{site.robots.index}} ] -->
|
96
|
-
{% capture robots_index %}<meta name="robots" content="index"
|
96
|
+
{% capture robots_index %}<meta name="robots" content="index">{% endcapture %}
|
97
97
|
{% else %}
|
98
98
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_index: noindex ] -->
|
99
|
-
{% capture robots_index %}<meta name="robots" content="noindex"
|
99
|
+
{% capture robots_index %}<meta name="robots" content="noindex">{% endcapture %}
|
100
100
|
{% endif %}
|
101
101
|
|
102
102
|
{% if site.robots.follow and site.robots.follow <> nil %}
|
103
103
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_follow: {{site.robots.index}} ] -->
|
104
|
-
{% capture robots_follow %}<meta name="robots" content="follow"
|
104
|
+
{% capture robots_follow %}<meta name="robots" content="follow">{% endcapture %}
|
105
105
|
{% else %}
|
106
106
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_follow: nofollow ] -->
|
107
|
-
{% capture robots_follow %}<meta name="robots" content="nofollow"
|
107
|
+
{% capture robots_follow %}<meta name="robots" content="nofollow">{% endcapture %}
|
108
108
|
{% endif %}
|
109
109
|
|
110
110
|
{% comment %} page.robots.index: {{ page.robots.index | debug }} {% endcomment %}
|
@@ -115,19 +115,19 @@
|
|
115
115
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_index: {{page.robots.index}} ] -->
|
116
116
|
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_follow: {{page.robots.follow}} ] -->
|
117
117
|
{% if page.robots.index %}
|
118
|
-
{% capture robots_index %}<meta name="robots" content="index"
|
118
|
+
{% capture robots_index %}<meta name="robots" content="index">{% endcapture %}
|
119
119
|
{% endif %}
|
120
120
|
|
121
121
|
{% if page.robots.index == false %}
|
122
|
-
{% capture robots_index %}<meta name="robots" content="noindex"
|
122
|
+
{% capture robots_index %}<meta name="robots" content="noindex">{% endcapture %}
|
123
123
|
{% endif %}
|
124
124
|
|
125
125
|
{% if page.robots.follow %}
|
126
|
-
{% capture robots_follow %}<meta name="robots" content="follow"
|
126
|
+
{% capture robots_follow %}<meta name="robots" content="follow">{% endcapture %}
|
127
127
|
{% endif %}
|
128
128
|
|
129
129
|
{% if page.robots.follow == false %}
|
130
|
-
{% capture robots_follow %}<meta name="robots" content="nofollow"
|
130
|
+
{% capture robots_follow %}<meta name="robots" content="nofollow">{% endcapture %}
|
131
131
|
{% endif %}
|
132
132
|
|
133
133
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Place detected/overloaded meta tags for robots ] -->
|
@@ -136,63 +136,63 @@
|
|
136
136
|
|
137
137
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: analytics ] -->
|
138
138
|
{% if page.analytics and site.data.j1_config.analytics.enabled %}
|
139
|
-
{% capture analytics %}<meta name="analytics" content="true"
|
139
|
+
{% capture analytics %}<meta name="analytics" content="true">{% endcapture %}
|
140
140
|
{% else %}
|
141
|
-
{% capture analytics %}<meta name="analytics" content="false"
|
141
|
+
{% capture analytics %}<meta name="analytics" content="false">{% endcapture %}
|
142
142
|
{% endif %}
|
143
143
|
|
144
144
|
{{analytics}}
|
145
145
|
|
146
146
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: comments ] -->
|
147
147
|
{% if page.comments and site.data.j1_config.comments.enabled %}
|
148
|
-
{% capture comments %}<meta name="comments" content="true"
|
148
|
+
{% capture comments %}<meta name="comments" content="true">{% endcapture %}
|
149
149
|
{% else %}
|
150
|
-
{% capture comments %}<meta name="comments" content="false"
|
150
|
+
{% capture comments %}<meta name="comments" content="false">{% endcapture %}
|
151
151
|
{% endif %}
|
152
152
|
|
153
153
|
{{comments}}
|
154
154
|
|
155
155
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
|
156
156
|
{% if page.advertising and site.data.j1_config.advertising.enabled %}
|
157
|
-
{% capture advertising %}<meta name="advertising" content="true"
|
157
|
+
{% capture advertising %}<meta name="advertising" content="true">{% endcapture %}
|
158
158
|
{% else %}
|
159
|
-
{% capture advertising %}<meta name="advertising" content="false"
|
159
|
+
{% capture advertising %}<meta name="advertising" content="false">{% endcapture %}
|
160
160
|
{% endif %}
|
161
161
|
|
162
162
|
{{advertising}}
|
163
163
|
|
164
164
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
|
165
165
|
{% if page.translation and site.data.j1_config.translation.enabled %}
|
166
|
-
{% capture translation %}<meta name="translation" content="true"
|
166
|
+
{% capture translation %}<meta name="translation" content="true">{% endcapture %}
|
167
167
|
{% else %}
|
168
|
-
{% capture translation %}<meta name="translation" content="false"
|
168
|
+
{% capture translation %}<meta name="translation" content="false">{% endcapture %}
|
169
169
|
{% endif %}
|
170
170
|
|
171
171
|
{{translation}}
|
172
172
|
|
173
173
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: youtube ] -->
|
174
174
|
{% if page.youtube %}
|
175
|
-
{% capture youtube %}<meta name="youtube" content="true"
|
175
|
+
{% capture youtube %}<meta name="youtube" content="true">{% endcapture %}
|
176
176
|
{% else %}
|
177
|
-
{% capture youtube %}<meta name="youtube" content="false"
|
177
|
+
{% capture youtube %}<meta name="youtube" content="false">{% endcapture %}
|
178
178
|
{% endif %}
|
179
179
|
|
180
180
|
{{youtube}}
|
181
181
|
|
182
182
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: vimeo ] -->
|
183
183
|
{% if page.vimeo %}
|
184
|
-
{% capture vimeo %}<meta name="vimeo" content="true"
|
184
|
+
{% capture vimeo %}<meta name="vimeo" content="true">{% endcapture %}
|
185
185
|
{% else %}
|
186
|
-
{% capture vimeo %}<meta name="vimeo" content="false"
|
186
|
+
{% capture vimeo %}<meta name="vimeo" content="false">{% endcapture %}
|
187
187
|
{% endif %}
|
188
188
|
|
189
189
|
{{vimeo}}
|
190
190
|
|
191
191
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for privacy settings: personalization ] -->
|
192
192
|
{% if page.personalization %}
|
193
|
-
{% capture personalization %}<meta name="personalization" content="true"
|
193
|
+
{% capture personalization %}<meta name="personalization" content="true">{% endcapture %}
|
194
194
|
{% else %}
|
195
|
-
{% capture personalization %}<meta name="personalization" content="false"
|
195
|
+
{% capture personalization %}<meta name="personalization" content="false">{% endcapture %}
|
196
196
|
{% endif %}
|
197
197
|
|
198
198
|
{{personalization}}
|
@@ -216,7 +216,7 @@
|
|
216
216
|
{% assign cors = template_config.preload.font.cors %}
|
217
217
|
{% assign fonts = template_config.preload.font.fonts %}
|
218
218
|
{% for font in fonts %}
|
219
|
-
<link rel="preload" as="font" href="{{font}}" {{cors}}
|
219
|
+
<link rel="preload" as="font" href="{{font}}" {{cors}}>
|
220
220
|
{% endfor %}
|
221
221
|
{% else %}
|
222
222
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of fonts: disabled ] -->
|
@@ -231,12 +231,12 @@
|
|
231
231
|
{% assign css = template_config.preload.css.css %}
|
232
232
|
{% assign files = template_config.preload.css.files %}
|
233
233
|
{% for file in css %}
|
234
|
-
<link rel="preload" as="style" href="{{file}}.{{ext_css}}"
|
234
|
+
<link rel="preload" as="style" href="{{file}}.{{ext_css}}">
|
235
235
|
{% endfor %}
|
236
236
|
|
237
237
|
{% for file in files %}
|
238
238
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD css as FILE ] -->
|
239
|
-
<link rel="preload" as="style" href="{{file}}"
|
239
|
+
<link rel="preload" as="style" href="{{file}}">
|
240
240
|
{% endfor %}
|
241
241
|
{% else %}
|
242
242
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of css: disabled ] -->
|
@@ -251,12 +251,12 @@
|
|
251
251
|
{% assign js = template_config.preload.js.js %}
|
252
252
|
{% assign files = template_config.preload.js.files %}
|
253
253
|
{% for file in js %}
|
254
|
-
<link rel="preload" as="script" href="{{file}}.{{ext_js}}"
|
254
|
+
<link rel="preload" as="script" href="{{file}}.{{ext_js}}">
|
255
255
|
{% endfor %}
|
256
256
|
|
257
257
|
{% for file in files %}
|
258
258
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD js as FILE ] -->
|
259
|
-
<link rel="preload" as="script" href="{{file}}"
|
259
|
+
<link rel="preload" as="script" href="{{file}}">
|
260
260
|
{% endfor %}
|
261
261
|
{% else %}
|
262
262
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of js: disabled ] -->
|
@@ -270,7 +270,7 @@
|
|
270
270
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of images to prioritize fetching ] -->
|
271
271
|
{% assign files = template_config.preload.image.files %}
|
272
272
|
{% for file in files %}
|
273
|
-
<link rel="preload" as="image" href="{{file}}"
|
273
|
+
<link rel="preload" as="image" href="{{file}}">
|
274
274
|
{% endfor %}
|
275
275
|
{% else %}
|
276
276
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of images: disabled ] -->
|
@@ -285,8 +285,8 @@
|
|
285
285
|
{% assign urls = template_config.preconnect.urls %}
|
286
286
|
{% for url in urls %}
|
287
287
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ establish early connection: {{url}} ] -->
|
288
|
-
<link rel="dns-prefetch" href="{{url}}"
|
289
|
-
<link rel="preconnect" href="{{url}}"
|
288
|
+
<link rel="dns-prefetch" href="{{url}}">
|
289
|
+
<link rel="preconnect" href="{{url}}">
|
290
290
|
{% endfor %}
|
291
291
|
{% else %}
|
292
292
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRECONNECT remote URLs: disabled ] -->
|
@@ -34,7 +34,7 @@ box_hash: {{box | debug}}
|
|
34
34
|
<!-- [INFO ] [about_box.proc ] [ place about box ] -->
|
35
35
|
<div class="col-md-{{footer_box_width_md}}">
|
36
36
|
<!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
|
37
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
37
|
+
<h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
|
38
38
|
<p class="tagline mb-0">
|
39
39
|
<large>{{tagline}}</large>
|
40
40
|
</p>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
<!-- [INFO ] [j1.assets.data.footer ] [Found ContactsBox. Process ContactsBox] -->
|
50
50
|
<div class="col-md-{{footer_box_width_md}}"> <!-- ContactsBox -->
|
51
51
|
|
52
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
52
|
+
<h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
|
53
53
|
<p class="tagline mb-0"> <large>{{tagline}}</large> </p>
|
54
54
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
|
55
55
|
|
@@ -56,5 +56,5 @@ footer_options.issue: {{footer_options.issue | debug}}
|
|
56
56
|
<!-- [INFO ] [issue.proc ] [ issue date information ] -->
|
57
57
|
{% if footer_options.issue.enabled %}
|
58
58
|
<!-- [INFO ] [issue.proc ] [ place issue ] -->
|
59
|
-
<p
|
59
|
+
<p class="footer-issue">{{modified}}</p>
|
60
60
|
{% endif %}
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<!-- [INFO ] [links_box.proc ] [ place links box ] -->
|
33
33
|
<div class="col-md-{{footer_box_width_md}}">
|
34
34
|
|
35
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
35
|
+
<h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
|
36
36
|
<p class="tagline mb-0"> <large>{{tagline}}</large> </p>
|
37
37
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
|
38
38
|
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<!-- [INFO ] [news_box.proc ] [ place news box ] -->
|
49
49
|
<div class="col-md-{{footer_box_width_md}}">
|
50
50
|
|
51
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
51
|
+
<h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
|
52
52
|
<p class="tagline mb-0"> <large>{{tagline}}</large> </p>
|
53
53
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
|
54
54
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
configuration of this page ({{page.title}}). Check the
|
136
136
|
(page) layout config file for the unsupported region. A
|
137
137
|
line contains something wrong like:
|
138
|
-
<br
|
138
|
+
<br><br> <i>region: {{region}}</i><br><br>
|
139
139
|
Have a look at:
|
140
140
|
</div>
|
141
141
|
<div class="mb-5">
|
@@ -158,5 +158,3 @@
|
|
158
158
|
<!-- [DEBUG ] [j1.layout.default_writer.proc ] [ reset all lane items ] -->
|
159
159
|
<!-- [INFO ] [j1.layout.default_writer.proc ] [ end processing ] -->
|
160
160
|
{% assign items = nil %}
|
161
|
-
|
162
|
-
|
@@ -127,10 +127,6 @@ NO need to load this again
|
|
127
127
|
<!-- [INFO ] [j1.layout.module_writer.proc ] [ place J1 adapter for resource: {{resource_settings.id}} ] -->
|
128
128
|
<script>
|
129
129
|
$(function() {
|
130
|
-
var logger = log4javascript.getLogger("j1.module_loader");
|
131
|
-
var log_text = '{{resource_settings.comment|strip}} is being initialized';
|
132
|
-
logger.info(log_text);
|
133
|
-
|
134
130
|
{% comment %} place initializer|s
|
135
131
|
-------------------------------------------------------------------- {% endcomment %}
|
136
132
|
{% for init_function in data_value %}
|
@@ -150,20 +146,16 @@ NO need to load this again
|
|
150
146
|
var max_count = {{dependency_check_max_count}};
|
151
147
|
interval_count += 1;
|
152
148
|
if ( {{depends}} ) {
|
153
|
-
{{init_function}}(
|
154
|
-
logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
|
155
|
-
logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
|
149
|
+
{{init_function}} (settings);
|
156
150
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
157
151
|
}
|
158
152
|
if (interval_count > max_count) {
|
159
|
-
logger.warn('dependency check failed for module: {{resource_settings.id}}');
|
160
153
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
161
|
-
|
162
|
-
{{init_function}}(settings);
|
154
|
+
{{init_function}} (settings);
|
163
155
|
}
|
164
156
|
}, {{dependency_check_cycle}});
|
165
157
|
{% else %}
|
166
|
-
{{init_function}}(settings);
|
158
|
+
{{init_function}} (settings);
|
167
159
|
{% endif %}
|
168
160
|
{% else %}
|
169
161
|
{% comment %} no module specific frontmatter options
|
@@ -186,20 +178,16 @@ NO need to load this again
|
|
186
178
|
var dependencies_met_{{resource_settings.id}} = setInterval(function() {
|
187
179
|
interval_count += 1;
|
188
180
|
if ( {{depends}} ) {
|
189
|
-
{{init_function}}(settings);
|
190
|
-
logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
|
191
|
-
logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
|
181
|
+
{{init_function}} (settings);
|
192
182
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
193
183
|
}
|
194
184
|
if (interval_count > max_count) {
|
195
|
-
logger.warn('dependency check failed for module: {{resource_settings.id}}');
|
196
185
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
197
|
-
|
198
|
-
{{init_function}}(settings);
|
186
|
+
{{init_function}} (settings);
|
199
187
|
}
|
200
188
|
}, {{dependency_check_cycle}});
|
201
189
|
{% else %}
|
202
|
-
{{init_function}}(settings);
|
190
|
+
{{init_function}} (settings);
|
203
191
|
{% endif %}
|
204
192
|
{% else %}
|
205
193
|
{% comment %} no default settings
|
@@ -212,16 +200,12 @@ NO need to load this again
|
|
212
200
|
var max_count = {{dependency_check_max_count}};
|
213
201
|
var dependencies_met_{{resource_settings.id}} = setInterval(function() {
|
214
202
|
interval_count += 1;
|
215
|
-
if (
|
203
|
+
if ({{depends}}) {
|
216
204
|
{{init_function}}();
|
217
|
-
logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
|
218
|
-
logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
|
219
205
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
220
206
|
}
|
221
207
|
if (interval_count > max_count) {
|
222
|
-
logger.warn('dependency check failed for module: {{resource_settings.id}}');
|
223
208
|
clearInterval(dependencies_met_{{resource_settings.id}});
|
224
|
-
logger.warn('run initializer {{resource_settings.id}} unchecked for: {{resource_settings.dependencies}}');
|
225
209
|
{{init_function}}();
|
226
210
|
}
|
227
211
|
}, {{dependency_check_cycle}});
|
@@ -120,18 +120,18 @@
|
|
120
120
|
{% endif %}
|
121
121
|
{% when 'css' %}
|
122
122
|
{% if url_detected > 1 %}
|
123
|
-
<link rel="stylesheet" href="{{file}}"
|
123
|
+
<link rel="stylesheet" href="{{file}}">
|
124
124
|
{% else %}
|
125
|
-
<link rel="stylesheet" href="{{base_path}}/{{file}}"
|
125
|
+
<link rel="stylesheet" href="{{base_path}}/{{file}}">
|
126
126
|
{% endif %}
|
127
127
|
{% else %}
|
128
128
|
<--! UNKNOWN resource type detected for: "{{file}}" -->
|
129
129
|
{% endcase %}
|
130
130
|
{% else %}
|
131
131
|
{% if url_detected > 1 %}
|
132
|
-
<link rel="stylesheet" href="{{file}}"
|
132
|
+
<link rel="stylesheet" href="{{file}}">
|
133
133
|
{% else %}
|
134
|
-
<link rel="stylesheet" href="{{base_path}}/{{file}}"
|
134
|
+
<link rel="stylesheet" href="{{base_path}}/{{file}}">
|
135
135
|
{% endif %}
|
136
136
|
{% endif %}
|
137
137
|
|
@@ -150,11 +150,11 @@
|
|
150
150
|
{% assign my_location = {{location_source}} %}
|
151
151
|
|
152
152
|
{% if environment == 'development' %}
|
153
|
-
{% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.css"
|
154
|
-
{% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.css"
|
153
|
+
{% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.css"> {% endif %}
|
154
|
+
{% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.css"> {% endif %}
|
155
155
|
{% else %}
|
156
|
-
{% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.min.css"
|
157
|
-
{% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.min.css"
|
156
|
+
{% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.min.css"> {% endif %}
|
157
|
+
{% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.min.css"> {% endif %}
|
158
158
|
{% endif %}
|
159
159
|
|
160
160
|
{% endfor %}
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<h4 id="blog_series_list" class="notoc mt-2 mr-2 mb-4">{{series_heading}}</h4>
|
75
75
|
<ul class="side-nav" style="width: calc(100% - 15px)">
|
76
76
|
{% endcapture %}
|
77
|
-
{% for post in site.posts
|
77
|
+
{% for post in site.posts %}
|
78
78
|
{% if post.series == page.series %}
|
79
79
|
{% assign count = count | plus: 1 %}
|
80
80
|
{% if post.url == page.url %}
|
data/_layouts/compress.html
CHANGED
@@ -25,6 +25,10 @@
|
|
25
25
|
# DEFAULT for all content layouts to compress the HTML for all pages
|
26
26
|
# generated. NO other layout are inherited by Compress.
|
27
27
|
# -----------------------------------------------------------------------------
|
28
|
+
# NOTE:
|
29
|
+
# Output whitespace control: '%-' and '-%'for all liquid markups to strip
|
30
|
+
# blank lines from the rendered HTML.
|
31
|
+
# -----------------------------------------------------------------------------
|
28
32
|
# NOTE:
|
29
33
|
# Compress is only used for PRODUCTION mode.
|
30
34
|
# -----------------------------------------------------------------------------
|
@@ -34,29 +38,30 @@
|
|
34
38
|
# -----------------------------------------------------------------------------
|
35
39
|
{% endcomment %}
|
36
40
|
|
37
|
-
{
|
41
|
+
{%- assign environment = site.environment -%}
|
42
|
+
|
43
|
+
{%- if page.compress -%}
|
44
|
+
{%- assign compress_page = 'enabled' -%}
|
45
|
+
{%- else -%}
|
46
|
+
{%- assign compress_page = 'disabled' -%}
|
47
|
+
{%- endif -%}
|
38
48
|
|
39
|
-
{
|
40
|
-
{% assign compress_page = 'enabled' %}
|
41
|
-
{% else %}
|
42
|
-
{% assign compress_page = 'disabled' %}
|
43
|
-
{% endif %}
|
49
|
+
{%- case environment -%}
|
44
50
|
|
45
|
-
{%
|
51
|
+
{% comment %} PRODUCTION mode (compress)
|
52
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
53
|
+
{%- when 'production' or 'prod' -%}
|
46
54
|
|
47
|
-
|
48
|
-
|
49
|
-
{%
|
55
|
+
{%- if compress_page == 'enabled' -%}
|
56
|
+
{% capture _LINE_FEED %}
|
57
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
58
|
+
{%- else -%}
|
59
|
+
{{content|strip_empty_lines}}
|
60
|
+
{%- endif -%}
|
50
61
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
{
|
55
|
-
{{content|strip_empty_lines}}
|
56
|
-
{% endif %}
|
62
|
+
{% comment %} ALL OTHER modes (no compression)
|
63
|
+
----------------------------------------------------------------------------- {% endcomment %}
|
64
|
+
{%- else -%}
|
65
|
+
{{content|strip_empty_lines}}
|
57
66
|
|
58
|
-
|
59
|
-
--------------------------------------------------------------------------- {% endcomment %}
|
60
|
-
{% else %}
|
61
|
-
{{content|strip_empty_lines}}
|
62
|
-
{% endcase %}
|
67
|
+
{%- endcase -%}
|