j1-template 2020.0.21 → 2020.0.22
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/ads/ad.html +2 -2
- data/_includes/themes/j1/blocks/footer/generator.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +3 -3
- data/_includes/themes/j1/layouts/content_generator_post.html +3 -3
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +2 -2
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +1 -1
- data/_includes/themes/j1/modules/connectors/ads +2 -2
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytics +2 -2
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
- data/_includes/themes/j1/modules/connectors/comments +2 -2
- data/_includes/themes/j1/modules/connectors/translator +2 -2
- data/_includes/themes/j1/modules/navigator/generator.html +9 -5
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +20 -20
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +3 -2
- data/_includes/themes/j1/procedures/global/setup.proc +9 -9
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -2
- data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
- data/_layouts/default.html +3 -3
- data/_layouts/home.html +2 -2
- data/apps/public/cc/cc.yml +3 -3
- data/assets/data/authclient.html +1 -1
- data/assets/data/banner.html +27 -22
- data/assets/data/cookiebar.html +14 -10
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu.html +1 -1
- data/assets/data/panel.html +109 -63
- data/assets/data/quicklinks.html +2 -2
- data/assets/data/search.json +1 -1
- data/assets/data/ssm.html +1 -1
- data/assets/data/themes.json +8 -8
- data/assets/themes/j1/adapter/js/algolia.js +1 -1
- data/assets/themes/j1/adapter/js/attic.js +1 -1
- data/assets/themes/j1/adapter/js/back2top.js +2 -2
- data/assets/themes/j1/adapter/js/carousel.js +1 -1
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/framer.js +1 -1
- data/assets/themes/j1/adapter/js/gallery_customizer.js +1 -1
- data/assets/themes/j1/adapter/js/j1.js +16 -16
- data/assets/themes/j1/adapter/js/jf_gallery.js +1 -1
- data/assets/themes/j1/adapter/js/lightbox.js +2 -2
- data/assets/themes/j1/adapter/js/logger.js +1 -1
- data/assets/themes/j1/adapter/js/mmenu.js +17 -11
- data/assets/themes/j1/adapter/js/navigator.js +61 -55
- data/assets/themes/j1/adapter/js/rouge.js +246 -0
- data/assets/themes/j1/adapter/js/rtable.js +181 -0
- data/assets/themes/j1/adapter/js/searcher.js +1 -1
- data/assets/themes/j1/adapter/js/ssm.js +3 -3
- data/assets/themes/j1/adapter/js/themer.js +62 -109
- data/assets/themes/j1/adapter/js/toccer.js +10 -2
- data/assets/themes/j1/core/css/{icons-fontawesome.css → icon-fonts/fontawesome.css} +0 -0
- data/assets/themes/j1/core/css/{icons-fontawesome.min.css → icon-fonts/fontawesome.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-iconify.css → icon-fonts/iconify.css} +0 -0
- data/assets/themes/j1/core/css/{icons-iconify.min.css → icon-fonts/iconify.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-materialdesign.css → icon-fonts/materialdesign.css} +0 -0
- data/assets/themes/j1/core/css/{icons-materialdesign.min.css → icon-fonts/materialdesign.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-twemoji.css → icon-fonts/twemoji.css} +0 -0
- data/assets/themes/j1/core/css/{icons-twemoji.min.css → icon-fonts/twemoji.min.css} +0 -0
- data/assets/themes/j1/core/css/{bootstrap.css → themes/bootstrap/bootstrap.css} +0 -0
- data/assets/themes/j1/core/css/{bootstrap.min.css → themes/bootstrap/bootstrap.min.css} +0 -0
- data/assets/themes/j1/core/css/{uno-dark.css → themes/uno-dark/bootstrap.css} +103 -97
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +6 -0
- data/assets/themes/j1/core/css/{uno.css → themes/uno-light/bootstrap.css} +1139 -936
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +8 -0
- data/assets/themes/j1/core/css/vendor.css +44 -32
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -1
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +6930 -0
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +4 -5
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +8 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +8 -2
- data/assets/themes/j1/modules/jquery/js/jquery.js +7 -4
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +11 -11
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +386 -12
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +16 -12
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +189 -8
- data/assets/themes/j1/modules/rouge/js/select.js +25 -0
- data/assets/themes/j1/modules/rtable/LICENSE +22 -0
- data/assets/themes/j1/modules/rtable/README.md +418 -0
- data/assets/themes/j1/modules/rtable/css/tablesaw.stackonly.css +148 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno.css +191 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +191 -0
- data/assets/themes/j1/modules/rtable/js/rtable.js +692 -0
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +690 -0
- data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +18 -0
- data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +2371 -0
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +15 -2
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/config.rb +2 -2
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +74 -8
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +31 -26
- data/lib/starter_web/_data/blocks/defaults/banner.yml +14 -13
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -2
- data/lib/starter_web/_data/blocks/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/panel.yml +30 -31
- data/lib/starter_web/_data/{template_settings.yml → j1_config.yml} +54 -4
- data/lib/starter_web/_data/layouts/home.yml +9 -9
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +3 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/themer.yml +8 -13
- data/lib/starter_web/_data/modules/themer.yml +0 -18
- data/lib/starter_web/_data/resources.yml +58 -12
- data/lib/starter_web/{includes → _includes}/attributes.asciidoc +18 -7
- data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -0
- data/lib/starter_web/{collections/posts/private → _includes/documents}/readme +0 -0
- data/lib/starter_web/{collections/posts/public/wikipedia/_posts/000_includes/tables/debug_variables.asciidoc → _includes/tables/jekyll_variables.asciidoc} +8 -11
- data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -0
- data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/tldr-1920x800.jpg +0 -0
- data/lib/starter_web/collections/posts/{protected → private/_posts}/readme +0 -0
- data/lib/starter_web/collections/posts/protected/_posts/readme +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +70 -72
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +17 -5
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +32 -25
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +24 -21
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +38 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/{000_includes → _includes/documents}/unsplash-badge.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +493 -506
- data/lib/starter_web/collections/posts/public/{featured/_posts/000_includes → series/_posts/_includes}/attributes.asciidoc +8 -18
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/100-docker-using-shared-folders.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/loop.sh +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/tables/debug_variables.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +97 -11
- data/lib/starter_web/collections/posts/public/test_posts/_posts/{includes → _includes}/attributes.asciidoc +1 -8
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/{series/_posts/includes → test_posts/_posts/_includes}/tables/debug_variables.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +14 -5
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +37 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/protected/site_search.adoc +4 -4
- data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +7 -3
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +9 -4
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +8 -4
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{includes → _includes}/attributes.asciidoc +2 -9
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +31 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{includes → _includes}/documents/200_preparations.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{includes → _includes}/documents/300_first_awesome_web.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{includes → _includes}/parts.asciidoc +1 -1
- data/lib/starter_web/{collections/posts/public/test_posts/_posts/includes → pages/public/learn/kickstarter/web_in_a_day/_includes}/tables/debug_variables.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +56 -54
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +26 -23
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +34 -31
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +51 -48
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +47 -57
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +20 -17
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +223 -72
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +132 -33
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/attributes.asciidoc +6 -0
- data/lib/starter_web/pages/public/{test_pages/includes → learn/roundtrip/_includes}/documents/100_gistblock.asciidoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_bottom_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_bottom_left_warning.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_bottom_right_danger.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_central_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_full_height_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_full_height_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_top_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_top_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/410_top_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{includes → _includes}/documents/419_advanced_modals_demo.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/learn/{whats_up.adoc → where_to_go.adoc} +28 -23
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +64 -65
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/attributes.asciidoc +6 -0
- data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -0
- data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/twitter_emoji/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/twitter_emoji/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{includes → _includes}/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +2059 -1827
- data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -2
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +8 -4
- data/lib/starter_web/pages/public/previewer/rouge.adoc +200 -0
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +7 -7
- data/lib/starter_web/pages/public/test_pages/{includes → _includes}/attributes.asciidoc +3 -1
- data/lib/starter_web/pages/public/{learn/roundtrip/includes → test_pages/_includes}/documents/100_gistblock.asciidoc +0 -0
- data/lib/starter_web/pages/public/test_pages/{includes → _includes}/tables/000_bem_specifiers.asciidoc +1 -1
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +56 -0
- data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +162 -0
- data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +7 -21
- data/lib/starter_web/pages/public/test_pages/floating_div.adoc +24 -38
- data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +7 -21
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +100 -8
- data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +212 -0
- data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +209 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/attributes.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_test_youtube_video.adoc +0 -0
- data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/100_basic_video.adoc +0 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +118 -147
- data/assets/data/jupyter/notebooks/_html/template.full.head.html +0 -75
- data/assets/data/jupyter/notebooks/_html/visualisation.html +0 -968
- data/assets/data/jupyter/notebooks/html/template.html +0 -50
- data/assets/data/jupyter/notebooks/html/visualisation.ok.html +0 -949
- data/assets/data/jupyter/notebooks/tutorial.ipynb +0 -169
- data/assets/data/jupyter/notebooks/visualisation.ipynb +0 -9413
- data/assets/themes/j1/core/css/theme-extensions.css +0 -9811
- data/assets/themes/j1/core/css/theme-extensions.min.css +0 -1
- data/assets/themes/j1/core/css/uno-dark.min.css +0 -6
- data/assets/themes/j1/core/css/uno.min.css +0 -8
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +0 -10278
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +0 -1
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +0 -7
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +0 -1
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +0 -4420
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +0 -1
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +0 -7
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +0 -1
- data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +0 -203
- data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +0 -235
- data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +0 -509
- data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +0 -122
- data/assets/themes/j1/modules/jqMouseWheel/README.md +0 -76
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +0 -221
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +0 -9
- data/assets/themes/j1/modules/noUISlider/LICENSE +0 -13
- data/assets/themes/j1/modules/noUISlider/css/nouislider.css +0 -260
- data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +0 -1
- data/assets/themes/j1/modules/noUISlider/js/nouislider.js +0 -2312
- data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +0 -3
- data/assets/themes/j1/modules/polyfills/js/msie.js +0 -140
- data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +0 -132
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +0 -81
- data/lib/starter_web/collections/_biography/becoming.adoc +0 -72
- data/lib/starter_web/collections/_biography/born-to-run.adoc +0 -78
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +0 -75
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +0 -69
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +0 -72
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +0 -73
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +0 -64
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +0 -64
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +0 -62
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +0 -63
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +0 -62
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +0 -60
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +0 -67
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +0 -61
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +0 -69
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +0 -66
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +0 -78
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +0 -62
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc +0 -66
- data/lib/starter_web/collections/posts/public/series/_posts/includes/attributes.asciidoc +0 -66
- data/lib/starter_web/collections/posts/public/series/_posts/includes/documents/100-docker-using-shared-folders.asciidoc +0 -430
- data/lib/starter_web/collections/posts/public/series/_posts/includes/documents/loop.sh +0 -28
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/000_includes/attributes.asciidoc +0 -46
- data/lib/starter_web/pages/public/bookshelf/100_whats_up.adoc +0 -281
- data/lib/starter_web/pages/public/bookshelf/200_book_shelf_biography.adoc +0 -52
- data/lib/starter_web/pages/public/bookshelf/300_book_shelf_fantasy.adoc +0 -54
- data/lib/starter_web/pages/public/bookshelf/400_book_shelf_romance.adoc +0 -54
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +0 -69
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +0 -170
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +0 -52
- data/lib/starter_web/pages/public/test_pages/includes/images/pages/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/pages/public/test_pages/includes/tables/000_specifier_examples.asciidoc +0 -56
@@ -15,6 +15,8 @@ advertising: false
|
|
15
15
|
|
16
16
|
resources: []
|
17
17
|
resource_options:
|
18
|
+
- toccer:
|
19
|
+
collapseDepth: 3
|
18
20
|
# - ssm:
|
19
21
|
# mode: menu
|
20
22
|
- attic:
|
@@ -38,40 +40,41 @@ resource_options:
|
|
38
40
|
// Enable the Liquid Preprocessor
|
39
41
|
:page-liquid:
|
40
42
|
|
43
|
+
// Set page (local) attributes here
|
44
|
+
// -----------------------------------------------------------------------------
|
45
|
+
// :page--attr: <attr-value>
|
46
|
+
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
47
|
+
|
41
48
|
// Load Liquid procedures
|
42
49
|
// -----------------------------------------------------------------------------
|
43
50
|
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
44
51
|
|
45
|
-
// Load page attributes
|
52
|
+
// Load page attributes
|
46
53
|
// -----------------------------------------------------------------------------
|
47
|
-
{% include {{load_attributes}} scope="
|
54
|
+
{% include {{load_attributes}} scope="local" %}
|
48
55
|
|
49
|
-
// Set local page attributes
|
50
|
-
// -----------------------------------------------------------------------------
|
51
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
52
56
|
|
53
57
|
// Page content
|
54
|
-
//
|
55
|
-
|
58
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
56
59
|
== Typography
|
57
60
|
|
58
|
-
Typography serves as one the most crucial branding elements for any business.
|
59
|
-
Typography matters for any media presenting text.
|
60
|
-
role of acting not only as plain text but will also serve as
|
61
|
-
images.
|
61
|
+
Typography serves as one of the most crucial branding elements for any business.
|
62
|
+
Typography matters for any media presenting text. The text will take on an
|
63
|
+
important role of acting not only as plain text but will also serve as
|
64
|
+
something like images.
|
62
65
|
|
63
66
|
== Responsive Text
|
64
67
|
|
65
68
|
One common flaw seen in many templates and frameworks (sadly to say: the same
|
66
|
-
to Bootstrap) is a lack of support for
|
67
|
-
on a page resize fluidly, text still resizes on a fixed basis.
|
68
|
-
issue, especially for heavily text focussed pages, J1 Template
|
69
|
-
that fluidly
|
70
|
-
user.
|
69
|
+
to Bootstrap, including V4) is a lack of support for genuinely responsive text.
|
70
|
+
While elements on a page resize fluidly, the text still resizes on a fixed basis.
|
71
|
+
To avoiding this issue, especially for heavily text focussed pages, J1 Template
|
72
|
+
supports styles that fluidly scale text size and line-height to optimize
|
73
|
+
readability for the user.
|
71
74
|
|
72
|
-
Below you find an example how text behaves if defined on a fixed basis -
|
73
|
-
you'll see quite often. Change the size of your Browser Window to see
|
74
|
-
will happen in terms of responsiveness.
|
75
|
+
Below you find an example of how text behaves if defined on a fixed basis -
|
76
|
+
what you'll see quite often. Change the size of your Browser Window to see
|
77
|
+
what will happen in terms of responsiveness.
|
75
78
|
|
76
79
|
++++
|
77
80
|
<div>
|
@@ -121,13 +124,13 @@ and off Responsive Text to see the difference!
|
|
121
124
|
|
122
125
|
Responsive Text comes in five different scale factors in a range from 100 to
|
123
126
|
500. Scaling `r-text` gives you the flexibility to use `r-text` everywhere. Or
|
124
|
-
you can offer different text sizes of your Web for
|
127
|
+
you can offer different text sizes of your Web for visitors having a visual
|
125
128
|
handicap or reading disabilities.
|
126
129
|
|
127
130
|
To see `r-text` scaling in action, click on the button above to resize
|
128
|
-
the text from `r-text` level 300 to 500 back and forth.
|
129
|
-
your Browser and watch the size of this text body change to see
|
130
|
-
|
131
|
+
the text from `r-text` level 300 to 500 back and forth. Simply resize
|
132
|
+
your Browser and watch the size of this text body change to see the
|
133
|
+
responsiveness in action.
|
131
134
|
|
132
135
|
++++
|
133
136
|
<div>
|
@@ -169,21 +172,21 @@ of the text in action.
|
|
169
172
|
|
170
173
|
== Scale factors
|
171
174
|
|
172
|
-
As mentioned, `r-text` comes in five levels of size. The base of `r-text`
|
175
|
+
As mentioned, `r-text` comes in five levels of size. The base of `r-text` is
|
173
176
|
the Fibonacci numbers extracted from the Fibonacci series. These numbers are
|
174
177
|
the most popular division ratios in typography. When speaking of the golden
|
175
178
|
ratio (1: 1.618) in typography and graphic design, the Fibonacci numbers are
|
176
179
|
usually the base.
|
177
180
|
|
178
|
-
The Fibonacci series
|
179
|
-
font size accordingly.
|
181
|
+
The Fibonacci series is translated into CSS Media queries and scale a base
|
182
|
+
font size accordingly. Further, the resulting font scale series have
|
180
183
|
multipliers (scale factors) ranging from 0.5 (50%) up to 1.0 (100%) of the
|
181
184
|
base.
|
182
185
|
|
183
186
|
That way, five series are available by the five scale factors. See the following
|
184
187
|
table how `r-text` scales.
|
185
188
|
|
186
|
-
[cols="3,2,7a", options="header", role="
|
189
|
+
[cols="3,2,7a", options="header", role="rtable"]
|
187
190
|
|===============================================================================
|
188
191
|
|Property | Factor |Example text
|
189
192
|
|
@@ -263,7 +266,7 @@ choosen per chance. It is a good idea to spend some time on text and design.
|
|
263
266
|
|
264
267
|
=== Text in Action
|
265
268
|
|
266
|
-
User interfaces (UI) enable
|
269
|
+
User interfaces (UI) enable visitors to interact with a page, explore things
|
267
270
|
on their own - playing around. Presenting a service or a product in simple nav
|
268
271
|
elements may help to reduce to space needed - more can be placed on page. On
|
269
272
|
other hand, navigation elements present by playful and interactive means.
|
@@ -276,7 +279,7 @@ The design for the Bootstrap nav pills were change into MD Design. As all
|
|
276
279
|
elements available with J1 Template, the _Meterial Design_ color palette is
|
277
280
|
used. All Bootstrap base classes can be used to colorize:
|
278
281
|
|
279
|
-
[cols="5,7a", options="header", role="
|
282
|
+
[cols="5,7a", options="header", role="rtable mb-5"]
|
280
283
|
|===============================================================================
|
281
284
|
|Property | Example
|
282
285
|
|
@@ -503,9 +506,9 @@ used. All Bootstrap base classes can be used to colorize:
|
|
503
506
|
|
504
507
|
== Whats next
|
505
508
|
|
506
|
-
Have you enjoyed playing with text? We hope so. But even more can
|
509
|
+
Have you enjoyed playing with the text? We hope so. But even more, J1 can do for
|
507
510
|
your web pages. With the examples on that page, icons were used to support the
|
508
|
-
meaning what was grouped as text.
|
511
|
+
meaning of what was grouped as text.
|
509
512
|
|
510
513
|
J1 Template supports popular icons font sets like:
|
511
514
|
|
@@ -12,6 +12,8 @@ regenerate: false
|
|
12
12
|
|
13
13
|
resources: [ iconify ]
|
14
14
|
resource_options:
|
15
|
+
- toccer:
|
16
|
+
collapseDepth: 3
|
15
17
|
- attic:
|
16
18
|
padding_top: 400
|
17
19
|
padding_bottom: 50
|
@@ -30,21 +32,22 @@ resource_options:
|
|
30
32
|
// Enable the Liquid Preprocessor
|
31
33
|
:page-liquid:
|
32
34
|
|
35
|
+
// Set page (local) attributes here
|
36
|
+
// -----------------------------------------------------------------------------
|
37
|
+
// :page--attr: <attr-value>
|
38
|
+
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
39
|
+
|
33
40
|
// Load Liquid procedures
|
34
41
|
// -----------------------------------------------------------------------------
|
35
42
|
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
36
43
|
|
37
|
-
// Load page attributes
|
44
|
+
// Load page attributes
|
38
45
|
// -----------------------------------------------------------------------------
|
39
|
-
{% include {{load_attributes}} scope="
|
46
|
+
{% include {{load_attributes}} scope="local" %}
|
40
47
|
|
41
|
-
// Set local page attributes
|
42
|
-
// -----------------------------------------------------------------------------
|
43
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
44
48
|
|
45
49
|
// Page content
|
46
|
-
//
|
47
|
-
|
50
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
48
51
|
== Icon Fonts
|
49
52
|
|
50
53
|
J1 Template support popular icons font sets out-of-the-box:
|
@@ -57,25 +60,25 @@ The icon sets MDI and FA are very good in design and have a rich set of
|
|
57
60
|
different icons for many categories used for the Web. See below some details
|
58
61
|
for <<Material Design Icons>> and <<FontAwesome Icons>>.
|
59
62
|
|
60
|
-
Iconify
|
61
|
-
loaded over the Internet using the so-called
|
62
|
-
|
63
|
+
Iconify icons is not a locally stored icon-set like MDI or FA. All icons are
|
64
|
+
loaded over the Internet using the so-called *Unified OpenSource Icon
|
65
|
+
Framework*. See section <<Iconify Icons>> for more information.
|
63
66
|
|
64
67
|
|
65
68
|
== Material Design Icons
|
66
69
|
|
67
|
-
The primary icon
|
68
|
-
because it is
|
69
|
-
|
70
|
+
The primary icon-set for J1 Template is link:{mdi-home}[Material Design Icons, {browser-window--new}],
|
71
|
+
because it is extremely rich set providing more than 3300+ icons (v3.3.92). From a design
|
72
|
+
perspective, _MDI_ has an excellent Material Design support an comes with the
|
70
73
|
original icon set created by _Google_ build-in.
|
71
74
|
|
72
|
-
_Material Design Icons_ (MDI) is a
|
75
|
+
_Material Design Icons_ (MDI) is a beneficial design resource for Web Design
|
73
76
|
that is based on _Google_'s Material Design. _MDI_ is a community-driven
|
74
|
-
project to create an increased
|
77
|
+
project to create an increased number of icons based on _Google_'s official repository
|
75
78
|
and MD style specification.
|
76
79
|
|
77
80
|
.Material Design Icons
|
78
|
-
[cols="2a,3a,4a,^", options="header", width="100%", role="
|
81
|
+
[cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
|
79
82
|
|===============================================================================
|
80
83
|
|Size |Modifier |Markup |Render
|
81
84
|
|
@@ -127,7 +130,7 @@ mdi:account[5x mdi-rotate-315]
|
|
127
130
|
|5x
|
128
131
|
|`mdi-light` +
|
129
132
|
`mdi-flip-v`
|
130
|
-
|
|
133
|
+
|Colour set to MDI Light (Grey) and flipped vertical
|
131
134
|
[source, adoc, role="noclip"]
|
132
135
|
----
|
133
136
|
mdi:alert[5x mdi-light mdi-flip-v]
|
@@ -136,7 +139,7 @@ mdi:alert[5x mdi-light mdi-flip-v]
|
|
136
139
|
|
137
140
|
|5x
|
138
141
|
|`md-indigo`
|
139
|
-
|
|
142
|
+
|Colour set to MDI Indigo
|
140
143
|
[source, adoc, role="noclip"]
|
141
144
|
----
|
142
145
|
mdi:alert[5x md-indigo]
|
@@ -145,7 +148,7 @@ mdi:alert[5x md-indigo]
|
|
145
148
|
|
146
149
|
|5x
|
147
150
|
|`md-pink`
|
148
|
-
|
|
151
|
+
|Colour set to MDI Pink
|
149
152
|
[source, adoc, role="noclip"]
|
150
153
|
----
|
151
154
|
mdi:alert[5x md-pink]
|
@@ -164,7 +167,7 @@ mdi:loading[5x mdi-spin]
|
|
164
167
|
|5x
|
165
168
|
|`md-red-900` +
|
166
169
|
`mdi-pulsed`
|
167
|
-
|
|
170
|
+
|Colour set to MDI Dark Red and added animation of type Pulsed
|
168
171
|
[source, adoc, role="noclip"]
|
169
172
|
----
|
170
173
|
mdi:heart[5x md-red-900 mdi-pulsed]
|
@@ -174,7 +177,7 @@ mdi:heart[5x md-red-900 mdi-pulsed]
|
|
174
177
|
|===============================================================================
|
175
178
|
|
176
179
|
NOTE: Using Material Design Icons with Asciidoc is quite easy as an inline macro
|
177
|
-
`mdi:` is
|
180
|
+
`mdi:` is available to place icons where ever you want. See more about
|
178
181
|
this in section link:{roundtrip-asciidoc-extensions}#icon-fonts[Asciidoc Extensions]
|
179
182
|
|
180
183
|
_MDI_ is a growing collection to allow designers and developers targeting
|
@@ -186,13 +189,13 @@ _J1 Template_ supports the full set of _MDI_ for the Web (Webfont, WOFF). The
|
|
186
189
|
icon set is fully integrated and can be used out-of-the-box.
|
187
190
|
|
188
191
|
For MDI a Preview Page is available to explore what can be done base on the
|
189
|
-
J1
|
192
|
+
J1 implementation regarding sizes, colours, animations etc. Go for the
|
190
193
|
link:{previewer-mdi}[Preview Page, {browser-window--new}] and check-out what's
|
191
194
|
possible using MDI font icons!
|
192
195
|
|
193
196
|
== FontAwesome Icons
|
194
197
|
|
195
|
-
FontAwesome is a font and icon toolkit based on CSS. It was
|
198
|
+
FontAwesome is a font and icon toolkit based on CSS. It was initially created
|
196
199
|
by Dave Gandy. The previous version 4 was mainly for the use with Twitter
|
197
200
|
Bootstrap V3. The new version V5, released in December 2017, is focussing all
|
198
201
|
frameworks used for web development. Today, FA comes with 2300+ icons included.
|
@@ -209,7 +212,7 @@ and the MIT License.
|
|
209
212
|
====
|
210
213
|
|
211
214
|
.FontAwesome Icons
|
212
|
-
[cols="2a,3a,4a,^", options="header", width="100%", role="
|
215
|
+
[cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
|
213
216
|
|===============================================================================
|
214
217
|
|Size |Modifier |Markup |Render
|
215
218
|
|
@@ -252,7 +255,7 @@ fas:user[5x fa-rotate-90]
|
|
252
255
|
|5x
|
253
256
|
|`mdi-light` +
|
254
257
|
`fa-flip-v`
|
255
|
-
|
|
258
|
+
|Colour set to MDI Light (Grey) and flipped vertical
|
256
259
|
[source, adoc, role="noclip"]
|
257
260
|
----
|
258
261
|
fas:exclamation-triangle[5x mdi-light fa-flip-v]
|
@@ -261,7 +264,7 @@ fas:exclamation-triangle[5x mdi-light fa-flip-v]
|
|
261
264
|
|
262
265
|
|5x
|
263
266
|
|`md-indigo`
|
264
|
-
|
|
267
|
+
|Colour set to MDI Indigo
|
265
268
|
[source, adoc, role="noclip"]
|
266
269
|
----
|
267
270
|
fas:alert[5x md-indigo]
|
@@ -270,7 +273,7 @@ fas:alert[5x md-indigo]
|
|
270
273
|
|
271
274
|
|5x
|
272
275
|
|`md-pink`
|
273
|
-
|
|
276
|
+
|Colour set to MDI Pink
|
274
277
|
[source, adoc, role="noclip"]
|
275
278
|
----
|
276
279
|
fas:alert[5x md-pink]
|
@@ -289,7 +292,7 @@ fas:circle-notch[5x fa-spin]
|
|
289
292
|
|5x
|
290
293
|
|`md-red-900` +
|
291
294
|
`md-red-900` `fa-pulsed`
|
292
|
-
|
|
295
|
+
|Colour set to MDI Dark Red and added animation of type Pulsed
|
293
296
|
[source, adoc, role="noclip"]
|
294
297
|
----
|
295
298
|
fas:heart[5x md-red-900 fa-pulsed]
|
@@ -299,24 +302,24 @@ fas:heart[5x md-red-900 fa-pulsed]
|
|
299
302
|
|===============================================================================
|
300
303
|
|
301
304
|
NOTE: Using FontAwesome with Asciidoc is quite easy as two inline macros
|
302
|
-
`fas:` and `fas:` are
|
305
|
+
`fas:` and `fas:` are available to place icons where ever you want. See more about
|
303
306
|
this in section link:{roundtrip-asciidoc-extensions}#icon-fonts[Asciidoc Extensions]
|
304
307
|
|
305
|
-
FontAwesome V5 meets the Material Design idea (of _Google_) and in
|
306
|
-
Version 4, the current version is much more than a face-lifting.
|
307
|
-
comes with more than 2300+ icons but many of them are available with the Pro
|
308
|
-
license only. For the Free version, a subset of 900+ icons is available.
|
308
|
+
FontAwesome V5 meets the Material Design idea (of _Google_) and in comparison
|
309
|
+
to Version 4, the current version is much more than a face-lifting. Version 5
|
310
|
+
comes with more than 2300+ icons, but many of them are available with the Pro
|
311
|
+
license only. For the Free version, only a subset of 900+ icons is available.
|
309
312
|
|
310
313
|
NOTE: The CSS styles for FontAwesome V5 has been extended for J1 Template to
|
311
|
-
the same
|
312
|
-
Already existing styles like `fa-flip-vertical`
|
313
|
-
as well. See all
|
314
|
+
the same classes (and their respective names) as for other Font Icon sets.
|
315
|
+
Already existing styles like `fa-flip-vertical` are available as `fa-flip-v`
|
316
|
+
as well. See all types that can be used with the MDI
|
314
317
|
link:{previewer-mdi}[Preview Page, {browser-window--new}].
|
315
318
|
|
316
319
|
You can checkout what icons available at link:{fontawesome-icons}[FontAwesome Icons,
|
317
|
-
{browser-window--new}]. _FontAwesome_ V5 is fully integrated - no need for
|
318
|
-
resources to load. But in
|
319
|
-
noticed.
|
320
|
+
{browser-window--new}]. _FontAwesome_ V5 is fully integrated - no need for
|
321
|
+
additional resources to load. But in comparison to Version 4, a lot of
|
322
|
+
differences needs to be noticed.
|
320
323
|
|
321
324
|
If you haven't used V5 yet, it is highly recommended to visit the
|
322
325
|
link:{fontawesome-get-started}[Get started, {browser-window--new}] pages to learn
|
@@ -325,13 +328,13 @@ the basics and features and styles.
|
|
325
328
|
|
326
329
|
== Iconify Icons
|
327
330
|
|
328
|
-
MDI and FA are
|
331
|
+
MDI and FA are rich icon-sets but designed for general use. Sometimes
|
329
332
|
icons are missing in one of these fonts like specific brand or theme
|
330
333
|
icons.
|
331
334
|
|
332
335
|
An interesting solution for using font icons from a remote repository is
|
333
336
|
link:{iconify-home}[Iconify, {browser-window--new}]. Iconify is a so-called unified
|
334
|
-
|
337
|
+
OpenSource icon framework that makes it possible to use icons from different
|
335
338
|
icon sets using one syntax.
|
336
339
|
|
337
340
|
To access that framework, a Javascript client is needed. For J1 Template, the
|
@@ -343,7 +346,7 @@ Currently, over 40,000 vector icons are available for many different use cases.
|
|
343
346
|
Find some examples below.
|
344
347
|
|
345
348
|
.Brand Icons
|
346
|
-
[cols="2a,3a,4a,^", options="header", width="100%", role="
|
349
|
+
[cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
|
347
350
|
|===============================================================================
|
348
351
|
|Size |Modifier |Markup |Render
|
349
352
|
|
@@ -368,7 +371,7 @@ iconify:logos:atom[5x]
|
|
368
371
|
|===============================================================================
|
369
372
|
|
370
373
|
.Medical Icons
|
371
|
-
[cols="2a,3a,4a,^", options="header", width="100%", role="
|
374
|
+
[cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
|
372
375
|
|===============================================================================
|
373
376
|
|Size |Modifier |Markup |Render
|
374
377
|
|
@@ -393,16 +396,16 @@ iconify:medical-icon:i-ear-nose-throat[5x md-red-900]
|
|
393
396
|
|===============================================================================
|
394
397
|
|
395
398
|
NOTE: Using Iconify icons with Asciidoc is quite easy as an inline macro
|
396
|
-
`iconify:` is
|
399
|
+
`iconify:` is available to place icons where ever you want. See more about
|
397
400
|
this in section link:{roundtrip-asciidoc-extensions}#icon-fonts[Asciidoc Extensions]
|
398
401
|
|
399
402
|
== Whats next
|
400
403
|
|
401
|
-
|
402
|
-
manipulating Font Icons. Do you think these Icons sets fit your needs?
|
404
|
+
Have you've enjoyed the possibilities J1 offers for managing and
|
405
|
+
manipulating Font Icons. Do you think these Icons sets can fit your needs?
|
403
406
|
|
404
|
-
Using Iconify, for all topics
|
405
|
-
|
407
|
+
Using Iconify, for all topics an icon font should be found. And it's simple,
|
408
|
+
isn't it?
|
406
409
|
|
407
410
|
We hope so.
|
408
411
|
|
@@ -10,8 +10,10 @@ categories: [ pages ]
|
|
10
10
|
permalink: /pages/public/learn/roundtrip/asciidoc_extensions/
|
11
11
|
regenerate: false
|
12
12
|
|
13
|
-
resources: [ lightbox, iconify, twemoji ]
|
13
|
+
resources: [ lightbox, iconify, twemoji, rouge ]
|
14
14
|
resource_options:
|
15
|
+
- toccer:
|
16
|
+
collapseDepth: 3
|
15
17
|
- attic:
|
16
18
|
padding_top: 400
|
17
19
|
padding_bottom: 50
|
@@ -30,21 +32,22 @@ resource_options:
|
|
30
32
|
// Enable the Liquid Preprocessor
|
31
33
|
:page-liquid:
|
32
34
|
|
35
|
+
// Set page (local) attributes here
|
36
|
+
// -----------------------------------------------------------------------------
|
37
|
+
// :page--attr: <attr-value>
|
38
|
+
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
39
|
+
|
33
40
|
// Load Liquid procedures
|
34
41
|
// -----------------------------------------------------------------------------
|
35
42
|
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
36
43
|
|
37
|
-
// Load page attributes
|
44
|
+
// Load page attributes
|
38
45
|
// -----------------------------------------------------------------------------
|
39
|
-
{% include {{load_attributes}} scope="
|
46
|
+
{% include {{load_attributes}} scope="local" %}
|
40
47
|
|
41
|
-
// Set local page attributes
|
42
|
-
// -----------------------------------------------------------------------------
|
43
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
44
48
|
|
45
49
|
// Page content
|
46
|
-
//
|
47
|
-
|
50
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
48
51
|
J1 Template implements some incubating Ruby-based extensions for Asciidoctor.
|
49
52
|
Most extensions are based on the examples given with the
|
50
53
|
{asciidoctor-extensions-lab}[Asciidoctor Extensions Lab, {browser-window--new}].
|
@@ -75,36 +78,17 @@ clicking the toggle button `VIEW` displays (or hide) the content given by the
|
|
75
78
|
The `View Result Extension` is quite useful for example sections discussing
|
76
79
|
Asciidoc code and how the resulting (HTML) code would look alike.
|
77
80
|
|
78
|
-
|
79
|
-
|
80
|
-
.This will have a button `VIEW` placed to the right top of the example box
|
81
|
-
----
|
82
|
-
* displayed always
|
83
|
-
* displayed always 2
|
84
|
-
----
|
85
|
-
|
86
|
-
[.result]
|
87
|
-
====
|
88
|
-
* displayed till clicked
|
89
|
-
* displayed till clicked 2
|
90
|
-
====
|
91
|
-
----
|
92
|
-
|
93
|
-
.This example will have a button `VIEW` placed to the top right of the example box
|
81
|
+
.This example place a button `VIEW` top right of the example box
|
82
|
+
[source, prometheus, role="noclip"]
|
94
83
|
----
|
95
84
|
* displayed always
|
96
85
|
----
|
97
86
|
|
98
87
|
[.result]
|
99
88
|
====
|
100
|
-
displayed till clicked, but closed
|
89
|
+
displayed till clicked, but closed on second click
|
101
90
|
====
|
102
91
|
|
103
|
-
NOTE: The result block closes automatically after the result was shown
|
104
|
-
for 5 seconds. If the button `VIEW` is clicked, the result box toggles
|
105
|
-
between open and close (the result gets hidden). That way, you can open and
|
106
|
-
close the result box at any time.
|
107
|
-
|
108
92
|
== Asciidoc Admonitions
|
109
93
|
|
110
94
|
All colors for all default admonition blocks set to the standard MD color
|
@@ -131,15 +115,15 @@ CAUTION: Icon background-color: red
|
|
131
115
|
Q&A sections are used quite often to answer popular questions. To make
|
132
116
|
such a Q&A section more eye-minded, the additional Admonition Blocks
|
133
117
|
`[QUESTION]` and `[ANSWER]` are available for J1 Template as Asciidoctor
|
134
|
-
|
118
|
+
extensions.
|
135
119
|
|
136
120
|
=== Question block
|
137
121
|
|
138
|
-
The admonition Question block is an
|
122
|
+
The admonition Question block is an extension to the Asciidoc admonition
|
139
123
|
block types that introduce an admonition of type question.
|
140
124
|
|
141
125
|
.Example of a question block
|
142
|
-
[source,
|
126
|
+
[source, prometheus, role="noclip"]
|
143
127
|
----
|
144
128
|
[QUESTION]
|
145
129
|
What's the main tool for selecting colors?
|
@@ -154,12 +138,12 @@ What's the main tool for selecting colors used for J1 Template?
|
|
154
138
|
|
155
139
|
=== Answer block
|
156
140
|
|
157
|
-
The Admonition Answer block is an
|
141
|
+
The Admonition Answer block is an extension to the Asciidoc admonition
|
158
142
|
block types that introduce an admonition type of answer in conjunction
|
159
143
|
to the admonition of type question.
|
160
144
|
|
161
145
|
.Example of a answer block
|
162
|
-
[source,
|
146
|
+
[source, prometheus, role="noclip"]
|
163
147
|
----
|
164
148
|
[ANSWER]
|
165
149
|
For J1 Template, go for for the Core documentation section. You'll
|
@@ -178,12 +162,12 @@ You'll find the full color scheme for Material Design.
|
|
178
162
|
|
179
163
|
To make the use of the built-in Lightbox easier, J1 Template offers an Asciidoc
|
180
164
|
extension: the LightBox block macro. The `lightbox::` block macro embeds one or
|
181
|
-
more images into the output document and puts
|
182
|
-
|
165
|
+
more images into the output document and puts the default Lightbox (lightbox)
|
166
|
+
for J1 automatically on. For all images, the `size` (width) and individual
|
183
167
|
`caption text` can be configured.
|
184
168
|
|
185
169
|
.Lightbox Block
|
186
|
-
[source,
|
170
|
+
[source, prometheus, role="noclip"]
|
187
171
|
----
|
188
172
|
.block_title
|
189
173
|
lightbox::block_id[ images_width, images_data [, group_name] ]
|
@@ -191,9 +175,9 @@ lightbox::block_id[ images_width, images_data [, group_name] ]
|
|
191
175
|
|
192
176
|
NOTE: For a `lightbox::` block, images are placed in the output document
|
193
177
|
without any other scaling than in width - they are placed using simple
|
194
|
-
HTML `img` tags. This is fine for images even in size. For images in
|
195
|
-
different sizes, a gallery should be used as
|
196
|
-
images
|
178
|
+
HTML `img` tags. This is fine for images that are even in size. For images in
|
179
|
+
different sizes, a gallery should be used as a J1 Gallery Apps to rearrange
|
180
|
+
images and make them fit at its best for the available space.
|
197
181
|
|
198
182
|
=== Standalone Images
|
199
183
|
|
@@ -202,19 +186,21 @@ defined as Asciidoc attributes. The image data is given as a string
|
|
202
186
|
of data pairs:
|
203
187
|
|
204
188
|
.Paired attributes
|
189
|
+
[source, prometheus, role="noclip"]
|
205
190
|
----
|
206
|
-
|
191
|
+
"path/to/image-1, image-caption-1, ..."
|
207
192
|
----
|
208
193
|
|
209
194
|
.Example of an data attribute for a lightbox block
|
195
|
+
[source, prometheus, role="noclip"]
|
210
196
|
----
|
211
197
|
:data-images: "pages/image-1.jpg, Description 1, "pages/image-2.jpg, Description 2"
|
212
198
|
----
|
213
199
|
|
214
|
-
The base path for all image
|
200
|
+
The base path for all image-related data is a side-wide (Asciidoc)
|
215
201
|
configuration (see `_config.yml`) and points per default to `/assets/images`.
|
216
202
|
The base path is automatically added to each image. If you want to use the
|
217
|
-
default asset path for images, a
|
203
|
+
default asset path for images, a relative path needs to be given for
|
218
204
|
`path/to/image`.
|
219
205
|
|
220
206
|
WARNING: If an absolute path is configured, like `/path/to/image`, the base
|
@@ -227,7 +213,7 @@ The parameter `group` for the `lightbox::` block is an option. If no
|
|
227
213
|
standalone.
|
228
214
|
|
229
215
|
.Lightbox block for standalone images
|
230
|
-
[source,
|
216
|
+
[source, prometheus, role="noclip"]
|
231
217
|
----
|
232
218
|
lightbox::images-standalone[ 400, {data-images-standalone} ]
|
233
219
|
----
|
@@ -243,7 +229,7 @@ of related images. To enable grouping, the option `group` needs to be
|
|
243
229
|
configured for the block.
|
244
230
|
|
245
231
|
.Lightbox block for grouped images
|
246
|
-
[source,
|
232
|
+
[source, prometheus, role="noclip"]
|
247
233
|
----
|
248
234
|
lightbox::images-group[ 400, {data-images-group}, group_name ]
|
249
235
|
----
|
@@ -262,13 +248,12 @@ All icon fonts are supported:
|
|
262
248
|
* Iconify
|
263
249
|
* Twitter Emoji
|
264
250
|
|
265
|
-
|
266
251
|
== Material Designs Icons
|
267
252
|
|
268
253
|
Material Designs Icons can be used as inline icons by using
|
269
254
|
the `mdi:` inline macro:
|
270
255
|
|
271
|
-
[source,
|
256
|
+
[source, prometheus, role="noclip"]
|
272
257
|
----
|
273
258
|
mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
274
259
|
----
|
@@ -278,6 +263,7 @@ mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
|
278
263
|
animation (fa-pulsed) or the orientation (fa-rotate-45)
|
279
264
|
|
280
265
|
.Click on _view result_ to see how it's looks alike
|
266
|
+
[source, prometheus, role="noclip"]
|
281
267
|
----
|
282
268
|
mdi:home[2x, mdi-pulsed ml-3 mr-2 mb-2] Symbol icon (pulsed) +
|
283
269
|
mdi:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
@@ -303,7 +289,7 @@ settings for the `modifier` are applied.
|
|
303
289
|
Font Awesome Icons can be used as inline icons by using
|
304
290
|
the `fas:` (solid icons) or `fab` (brand icons) inline macro:
|
305
291
|
|
306
|
-
[source,
|
292
|
+
[source, prometheus, role="noclip"]
|
307
293
|
----
|
308
294
|
fas:icon_name[icon_size, modifier] <1> <2> <3>
|
309
295
|
----
|
@@ -313,6 +299,7 @@ fas:icon_name[icon_size, modifier] <1> <2> <3>
|
|
313
299
|
animation (fa-pulsed) or the orientation (fa-rotate-45) of an icon
|
314
300
|
|
315
301
|
.Click on _view result_ to see how it's looks alike
|
302
|
+
[source, prometheus, role="noclip"]
|
316
303
|
----
|
317
304
|
fas:home[2x, fa-pulsed ml-2 mr-2 mb-2] Solid icon (pulsed) +
|
318
305
|
fab:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
@@ -327,7 +314,7 @@ fab:apple[2x, md-indigo ml-3 mr-2] Brand icon (colored)
|
|
327
314
|
====
|
328
315
|
|
329
316
|
NOTE: Parameters `icon_size` and `modifier` are optional. If not given,
|
330
|
-
the icons `size` is set to default
|
317
|
+
the icons `size` is set to default (`1x`), the color to `black` and no
|
331
318
|
settings for the `modifier` are applied.
|
332
319
|
|
333
320
|
|
@@ -336,7 +323,7 @@ settings for the `modifier` are applied.
|
|
336
323
|
Iconify Icons can be used as inline icons by using the `iconify:`
|
337
324
|
inline macro:
|
338
325
|
|
339
|
-
[source,
|
326
|
+
[source, prometheus, role="noclip"]
|
340
327
|
----
|
341
328
|
iconify:icon_name[icon_size, modifier] <1> <2> <3>
|
342
329
|
----
|
@@ -346,6 +333,7 @@ iconify:icon_name[icon_size, modifier] <1> <2> <3>
|
|
346
333
|
positioning classes for margings and padding
|
347
334
|
|
348
335
|
.Click on _view result_ to see how it's looks alike
|
336
|
+
[source, prometheus, role="noclip"]
|
349
337
|
----
|
350
338
|
iconify:logos:opensource[2x, ml-4 mr-2 mb-2] Brand icon OpenSource +
|
351
339
|
iconify:logos:netlify[2x, ml-4 mr-2 mb-2] Brand icon Netlify +
|
@@ -378,7 +366,7 @@ applied, the color settings will have no effect.
|
|
378
366
|
Twitter Emoji's can be used as inline icons by using the `emoji:`
|
379
367
|
inline macro:
|
380
368
|
|
381
|
-
[source,
|
369
|
+
[source, prometheus]
|
382
370
|
----
|
383
371
|
emoji:icon_name[icon_size] <1> <2>
|
384
372
|
----
|
@@ -386,6 +374,7 @@ emoji:icon_name[icon_size] <1> <2>
|
|
386
374
|
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
|
387
375
|
|
388
376
|
.Click on _view result_ to see how it's look alike
|
377
|
+
[source, prometheus, role="noclip"]
|
389
378
|
----
|
390
379
|
This is an example of how you can emoji:heart[2x, pulsed mt-1] Asciidoctor
|
391
380
|
and Twitter Emoji emoji:smile[].
|
@@ -403,26 +392,27 @@ link:{previewer-emoji}[Emoji Icon Previewer, {browser-window--new}].
|
|
403
392
|
|
404
393
|
== Blind Text (Lorem)
|
405
394
|
|
406
|
-
The Ruby
|
395
|
+
The Ruby Gem Middleman, a Ruby-gem based static site generator, provides a
|
407
396
|
set of powerful helpers for generating random text content. The Lorem
|
408
397
|
inline macro `lorem:` adapted this functionality from Middleman for the use
|
409
398
|
of Asciidoc-based documents processed by Jekyll.
|
410
399
|
|
411
400
|
If you start writing larger documents having several chapters, not all of the
|
412
401
|
content is available at the beginning. It is quite useful to place blind text
|
413
|
-
first to get
|
402
|
+
first to get a better impression how a page will look-alike that is not
|
414
403
|
finished yet.
|
415
404
|
|
416
405
|
Placeholders for blind text comes in several flavours given by `macro`. The
|
417
406
|
syntax for the `lorem:` inline macro is simple like this:
|
418
407
|
|
419
|
-
[source,
|
408
|
+
[source, prometheus]
|
420
409
|
----
|
421
410
|
lorem:macro[]
|
422
411
|
lorem:macro[size]
|
423
412
|
----
|
424
413
|
|
425
414
|
.Example of a lorem sentences macro
|
415
|
+
[source, prometheus, role="noclip"]
|
426
416
|
----
|
427
417
|
lorem:sentences[5]
|
428
418
|
----
|
@@ -438,7 +428,7 @@ All macro types available for `lorem:` to be used for blind text can be
|
|
438
428
|
found with the following table below.
|
439
429
|
|
440
430
|
//.Tabelle
|
441
|
-
[cols="5,2,5a", options="header", role="
|
431
|
+
[cols="5,2,5a", options="header", role="rtable mb-2"]
|
442
432
|
|===============================================================================
|
443
433
|
|Macro | Type |Example
|
444
434
|
|
@@ -512,7 +502,7 @@ generated by Jekyll. For sure!
|
|
512
502
|
|
513
503
|
The next preview is focussing advanced Bootstrap Modals. The modals feature
|
514
504
|
is currently in beta status, but it is a great option to customize your
|
515
|
-
user
|
505
|
+
user dialogues using them!
|
516
506
|
|
517
507
|
Have a look for the link:{roundtrip-extended-modals}[BS modal extensions]
|
518
508
|
feature of J1 Template.
|