j1_template 2019.4.8 → 2019.4.10
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/about_box.proc +46 -0
- data/_includes/themes/j1/{modules/footers/boxes/about_box.proc → blocks/footer/boxes/about_box.proc.org} +0 -0
- data/_includes/themes/j1/{modules/footers → blocks/footer}/boxes/contacts_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/issue.proc +38 -0
- data/_includes/themes/j1/{modules/footers → blocks/footer}/boxes/legal_statements.proc +1 -12
- data/_includes/themes/j1/{modules/footers → blocks/footer}/boxes/links_box.proc +11 -4
- data/_includes/themes/j1/{modules/footers → blocks/footer}/boxes/news_box.proc +8 -2
- data/_includes/themes/j1/{modules/footers → blocks/footer}/boxes/social_media_icons.proc +1 -1
- data/_includes/themes/j1/{modules/footers/footer_light_generator.html → blocks/footer/generator.html} +7 -7
- data/_includes/themes/j1/layouts/_unused/layout_module_generator.html.org +49 -0
- data/_includes/themes/j1/layouts/{layout_theme_generator.html → _unused/layout_theme_generator.html} +0 -0
- data/_includes/themes/j1/layouts/{layout_theme_generator.new.html → _unused/layout_theme_generator.new.html} +0 -0
- data/_includes/themes/j1/layouts/{layout_theme_generator.org.html → _unused/layout_theme_generator.org.html} +0 -0
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +20 -9
- data/_includes/themes/j1/layouts/content_generator_page.html +8 -13
- data/_includes/themes/j1/layouts/layout_module_generator.html +11 -13
- data/_includes/themes/j1/modules/{headers/master_header_generator.html → attics/generator.html} +35 -36
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -1
- data/_includes/themes/j1/procedures/global/{_get_page_path.proc.new → _unused/_get_page_path.proc.new} +0 -0
- data/_includes/themes/j1/procedures/global/{_get_page_path.proc.org → _unused/_get_page_path.proc.org} +0 -0
- data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +37 -0
- data/_includes/themes/j1/procedures/global/setup.proc +37 -45
- data/_includes/themes/j1/procedures/layouts/_unused/module_writer.proc.org +309 -0
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +2 -1
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +222 -153
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +6 -9
- data/_layouts/default.html +35 -30
- data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +14 -5
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.before_merge_added.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.new.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.no_cookie.mgmt.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.ok.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.org.2.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.org.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.update.web_cookie.rb +1 -1
- data/lib/j1_app/j1_auth_manager/_views/auth_manager_ui.erb +234 -0
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +9 -8
- data/lib/starter_web/Gemfile +22 -24
- data/lib/starter_web/_cc_test_data/_config.yml +1 -1
- data/lib/starter_web/_cc_test_data/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/blocks/defaults/banner.yml +1 -1
- data/lib/starter_web/_cc_test_data/_data/layouts/app.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/blog_archive.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/collection.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/home.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/page.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/post.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/layouts/raw.yml +2 -2
- data/lib/starter_web/_cc_test_data/_data/resources.yml +2 -2
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/_defaults/resources.yml +1 -1
- data/lib/starter_web/_data/_old_configs/j1_resources.org.yml +2 -2
- data/lib/starter_web/_data/_old_configs/j1_resources.yml +1 -1
- data/lib/starter_web/_data/blocks/_unused/banner.new.yml +297 -0
- data/lib/starter_web/_data/blocks/_unused/banner.org.yml +297 -0
- data/lib/starter_web/_data/blocks/_unused/panel.new.yml +348 -0
- data/lib/starter_web/_data/blocks/_unused/panel.org.yml +331 -0
- data/lib/starter_web/_data/blocks/banner.yml +27 -31
- data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +9 -7
- data/lib/starter_web/_data/blocks/panel.yml +62 -52
- data/lib/starter_web/_data/layouts/app.yml +2 -2
- data/lib/starter_web/_data/layouts/blog_archive.yml +2 -2
- data/lib/starter_web/_data/layouts/collection.yml +2 -2
- data/lib/starter_web/_data/layouts/default.yml +8 -8
- data/lib/starter_web/_data/layouts/home.yml +5 -5
- data/lib/starter_web/_data/layouts/page.yml +2 -2
- data/lib/starter_web/_data/layouts/post.yml +2 -2
- data/lib/starter_web/_data/layouts/raw.yml +2 -2
- data/lib/starter_web/_data/modules/_old_configs/defaults/banner.yml +1 -1
- data/lib/starter_web/_data/modules/_old_configs/j1_banner.yml +1 -1
- data/lib/starter_web/_data/modules/_old_configs/j1_header.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +220 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +220 -0
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +0 -16
- data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/{theme_switcher.yml → themer.yml} +27 -27
- data/lib/starter_web/_data/modules/defaults/toccer.yml +40 -40
- data/lib/starter_web/_data/modules/log4javascript.yml +0 -16
- data/lib/starter_web/_data/modules/navigator_menu.yml +48 -35
- data/lib/starter_web/_data/modules/{theme_switcher.yml → themer.yml} +27 -48
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/resources.yml +86 -60
- data/lib/starter_web/_data/template_settings.yml +1 -1
- data/lib/starter_web/_plugins/filters.rb +10 -0
- data/lib/starter_web/assets/_data/_temp/_banner.html +421 -0
- data/lib/starter_web/assets/_data/_temp/_panel.html +585 -0
- data/lib/starter_web/assets/{data → _data}/_temp/banner.case.snippet.html.asciidoc +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/banner.new.html.asciidoc +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/banner.with.defaults.html.asciidoc +0 -0
- data/lib/starter_web/assets/_data/_temp/footer.html.new +228 -0
- data/lib/starter_web/assets/_data/_temp/footer.html.org +234 -0
- data/lib/starter_web/assets/{data → _data}/_temp/footer.old.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/footer_new.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/footer_old.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/menu.old.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/panel.new.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/panel.old.html +0 -0
- data/lib/starter_web/assets/{data → _data}/_temp/panel.org.html +0 -0
- data/lib/starter_web/assets/_data/animate.json +120 -0
- data/lib/starter_web/assets/_data/ascii_code_table.json +1794 -0
- data/lib/starter_web/assets/_data/authclient.html +365 -0
- data/lib/starter_web/assets/_data/banner.html +431 -0
- data/lib/starter_web/assets/_data/carousel.json +110 -0
- data/lib/starter_web/assets/_data/colors.json +43 -0
- data/lib/starter_web/assets/_data/cookie_consent.html +225 -0
- data/lib/starter_web/assets/_data/countries.json +974 -0
- data/lib/starter_web/assets/_data/font_sizes.json +43 -0
- data/lib/starter_web/assets/_data/fontawesome_icons.json +5525 -0
- data/lib/starter_web/assets/_data/footer.html +239 -0
- data/lib/starter_web/assets/_data/galleries.json +160 -0
- data/lib/starter_web/assets/_data/mdi_icons.json +14641 -0
- data/lib/starter_web/assets/_data/menu.html +469 -0
- data/lib/starter_web/assets/_data/messages.yml +130 -0
- data/lib/starter_web/assets/_data/objects.json +458 -0
- data/lib/starter_web/assets/_data/panel.html +501 -0
- data/lib/starter_web/assets/_data/panel.new.html +498 -0
- data/lib/starter_web/assets/_data/quicklinks.html +178 -0
- data/lib/starter_web/assets/_data/search.yml +131 -0
- data/lib/starter_web/assets/_data/sidebar.html +261 -0
- data/lib/starter_web/assets/_data/themes.json +59 -0
- data/lib/starter_web/assets/_data/twa_v1.json +6978 -0
- data/lib/starter_web/assets/_data/twa_v2.json +12812 -0
- data/lib/starter_web/assets/_data/webhook.html +190 -0
- data/lib/starter_web/assets/data/_unused/_banner.html +421 -0
- data/lib/starter_web/assets/data/_unused/_panel.html +585 -0
- data/lib/starter_web/assets/data/_unused/banner.case.snippet.html.asciidoc +91 -0
- data/lib/starter_web/assets/data/_unused/banner.new.html.asciidoc +559 -0
- data/lib/starter_web/assets/data/_unused/banner.with.defaults.html.asciidoc +547 -0
- data/lib/starter_web/assets/data/_unused/footer.html.new +228 -0
- data/lib/starter_web/assets/data/_unused/footer.html.org +234 -0
- data/lib/starter_web/assets/data/_unused/footer.old.html +231 -0
- data/lib/starter_web/assets/data/_unused/footer_new.html +226 -0
- data/lib/starter_web/assets/data/_unused/footer_old.html +222 -0
- data/lib/starter_web/assets/data/_unused/menu.old.html +462 -0
- data/lib/starter_web/assets/data/_unused/panel.new.html +498 -0
- data/lib/starter_web/assets/data/_unused/panel.old.html +597 -0
- data/lib/starter_web/assets/data/_unused/panel.org.html +597 -0
- data/lib/starter_web/assets/data/authclient.html +6 -6
- data/lib/starter_web/assets/data/banner.html +92 -82
- data/lib/starter_web/assets/data/cookie_consent.html +11 -43
- data/lib/starter_web/assets/data/footer.html +16 -11
- data/lib/starter_web/assets/data/menu.html +19 -20
- data/lib/starter_web/assets/data/messages.yml +20 -19
- data/lib/starter_web/assets/data/panel.html +196 -280
- data/lib/starter_web/assets/data/webhook.html +4 -4
- data/lib/starter_web/assets/images/articles/img2.jpg +0 -0
- data/lib/starter_web/assets/images/articles/img3.jpg +0 -0
- data/lib/starter_web/assets/images/articles/img7.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/docker-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/jekyll.1200x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/library-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1..ico +0 -0
- data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +37 -47
- 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/{130_layout_inheritance.png → intro/130_layout_inheritance.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{content_inheritance.png → intro/content_inheritance.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{content_inheritance_thumb.png → intro/content_inheritance_thumb.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{html_layout.png → intro/html_layout.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{j1-quickstart-windows.png → 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/{j1_layout.png → intro/j1_layout.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{jekyll-minima-theme.png → intro/jekyll-minima-theme.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{lane_inheritance.png → intro/lane_inheritance.png} +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/{layout_inheritance.png → intro/layout_inheritance.png} +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_020.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/back2top.org.js +17 -19
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/cookie_consent.org.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/masterheader.org.js +20 -20
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/navigator.new.kapott.1.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/navigator.new.kapott.2.js +5 -5
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/navigator.plus.old.func.js +980 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/{octokit.app_only.js → _unused/octokit.app_only.js} +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/octokit.old.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/{switcher.js → _unused/switcher.js} +55 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/template.new-1.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/template.new.js +4 -4
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/template.old.js +5 -5
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/template.org.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/_unused/themer.css_load_check.js +360 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/algolia.js +29 -24
- data/lib/starter_web/assets/themes/j1/adapter/js/{master_header.js → attic.js} +242 -213
- data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +38 -36
- data/lib/starter_web/assets/themes/j1/adapter/js/bootstrap_gallery.js +33 -33
- data/lib/starter_web/assets/themes/j1/adapter/js/carousel.js +35 -30
- data/lib/starter_web/assets/themes/j1/adapter/js/cookie_bar.js +24 -19
- data/lib/starter_web/assets/themes/j1/adapter/js/cookie_consent.js +89 -72
- data/lib/starter_web/assets/themes/j1/adapter/js/custom.js +31 -26
- data/lib/starter_web/assets/themes/j1/adapter/js/example.js +28 -22
- data/lib/starter_web/assets/themes/j1/adapter/js/framer.js +23 -18
- data/lib/starter_web/assets/themes/j1/adapter/js/justified_gallery.js +22 -18
- data/lib/starter_web/assets/themes/j1/adapter/js/lightbox.js +23 -18
- data/lib/starter_web/assets/themes/j1/adapter/js/logger.js +21 -18
- data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +344 -446
- data/lib/starter_web/assets/themes/j1/adapter/js/octokit.js +99 -98
- data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +19 -15
- data/lib/starter_web/assets/themes/j1/adapter/js/searcher.js +27 -30
- data/lib/starter_web/assets/themes/j1/adapter/js/stickybits.js +21 -15
- data/lib/starter_web/assets/themes/j1/adapter/js/themer.js +350 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +59 -58
- data/lib/starter_web/assets/themes/j1/core/css/globals.css +14545 -0
- data/lib/starter_web/assets/themes/j1/core/css/globals.min.css +1 -0
- data/lib/starter_web/assets/themes/j1/core/css/globals.scss +28 -0
- data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.css +283 -315
- data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/lib/starter_web/assets/themes/j1/core/css/uno.css +283 -315
- data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
- data/lib/starter_web/assets/themes/j1/core/css/vendor.css +211 -181
- data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +2 -2
- data/lib/starter_web/assets/themes/j1/{adapter/js/template.js → core/js/_unused/j1.flicker_timeout.js} +261 -192
- data/lib/starter_web/assets/themes/j1/core/js/j1.js +1792 -0
- data/lib/starter_web/assets/themes/j1/core/js/template.js +7 -7
- data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/starter_web/collections/posts/private/series/_posts/2018-11-01-docker-using-shared-folders.adoc +7 -9
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-20-minneapolis.adoc +0 -1
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +0 -1
- data/lib/starter_web/collections/posts/protected/wikipedia/_posts/2016-11-26-columbia-river.adoc +0 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +123 -26
- data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/unsplash-badge.asciidoc +31 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/{2018-06-01-top-open-source-static-site-generators.adoc → 2019-05-01-top-open-source-static-site-generators.adoc} +24 -13
- data/lib/starter_web/collections/posts/public/featured/_posts/{2019-04-22-about-cookies.adoc → 2019-06-01-about-cookies.adoc} +28 -9
- data/lib/starter_web/collections/posts/public/jekyll/_posts/2018-05-01-confusion-about-base-url.adoc +6 -2
- data/lib/starter_web/index.html +20 -26
- data/lib/starter_web/package.json +6 -5
- data/lib/starter_web/pages/private/bookshelf/100_whats_up.adoc +12 -7
- data/lib/starter_web/pages/private/bookshelf/200_book_shelf_biography.adoc +3 -3
- data/lib/starter_web/pages/private/bookshelf/300_book_shelf_fantasy.adoc +3 -3
- data/lib/starter_web/pages/private/bookshelf/400_book_shelf_romance.adoc +3 -3
- data/lib/starter_web/pages/private/docs/gh_webhooks/manage_webhook_from_gh.adoc +1 -1
- data/lib/starter_web/pages/private/docs/platform/platform.adoc +2 -2
- data/lib/starter_web/pages/private/pen/jquery/deferred_try_catch.adoc +1 -1
- data/lib/starter_web/pages/protected/previewer/justified_gallery.html +5 -6
- data/lib/starter_web/pages/protected/previewer/mdi_icons_preview.adoc +3 -8
- data/lib/starter_web/pages/protected/previewer/twitter_emoji_preview.adoc +7 -8
- data/lib/starter_web/pages/public/about/{quick_search.adoc → _unused/site_search.adoc} +4 -4
- data/lib/starter_web/pages/public/about/about_site.adoc +5 -4
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +10 -9
- data/lib/starter_web/pages/public/blog/navigator/archive.html +7 -8
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +6 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +8 -8
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +7 -8
- data/lib/starter_web/pages/public/blog/navigator/index.html +7 -8
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/service_panel/01_core.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +36 -26
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/000_includes/attributes.asciidoc +95 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/000_includes/documents/100_gistblock.asciidoc +27 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/000_includes/documents/410_extended_modals_html.asciidoc +928 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/000_includes/documents/420_responsive_tables.asciidoc +203 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/000_whats_up.adoc +63 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/100_present_images.adoc +305 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/100_present_videos.adoc +159 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/200_typography.adoc +517 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/300_icon_fonts.adoc +328 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/400_asciidoc_extensions.adoc +577 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/410_bs_modals_extentions.adoc +465 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/420_responsive_tables_extensions.adoc +268 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/500_themes.adoc +81 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/800_whats_next.adoc +73 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/_unused/600_cards.adoc +770 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/_unused/710_search_engine.adoc +195 -0
- data/lib/starter_web/pages/public/start/_unused/_roundtrip/_unused/720_google_custom_search.adoc +41 -0
- data/lib/starter_web/pages/public/start/_unused/bmd_examples/100_bmd_landing_page.asciidoc +2 -2
- data/lib/starter_web/pages/public/start/_unused/change_me_first.adoc +139 -0
- data/lib/starter_web/pages/public/start/downloads/quickstarter/100_linux_starter.adoc +2 -2
- data/lib/starter_web/pages/public/start/downloads/quickstarter/200_macos_starter.adoc +1 -1
- data/lib/starter_web/pages/public/start/downloads/quickstarter/300_windows_starter.adoc +1 -1
- data/lib/starter_web/pages/public/start/downloads/quickstarter/quickstart.adoc +3 -3
- data/lib/starter_web/pages/public/start/kickstarter/web_in_a_day/000_includes/attributes.asciidoc +8 -8
- data/lib/starter_web/pages/public/start/kickstarter/web_in_a_day/100_introduction.adoc +22 -14
- data/lib/starter_web/pages/public/start/kickstarter/web_in_a_day/110_preparations.adoc +3 -3
- data/lib/starter_web/pages/public/start/kickstarter/web_in_a_day/120_getting_started.adoc +3 -3
- data/lib/starter_web/pages/public/start/roundtrip/000_includes/attributes.asciidoc +2 -0
- data/lib/starter_web/pages/public/start/roundtrip/000_includes/documents/410_extended_modals_html.asciidoc +928 -0
- data/lib/starter_web/pages/public/start/roundtrip/000_whats_up.adoc +63 -0
- data/lib/starter_web/pages/public/start/roundtrip/100_present_images.adoc +15 -103
- data/lib/starter_web/pages/public/start/roundtrip/100_present_videos.adoc +159 -0
- data/lib/starter_web/pages/public/start/roundtrip/200_typography.adoc +16 -15
- data/lib/starter_web/pages/public/start/roundtrip/300_icon_fonts.adoc +9 -8
- data/lib/starter_web/pages/public/start/roundtrip/400_asciidoc_extensions.adoc +13 -8
- data/lib/starter_web/pages/public/start/roundtrip/410_bs_modals_extentions.adoc +12 -936
- data/lib/starter_web/pages/public/start/roundtrip/420_responsive_tables_extensions.adoc +25 -29
- data/lib/starter_web/pages/public/start/roundtrip/500_themes.adoc +17 -14
- data/lib/starter_web/pages/public/start/roundtrip/800_whats_next.adoc +73 -0
- data/lib/starter_web/pages/public/start/roundtrip/_unused/600_cards.adoc +5 -5
- data/lib/starter_web/pages/public/start/roundtrip/_unused/710_search_engine.adoc +1 -1
- data/lib/starter_web/pages/public/start/roundtrip/_unused/720_google_custom_search.adoc +2 -2
- data/lib/starter_web/pages/public/start/whats_next.adoc +76 -0
- data/lib/starter_web/pages/public/start/whats_up.adoc +13 -11
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +274 -120
- data/_includes/themes/j1/modules/navigator/generator.olde.html +0 -192
- data/lib/starter_web/_data/modules/defaults/header.yml +0 -221
- data/lib/starter_web/_data/modules/header.yml +0 -221
- data/lib/starter_web/assets/images/animated/1_ZrgWTM-NmdhJFac8T7-4Rg.gif +0 -0
- data/lib/starter_web/assets/images/animated/2049.gif +0 -0
- data/lib/starter_web/assets/images/carousel/katarina/katarina-1.jpg +0 -0
- data/lib/starter_web/assets/images/carousel/katarina/katarina-2.jpg +0 -0
- data/lib/starter_web/assets/images/carousel/katarina/katarina-3.jpg +0 -0
- data/lib/starter_web/assets/images/carousel/katarina/katarina-4.jpg +0 -0
- data/lib/starter_web/assets/images/carousel/katarina/katarina-5.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/j1.ico +0 -0
- data/lib/starter_web/assets/images/icons/j1/scalable/j1v2.svg +0 -2034
- data/lib/starter_web/assets/images/master_header/aaron-burden-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/admin-bootstrap.jpg +0 -0
- data/lib/starter_web/assets/images/master_header/admin-dashboard-bootstrap-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/chuttersnap-1280x800.png +0 -0
- data/lib/starter_web/assets/images/master_header/clark-tibbs-do-something-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/clark-tibbs-do-something-1920x900.png +0 -0
- data/lib/starter_web/assets/images/master_header/docker_banner_l-1280x500.png +0 -0
- data/lib/starter_web/assets/images/master_header/docker_banner_r-1280x500.png +0 -0
- data/lib/starter_web/assets/images/master_header/homehead-default-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/homehead-default-1920x800.png +0 -0
- data/lib/starter_web/assets/images/master_header/ideas-start-here-1280x900.png +0 -0
- data/lib/starter_web/assets/images/master_header/ideas-start-here-1920x1200.png +0 -0
- data/lib/starter_web/assets/images/master_header/maarten-van-den-heuvel-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/pagehead-default-1280x500.png +0 -0
- data/lib/starter_web/assets/images/master_header/pagehead-default-1920x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/stefan-stefancik-1280x800.png +0 -0
- data/lib/starter_web/assets/images/master_header/tables-1920.jpg +0 -0
- data/lib/starter_web/assets/images/master_header/water-journal-1280x600.png +0 -0
- data/lib/starter_web/assets/images/master_header/whats-up-1920x1200.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/j1-template-theme.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-modals.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/meeting.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/oleg-magni-1920x1280.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/package.json +0 -125
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/readme_1280x600.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/readme_1920x1000.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/theme-1920.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920.jpg +0 -0
- data/lib/starter_web/assets/images/public/aaron-burden-1280x600.png +0 -0
- data/lib/starter_web/assets/images/public/admin-bootstrap.jpg +0 -0
- data/lib/starter_web/assets/images/public/admin-dashboard-bootstrap-1280x600.png +0 -0
- data/lib/starter_web/assets/images/public/cat-5.jpg +0 -0
- data/lib/starter_web/assets/images/public/cat-6.jpg +0 -0
- data/lib/starter_web/assets/images/public/cat-7.jpg +0 -0
- data/lib/starter_web/assets/images/public/cat-8.jpg +0 -0
- data/lib/starter_web/assets/images/public/chuttersnap-1280x800.png +0 -0
- data/lib/starter_web/assets/images/public/clark-tibbs-do-something-1280x600.png +0 -0
- data/lib/starter_web/assets/images/public/clark-tibbs-do-something-1920x900.png +0 -0
- data/lib/starter_web/assets/images/public/docker_banner_l-1280x500.png +0 -0
- data/lib/starter_web/assets/images/public/docker_banner_r-1280x500.png +0 -0
- data/lib/starter_web/assets/images/public/homehead-default-1280x600.png +0 -0
- data/lib/starter_web/assets/images/public/homehead-default-1920x800.png +0 -0
- data/lib/starter_web/assets/images/public/ideas-start-here-1280x900.png +0 -0
- data/lib/starter_web/assets/images/public/ideas-start-here-1920x1200.png +0 -0
- data/lib/starter_web/assets/images/public/image_01.jpg +0 -0
- data/lib/starter_web/assets/images/public/image_02.jpg +0 -0
- data/lib/starter_web/assets/images/public/image_03.jpg +0 -0
- data/lib/starter_web/assets/images/public/image_04.jpg +0 -0
- data/lib/starter_web/assets/images/public/katarina-1.jpg +0 -0
- data/lib/starter_web/assets/images/public/katarina-2.jpg +0 -0
- data/lib/starter_web/assets/images/public/katarina-3.jpg +0 -0
- data/lib/starter_web/assets/images/public/katarina-4.jpg +0 -0
- data/lib/starter_web/assets/images/public/katarina-5.jpg +0 -0
- data/lib/starter_web/assets/images/public/maarten-van-den-heuvel-1280x600.png +0 -0
- data/lib/starter_web/assets/images/public/pagehead-default-1280x500.png +0 -0
- data/lib/starter_web/assets/images/public/pagehead-default-1920x600.png +0 -0
- data/lib/starter_web/assets/images/public/stefan-stefancik-1280x800.png +0 -0
- data/lib/starter_web/assets/images/public/tables-1920.jpg +0 -0
- data/lib/starter_web/assets/images/public/water-journal-1280x600.png +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-07-01-what-is-a-static-site.adoc +0 -140
- data/lib/starter_web/pages/public/start/change_me_first.adoc +0 -67
- data/screenshot.png +0 -0
@@ -0,0 +1,328 @@
|
|
1
|
+
---
|
2
|
+
title: Roundtrip
|
3
|
+
tagline: icon fonts
|
4
|
+
description: J1 Template Roundtrip - Icon Fonts
|
5
|
+
|
6
|
+
tags: [ Template, Roundtrip, Material, Design, MDI, Font Awesome, Icon, Fonts ]
|
7
|
+
index: []
|
8
|
+
categories: [ pages ]
|
9
|
+
|
10
|
+
permalink: /pages/public/start/roundtrip/mdi_icon_font/
|
11
|
+
regenerate: false
|
12
|
+
|
13
|
+
resources: []
|
14
|
+
resource_options:
|
15
|
+
- attic:
|
16
|
+
opacity: 0.5
|
17
|
+
slides:
|
18
|
+
- url: /assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg
|
19
|
+
alt: Photo by Harpal Singh on Unsplash
|
20
|
+
badge:
|
21
|
+
type: unsplash
|
22
|
+
author: Harpal Singh
|
23
|
+
href: https://unsplash.com/@aquatium
|
24
|
+
---
|
25
|
+
|
26
|
+
// Enable the Liquid Preprocessor
|
27
|
+
// -----------------------------------------------------------------------------
|
28
|
+
:page-liquid:
|
29
|
+
|
30
|
+
// Set other global page attributes here
|
31
|
+
// -----------------------------------------------------------------------------
|
32
|
+
|
33
|
+
|
34
|
+
{% comment %} Liquid procedures
|
35
|
+
--------------------------------------------------------------- {% endcomment %}
|
36
|
+
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
37
|
+
|
38
|
+
|
39
|
+
// NOTE: Initialize entry document paths
|
40
|
+
// -----------------------------------------------------------------------------
|
41
|
+
{% include {{set_env_entry_document}} init_folders=all %}
|
42
|
+
|
43
|
+
// Load tags and urls
|
44
|
+
//
|
45
|
+
include::{includedir}/attributes.asciidoc[tag=tags]
|
46
|
+
include::{includedir}/attributes.asciidoc[tag=urls]
|
47
|
+
include::{includedir}/attributes.asciidoc[tag=data]
|
48
|
+
|
49
|
+
// Additional Asciidoc page attributes goes here
|
50
|
+
// -----------------------------------------------------------------------------
|
51
|
+
|
52
|
+
== Icon Fonts
|
53
|
+
|
54
|
+
J1 template supports 2 very popular icons font sets out-of-the-box:
|
55
|
+
|
56
|
+
* Material Design Icons
|
57
|
+
* Font Awesome Icons V5
|
58
|
+
|
59
|
+
Both icon sets are very good in design and have a rich set of different Icons
|
60
|
+
for many categories used for the Web. See below some details for _MDI_ and
|
61
|
+
_Font Awesome_.
|
62
|
+
|
63
|
+
=== Material Design Icons
|
64
|
+
|
65
|
+
The primary icon set for J1 Template are _Material Design Icons_, because it
|
66
|
+
is an rich set providing more than 2100+ icons. From a design prospective,
|
67
|
+
_MDI_ has an excellent Material Design support an comes with the original icon
|
68
|
+
set created by _Google_ build-in.
|
69
|
+
|
70
|
+
_Material Design Icons_ (MDI) is a very helpful design resource for Web Design
|
71
|
+
that is based on *_Google_'s Material Design*. _MDI_ is a community-driven
|
72
|
+
project to create an increased icon-set based on _Google_'s official repository
|
73
|
+
and MD style specification.
|
74
|
+
|
75
|
+
.Material Design Icons
|
76
|
+
[cols="2a,3a,4a,3a", options="header", width="100%", role="rtable_v table-responsive mt-3"]
|
77
|
+
|===============================================================================
|
78
|
+
|Size |Modifier |Markup |Render
|
79
|
+
|
80
|
+
|1x
|
81
|
+
|no modifier set
|
82
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
83
|
+
[source, adoc, role="noclip"]
|
84
|
+
----
|
85
|
+
mdi:account[1x]
|
86
|
+
----
|
87
|
+
^|mdi:account[1x]
|
88
|
+
|
89
|
+
|3x
|
90
|
+
|no modifier set
|
91
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
92
|
+
[source, adoc, role="noclip"]
|
93
|
+
----
|
94
|
+
mdi:account[3x]
|
95
|
+
----
|
96
|
+
^|mdi:account[3x]
|
97
|
+
|
98
|
+
|5x
|
99
|
+
|no modifier set
|
100
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
101
|
+
[source, adoc, role="noclip"]
|
102
|
+
----
|
103
|
+
mdi:account[5x]
|
104
|
+
----
|
105
|
+
^|mdi:account[5x]
|
106
|
+
|
107
|
+
|5x
|
108
|
+
|`mdi-rotate-45`
|
109
|
+
|Rotate 45 degrees
|
110
|
+
[source, adoc, role="noclip"]
|
111
|
+
----
|
112
|
+
mdi:account[5x mdi-rotate-45]
|
113
|
+
----
|
114
|
+
^|mdi:account[5x mdi-rotate-45]
|
115
|
+
|
116
|
+
|5x
|
117
|
+
|`mdi-rotate-315`
|
118
|
+
|Rotate 315 degrees
|
119
|
+
[source, adoc, role="noclip"]
|
120
|
+
----
|
121
|
+
mdi:account[5x mdi-rotate-315]
|
122
|
+
----
|
123
|
+
^|mdi:account[5x mdi-rotate-315]
|
124
|
+
|
125
|
+
|5x
|
126
|
+
|`mdi-light` +
|
127
|
+
`mdi-flip-v`
|
128
|
+
|Color set to MDI Light (Grey) and flipped vertical
|
129
|
+
[source, adoc, role="noclip"]
|
130
|
+
----
|
131
|
+
mdi:alert[5x mdi-light mdi-flip-v]
|
132
|
+
----
|
133
|
+
^|mdi:alert[5x mdi-light mdi-flip-v]
|
134
|
+
|
135
|
+
|5x
|
136
|
+
|`md-indigo`
|
137
|
+
|Color set to MDI Indigo
|
138
|
+
[source, adoc, role="noclip"]
|
139
|
+
----
|
140
|
+
mdi:alert[5x md-indigo]
|
141
|
+
----
|
142
|
+
^|mdi:account[5x md-indigo]
|
143
|
+
|
144
|
+
|5x
|
145
|
+
|`md-pink`
|
146
|
+
|Color set to MDI Pink
|
147
|
+
[source, adoc, role="noclip"]
|
148
|
+
----
|
149
|
+
mdi:alert[5x md-pink]
|
150
|
+
----
|
151
|
+
^|mdi:account[5x md-pink]
|
152
|
+
|
153
|
+
|5x
|
154
|
+
|`mdi-spin`
|
155
|
+
|Added animation of type Rotate (Spin)
|
156
|
+
[source, adoc, role="noclip"]
|
157
|
+
----
|
158
|
+
mdi:loading[5x mdi-spin]
|
159
|
+
----
|
160
|
+
^|mdi:loading[5x mdi-spin]
|
161
|
+
|
162
|
+
|5x
|
163
|
+
|`md-red-900` +
|
164
|
+
`mdi-pulsed`
|
165
|
+
|Color set to MDI Dark Red and added animation of type Pulsed
|
166
|
+
[source, adoc, role="noclip"]
|
167
|
+
----
|
168
|
+
mdi:heart[5x md-red-900 mdi-pulsed]
|
169
|
+
----
|
170
|
+
^|mdi:heart[5x md-red-900 mdi-pulsed]
|
171
|
+
|
172
|
+
|===============================================================================
|
173
|
+
|
174
|
+
_MDI_ is a growing collection to allow designers and developers targeting
|
175
|
+
various platforms to download icons in the format, color and size they need
|
176
|
+
for any project. The repo contains today 2100+ icons plus converted icons from
|
177
|
+
the official set created by _Google_.
|
178
|
+
|
179
|
+
_J1 Template_ supports the full set of _MDI_ for the Web (Webfont, WOFF). The
|
180
|
+
icon set is fully integrated and can be used out-of-the-box.
|
181
|
+
|
182
|
+
For MDI a *Preview Page* is available to explore what can be done base on the
|
183
|
+
J1 implemetation regarding sizes, colors, animations etc. Go for the
|
184
|
+
link:{previewer-mdi}[Preview Page, window="_blank"] and check-out what's
|
185
|
+
possible using MDI font icons!
|
186
|
+
|
187
|
+
|
188
|
+
=== Font Awesome Icons
|
189
|
+
|
190
|
+
Font Awesome is a font and icon toolkit based on CSS and LESS. It was made by
|
191
|
+
Dave Gandy. For version 4 mainly for use with Twitter Bootstrap V3. The new
|
192
|
+
version, Font Awesome V5 was officially released on December 7, 2017 today
|
193
|
+
with 2300+ icons included. Version 5 comes in two packages: Font Awesome *Free*
|
194
|
+
and the *proprietary* Font Awesome *Pro* (available for a license fee).
|
195
|
+
|
196
|
+
The free versions (all releases up to 4 and the free version for 5) are
|
197
|
+
available under SIL Open Font License 1.1, Creative Commons Attribution 4.0,
|
198
|
+
and MIT License.
|
199
|
+
|
200
|
+
.Font Awesome Icons
|
201
|
+
[cols="2a,3a,4a,3a", options="header", width="100%", role="rtable_v table-responsive mt-3"]
|
202
|
+
|===============================================================================
|
203
|
+
|Size |Modifier |Markup |Render
|
204
|
+
|
205
|
+
|1x
|
206
|
+
|no modifier set
|
207
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
208
|
+
[source, adoc, role="noclip"]
|
209
|
+
----
|
210
|
+
fas:user[1x]
|
211
|
+
----
|
212
|
+
^|fas:user[1x mt-4]
|
213
|
+
|
214
|
+
|3x
|
215
|
+
|no modifier set
|
216
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
217
|
+
[source, adoc, role="noclip"]
|
218
|
+
----
|
219
|
+
fas:user[3x]
|
220
|
+
----
|
221
|
+
^|fas:user[3x mt-4]
|
222
|
+
|
223
|
+
|5x
|
224
|
+
|no modifier set
|
225
|
+
|All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
226
|
+
[source, adoc, role="noclip"]
|
227
|
+
----
|
228
|
+
fas:user[5x]
|
229
|
+
----
|
230
|
+
^|fas:user[5x mt-4]
|
231
|
+
|
232
|
+
|5x
|
233
|
+
|`fa-rotate-45`
|
234
|
+
|Rotate 45 degrees
|
235
|
+
[source, adoc, role="noclip"]
|
236
|
+
----
|
237
|
+
fas:user[5x fa-rotate-45]
|
238
|
+
----
|
239
|
+
^|fas:user[5x fa-rotate-45 mt-4]
|
240
|
+
|
241
|
+
|5x
|
242
|
+
|`fa-rotate-315`
|
243
|
+
|Rotate 315 degrees
|
244
|
+
[source, adoc, role="noclip"]
|
245
|
+
----
|
246
|
+
fas:user[5x fa-rotate-315]
|
247
|
+
----
|
248
|
+
^|fas:user[5x fa-rotate-315 mt-4]
|
249
|
+
|
250
|
+
|5x
|
251
|
+
|`mdi-light` +
|
252
|
+
`fa-flip-v`
|
253
|
+
|Color set to MDI Light (Grey) and flipped vertical
|
254
|
+
[source, adoc, role="noclip"]
|
255
|
+
----
|
256
|
+
fas:exclamation-triangle[5x mdi-light fa-flip-v]
|
257
|
+
----
|
258
|
+
^|fas:exclamation-triangle[5x mdi-light fa-flip-v mt-4]
|
259
|
+
|
260
|
+
|5x
|
261
|
+
|`md-indigo`
|
262
|
+
|Color set to MDI Indigo
|
263
|
+
[source, adoc, role="noclip"]
|
264
|
+
----
|
265
|
+
fas:alert[5x md-indigo]
|
266
|
+
----
|
267
|
+
^|fas:user[5x md-indigo mt-4]
|
268
|
+
|
269
|
+
|5x
|
270
|
+
|`md-pink`
|
271
|
+
|Color set to MDI Pink
|
272
|
+
[source, adoc, role="noclip"]
|
273
|
+
----
|
274
|
+
fas:alert[5x md-pink]
|
275
|
+
----
|
276
|
+
^|fas:user[5x md-pink mt-4]
|
277
|
+
|
278
|
+
|5x
|
279
|
+
|`fa-spin`
|
280
|
+
|Added animation of type Rotate (Spin)
|
281
|
+
[source, adoc, role="noclip"]
|
282
|
+
----
|
283
|
+
fas:circle-notch[5x fa-spin]
|
284
|
+
----
|
285
|
+
^|fas:circle-notch[5x fa-spin mt-4]
|
286
|
+
|
287
|
+
|5x
|
288
|
+
|`md-red-900` +
|
289
|
+
`fa-pulsed`
|
290
|
+
|Color set to MDI Dark Red and added animation of type Pulsed
|
291
|
+
[source, adoc, role="noclip"]
|
292
|
+
----
|
293
|
+
fas:heart[5x md-red-900 fa-pulsed]
|
294
|
+
----
|
295
|
+
^|fas:heart[5x md-red-900 fa-pulsed mt-4]
|
296
|
+
|
297
|
+
|===============================================================================
|
298
|
+
|
299
|
+
Font Awesome V5 meets the Material Design idea (of _Google_) and in compare to
|
300
|
+
Version 4, the current version is much more than a face-lifting. The Version 5
|
301
|
+
comes with more than 2300+ icons but many of them are available with the *Pro*
|
302
|
+
license only. For the *Free* version, a subset of 900+ icons is available.
|
303
|
+
|
304
|
+
NOTE: The CSS styles for Font Awesome V5 has been extended for J1 Template to
|
305
|
+
the *same* styles (and their respective *names*) as for other Font Icon sets.
|
306
|
+
Already existing styles like `fa-flip-vertical` is available as `fa-flip-v`
|
307
|
+
as well. See all styles that can be used with the MDI
|
308
|
+
link:{previewer-mdi}[Preview Page, window="_blank"].
|
309
|
+
|
310
|
+
You can checkout what icons available at link:{fontawesome-icons}[Font Awesome Icons,
|
311
|
+
window="_blank"]. _Font Awesome_ V5 is fully integrated - no need for additional
|
312
|
+
resources to load. But in compare to Version 4 a lot of differences needs to be
|
313
|
+
noticed.
|
314
|
+
|
315
|
+
If you haven't used V5 yet, it is highly recommended to visit the
|
316
|
+
link:{fontawesome-get-started}[Get started, window="_blank"] pages to learn
|
317
|
+
the basics and features and styles.
|
318
|
+
|
319
|
+
|
320
|
+
== What's next
|
321
|
+
|
322
|
+
Hopefully you've enjoyed the possibilities J1 offers for managing and
|
323
|
+
manipulating *Font Icons*. Do you think these Icons sets fit your needs?
|
324
|
+
|
325
|
+
We hope so.
|
326
|
+
|
327
|
+
To check more features, go for the link:{roundtrip-asciidoc-extensions}[
|
328
|
+
Asciidoc extensions] made for J1!
|
@@ -0,0 +1,577 @@
|
|
1
|
+
---
|
2
|
+
title: Roundtrip
|
3
|
+
tagline: asciidoc extensions
|
4
|
+
description: Asciidoc Extensions (asciidoctor)
|
5
|
+
|
6
|
+
tags: [ Template, Roundtrip, Asciidoc, Asciidoctor, Extensions ]
|
7
|
+
index: []
|
8
|
+
categories: [ pages ]
|
9
|
+
|
10
|
+
permalink: /pages/public/start/roundtrip/asciidoc_extensions/
|
11
|
+
regenerate: false
|
12
|
+
|
13
|
+
resources: [ lightbox ]
|
14
|
+
resource_options:
|
15
|
+
- attic:
|
16
|
+
opacity: 0.5
|
17
|
+
slides:
|
18
|
+
- url: /assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg
|
19
|
+
alt: puzzle-1920x1280-bw
|
20
|
+
# badge:
|
21
|
+
# type: unsplash
|
22
|
+
# author: Harpal Singh
|
23
|
+
# href: https://unsplash.com/@aquatium
|
24
|
+
---
|
25
|
+
|
26
|
+
// Enable the Liquid Preprocessor
|
27
|
+
// -----------------------------------------------------------------------------
|
28
|
+
:page-liquid:
|
29
|
+
|
30
|
+
// Set other global page attributes here
|
31
|
+
// -----------------------------------------------------------------------------
|
32
|
+
|
33
|
+
|
34
|
+
// Load Liquid procedures
|
35
|
+
// -----------------------------------------------------------------------------
|
36
|
+
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
37
|
+
|
38
|
+
// Initialize entry document environmental attributes
|
39
|
+
// -----------------------------------------------------------------------------
|
40
|
+
{% include {{set_env_entry_document}} init_folders=all %}
|
41
|
+
|
42
|
+
// Load tag, url and data attributes
|
43
|
+
// -----------------------------------------------------------------------------
|
44
|
+
include::{includedir}/attributes.asciidoc[tag=tags]
|
45
|
+
include::{includedir}/attributes.asciidoc[tag=urls]
|
46
|
+
include::{includedir}/attributes.asciidoc[tag=data]
|
47
|
+
|
48
|
+
// Set local page attributes
|
49
|
+
// -----------------------------------------------------------------------------
|
50
|
+
|
51
|
+
|
52
|
+
// MAIN
|
53
|
+
// =============================================================================
|
54
|
+
|
55
|
+
|
56
|
+
J1 Template implements some incubating Ruby-based extensions for Asciidoctor.
|
57
|
+
Most extensions are based on the examples given with the
|
58
|
+
{asciidoctor-extensions-lab}[Asciidoctor Extensions Lab, window="_blank"].
|
59
|
+
If you simply want to use the extensions from this repository, go ahead to
|
60
|
+
{asciidoctor-extensions-use-extension}[Using an extension, window="_blank"].
|
61
|
+
|
62
|
+
To create extensions on your own, it is highly recommended to read first the
|
63
|
+
{asciidoctor-user-manual-extensions}[extensions section, window="_blank"] in
|
64
|
+
the *Asciidoctor* user manual.
|
65
|
+
|
66
|
+
All *already implemented* Asciidoctor Extensions can be found below. A set of
|
67
|
+
additional useful extensions to the Markup language *Asciidoc* are made
|
68
|
+
especially for documents of the Jekyll content type *pages* (but can be used
|
69
|
+
for post or collections as well).
|
70
|
+
|
71
|
+
== Asciidoc Extensions
|
72
|
+
|
73
|
+
lorem:sentences[3]
|
74
|
+
|
75
|
+
lorem:sentences[2]
|
76
|
+
|
77
|
+
=== Asciidoc Code
|
78
|
+
|
79
|
+
J1 Template adds a simple *Javascript* based on the `View Result Extension` to
|
80
|
+
any `listingblock`. The extension adds an interactive *toggle button* `VIEW`
|
81
|
+
to the output of an Asciidoc *listingblock box* placed to the top right of
|
82
|
+
the example box. If a result block `[.result]` is placed under a `listingblock`,
|
83
|
+
clicking the toggle button `VIEW` displays (or hide) the content given by the
|
84
|
+
`result block`.
|
85
|
+
|
86
|
+
The `View Result Extension` is quite useful for example sections discussing
|
87
|
+
Asciidoc code and how the resulting (HTML) code would look alike.
|
88
|
+
|
89
|
+
[source, adoc]
|
90
|
+
----
|
91
|
+
.This will have a button `VIEW` placed to the right top of the example box
|
92
|
+
----
|
93
|
+
* displayed always
|
94
|
+
* displayed always 2
|
95
|
+
----
|
96
|
+
|
97
|
+
[.result]
|
98
|
+
====
|
99
|
+
* displayed till clicked
|
100
|
+
* displayed till clicked 2
|
101
|
+
====
|
102
|
+
----
|
103
|
+
|
104
|
+
.This example will have a button `VIEW` placed to the top right of the example box
|
105
|
+
----
|
106
|
+
* displayed always
|
107
|
+
----
|
108
|
+
|
109
|
+
[.result]
|
110
|
+
====
|
111
|
+
* displayed till clicked, but closed automatically after *5 seconds*
|
112
|
+
====
|
113
|
+
|
114
|
+
NOTE: The result block closes automatically after the result was shown
|
115
|
+
for *5 seconds*. If the button `VIEW` is clicked, the result box toggles
|
116
|
+
between open and close (the result gets hidden). That way, you can *open and
|
117
|
+
close* the result box *at any time*.
|
118
|
+
|
119
|
+
=== Asciidoc Admonitions
|
120
|
+
|
121
|
+
All colors for all *default* admonition blocks set to the standard MD color
|
122
|
+
set. Find available block types an their colors below.
|
123
|
+
|
124
|
+
.NOTE block
|
125
|
+
NOTE: Icon background-color: indigo
|
126
|
+
|
127
|
+
.TIP block
|
128
|
+
TIP: Icon background-color: green
|
129
|
+
|
130
|
+
.IMPORTANT block
|
131
|
+
IMPORTANT: Icon background-color: orange
|
132
|
+
|
133
|
+
.WARNING block
|
134
|
+
WARNING: Icon background-color: yellow
|
135
|
+
|
136
|
+
.CAUTION block
|
137
|
+
CAUTION: Icon background-color: red
|
138
|
+
|
139
|
+
lorem:sentences[3]
|
140
|
+
|
141
|
+
=== Q&A Blocks
|
142
|
+
|
143
|
+
*Q&A sections* are used quite often to answer popular questions. To make
|
144
|
+
such a Q&A section more eye-minded, the additional Admonition Blocks
|
145
|
+
`[QUESTION]` and `[ANSWER]` are available for J1 Template as Asciidoctor
|
146
|
+
extentions.
|
147
|
+
|
148
|
+
==== Question block
|
149
|
+
|
150
|
+
The admonition *Question block* is an extention to the Asciidoc admonition
|
151
|
+
block types that introduce an admonition of type *question*.
|
152
|
+
|
153
|
+
.Example of a question block
|
154
|
+
[source, adoc, role="noclip"]
|
155
|
+
----
|
156
|
+
[QUESTION]
|
157
|
+
What's the main tool for selecting colors?
|
158
|
+
----
|
159
|
+
|
160
|
+
[.result]
|
161
|
+
====
|
162
|
+
.QUESTION
|
163
|
+
[QUESTION]
|
164
|
+
What's the main tool for selecting colors used for J1 Template?
|
165
|
+
====
|
166
|
+
|
167
|
+
lorem:sentences[3]
|
168
|
+
|
169
|
+
==== Answer block
|
170
|
+
|
171
|
+
The Admonition *Answer block* is an extention to the Asciidoc admonition
|
172
|
+
block types that introduce an admonition type of *answer* in conjunction
|
173
|
+
to the admonition of type *question*.
|
174
|
+
|
175
|
+
.Example of a answer block
|
176
|
+
[source, adoc, role="noclip"]
|
177
|
+
----
|
178
|
+
[ANSWER]
|
179
|
+
For J1 Template, go for for the Core documentation section. You'll
|
180
|
+
find the full color scheme for Material Design.
|
181
|
+
----
|
182
|
+
|
183
|
+
[.result]
|
184
|
+
====
|
185
|
+
.ANSWER
|
186
|
+
[ANSWER]
|
187
|
+
For J1 Template, go for the {jekyll-one-core-doc-color-scheme}[Core documentation, window="blank"] section.
|
188
|
+
You'll find the full color scheme for *Material Design*.
|
189
|
+
====
|
190
|
+
|
191
|
+
lorem:sentences[3]
|
192
|
+
|
193
|
+
== Lightboxes
|
194
|
+
|
195
|
+
To make the use of the built-in Lightbox easier, J1 Template offers an Asciidoc
|
196
|
+
extension: the LightBox block macro. The `lightbox::` block macro embeds one or
|
197
|
+
more images into the output document and puts *automatically* the default
|
198
|
+
Lightbox (lightbox) for J1 on. For all images, the `size` (width) and individual
|
199
|
+
`caption text` can be configured.
|
200
|
+
|
201
|
+
.Lightbox Block
|
202
|
+
[source, adoc, role="noclip"]
|
203
|
+
----
|
204
|
+
.block_title
|
205
|
+
lightbox::block_id[ images_width, images_data [, group_name] ]
|
206
|
+
----
|
207
|
+
|
208
|
+
NOTE: For a `lightbox::` block, images are placed in the output document
|
209
|
+
*without* any other scaling than in *width* - they are placed using simple
|
210
|
+
HTML `img` tags. This is fine for images *even in size*. For images in
|
211
|
+
different sizes, a *gallery* should be used as gallery (apps) rearrange
|
212
|
+
images to make them fit at its best for the available space.
|
213
|
+
|
214
|
+
=== Standalone Images
|
215
|
+
|
216
|
+
For your convenience, and better readability, the *image data* should be
|
217
|
+
defined as Asciidoc *attributes*. The *image data* is given as a *string*
|
218
|
+
of *data pairs*:
|
219
|
+
|
220
|
+
.Paired attributes
|
221
|
+
----
|
222
|
+
"path/to/image-1, image-caption-1, ..."
|
223
|
+
----
|
224
|
+
|
225
|
+
.Example of an data *attribute* for a lightbox block
|
226
|
+
----
|
227
|
+
:data-images: "pages/image-1.jpg, Description 1, "pages/image-2.jpg, Description 2"
|
228
|
+
----
|
229
|
+
|
230
|
+
The *base path* for all image related data is a side-wide (Asciidoc)
|
231
|
+
configuration (see `_config.yml`) and points per default to `/assets/images`.
|
232
|
+
The base path is *automatically* added to each image. If you want to use the
|
233
|
+
*default* asset path for images, a *relativ* path needs to be given for
|
234
|
+
`path/to/image`.
|
235
|
+
|
236
|
+
WARNING: If an *absolute* path is configured, like `/path/to/image`, the base
|
237
|
+
path gets *ignored* - this is the *default* behaviour of the *Asciidoc* Markup
|
238
|
+
processor. If an *absolute* path is given, the *full* path to the images
|
239
|
+
used has to be configured.
|
240
|
+
|
241
|
+
The parameter `group` for the `lightbox::` block is an *option*. If *no*
|
242
|
+
`group` parameter is given for a block, the related images are treated as
|
243
|
+
*standalone*.
|
244
|
+
|
245
|
+
.Lightbox block for standalone images
|
246
|
+
[source, adoc, role="noclip"]
|
247
|
+
----
|
248
|
+
lightbox::images-standalone[ 400, {data-images-standalone} ]
|
249
|
+
----
|
250
|
+
|
251
|
+
.Lightbox block for standalone images
|
252
|
+
lightbox::images-standalone[ 400, {data-images-standalone} ]
|
253
|
+
|
254
|
+
lorem:sentences[5]
|
255
|
+
|
256
|
+
=== Grouped Images
|
257
|
+
|
258
|
+
If more than a single image is given for a `lightbox::` block, the images can be
|
259
|
+
grouped together to enable a simple sliding functionality through this group
|
260
|
+
of *related* images. To *enable* grouping, the option `group` needs to be
|
261
|
+
configured for the block.
|
262
|
+
|
263
|
+
.Lightbox block for grouped images
|
264
|
+
[source, adoc, role="noclip"]
|
265
|
+
----
|
266
|
+
lightbox::images-group[ 400, {data-images-group}, group_name ]
|
267
|
+
----
|
268
|
+
|
269
|
+
.Lightbox block for grouped images
|
270
|
+
lightbox::images-group[ 400, {data-images-group}, group_name ]
|
271
|
+
|
272
|
+
lorem:sentences[5]
|
273
|
+
|
274
|
+
|
275
|
+
== Icon Fonts
|
276
|
+
|
277
|
+
lorem:sentences[5]
|
278
|
+
|
279
|
+
=== Material Designs Icons
|
280
|
+
|
281
|
+
J1 Template comes with *MDI* icon support for Asciidoc documents
|
282
|
+
included. *Material Designs Icons* can be used as *inline* icons by using
|
283
|
+
the `mdi:` inline macro like so:
|
284
|
+
|
285
|
+
[source, adoc, role="noclip"]
|
286
|
+
----
|
287
|
+
Your text mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
288
|
+
----
|
289
|
+
<1> All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
|
290
|
+
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `10x`
|
291
|
+
<3> The `modifier` can be used to set the e.g the color (md_blue), an
|
292
|
+
animation (fa-pulsed) or the orientation (fa-rotate-45)
|
293
|
+
|
294
|
+
.Click on _view result_ to see how it's looks alike
|
295
|
+
----
|
296
|
+
Macro mdi: mdi:account[2x, md-blue mdi-pulsed ml-3]
|
297
|
+
Macro mdi: mdi:font-awesome[2x, md-indigo ml-3]
|
298
|
+
Macro mdi: mdi:font-awesome[3x, md-indigo ml-3]
|
299
|
+
----
|
300
|
+
|
301
|
+
[.result]
|
302
|
+
====
|
303
|
+
Macro mdi: mdi:account[2x, md-blue mdi-pulsed ml-3]
|
304
|
+
|
305
|
+
Macro mdi: mdi:font-awesome[2x, md-indigo ml-3]
|
306
|
+
|
307
|
+
Macro mdi: mdi:font-awesome[3x, md-indigo ml-3]
|
308
|
+
====
|
309
|
+
|
310
|
+
Find all MDI Icons on page
|
311
|
+
link:{previewer-mdi}[MDI Icon Previewer, window="_blank"].
|
312
|
+
|
313
|
+
NOTE: Parameters `icon_size` and `modifier` are optional. If *not* given,
|
314
|
+
the icons `size` is set to default (`1x`), the color to `black` and *no*
|
315
|
+
settings for the `modifier` are applied.
|
316
|
+
|
317
|
+
=== Font Awesome Icons
|
318
|
+
|
319
|
+
J1 Template comes with *FA* icon support for Asciidoc documents
|
320
|
+
included. *Font Awesome Icons* can be used as *inline* icons by using
|
321
|
+
the `fas:` (solid icons) or `fab` (brand icons) inline macro like so:
|
322
|
+
|
323
|
+
[source, adoc, role="noclip"]
|
324
|
+
----
|
325
|
+
Your text fas:icon_name[icon_size, modifier] <1> <2> <3>
|
326
|
+
----
|
327
|
+
<1> All `icon_name` can be found on the Preview page for *FA Icon Previewer*
|
328
|
+
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `10x`
|
329
|
+
<3> The `modifier` can be used to set the e.g the color (md_blue), an
|
330
|
+
animation (fa-pulsed) or the orientation (fa-rotate-45)
|
331
|
+
|
332
|
+
.Click on _view result_ to see how it's looks alike
|
333
|
+
----
|
334
|
+
Solid icon: fas:account[2x, md-blue fa-pulsed ml-3]
|
335
|
+
|
336
|
+
Brand icon: fab:font-awesome[2x, md-indigo ml-3]
|
337
|
+
|
338
|
+
Brand icon: fab:font-awesome[3x, md-indigo ml-3]
|
339
|
+
----
|
340
|
+
|
341
|
+
[.result]
|
342
|
+
====
|
343
|
+
Solid icon: fas:user[2x, md-blue fa-pulsed ml-3]
|
344
|
+
|
345
|
+
Brand icon: fab:font-awesome[2x, md-indigo ml-3]
|
346
|
+
|
347
|
+
Brand icon: fab:font-awesome[3x, md-indigo ml-3]
|
348
|
+
====
|
349
|
+
|
350
|
+
NOTE: Parameters `icon_size` and `modifier` are optional. If *not* given,
|
351
|
+
the icons `size` is set to default (`1x`), the color to `black` and *no*
|
352
|
+
settings for the `modifier` are applied.
|
353
|
+
|
354
|
+
=== Twitter Emoji Icons
|
355
|
+
|
356
|
+
J1 Template comes with *Twitter Emoji* V1 support for Asciidoc documents
|
357
|
+
included. Twitter Emoji's can be used as *inline* icons by using the `emoji:`
|
358
|
+
inline macro like this:
|
359
|
+
|
360
|
+
[source, adoc]
|
361
|
+
----
|
362
|
+
Your text emoji:icon_name[icon_size] <1> <2>
|
363
|
+
----
|
364
|
+
<1> All `icon_name` can be found on the Preview page for *Twitter Emoji's*
|
365
|
+
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
|
366
|
+
|
367
|
+
.Click on _view result_ to see how it's look alike
|
368
|
+
----
|
369
|
+
Faster than a emoji:turtle[3x]!
|
370
|
+
|
371
|
+
This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
|
372
|
+
and Twitter Emoji emoji:smile[].
|
373
|
+
----
|
374
|
+
|
375
|
+
[.result]
|
376
|
+
====
|
377
|
+
Faster than a emoji:turtle[3x]!
|
378
|
+
|
379
|
+
This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
|
380
|
+
and Twitter Emoji emoji:smile[].
|
381
|
+
====
|
382
|
+
|
383
|
+
Find all Twitter Emoji's build-in with J1 Template on page
|
384
|
+
link:{previewer-emoji}[Emoji Icon Previewer, window="_blank"].
|
385
|
+
|
386
|
+
|
387
|
+
== Blind Text (Lorem)
|
388
|
+
|
389
|
+
The Ruby *gem* Middleman, a Ruby-gem based static site generator, provides a
|
390
|
+
set of powerful helpers for generating *random text* content. The *Lorem*
|
391
|
+
inline macro `lorem:` adapted this functionality from Middleman for the use
|
392
|
+
of Asciidoc-based documents processed by Jekyll.
|
393
|
+
|
394
|
+
If you start writing larger documents having several chapters, not all of the
|
395
|
+
content is available at the beginning. It is quite useful to place *blind text*
|
396
|
+
first to get an better impression how a a page will look alike that is not
|
397
|
+
finished yet.
|
398
|
+
|
399
|
+
Placeholders for *blind text* comes in several flavours given by `macro`. The
|
400
|
+
syntax for the `lorem:` inline macro is simple like this:
|
401
|
+
|
402
|
+
[source, adoc]
|
403
|
+
----
|
404
|
+
lorem:macro[]
|
405
|
+
lorem:macro[size]
|
406
|
+
----
|
407
|
+
|
408
|
+
.Example of a lorem *sentences* macro
|
409
|
+
----
|
410
|
+
lorem:sentences[5]
|
411
|
+
----
|
412
|
+
|
413
|
+
[.result]
|
414
|
+
====
|
415
|
+
lorem:sentences[5]
|
416
|
+
====
|
417
|
+
|
418
|
+
=== Lorem Types
|
419
|
+
|
420
|
+
All *macro* types available for `lorem:` to be used for blind *text* can be
|
421
|
+
found with the following table below.
|
422
|
+
|
423
|
+
//.Tabelle
|
424
|
+
[cols="5,2,5a", options="header", role="table-responsive mb-2"]
|
425
|
+
|===============================================================================
|
426
|
+
|Macro | Type |Example
|
427
|
+
|
428
|
+
|`word[]`
|
429
|
+
|text
|
430
|
+
|
|
431
|
+
lorem:word[]
|
432
|
+
|
433
|
+
|`words[5]`
|
434
|
+
|text
|
435
|
+
|
|
436
|
+
lorem:words[5]
|
437
|
+
|
438
|
+
|`sentence[]`
|
439
|
+
|text
|
440
|
+
|
|
441
|
+
lorem:sentence[]
|
442
|
+
|
443
|
+
|`sentences[5]`
|
444
|
+
|text
|
445
|
+
|
|
446
|
+
lorem:sentences[5]
|
447
|
+
|
448
|
+
|`date[]`
|
449
|
+
|date
|
450
|
+
|
|
451
|
+
lorem:date[]
|
452
|
+
|
453
|
+
|`date[strftime]` e.g. `date[%Y-%m-%d]``
|
454
|
+
|date
|
455
|
+
|
|
456
|
+
lorem:date[%Y-%m-%d]
|
457
|
+
|
458
|
+
|`name[]`
|
459
|
+
|text
|
460
|
+
|
|
461
|
+
lorem:name[]
|
462
|
+
|
463
|
+
|`first_name[]`
|
464
|
+
|text
|
465
|
+
|
|
466
|
+
lorem:first_name[]
|
467
|
+
|
468
|
+
|`last_name[]`
|
469
|
+
|text
|
470
|
+
|
|
471
|
+
lorem:last_name[]
|
472
|
+
|
473
|
+
|`email[]`
|
474
|
+
|email
|
475
|
+
|
|
476
|
+
lorem:email[]
|
477
|
+
|
478
|
+
|===============================================================================
|
479
|
+
|
480
|
+
NOTE: The Lorem extention is currently available as *inline* macros only. With
|
481
|
+
the upcoming versions of J1 Template, the functionality will be extended.
|
482
|
+
|
483
|
+
|
484
|
+
//////////
|
485
|
+
==== Image Blocks
|
486
|
+
|
487
|
+
image:: lorem:image['300x400']
|
488
|
+
|
489
|
+
image::http://asciidoctor.org/images/octocat.jpg[GitHub mascot]
|
490
|
+
|
491
|
+
|
492
|
+
Like *blind text*, placeholder *images* might be useful for unfinished documents.
|
493
|
+
If images are used for the content but not available, blind images can help to
|
494
|
+
organize a page without the final image data.
|
495
|
+
|
496
|
+
.All block *types* available to be used for blind *images*
|
497
|
+
[cols="5,2,5a", options="header", role="table-responsive mb-3"]
|
498
|
+
|===============================================================================
|
499
|
+
|Block | Type |Example
|
500
|
+
|
501
|
+
|`image['300x400']`
|
502
|
+
|image
|
503
|
+
|
|
504
|
+
lorem:image['300x400']
|
505
|
+
|
506
|
+
|`image['300x400', :background_color => '333', :color => 'fff']`
|
507
|
+
|image
|
508
|
+
|
|
509
|
+
lorem:image['300x400', :background_color => '333', :color => 'fff']
|
510
|
+
|
511
|
+
|`image['300x400', :random_color => true]`
|
512
|
+
|image
|
513
|
+
|
|
514
|
+
lorem:image['300x400', :random_color => true]
|
515
|
+
|
516
|
+
|`image['300x400', :text => 'new text']`
|
517
|
+
|image
|
518
|
+
|
|
519
|
+
lorem:image['300x400', :text => 'new text']
|
520
|
+
|
521
|
+
|===============================================================================
|
522
|
+
|
523
|
+
NOTE: Not all formats are available for the *image* macro. With the upcoming
|
524
|
+
versions of J1 Template, the functionality will be extended.
|
525
|
+
|
526
|
+
.Example of an Lorem image block
|
527
|
+
----
|
528
|
+
lorem:image['300x400']
|
529
|
+
----
|
530
|
+
|
531
|
+
[.result]
|
532
|
+
====
|
533
|
+
lorem:image['300x400']
|
534
|
+
====
|
535
|
+
//////////
|
536
|
+
|
537
|
+
|
538
|
+
// Include documents
|
539
|
+
// -----------------------------------------------------------------------------
|
540
|
+
|
541
|
+
include::{documentsdir}/100_gistblock.asciidoc[]
|
542
|
+
|
543
|
+
//////////
|
544
|
+
== Chrome Inline Macro Extension
|
545
|
+
|
546
|
+
lorem:sentences[5]
|
547
|
+
|
548
|
+
=== Unnamed link to Chrome Extensions
|
549
|
+
|
550
|
+
lorem:sentences[3]
|
551
|
+
|
552
|
+
chrome://extensions/[]
|
553
|
+
|
554
|
+
=== Named link to Chrome Extensions
|
555
|
+
|
556
|
+
lorem:sentences[3]
|
557
|
+
|
558
|
+
chrome://extensions/[Extensions]
|
559
|
+
//////////
|
560
|
+
|
561
|
+
|
562
|
+
== What's next
|
563
|
+
|
564
|
+
Asciidoc, respectively Asciidoctor, *extensions* open up the Markup language to
|
565
|
+
new use cases; using the full power of programming languages to extend what's
|
566
|
+
needed whether it be Ruby, Java, Groovy or JavaScript.
|
567
|
+
|
568
|
+
The number of extensions will grow - to get handy and powerful functionality
|
569
|
+
that is needed for modern Web pages based on the Asciidoc Markup language
|
570
|
+
generated by Jekyll. For sure!
|
571
|
+
|
572
|
+
The next preview is focussing extended Bootstrap *Modals*. The modals feature
|
573
|
+
is currently in *beta* status, but it is a great option to customize your
|
574
|
+
user dialogs using them!
|
575
|
+
|
576
|
+
Have a look for the link:{roundtrip-extended-modals}[BS modal extensions]
|
577
|
+
feature of J1 Template.
|