j1-template 2022.1.0 → 2022.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_article_navigator.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +35 -19
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.0.proc +129 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.1.proc +113 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +3 -3
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -5
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +29 -7
- data/_includes/themes/j1/procedures/posts/pager.proc +2 -3
- data/assets/data/authclient.html +6 -6
- data/assets/data/carousel.json +2 -2
- data/assets/data/galleries.json +17 -5
- data/assets/data/gallery_customizer.html +4 -5
- data/assets/data/j1_config.json +42 -0
- data/assets/data/panel.html +17 -0
- data/assets/data/quicklinks.html +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +2 -2
- data/assets/themes/j1/adapter/js/algolia.js +5 -5
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +5 -5
- data/assets/themes/j1/adapter/js/bmd.js +12 -12
- data/assets/themes/j1/adapter/js/carousel.js +40 -30
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/comments.js +2 -2
- data/assets/themes/j1/adapter/js/cookieConsent.js +2 -2
- data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
- data/assets/themes/j1/adapter/js/customModule.js +2 -2
- data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
- data/assets/themes/j1/adapter/js/fab.js +4 -4
- data/assets/themes/j1/adapter/js/framer.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +9 -9
- data/assets/themes/j1/adapter/js/justifiedGallery.js +42 -30
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +126 -113
- data/assets/themes/j1/adapter/js/lightbox.js +34 -30
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{quicksearch.js → lunr.js} +17 -19
- data/assets/themes/j1/adapter/js/mmenu.js +7 -7
- data/assets/themes/j1/adapter/js/navigator.js +5 -5
- data/assets/themes/j1/adapter/js/rangeSlider.js +96 -83
- data/assets/themes/j1/adapter/js/rouge.js +26 -22
- data/assets/themes/j1/adapter/js/rtable.js +2 -2
- data/assets/themes/j1/adapter/js/rtextResizer.js +6 -22
- data/assets/themes/j1/adapter/js/scroller.js +2 -2
- data/assets/themes/j1/adapter/js/themer.js +3 -3
- data/assets/themes/j1/adapter/js/toccer.js +5 -5
- data/assets/themes/j1/adapter/js/translator.js +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -6
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +2 -3
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -6
- data/assets/themes/j1/core/js/template.min.js +1 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.css +1315 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.min.css +7 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.css +886 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/assets/themes/j1/modules/jquery/css/{jqueryUI/theme.css → jquery-ui/jquery-ui.theme.css} +9 -6
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/{jqueryUI.js → jquery-ui.js} +1067 -711
- data/assets/themes/j1/modules/jquery/js/jquery-ui.min.js +6 -0
- data/assets/themes/j1/modules/jquery/js/jquery.min.map +1 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +28 -12
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +1 -2
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -11
- data/assets/themes/j1/modules/{lunrSearch/css/quicksearch.css → lunr/css/j1.css} +2 -2
- data/assets/themes/j1/modules/lunr/css/j1.min.css +15 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.js → lunr/js/j1.js} +11 -8
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.min.js → lunr/js/j1.min.js} +1 -1
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.th.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.min.js +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +1 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +2 -374
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +15 -5
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +2 -178
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +1 -12
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +3 -1
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.min.css +23 -0
- data/assets/themes/j1/modules/videojs/css/video-js.css +6 -2
- data/assets/themes/j1/modules/videojs/css/video-js.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +37 -94
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +168 -0
- data/lib/starter_web/_data/blocks/banner.yml +3 -3
- data/lib/starter_web/_data/blocks/panel.yml +2 -0
- data/lib/starter_web/_data/j1_config.yml +33 -1
- data/lib/starter_web/_data/layouts/app.yml +11 -6
- data/lib/starter_web/_data/layouts/article_navigator.yml +8 -3
- data/lib/starter_web/_data/layouts/blog_archive.yml +8 -3
- data/lib/starter_web/_data/layouts/collection.yml +14 -21
- data/lib/starter_web/_data/layouts/default.yml +11 -36
- data/lib/starter_web/_data/layouts/home.yml +14 -22
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +8 -3
- data/lib/starter_web/_data/layouts/page.yml +8 -14
- data/lib/starter_web/_data/layouts/post.yml +8 -3
- data/lib/starter_web/_data/layouts/raw.yml +14 -9
- data/lib/starter_web/_data/{builder → modules}/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/{apps → modules}/carousel.yml +2 -2
- data/lib/starter_web/_data/{builder → modules}/defaults/blog_navigator.yml +4 -5
- data/lib/starter_web/_data/{apps → modules}/defaults/carousel.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/justifiedGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/{quicksearch.yml → lunr.yml} +6 -15
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/justifiedGallery.yml +101 -50
- data/lib/starter_web/_data/{apps → modules}/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/{quicksearch.yml → lunr.yml} +4 -7
- data/lib/starter_web/_data/modules/navigator_menu.yml +1 -1
- data/lib/starter_web/_data/modules/rangeSlider.yml +2 -2
- data/lib/starter_web/_data/resources.yml +73 -31
- data/lib/starter_web/_includes/attributes.asciidoc +16 -3
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +6 -4
- data/lib/starter_web/_plugins/filters.rb +53 -0
- data/lib/starter_web/_plugins/lunr_index.rb +14 -9
- data/lib/starter_web/assets/images/modules/attics/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/meditation.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/pilates.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/battle.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/ben.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/constance.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/elisa.jpg +0 -0
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/{yyyy-mm-dd-your-post-name.adoc → _posts/yyyy-mm-dd-your-post-name.asciidoc} +26 -12
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-28-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_blog/navigator/archive/categoryview.html +254 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/dateview.html +238 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/tagview.html +283 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive.html +204 -0
- data/lib/starter_web/pages/public/_blog/navigator/index.html +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +5 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +33 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +30 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +28 -11
- data/lib/starter_web/pages/public/blog/navigator/archive.html +29 -11
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +18 -23
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +100 -16
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +6 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +75 -75
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +3 -4
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +13 -20
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +100 -82
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +0 -5
- data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +0 -1
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +0 -13
- data/assets/themes/j1/modules/lunrSearch/css/quicksearch.min.css +0 -32
- data/lib/starter_web/_data/layouts/home.ads.yml +0 -262
- data/lib/starter_web/_data/layouts/home.no-ads.yml +0 -262
- data/lib/starter_web/_data/pages/builder.yml +0 -87
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +0 -265
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +0 -237
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +0 -237
@@ -55,12 +55,12 @@ resource_options:
|
|
55
55
|
|
56
56
|
// Include sub-documents (if any)
|
57
57
|
// -----------------------------------------------------------------------------
|
58
|
+
[role="dropcap"]
|
58
59
|
J1 Template implements some incubating Ruby-based extensions for Asciidoctor.
|
59
60
|
Most extensions are based on the examples given with the
|
60
61
|
link:{url-asciidoctor--extensions-lab}[Asciidoctor Extensions Lab, {browser-window--new}].
|
61
62
|
If you simply want to use the extensions from this repository, go ahead to
|
62
63
|
link:{url-asciidoctor--extensions-use}[Using an extension, {browser-window--new}].
|
63
|
-
|
64
64
|
To create Asciidoc extensions on your own, it is highly recommended to read the
|
65
65
|
link:{url-asciidoctor--extensions-manual}[extensions section, {browser-window--new}] in
|
66
66
|
the Asciidoctor user manual.
|
@@ -85,7 +85,7 @@ The `View Result Extension` is quite helpful for sections discussing
|
|
85
85
|
Asciidoc code and how the resulting (HTML) code would look alike.
|
86
86
|
|
87
87
|
.This example place a button `VIEW` top right of the example box
|
88
|
-
[source,
|
88
|
+
[source, no_template, role="noclip"]
|
89
89
|
----
|
90
90
|
* displayed always
|
91
91
|
----
|
@@ -115,76 +115,46 @@ WARNING: Icon background-color: yellow
|
|
115
115
|
.CAUTION block
|
116
116
|
CAUTION: Icon background-color: red
|
117
117
|
|
118
|
-
|
119
|
-
== Q&A Blocks
|
120
|
-
|
121
|
-
Q&A sections are used quite often to answer popular questions. To make
|
122
|
-
such a Q&A section more eye-minded. The additional Admonition Blocks
|
123
|
-
`[QUESTION]` and `[ANSWER]` are available through the J1 Template Asciidoctor
|
124
|
-
extensions.
|
118
|
+
== Lightboxes
|
125
119
|
|
126
|
-
|
120
|
+
A Lightbox is, in general, a helper which displays enlarged, almost
|
121
|
+
screen-filling versions of images (or videos) while dimming the remainder
|
122
|
+
of the page. The technique, introduced by Lightbox V2, gained widespread
|
123
|
+
popularity thanks to its simple style. The term lightbox has been employed
|
124
|
+
since then for Javascript libraries to support such functionality.
|
127
125
|
|
128
|
-
|
129
|
-
|
126
|
+
To make the use of the built-in lightbox easier, the J1 Template offers an
|
127
|
+
Asciidoc extension: the lightBox block macro. The block macro `lightbox::`
|
128
|
+
embeds one or more images into the output document and puts the default
|
129
|
+
lightbox for J1 automatically on. The images `size` (width) and additional
|
130
|
+
`caption text` and additional CSS styles are configurable for all images
|
131
|
+
using this macro.
|
130
132
|
|
131
|
-
.
|
132
|
-
[source,
|
133
|
+
.Lightbox block for single images
|
134
|
+
[source, no_template, role="noclip"]
|
133
135
|
----
|
134
|
-
|
135
|
-
|
136
|
+
.block_title
|
137
|
+
lightbox::<block_id>[ <images_width>, <images_data_id>, <role="<additional CSS styles>"> ]
|
136
138
|
----
|
137
139
|
|
138
|
-
|
139
|
-
|
140
|
-
.QUESTION
|
141
|
-
[QUESTION]
|
142
|
-
What's the main tool for selecting colors used for J1 Template?
|
143
|
-
====
|
144
|
-
|
145
|
-
=== Answer block
|
146
|
-
|
147
|
-
The Admonition Answer block is an extension to the Asciidoc admonition
|
148
|
-
block types that introduce an admonition type of answer in conjunction
|
149
|
-
with the type question's admonition.
|
150
|
-
|
151
|
-
.Example of a answer block
|
152
|
-
[source, prometheus, role="noclip"]
|
140
|
+
.Lightbox block for image groups
|
141
|
+
[source, no_template, role="noclip"]
|
153
142
|
----
|
154
|
-
|
155
|
-
|
156
|
-
find the full color scheme for Material Design.
|
143
|
+
.block_title
|
144
|
+
lightbox::<block_id>[ <images_width>, <images_data_id>, <group_name>, <role="<additional CSS styles>"> ]
|
157
145
|
----
|
158
146
|
|
159
|
-
[
|
160
|
-
====
|
161
|
-
.ANSWER
|
162
|
-
[ANSWER]
|
163
|
-
For J1 Template, go for the {jekyll-one-core-doc-color-scheme}[Core documentation, window="blank"] section.
|
164
|
-
You'll find the full color scheme for Material Design.
|
147
|
+
[NOTE]
|
165
148
|
====
|
166
|
-
|
167
|
-
|
168
|
-
== Lightboxes
|
169
|
-
|
170
|
-
To make the use of the built-in Lightbox easier, the J1 Template offers an
|
171
|
-
Asciidoc extension: the LightBox block macro. The `lightbox::` block macro
|
172
|
-
embeds one or more images into the output document and puts the default
|
173
|
-
lightbox for J1 automatically on. The images `size` (width) and additional
|
174
|
-
`caption text` are configurable for all images using this macro.
|
149
|
+
The `role` parameter to specify additional CSS styles is for all `lightbox::`
|
150
|
+
macros *optional* and can be omitted.
|
175
151
|
|
176
|
-
|
177
|
-
[source, prometheus, role="noclip"]
|
178
|
-
----
|
179
|
-
.block_title
|
180
|
-
lightbox::block_id[ images_width, images_data [, group_name] ]
|
181
|
-
----
|
182
|
-
|
183
|
-
NOTE: For a `lightbox::` block, images are placed in the output document
|
152
|
+
For a `lightbox::` block, images are placed in the output document
|
184
153
|
without any other scaling than in width - they are placed using simple
|
185
154
|
HTML `img` tags. This technique is fine for images that are even in size.
|
186
155
|
For images in different sizes, a gallery should be used as a J1 Gallery Apps
|
187
156
|
to rearrange images and make them fit at their best for the available space.
|
157
|
+
====
|
188
158
|
|
189
159
|
=== Standalone Images
|
190
160
|
|
@@ -193,13 +163,13 @@ defined as Asciidoc attributes. The image data is given as a string
|
|
193
163
|
of data pairs:
|
194
164
|
|
195
165
|
.Paired attributes
|
196
|
-
[source,
|
166
|
+
[source, no_template, role="noclip"]
|
197
167
|
----
|
198
168
|
"path/to/image-1, image-caption-1, ..."
|
199
169
|
----
|
200
170
|
|
201
171
|
.Example of an data attribute for a lightbox block
|
202
|
-
[source,
|
172
|
+
[source, no_template, role="noclip"]
|
203
173
|
----
|
204
174
|
:data-images: "pages/image-1.jpg, Description 1, "pages/image-2.jpg, Description 2"
|
205
175
|
----
|
@@ -220,9 +190,9 @@ The parameter `group` for the `lightbox::` block is an option. If no
|
|
220
190
|
standalone.
|
221
191
|
|
222
192
|
.Lightbox block for standalone images
|
223
|
-
[source,
|
193
|
+
[source, no_template, role="noclip"]
|
224
194
|
----
|
225
|
-
lightbox
|
195
|
+
lightbox::<block_id>[ 400, {<data-images-id>} ]
|
226
196
|
----
|
227
197
|
|
228
198
|
.Lightbox block for standalone images
|
@@ -236,14 +206,44 @@ of related images. Enabling this function, the option `group` needs to be
|
|
236
206
|
configured for the block.
|
237
207
|
|
238
208
|
.Lightbox block for grouped images
|
239
|
-
[source,
|
209
|
+
[source, no_template, role="noclip"]
|
240
210
|
----
|
241
|
-
lightbox
|
211
|
+
lightbox::<block_id>[ 400, {<data-images-group_id>}, <group_name> ]
|
242
212
|
----
|
243
213
|
|
244
214
|
.Lightbox block for grouped images
|
245
215
|
lightbox::images-group[ 400, {data-images-group}, group_name ]
|
246
216
|
|
217
|
+
== Galleries
|
218
|
+
|
219
|
+
JustifiedGallery, the default gallery for J1, is a great jQuery plugin to
|
220
|
+
create responsive, infinite, and high-quality justified image galleries.
|
221
|
+
J1 Template combines the Gallery with the lightboxes supported to enlarge
|
222
|
+
the images of a gallery.
|
223
|
+
|
224
|
+
Pictures you’ve made are typically not even in size. Images may have the same
|
225
|
+
size (resolution), but some are orientated landscapes, or others may be
|
226
|
+
portrait. For that reason, a more powerful gallery is needed to create
|
227
|
+
a so-called masonry grid layout. It works by placing elements in an optimal
|
228
|
+
position based on available horizontal and vertical space. Sort of like mason
|
229
|
+
fitting stones in a wall.
|
230
|
+
|
231
|
+
.Gallerie macro for images and videos
|
232
|
+
[source, no_template]
|
233
|
+
----
|
234
|
+
.block_title
|
235
|
+
gallery::<gallery_id>[role="<additional CSS styles>"]
|
236
|
+
----
|
237
|
+
|
238
|
+
=== Image galleries
|
239
|
+
|
240
|
+
lorem:sentences[5]
|
241
|
+
|
242
|
+
=== Video galleries
|
243
|
+
|
244
|
+
lorem:sentences[5]
|
245
|
+
|
246
|
+
|
247
247
|
== Country flags
|
248
248
|
|
249
249
|
Country flags are often used in the context of language-specific selections
|
@@ -256,7 +256,7 @@ documents included.
|
|
256
256
|
|
257
257
|
Country flags can be used as inline icons by using the `flag:` inline macro:
|
258
258
|
|
259
|
-
[source,
|
259
|
+
[source, no_template, role="noclip"]
|
260
260
|
----
|
261
261
|
flag:country[style, size, modifier] <1> <2> <3> <4>
|
262
262
|
----
|
@@ -269,7 +269,7 @@ flag:country[style, size, modifier] <1> <2> <3> <4>
|
|
269
269
|
BS styles for margin setting and other
|
270
270
|
|
271
271
|
.Click on button `VIEW` to see how it's looks alike
|
272
|
-
[source,
|
272
|
+
[source, no_template, role="noclip"]
|
273
273
|
----
|
274
274
|
flag:de[rectangle, 2x, ml-3 mr-2 mb-2] Germany (rectangle) +
|
275
275
|
flag:de[squared, 2x, ml-3 mr-3 mb-2] Germany (square)
|
@@ -357,7 +357,7 @@ All icon fonts are supported:
|
|
357
357
|
Material Designs Icons can be used as inline icons by using
|
358
358
|
the `mdi:` inline macro:
|
359
359
|
|
360
|
-
[source,
|
360
|
+
[source, no_template, role="noclip"]
|
361
361
|
----
|
362
362
|
mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
363
363
|
----
|
@@ -368,7 +368,7 @@ mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
|
368
368
|
animation (fa-pulsed) or the orientation (fa-rotate-45)
|
369
369
|
|
370
370
|
.Click on button `VIEW` to see how it's looks alike
|
371
|
-
[source,
|
371
|
+
[source, no_template, role="noclip"]
|
372
372
|
----
|
373
373
|
mdi:home[2x, mdi-pulsed ml-3 mr-2 mb-2] Symbol icon (pulsed) +
|
374
374
|
mdi:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
@@ -391,7 +391,7 @@ settings for the `modifier` are applied.
|
|
391
391
|
Font Awesome Icons can be used as inline icons by using
|
392
392
|
the `fas:` (solid icons) or `fab` (brand icons) inline macro:
|
393
393
|
|
394
|
-
[source,
|
394
|
+
[source, no_template, role="noclip"]
|
395
395
|
----
|
396
396
|
fas:icon_name[icon_size, modifier] <1> <2> <3>
|
397
397
|
----
|
@@ -402,7 +402,7 @@ fas:icon_name[icon_size, modifier] <1> <2> <3>
|
|
402
402
|
animation (fa-pulsed) or the orientation (fa-rotate-45) of an icon
|
403
403
|
|
404
404
|
.Click on button `VIEW` to see how it's looks alike
|
405
|
-
[source,
|
405
|
+
[source, no_template, role="noclip"]
|
406
406
|
----
|
407
407
|
fas:home[2x, fa-pulsed ml-2 mr-2 mb-2] Solid icon (pulsed) +
|
408
408
|
fab:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
@@ -426,7 +426,7 @@ settings for the `modifier` are applied.
|
|
426
426
|
Iconify Icons can be used as inline icons by using the `iconify:`
|
427
427
|
inline macro:
|
428
428
|
|
429
|
-
[source,
|
429
|
+
[source, no_template, role="noclip"]
|
430
430
|
----
|
431
431
|
iconify:icon_name[icon_size, modifier] <1> <2> <3>
|
432
432
|
----
|
@@ -437,7 +437,7 @@ iconify:icon_name[icon_size, modifier] <1> <2> <3>
|
|
437
437
|
positioning classes for margings and padding
|
438
438
|
|
439
439
|
.Click on button `VIEW` to see how it's looks alike
|
440
|
-
[source,
|
440
|
+
[source, no_template, role="noclip"]
|
441
441
|
----
|
442
442
|
iconify:logos:opensource[2x, ml-4 mr-2 mb-2] Brand icon OpenSource +
|
443
443
|
iconify:logos:netlify[2x, ml-4 mr-2 mb-2] Brand icon Netlify +
|
@@ -470,7 +470,7 @@ applied, the color settings will have no effect.
|
|
470
470
|
Twitter Emoji's can be used as inline icons by using the `emoji:`
|
471
471
|
inline macro:
|
472
472
|
|
473
|
-
[source,
|
473
|
+
[source, no_template]
|
474
474
|
----
|
475
475
|
emoji:icon_name[icon_size] <1> <2>
|
476
476
|
----
|
@@ -479,7 +479,7 @@ emoji:icon_name[icon_size] <1> <2>
|
|
479
479
|
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
|
480
480
|
|
481
481
|
.Click on button `VIEW` to see how it's look alike
|
482
|
-
[source,
|
482
|
+
[source, no_template, role="noclip"]
|
483
483
|
----
|
484
484
|
This is an example of how you can emoji:heart[2x, pulsed mt-1] Asciidoctor
|
485
485
|
and Twitter Emoji emoji:smile[].
|
@@ -506,14 +506,14 @@ finished yet.
|
|
506
506
|
Placeholders for blind text comes in several flavors given by `macro`. The
|
507
507
|
syntax for the `lorem:` inline macro is simple like this:
|
508
508
|
|
509
|
-
[source,
|
509
|
+
[source, no_template]
|
510
510
|
----
|
511
511
|
lorem:macro[]
|
512
512
|
lorem:macro[size]
|
513
513
|
----
|
514
514
|
|
515
515
|
.Example of a lorem sentences macro
|
516
|
-
[source,
|
516
|
+
[source, no_template, role="noclip"]
|
517
517
|
----
|
518
518
|
lorem:sentences[5]
|
519
519
|
----
|
@@ -53,13 +53,13 @@ resource_options:
|
|
53
53
|
|
54
54
|
// Include sub-documents (if any)
|
55
55
|
// -----------------------------------------------------------------------------
|
56
|
+
[role="dropcap"]
|
56
57
|
Advanced Bootstrap Modals are based on the free package of
|
57
58
|
link:{url-mdb--home}[Material Design for Bootstrap, {browser-window--new}] on version
|
58
59
|
*4.3.2*. This version can be found following this link:
|
59
60
|
link:{url-mdb--bs-modals-legacy}[Enhanced Bootstrap Modals, {browser-window--new}]. A more
|
60
61
|
current version is available from here:
|
61
62
|
link:{url-mdb--bs-modals}[Modal examples & templates, {browser-window--new}].
|
62
|
-
|
63
63
|
Bootstrap modals are used to add dialogues to your web pages for user
|
64
64
|
notifications. To highlight important information to your visitors. Modals
|
65
65
|
are positioned over everything else in the document so that messages
|
@@ -14,7 +14,7 @@ flowtext: false
|
|
14
14
|
fab_menu_id: page_ctrl_simple
|
15
15
|
|
16
16
|
permalink: /pages/public/learn/roundtrip/responsive_tables/
|
17
|
-
regenerate:
|
17
|
+
regenerate: false
|
18
18
|
|
19
19
|
resources: [ animate, rouge ]
|
20
20
|
resource_options:
|
@@ -55,6 +55,7 @@ resource_options:
|
|
55
55
|
|
56
56
|
// Include sub-documents (if any)
|
57
57
|
// -----------------------------------------------------------------------------
|
58
|
+
[role="dropcap"]
|
58
59
|
Creating a design for responsive tables is challenging. The approach used by
|
59
60
|
J1 Template is based on pure CSS on top of the classic Bootstrap styles for
|
60
61
|
simplicity and portability to be viewed best on all devices and browsers.
|
@@ -55,12 +55,11 @@ resource_options:
|
|
55
55
|
|
56
56
|
// Include sub-documents (if any)
|
57
57
|
// -----------------------------------------------------------------------------
|
58
|
+
[role="dropcap"]
|
58
59
|
Themes for the template system J1 are based on the free and open-source CSS
|
59
60
|
front-end framework {url-bs--home}[Bootstrap, {browser-window--new}] of
|
60
|
-
version V5.
|
61
|
-
|
62
|
-
Bootstrap is an HTML, CSS & JS Library that focuses on simplifying the
|
63
|
-
development of modern web pages. The primary purpose of applying the
|
61
|
+
version V5. Bootstrap is an HTML, CSS & JS Library that focuses on simplifying
|
62
|
+
the development of modern web pages. The primary purpose of applying the
|
64
63
|
framework to J1 is to provide a general standard for colors, sizes, fonts,
|
65
64
|
and the overall layout of a J1-based site. Bootstrap provides basic style
|
66
65
|
definitions for all commonly used HTML elements.
|
@@ -55,16 +55,15 @@ resource_options:
|
|
55
55
|
|
56
56
|
// Include sub-documents (if any)
|
57
57
|
// -----------------------------------------------------------------------------
|
58
|
+
[role="dropcap"]
|
58
59
|
QuickSearch is based on the search engine Lunr, fully integrated with the J1
|
59
60
|
Template. Lunr is designed to be lightweight yet full-featured to provide a
|
60
61
|
great search experience. No need for complex external, server-sided search
|
61
|
-
engines or commercial services on the Internet like Google.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
to
|
66
|
-
intelligence (AI) methods to make sense of results out of a handful of words
|
67
|
-
given for a search.
|
62
|
+
engines or commercial services on the Internet like Google. Searching a website
|
63
|
+
using QuickSearch is different from search engines like Google or Microsoft
|
64
|
+
Bing. Those search platforms using complex algorithms to provide a simple
|
65
|
+
interface to the public but using a lot of artificial intelligence (AI) methods
|
66
|
+
to make sense of results out of a handful of words given for a search.
|
68
67
|
|
69
68
|
Nevertheless, QuickSearch, the J1 implementation of Lunr, is simple like
|
70
69
|
searching at Google but offers additional features to do searches more
|
@@ -417,18 +416,12 @@ To simulate a logical *AND* search of documents that contain the word `jekyll`
|
|
417
416
|
+jekyll +collection
|
418
417
|
----
|
419
418
|
|
420
|
-
|
421
419
|
== What next
|
422
420
|
|
423
|
-
You
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
// guides you through all the steps on how to build a website. Your site using
|
431
|
-
// Jekyll and the template system J1. It's a pleasant journey to learn what
|
432
|
-
// modern static webs can offer today.
|
433
|
-
//
|
434
|
-
// Start your journey from here: link:{url-j1-kickstarter--web-in-a-day}[Web in a day, {browser-window--new}].
|
421
|
+
You reached the end of the roundtrip. Hopefully you enjoyed exploring what J1
|
422
|
+
can do for your new website. To make things real for your new site, go for
|
423
|
+
*J1 in a Day*. This tutorial guides you through all the steps on how to
|
424
|
+
build a website. Your site using Jekyll and the template system J1.
|
425
|
+
|
426
|
+
It's a pleasant journey to learn what modern static webs can offer today.
|
427
|
+
Start your journey from here: link:{url-j1-kickstarter--web-in-a-day}[J1 in a Day, {browser-window--new}].
|
@@ -89,8 +89,8 @@ end::tags[]
|
|
89
89
|
// -----------------------------------------------------------------------------
|
90
90
|
tag::data[]
|
91
91
|
|
92
|
-
:data-images-standalone: "
|
93
|
-
:data-images-group: "
|
92
|
+
:data-images-standalone: "modules/gallery/old_times/image_02.jpg, GrandPa's 80th Birthday"
|
93
|
+
:data-images-group: "modules/gallery/old_times/image_03.jpg, GrandPa's annual journey, modules/gallery/old_times/image_04.jpg, GrandPa's annual journey"
|
94
94
|
|
95
95
|
:data-images--themes-menu: "pages/roundtrip/500_themes/themes-menu-1280x800.jpg, Themes menu (Bootswatch)"
|
96
96
|
|
@@ -113,8 +113,6 @@ tutorials present what you need to know:
|
|
113
113
|
* Development System
|
114
114
|
* Project Management
|
115
115
|
* Create Content
|
116
|
-
* Using Modules
|
117
|
-
* Cloud Services
|
118
116
|
|
119
117
|
It sounds much, spending a whole day to get Jekyll and J1 to know. Yes, it is
|
120
118
|
much. But it makes sense to get a full overview of what can be achieved by modern
|