j1-template 2021.0.16 → 2021.1.4
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/layout_metadata_generator.html +54 -39
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -7
- data/_includes/themes/j1/modules/connectors/ads +4 -6
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytics +5 -4
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
- data/_includes/themes/j1/modules/connectors/comments +7 -6
- data/_includes/themes/j1/modules/connectors/translator +3 -4
- data/_includes/themes/j1/modules/navigator/generator.html +2 -38
- data/_includes/themes/j1/modules/navigator/generator.org.html +232 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +64 -22
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -10
- data/_layouts/default.html +11 -1
- data/apps/public/cc/index.adoc +13 -4
- data/assets/data/authclient.html +234 -228
- data/assets/data/banner.html +34 -31
- data/assets/data/cookiebar.html +205 -198
- data/assets/data/fam.html +5 -0
- data/assets/data/footer.html +4 -0
- data/assets/data/footer.new.1.html +256 -0
- data/assets/data/footer.new.2.html +256 -0
- data/assets/data/footer.org.html +249 -0
- data/assets/data/galleries.json +2 -2
- data/assets/data/gallery_customizer.html +16 -6
- data/assets/data/menu.html +7 -2
- data/assets/data/mmenu.html +6 -2
- data/assets/data/mmenu_sidebar.html +5 -1
- data/assets/data/mmenu_toc.html +4 -0
- data/assets/data/panel.html +23 -15
- data/assets/data/quicklinks.html +6 -1
- data/assets/error_pages/HTTP204.html +2 -1
- data/assets/error_pages/HTTP400.html +2 -1
- data/assets/error_pages/HTTP401.html +2 -1
- data/assets/error_pages/HTTP403.html +2 -1
- data/assets/error_pages/HTTP404.html +2 -1
- data/assets/error_pages/HTTP500.html +2 -1
- data/assets/error_pages/HTTP501.html +2 -1
- data/assets/error_pages/HTTP502.html +2 -1
- data/assets/error_pages/HTTP503.html +2 -1
- data/assets/error_pages/HTTP520.html +2 -1
- data/assets/error_pages/HTTP521.html +2 -1
- data/assets/error_pages/HTTP533.html +2 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +166 -0
- data/assets/themes/j1/adapter/js/carousel.js +24 -0
- data/assets/themes/j1/adapter/js/fam.js +0 -12
- data/assets/themes/j1/adapter/js/j1.js +48 -25
- data/assets/themes/j1/adapter/js/j1.new.js +1878 -0
- data/assets/themes/j1/adapter/js/j1.org.js +1874 -0
- data/assets/themes/j1/adapter/js/{jf_gallery.js → justifiedGallery.js} +9 -9
- data/assets/themes/j1/adapter/js/{gallery_customizer.js → justifiedGalleryCustomizer.js} +14 -13
- data/assets/themes/j1/adapter/js/logger.js +35 -23
- data/assets/themes/j1/adapter/js/mmenu.js +8 -4
- data/assets/themes/j1/adapter/js/navigator.js +77 -34
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3959 -239
- 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 +8 -2
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +8 -2
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +58 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +778 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +981 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +47 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +10 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +30 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +15 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +262 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +15 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +1362 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +4 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +402 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +8 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +206 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +126 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +101 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +105 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +107 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +478 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +342 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +527 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +5 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1368 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.min.js +10 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +344 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +7 -0
- 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/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 +3 -3
- 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 +20 -14
- data/lib/starter_web/_config.yml +77 -122
- data/lib/starter_web/_data/_defaults/j1_config.yml +460 -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} +1 -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 +45 -51
- data/lib/starter_web/_data/blocks/footer.yml +15 -3
- data/lib/starter_web/_data/blocks/panel.yml +13 -13
- data/lib/starter_web/_data/builder/blog_navigator.yml +6 -1
- data/lib/starter_web/_data/j1_config.yml +8 -7
- data/lib/starter_web/_data/layouts/blog_archive.yml +9 -0
- data/lib/starter_web/_data/layouts/collection.yml +10 -0
- data/lib/starter_web/_data/layouts/default.yml +25 -59
- data/lib/starter_web/_data/layouts/home.yml +6 -5
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +11 -100
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +37 -40
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +2 -0
- data/lib/starter_web/_data/modules/log4javascript.yml +11 -83
- data/lib/starter_web/_data/modules/navigator.yml +24 -21
- data/lib/starter_web/_data/modules/navigator_menu.yml +27 -8
- data/lib/starter_web/_data/modules/quicksearch.yml +2 -0
- 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/resources.yml +37 -17
- 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 +9 -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 +17 -2
- 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/christa-dodoo-1920x1280.jpg +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/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +42 -49
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-06-01-about-cookies.adoc → 2020-01-01-about-cookies.adoc} +37 -42
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-site-generators.adoc → 2021-03-01-site-generators.adoc} +51 -31
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +119 -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 +2 -8
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +4 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +4 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -2
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.gitignore +5 -1
- data/lib/starter_web/index.html +7 -13
- data/lib/starter_web/package.json +5 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +7 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +5 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +6 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +41 -25
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +49 -29
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +47 -30
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +42 -14
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -5
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +45 -48
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +244 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +21 -20
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +6 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +39 -35
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +38 -36
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +16 -14
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +11 -9
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +30 -27
- 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 +33 -22
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +116 -0
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +82 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +77 -53
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +123 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +85 -72
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +3 -3
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +1 -1940
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +7 -9
- data/lib/starter_web/pages/public/previewer/rouge.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- 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 +106 -216
- data/assets/data/menu.1.html +0 -505
- 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/_data/private.yml@localhost +0 -199
- 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/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-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske.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/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -37
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +0 -47
- 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
Binary file
|
Binary file
|
Binary file
|
data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb
CHANGED
@@ -1,18 +1,14 @@
|
|
1
1
|
---
|
2
2
|
title: Welcome
|
3
3
|
tagline: jekyll for everyone
|
4
|
-
date:
|
4
|
+
#date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00 +0100
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
categories: [ Featured, Post ]
|
7
|
+
tags: [ J1, Jekyll ]
|
8
8
|
|
9
|
-
series: false
|
10
|
-
adsense: false
|
11
9
|
image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
|
12
|
-
toc: true
|
13
10
|
|
14
11
|
regenerate: false
|
15
|
-
|
16
12
|
resources: []
|
17
13
|
resource_options:
|
18
14
|
- attic:
|
@@ -38,10 +34,11 @@ resource_options:
|
|
38
34
|
|
39
35
|
// Place an excerpt at the most top position
|
40
36
|
// -----------------------------------------------------------------------------
|
41
|
-
All you
|
42
|
-
all the tricky things
|
43
|
-
|
44
|
-
|
37
|
+
All you’re doing at the end of the day is writing your content, and the J1
|
38
|
+
Template does all the tricky things: putting out HTML, Javascript, and CSS.
|
39
|
+
As a result, the site creation process gets out of your way.
|
40
|
+
|
41
|
+
Sounds fun, isn't it?
|
45
42
|
|
46
43
|
// [role="clearfix mb-3"]
|
47
44
|
excerpt__end
|
@@ -70,13 +67,10 @@ which use a database to load dynamic content, a static site will display
|
|
70
67
|
the same content to every user as it will directly load the HTML files
|
71
68
|
on the server.
|
72
69
|
|
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.
|
70
|
+
A static site serves the content straight to the user as it is stored on
|
71
|
+
the server-side. In opposition to WordPress, which uses a database to load
|
72
|
+
dynamic content, a static site will display the same content to every user
|
73
|
+
as it will directly load the HTML files on the server.
|
80
74
|
|
81
75
|
In the last few years, static sites have greatly increased in popularity.
|
82
76
|
This surge is primarily due to advances in developer tools (languages and
|
@@ -85,15 +79,14 @@ performance beyond the limits of a database-driven site.
|
|
85
79
|
|
86
80
|
=== What's different?
|
87
81
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
Website.
|
82
|
+
A dynamic website uses a database and PHP/MySQL to generate the content of
|
83
|
+
a page when a user requests it. For example, building a website using
|
84
|
+
WordPress CMS will result in having a dynamic Website.
|
92
85
|
|
93
86
|
Static sites can be written almost exclusively in HTML and serve a fixed
|
94
87
|
set of data that renders the same for every site visitor. Static sites use
|
95
88
|
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
|
89
|
+
a web browser. Dynamic sites operate in a completely different way by
|
97
90
|
leveraging HTML and CSS as well as server-side scripting languages like PHP
|
98
91
|
to build webpages on the fly and serve different content to each site
|
99
92
|
visitor.
|
@@ -101,9 +94,9 @@ visitor.
|
|
101
94
|
=== Why use a static site?
|
102
95
|
|
103
96
|
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
|
97
|
+
You may be wondering *Why should I build a static site when I could do the
|
98
|
+
same by using WordPress?*. Well, having a database implies a lot of downsides.
|
99
|
+
Here come the main advantages of using a static site over a dynamic
|
107
100
|
one.
|
108
101
|
|
109
102
|
Performance::
|
@@ -113,45 +106,45 @@ it is crazy fast to load. Indeed, when the user requests a page, there is
|
|
113
106
|
no need to request a database and various files to generate the
|
114
107
|
page itself as all the content is already placed in a one and only file:
|
115
108
|
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
|
109
|
+
your loading time that will provide a great user experience for the
|
117
110
|
internauts. Moreover, we know that more and more people are surfing the
|
118
|
-
web using their smartphones with, sometimes, poor internet connections
|
119
|
-
|
111
|
+
web using their smartphones with, sometimes, poor internet connections.
|
112
|
+
That’s why having fast loading times will participate in making your
|
120
113
|
website mobile-friendly.
|
121
114
|
|
122
115
|
Security::
|
123
116
|
*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
|
-
|
117
|
+
Are you tired of getting WordPress notifications about security issues and
|
118
|
+
updates every week? No worries, as a static site has no database, there are
|
119
|
+
close to no hack possible compared to a WordPress website. Indeed, your
|
120
|
+
site will have way fewer footprints and security issues since it will
|
121
|
+
only load plain HTML and CSS files. The security gain in having a static
|
122
|
+
website is one of the main reasons why many famous brands switch to a
|
123
|
+
static site instead of having their website on Drupal or WordPress.
|
131
124
|
|
132
125
|
Hosting::
|
133
126
|
*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
|
-
|
127
|
+
Using a static site, you will only have most of the time only HTML and CSS
|
128
|
+
files to host. This kind of file is super light which also means that you
|
129
|
+
will not need a powerhouse hosting to have a static site up and running.
|
130
|
+
Moreover, if your traffic suddenly increases, your site will not go down,
|
131
|
+
contrary to a dynamic site that should request the database each time
|
132
|
+
for each user.
|
140
133
|
|
141
134
|
Control::
|
142
|
-
*You're the master*.
|
143
|
-
Simple like this.
|
135
|
+
*You're the master*. You were using a CMS means, giving control over your
|
136
|
+
site to others. Simple like this.
|
144
137
|
|
145
138
|
== Why use a site generator?
|
146
139
|
|
147
140
|
Working with pure HTML files is annoying; senseless today. Indeed, if you need
|
148
141
|
to make a modification on your *self-managed* pages, you have to manually
|
149
142
|
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?
|
143
|
+
If your site comes with ten pages, it can be manageable but imagine if your
|
144
|
+
site is providing 100+ pages or the blog planned for hundreds of articles?
|
152
145
|
|
153
146
|
Using a static site generator will solve this issue as it separates the
|
154
|
-
content and the
|
147
|
+
content and the Template. To say it another way, by using a static site
|
155
148
|
generator, you will only need to make the modification once, and the
|
156
149
|
generator will apply it to all your pages.
|
157
150
|
|
@@ -164,6 +157,6 @@ better depending on the programming languages you already are familiar with.
|
|
164
157
|
Which static site generator should I use?
|
165
158
|
|
166
159
|
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
|
160
|
+
choose Jekyll as for me. It's a well-known static site generator, good support
|
161
|
+
in case of trouble, and the software gets regularly updated. This website is
|
169
162
|
powered by Jekyll. For good reasons.
|
@@ -1,16 +1,11 @@
|
|
1
1
|
---
|
2
2
|
title: Cookies
|
3
3
|
tagline: good to know
|
4
|
-
date: 2020-06-01 00:00:00
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
categories: [ Featured, Post ]
|
6
|
+
tags: [ Cookies ]
|
8
7
|
|
9
|
-
series:
|
10
|
-
adsense: false
|
11
8
|
image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
12
|
-
comments: true
|
13
|
-
advertising: true
|
14
9
|
|
15
10
|
regenerate: false
|
16
11
|
|
@@ -47,12 +42,11 @@ resource_options:
|
|
47
42
|
|
48
43
|
// Place an excerpt at the most top position
|
49
44
|
// -----------------------------------------------------------------------------
|
50
|
-
Is it needed for visitors to know what cookies are about? No doubts,
|
51
|
-
requested to inform - in Europe for legal reasons. All users visiting
|
52
|
-
are bothered all the time to accept
|
53
|
-
of today. For good reasons?
|
45
|
+
Is it needed for visitors to know what cookies are about? No doubts, you're
|
46
|
+
requested to inform - in Europe for legal reasons. All users visiting websites
|
47
|
+
are bothered all the time to accept cookies. For good reasons?
|
54
48
|
|
55
|
-
|
49
|
+
[role="clearfix mb-3"]
|
56
50
|
excerpt__end
|
57
51
|
|
58
52
|
// Load Liquid procedures
|
@@ -70,10 +64,10 @@ excerpt__end
|
|
70
64
|
// Include sub-documents
|
71
65
|
// -----------------------------------------------------------------------------
|
72
66
|
|
73
|
-
[[readmore]]
|
67
|
+
// [[readmore]]
|
74
68
|
== What are cookies technically
|
75
69
|
|
76
|
-
In short
|
70
|
+
In short: a cookie is a small piece of data that a website asks your
|
77
71
|
browser to store on your computer or mobile device. The cookie allows the
|
78
72
|
website to "remember" your actions or preferences over time. All modern
|
79
73
|
browsers support cookies, but users can set their browsers to decline them
|
@@ -88,35 +82,35 @@ General information storage::
|
|
88
82
|
Remember users' custom preferences
|
89
83
|
|
90
84
|
Support::
|
91
|
-
Help users complete tasks without
|
92
|
-
|
85
|
+
Help users complete tasks without re-entering information when browsing from
|
86
|
+
one page to another or when visiting the site later.
|
93
87
|
|
94
|
-
Track
|
95
|
-
Cookies can also be used for online
|
88
|
+
Track behavioral::
|
89
|
+
Cookies can also be used for online behavioral target advertising and to
|
96
90
|
show adverts relevant to something that the user searched for in the past.
|
97
|
-
The
|
91
|
+
The webserver supplying the webpage can store a cookie on the user's
|
98
92
|
computer or mobile device.
|
99
93
|
|
100
|
-
All these cookies are called
|
101
|
-
cookies is through JavaScript code contained or referenced
|
102
|
-
Each time the user requests a new page, the
|
94
|
+
All these cookies are called HTTP header cookies. Another way of storing
|
95
|
+
cookies is through JavaScript code contained or referenced on that page.
|
96
|
+
Each time the user requests a new page, the webserver can receive the
|
103
97
|
values of the cookies it previously set and return the page with content
|
104
|
-
relating to these values. Similarly, JavaScript code
|
105
|
-
cookie belonging to its domain and
|
98
|
+
relating to these values. Similarly, JavaScript code can read a
|
99
|
+
cookie belonging to its domain and act accordingly.
|
106
100
|
|
107
101
|
.How are they used
|
108
102
|
[NOTE]
|
109
103
|
====
|
110
104
|
The web server supplying the webpage can store a cookie on the user's
|
111
|
-
computer or mobile device. An external web server that manages files
|
112
|
-
or referenced in the
|
113
|
-
cookies are called
|
114
|
-
through JavaScript code contained or referenced
|
105
|
+
computer or mobile device. An external web server that manages files
|
106
|
+
included or referenced in the web page can store cookies. All these
|
107
|
+
cookies are called HTTP header cookies. Another way of storing cookies
|
108
|
+
is through JavaScript code contained or referenced on that page.
|
115
109
|
|
116
110
|
Each time the user requests a new page, the web server can receive the
|
117
111
|
values of the cookies it previously set and return the page with content
|
118
|
-
relating to these values. Similarly, JavaScript code
|
119
|
-
cookie belonging to its domain and
|
112
|
+
relating to these values. Similarly, JavaScript code can read a
|
113
|
+
cookie belonging to its domain and act accordingly.
|
120
114
|
====
|
121
115
|
|
122
116
|
== Types of cookies
|
@@ -124,7 +118,7 @@ cookie belonging to its domain and perform an action accordingly.
|
|
124
118
|
HTTP cookies are essential to the modern Internet but potentially a
|
125
119
|
vulnerability to your privacy. As a necessary part of web browsing, cookies
|
126
120
|
help web developers give you more personal, convenient website visits.
|
127
|
-
Cookies let websites remember you, your website logins, shopping carts and
|
121
|
+
Cookies let websites remember you, your website logins, shopping carts, and
|
128
122
|
more. But they can also be a treasure trove of private info for criminals
|
129
123
|
to spy on.
|
130
124
|
|
@@ -152,37 +146,38 @@ period of time.
|
|
152
146
|
Cookies classified by the *domain* to which it belongs, are either of:
|
153
147
|
|
154
148
|
First-party cookie::
|
155
|
-
First-party cookie cookies are set by the
|
156
|
-
and share the *same domain* you're
|
149
|
+
First-party cookie cookies are set by the webserver of the visited page
|
150
|
+
and share the *same domain* you're visiting. These are generally safer, as
|
157
151
|
long as users are browsing reputable websites or ones that have not been
|
158
152
|
compromised.
|
159
153
|
|
160
154
|
Third-party cookies::
|
161
155
|
Third-party cookies are stored by a *different* domain to the visited page.
|
162
|
-
This can happen when the webpage references a
|
156
|
+
This can happen when the webpage references a file located outside its domain.
|
163
157
|
Third-party cookies let advertisers or analytics companies track the user's
|
164
158
|
browsing history across the web on *any* sites that contain their ads.
|
165
159
|
|
160
|
+
|
166
161
|
== Security aspects on using cookies
|
167
162
|
|
168
|
-
Without cookies the web would not work as it does today. However, since the
|
169
|
-
mid 90ies when cookies were invented, the web changed quite a lot and so did
|
170
|
-
the attack methods on web applications; as mentioned the
|
163
|
+
Without cookies, the web would not work as it does today. However, since the
|
164
|
+
mid 90ies when cookies were invented, the web changed quite a lot, and so did
|
165
|
+
the attack methods on web applications; as mentioned, the Internet is not a
|
171
166
|
friendly place.
|
172
167
|
|
173
|
-
A well-known attack method is known as Cross
|
168
|
+
A well-known attack method is known as Cross-Site Request Forgery or short
|
174
169
|
*CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
|
175
|
-
unwanted actions.
|
176
|
-
not generally *unsafe
|
170
|
+
unwanted actions. A cookie may play a *role* in such scenarios, but they are
|
171
|
+
not generally *unsafe* if you want, you can read more about that on the
|
177
172
|
CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
|
178
173
|
|
179
174
|
== How to control cookies
|
180
175
|
|
181
176
|
Users can take control, used or *not* used, or delete cookies. For more
|
182
177
|
details, see {url-about-cookies--home}[AboutCookies]. You can delete
|
183
|
-
all cookies that are already on your computer and you can set most
|
178
|
+
all cookies that are already on your computer, and you can set most
|
184
179
|
browsers to prevent them from being placed.
|
185
180
|
|
186
181
|
If you do this, however, you may have to manually adjust some preferences
|
187
|
-
every time you visit a site and some services and functionalities may not
|
182
|
+
every time you visit a site, and some services and functionalities may not
|
188
183
|
work.
|
@@ -1,19 +1,15 @@
|
|
1
1
|
---
|
2
|
-
title:
|
3
|
-
tagline: top
|
4
|
-
date: 2020-05-01 00:00:00
|
2
|
+
title: Site Generators
|
3
|
+
tagline: top open source tools
|
5
4
|
|
5
|
+
categories: [ Featured, Post ]
|
6
6
|
tags: [ Jekyll, Generators ]
|
7
|
-
categories: [ Featured ]
|
8
7
|
|
9
|
-
series:
|
10
|
-
adsense: false
|
11
8
|
image: /assets/images/modules/attics/machine-generator-1920x1280.jpg
|
12
|
-
toc: true
|
13
9
|
|
14
10
|
regenerate: false
|
15
11
|
|
16
|
-
resources: []
|
12
|
+
resources: [ lightbox ]
|
17
13
|
resource_options:
|
18
14
|
- attic:
|
19
15
|
padding_top: 400
|
@@ -43,8 +39,9 @@ resource_options:
|
|
43
39
|
// Place an excerpt at the most top position
|
44
40
|
// -----------------------------------------------------------------------------
|
45
41
|
This article highlights top OpenSource projects providing static site
|
46
|
-
generators
|
47
|
-
them. Have a look if
|
42
|
+
generators in many different programming languages. And Jekyll is only
|
43
|
+
one of them. Have a look if a full-blown CMS is (really) needed for your
|
44
|
+
project!
|
48
45
|
|
49
46
|
// [role="clearfix mb-3"]
|
50
47
|
excerpt__end
|
@@ -55,7 +52,7 @@ excerpt__end
|
|
55
52
|
|
56
53
|
// Load page attributes
|
57
54
|
// -----------------------------------------------------------------------------
|
58
|
-
{% include {{load_attributes}} scope="
|
55
|
+
{% include {{load_attributes}} scope="all" %}
|
59
56
|
|
60
57
|
|
61
58
|
// Page content
|
@@ -65,22 +62,32 @@ excerpt__end
|
|
65
62
|
// -----------------------------------------------------------------------------
|
66
63
|
|
67
64
|
[[readmore]]
|
68
|
-
==
|
65
|
+
== Dynamic page access
|
69
66
|
|
70
|
-
[role="mb-3"]
|
71
|
-
image::/assets/images/collections/blog/featured/markus-spiske-2.jpg[{{page.title}}]
|
67
|
+
// [role="mb-3"]
|
68
|
+
// image::/assets/images/collections/blog/featured/markus-spiske-2.jpg[{{page.title}}]
|
69
|
+
|
70
|
+
A typical CMS-driven website works by building each and every page
|
71
|
+
*dynamically*. That means fetching the content from a database to pass them
|
72
|
+
over to a template system (engine) to load the page content, adding the
|
73
|
+
required structure information (e.g., CSS styles) and Javascript components if
|
74
|
+
needed. This means every page is assembled *on demand*.
|
72
75
|
|
73
|
-
|
74
|
-
|
75
|
-
system for adding the required structure information (e.g. CSS styles).
|
76
|
-
This means each page is assembled on demand.
|
76
|
+
.Accessing scheme for a CMS (dynamic web)
|
77
|
+
lightbox::kickstart-wiad--dynamic-web-access[ 800, {data-kickstart-wiad--dynamic-web-access} ]
|
77
78
|
|
78
|
-
|
79
|
+
callout::1["Web Browser"]
|
80
|
+
callout::2["Web Server"]
|
81
|
+
callout::3["Rendering Engine (e.g. PHP-based)"]
|
82
|
+
callout::4["Database (e.g. MySQL, Postgres)"]
|
83
|
+
callout::5["Static content (Images, Videos, JS- and CSS files) and Caches", ml-2 mb-3]
|
79
84
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
85
|
+
== Is a CMS needed?
|
86
|
+
|
87
|
+
For many websites, dynamic page generation is entirely unnecessary and
|
88
|
+
adds unwanted risks in terms of complexity, performance losses, and security
|
89
|
+
issues. After all, the content of most websites changes, when the content
|
90
|
+
authors make changes. Why the hell should a web page always assemble on
|
84
91
|
demand if there are no changes?
|
85
92
|
|
86
93
|
NOTE: To be fair, most CMS are providing caching systems for web pages to
|
@@ -89,16 +96,29 @@ a caching strategy, and in the very end, it adds the next level of
|
|
89
96
|
complexity.
|
90
97
|
|
91
98
|
A Static Site Generator takes a different approach and generates all the pages
|
92
|
-
of the website upfront
|
99
|
+
of the website *upfront*. That does not necessarily mean that a static website
|
93
100
|
is always built from scratch. Modern generators support a so-called
|
94
|
-
incremental build
|
101
|
+
incremental build, as does. When there are changes detected to the
|
95
102
|
content, only selected pages will rebuild.
|
96
103
|
|
97
|
-
|
98
|
-
|
99
|
-
|
104
|
+
.Accessing scheme for a static web
|
105
|
+
lightbox::kickstart-wiad--static-web-access[ 800, {data-kickstart-wiad--static-web-access} ]
|
106
|
+
|
107
|
+
callout::1["Web Browser"]
|
108
|
+
callout::2["Web Server"]
|
109
|
+
callout::3["Server-side rendered (prepared) static content", ml-2 mb-3]
|
110
|
+
|
111
|
+
== Statically build web pages
|
112
|
+
|
113
|
+
Overall, statically build web pages having no moving parts in the deployed
|
114
|
+
website. This results in browser-side caching only, the performance
|
115
|
+
goes up, and static sites are far more secure because they *build already*.
|
100
116
|
To find out what OpenSource Static Site Generators are available today and
|
101
|
-
their ranking in terms of popularity go for
|
102
|
-
|
117
|
+
their ranking in terms of popularity, go for _Jamstack_. You'll find a
|
118
|
+
comprehensive list of staic site generators used today.
|
103
119
|
|
104
|
-
Check
|
120
|
+
Check popular static site generators at {url-jamstack--generators}[Jamstack, {browser-window--new}]!
|
121
|
+
|
122
|
+
// .Current ratings at Jamstack (March 2021)
|
123
|
+
[role="mb-3"]
|
124
|
+
image::/assets/images/collections/blog/featured/jamstack-generators.gif["jamstack-generators"]
|