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
@@ -24,74 +24,17 @@ about_config:
|
|
24
24
|
location: _data/utilities/util_srv.yml
|
25
25
|
|
26
26
|
# ------------------------------------------------------------------------------
|
27
|
-
#
|
27
|
+
# USER configuration settings
|
28
28
|
#
|
29
29
|
settings:
|
30
|
-
enabled: true
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
modal_commit_detected:
|
35
|
-
enabled: true
|
36
|
-
autohide: false
|
37
|
-
autohidden: 5000
|
38
|
-
|
39
|
-
modal_pull_response:
|
40
|
-
enabled: true
|
41
|
-
autohide: false
|
42
|
-
autohidden: 5000
|
43
|
-
|
44
|
-
utility_server:
|
45
|
-
enabled: true
|
46
|
-
|
47
|
-
ssl: false
|
48
|
-
origin: localhost
|
49
|
-
host_name: 0.0.0.0
|
50
|
-
port: 44444
|
51
|
-
verbose: false
|
52
|
-
|
53
|
-
oauth_client:
|
54
|
-
enabled: false
|
55
|
-
|
56
|
-
provider: github
|
57
|
-
provider_url: https://github.com # PROVIDER_URL needed for enterprise github installs
|
58
|
-
token_path: /login/oauth/access_token
|
59
|
-
authorize_path: /login/oauth/authorize
|
60
|
-
|
61
|
-
git_client:
|
62
|
-
enabled: false
|
63
|
-
|
64
|
-
secret: <your-gh-webhook-secret>
|
65
|
-
payload_url: <your-payload-url> # e.g from smee.io
|
66
|
-
|
67
|
-
pull:
|
68
|
-
execute: true # true|false
|
69
|
-
response_success: The pull request to your local working copy finished successfully.
|
70
|
-
response_failed: "The pull request to your local working copy has failed. Reason: "
|
71
|
-
|
72
|
-
npm_client:
|
73
|
-
enabled: false
|
74
|
-
|
75
|
-
built:
|
76
|
-
execute: false # rebuild disabled for testing (as Jekyll is running in parallel)
|
77
|
-
response_success: The built request to your local site finished successfully.
|
78
|
-
response_failed: "The built request to your local fite has failed. Reason: "
|
79
|
-
|
80
|
-
logger_client:
|
81
|
-
enabled: false
|
82
|
-
|
83
|
-
payload_url_app: http://localhost:5000/log2disk?request=write
|
84
|
-
payload_url_web: http://localhost:44444/log2disk?request=write
|
85
|
-
|
86
|
-
log_folder: log
|
87
|
-
log_file_name: messages
|
88
|
-
log_file_ext: log
|
89
|
-
|
90
|
-
create_on_start: true
|
91
|
-
reset_on_start: true
|
92
|
-
rolling_files: false
|
93
|
-
file_mode: append
|
31
|
+
enabled: false # if set to true, util server will be started
|
94
32
|
|
33
|
+
ssl: false
|
34
|
+
origin: localhost
|
35
|
+
host_name: 0.0.0.0
|
36
|
+
port: 40020
|
37
|
+
verbose: false
|
95
38
|
|
96
39
|
# ------------------------------------------------------------------------------
|
97
|
-
# END config
|
40
|
+
# END config
|
@@ -148,10 +148,13 @@ tag::urls[]
|
|
148
148
|
:url-iframe-resizer--gh-repo: https://github.com/davidjbradshaw/iframe-resizer
|
149
149
|
|
150
150
|
:url-j1--home: https://jekyll.one/
|
151
|
-
:url-j1--download: https://rubygems.org/gems/j1-template/
|
152
|
-
:url-j1
|
151
|
+
:url-j1--download: https://rubygems.org/gems/j1-template/
|
152
|
+
:url-j1--versions: https://rubygems.org/gems/j1-template/versions/
|
153
|
+
:url-j1-rubydoc--home: https://www.rubydoc.info/gems/j1-template/
|
153
154
|
:url-j1--preview: https://preview.jekyll.one/
|
155
|
+
:url-j1--quickstart: https://jekyll.one/pages/public/learn/quickstart/
|
154
156
|
|
157
|
+
:url-j1-kickstarter--web-in-a-day: https://jekyll.one/pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
|
155
158
|
:url-j1-web-in-a-day--meet-and-greet: https://jekyll.one/pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
|
156
159
|
|
157
160
|
:url-j1-quick-references--jekyll: /pages/protected/manuals/quick_references/jekyll/
|
@@ -399,14 +402,15 @@ end::tables[]
|
|
399
402
|
// PRODUCTS, global product information (e.g. release)
|
400
403
|
// -----------------------------------------------------------------------------
|
401
404
|
tag::products[]
|
402
|
-
:j1
|
403
|
-
:j1
|
405
|
+
:j1--license: MIT License
|
406
|
+
:j1--version: 2021.1.0
|
407
|
+
:j1--site-name: Jekyll One
|
404
408
|
end::products[]
|
405
409
|
|
406
410
|
|
407
411
|
// AUTHORS, global author information (special variables)
|
408
412
|
// -----------------------------------------------------------------------------
|
409
413
|
tag::authors[]
|
410
|
-
:author
|
411
|
-
:author
|
414
|
+
:author--adams--name: "Jürgen Adams"
|
415
|
+
:author--adams--url: https://jekyll.one
|
412
416
|
end::authors[]
|
@@ -1,9 +1,51 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_plugins/asciidoctor-extensions/callout-block.rb
|
3
|
+
# Asciidoctor extension for callouts as a (HTML-)block
|
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
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
|
+
include Asciidoctor
|
16
|
+
|
17
|
+
# A block macro that embeds a Callout block into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
#
|
21
|
+
# callout::<num>[<text>, <modifier]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# callout::1[Web Browser]
|
26
|
+
#
|
1
27
|
Asciidoctor::Extensions.register do
|
2
|
-
|
28
|
+
|
29
|
+
class CalloutBlockMacro < Extensions::BlockMacroProcessor
|
30
|
+
use_dsl
|
3
31
|
named :callout
|
4
|
-
|
5
|
-
|
6
|
-
|
32
|
+
name_positional_attributes 'text', 'modifier'
|
33
|
+
default_attrs 'text' => 'callout text to be specified', 'modifier' => 'ml-2 mb-1'
|
34
|
+
|
35
|
+
def process parent, target, attrs
|
36
|
+
doc = parent.document
|
37
|
+
modifier_class = (modifier = attrs['modifier']) ? %(#{modifier}) : nil
|
38
|
+
text_content = (text = attrs['text']) ? %(#{text}) : nil
|
39
|
+
html = %(
|
40
|
+
<div class="paragraph">
|
41
|
+
<p class="#{modifier}"> <i class="conum" data-value="#{target}"></i> #{text} </p>
|
42
|
+
</div>
|
43
|
+
)
|
44
|
+
|
45
|
+
create_pass_block parent, html, attrs, subs: nil
|
7
46
|
end
|
47
|
+
|
8
48
|
end
|
9
|
-
|
49
|
+
|
50
|
+
block_macro CalloutBlockMacro
|
51
|
+
end
|
@@ -1,3 +1,30 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_plugins/asciidoctor-extensions/conum.rb
|
3
|
+
# Asciidoctor extension for conums
|
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
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
|
+
include Asciidoctor
|
16
|
+
|
17
|
+
# A inline macro that embeds a conum into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
# ------------------------------------------------------------------------------
|
21
|
+
# conum::<num>[]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# conum:1[]
|
26
|
+
#
|
27
|
+
# ------------------------------------------------------------------------------
|
1
28
|
Asciidoctor::Extensions.register do
|
2
29
|
inline_macro do
|
3
30
|
named :conum
|
@@ -6,4 +33,4 @@ Asciidoctor::Extensions.register do
|
|
6
33
|
Asciidoctor::Inline.new(parent, :callout, target.to_i).convert
|
7
34
|
end
|
8
35
|
end
|
9
|
-
end
|
36
|
+
end
|
@@ -99,16 +99,33 @@ module Jekyll
|
|
99
99
|
# or with frontmatter settings (exclude_from_search: true)
|
100
100
|
#
|
101
101
|
def generate(site)
|
102
|
-
Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
|
103
102
|
|
104
103
|
@site = site
|
104
|
+
index_dest = @site.instance_variable_get(:@dest)
|
105
|
+
rebuild = @module_config['rebuild']
|
106
|
+
index_file = index_dest + @module_config['index_file']
|
107
|
+
|
108
|
+
if @module_config['rebuild'] == false
|
109
|
+
if File.exist?(index_file)
|
110
|
+
Jekyll.logger.info 'J1 QuickSearch:', 'recreate index disabled.'
|
111
|
+
# Keep the index file from being cleaned by Jekyll
|
112
|
+
#
|
113
|
+
site.static_files << SearchIndexFile.new(site, site.dest, '/', @module_config['index_file'])
|
114
|
+
return
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
|
119
|
+
|
105
120
|
# gather posts and pages
|
106
121
|
#
|
107
122
|
items = pages_to_index(site)
|
108
123
|
content_renderer = PageRenderer.new(site)
|
109
124
|
# index = []
|
125
|
+
# rebuild = @module_config['rebuild']
|
110
126
|
|
111
127
|
index_js = open(@lunr_path).read
|
128
|
+
|
112
129
|
# NOTE: all settings must be added within the index function
|
113
130
|
#
|
114
131
|
index_js << 'var idx = lunr(function() {'
|
@@ -136,12 +153,14 @@ module Jekyll
|
|
136
153
|
'body' => entry.body
|
137
154
|
}
|
138
155
|
|
139
|
-
# remove unwanted categories
|
140
|
-
|
156
|
+
# remove unwanted categories (if any)
|
157
|
+
#
|
158
|
+
doc['categories'] -= @strip_categories unless doc['categories'] == nil
|
141
159
|
|
142
160
|
index_js << 'this.add(' << ::JSON.generate(doc, quirks_mode: true) << ');'
|
143
161
|
|
144
162
|
# reduce the size of the doc array by deleting the body key
|
163
|
+
#
|
145
164
|
doc.delete('body')
|
146
165
|
@docs[i] = doc
|
147
166
|
|
@@ -282,7 +301,7 @@ module Jekyll
|
|
282
301
|
description = excerpt
|
283
302
|
end
|
284
303
|
end
|
285
|
-
|
304
|
+
|
286
305
|
SearchEntry.new(title, tagline, url, date, tags, categories, description, is_post, body, renderer)
|
287
306
|
else
|
288
307
|
raise 'Not supported'
|
@@ -341,6 +360,6 @@ end
|
|
341
360
|
|
342
361
|
module Jekyll
|
343
362
|
module J1LunrSearch
|
344
|
-
VERSION = '2021.0
|
363
|
+
VERSION = '2021.1.0'
|
345
364
|
end
|
346
365
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb
CHANGED
@@ -3,16 +3,18 @@ title: Welcome
|
|
3
3
|
tagline: jekyll for everyone
|
4
4
|
date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00
|
5
5
|
|
6
|
-
tags: [ Example, Post ]
|
7
6
|
categories: [ Featured ]
|
7
|
+
tags: [ Example, Post ]
|
8
8
|
|
9
9
|
series: false
|
10
|
-
adsense: false
|
11
10
|
image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
|
11
|
+
|
12
|
+
adsense: false
|
13
|
+
comments: false
|
14
|
+
advertising: false
|
12
15
|
toc: true
|
13
16
|
|
14
17
|
regenerate: false
|
15
|
-
|
16
18
|
resources: []
|
17
19
|
resource_options:
|
18
20
|
- attic:
|
@@ -38,12 +40,13 @@ resource_options:
|
|
38
40
|
|
39
41
|
// Place an excerpt at the most top position
|
40
42
|
// -----------------------------------------------------------------------------
|
41
|
-
All you
|
42
|
-
all the tricky things
|
43
|
-
|
44
|
-
isn't it?
|
43
|
+
All you’re doing at the end of the day is writing your content, and the J1
|
44
|
+
Template does all the tricky things: putting out HTML, Javascript, and CSS.
|
45
|
+
As a result, the site creation process gets out of your way.
|
45
46
|
|
46
|
-
|
47
|
+
Sounds fun, isn't it?
|
48
|
+
|
49
|
+
// [role="clearfix mb-3"]
|
47
50
|
excerpt__end
|
48
51
|
|
49
52
|
// Load Liquid procedures
|
@@ -70,13 +73,10 @@ which use a database to load dynamic content, a static site will display
|
|
70
73
|
the same content to every user as it will directly load the HTML files
|
71
74
|
on the server.
|
72
75
|
|
73
|
-
A static
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
interface, giving you greater flexibility in how your content is served.
|
78
|
-
Cost-efficiency is another reason companies migrate to a static site because
|
79
|
-
static files are lightweight and often faster and cheaper to serve.
|
76
|
+
A static site serves the content straight to the user as it is stored on
|
77
|
+
the server-side. In opposition to WordPress, which uses a database to load
|
78
|
+
dynamic content, a static site will display the same content to every user
|
79
|
+
as it will directly load the HTML files on the server.
|
80
80
|
|
81
81
|
In the last few years, static sites have greatly increased in popularity.
|
82
82
|
This surge is primarily due to advances in developer tools (languages and
|
@@ -85,15 +85,14 @@ performance beyond the limits of a database-driven site.
|
|
85
85
|
|
86
86
|
=== What's different?
|
87
87
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
Website.
|
88
|
+
A dynamic website uses a database and PHP/MySQL to generate the content of
|
89
|
+
a page when a user requests it. For example, building a website using
|
90
|
+
WordPress CMS will result in having a dynamic Website.
|
92
91
|
|
93
92
|
Static sites can be written almost exclusively in HTML and serve a fixed
|
94
93
|
set of data that renders the same for every site visitor. Static sites use
|
95
94
|
server-side rendering to serve pre-built HTML, CSS, and JavaScript files to
|
96
|
-
a web browser. Dynamic sites operate in a completely different way
|
95
|
+
a web browser. Dynamic sites operate in a completely different way by
|
97
96
|
leveraging HTML and CSS as well as server-side scripting languages like PHP
|
98
97
|
to build webpages on the fly and serve different content to each site
|
99
98
|
visitor.
|
@@ -101,9 +100,9 @@ visitor.
|
|
101
100
|
=== Why use a static site?
|
102
101
|
|
103
102
|
What are the advantages of a static website over a dynamic site?
|
104
|
-
You may be wondering *Why should I build a static site when I could do
|
105
|
-
WordPress?*. Well, having a database implies a lot of downsides.
|
106
|
-
come the main advantages of using a static site over a dynamic
|
103
|
+
You may be wondering *Why should I build a static site when I could do the
|
104
|
+
same by using WordPress?*. Well, having a database implies a lot of downsides.
|
105
|
+
Here come the main advantages of using a static site over a dynamic
|
107
106
|
one.
|
108
107
|
|
109
108
|
Performance::
|
@@ -113,45 +112,45 @@ it is crazy fast to load. Indeed, when the user requests a page, there is
|
|
113
112
|
no need to request a database and various files to generate the
|
114
113
|
page itself as all the content is already placed in a one and only file:
|
115
114
|
an HTML one. That’s why by using a static site, you will get a boost in
|
116
|
-
your loading time that will provide great user experience for the
|
115
|
+
your loading time that will provide a great user experience for the
|
117
116
|
internauts. Moreover, we know that more and more people are surfing the
|
118
|
-
web using their smartphones with, sometimes, poor internet connections
|
119
|
-
|
117
|
+
web using their smartphones with, sometimes, poor internet connections.
|
118
|
+
That’s why having fast loading times will participate in making your
|
120
119
|
website mobile-friendly.
|
121
120
|
|
122
121
|
Security::
|
123
122
|
*Having a static website: say goodbye to hacking and security issues*.
|
124
|
-
|
125
|
-
updates every week? No worries, as a static site has no database, there
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
123
|
+
Are you tired of getting WordPress notifications about security issues and
|
124
|
+
updates every week? No worries, as a static site has no database, there are
|
125
|
+
close to no hack possible compared to a WordPress website. Indeed, your
|
126
|
+
site will have way fewer footprints and security issues since it will
|
127
|
+
only load plain HTML and CSS files. The security gain in having a static
|
128
|
+
website is one of the main reasons why many famous brands switch to a
|
129
|
+
static site instead of having their website on Drupal or WordPress.
|
131
130
|
|
132
131
|
Hosting::
|
133
132
|
*Building a static site and hosting: you will save you money*.
|
134
|
-
Using a static site, you will only have most of the time only HTML and
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
133
|
+
Using a static site, you will only have most of the time only HTML and CSS
|
134
|
+
files to host. This kind of file is super light which also means that you
|
135
|
+
will not need a powerhouse hosting to have a static site up and running.
|
136
|
+
Moreover, if your traffic suddenly increases, your site will not go down,
|
137
|
+
contrary to a dynamic site that should request the database each time
|
138
|
+
for each user.
|
140
139
|
|
141
140
|
Control::
|
142
|
-
*You're the master*.
|
143
|
-
Simple like this.
|
141
|
+
*You're the master*. You were using a CMS means, giving control over your
|
142
|
+
site to others. Simple like this.
|
144
143
|
|
145
144
|
== Why use a site generator?
|
146
145
|
|
147
146
|
Working with pure HTML files is annoying; senseless today. Indeed, if you need
|
148
147
|
to make a modification on your *self-managed* pages, you have to manually
|
149
148
|
change every file. That's monkey's work from the early days of static websites.
|
150
|
-
If your site comes with
|
151
|
-
is providing 100+ pages or the blog planned for hundreds of articles?
|
149
|
+
If your site comes with ten pages, it can be manageable but imagine if your
|
150
|
+
site is providing 100+ pages or the blog planned for hundreds of articles?
|
152
151
|
|
153
152
|
Using a static site generator will solve this issue as it separates the
|
154
|
-
content and the
|
153
|
+
content and the Template. To say it another way, by using a static site
|
155
154
|
generator, you will only need to make the modification once, and the
|
156
155
|
generator will apply it to all your pages.
|
157
156
|
|
@@ -164,6 +163,6 @@ better depending on the programming languages you already are familiar with.
|
|
164
163
|
Which static site generator should I use?
|
165
164
|
|
166
165
|
When I decided to go for a blog based on a static web, I personally
|
167
|
-
choose Jekyll as for me. It's a well
|
168
|
-
in case of trouble and the software gets regularly updated. This website is
|
166
|
+
choose Jekyll as for me. It's a well-known static site generator, good support
|
167
|
+
in case of trouble, and the software gets regularly updated. This website is
|
169
168
|
powered by Jekyll. For good reasons.
|