j1-template 2023.8.2 → 2023.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_post.html +19 -49
  3. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +185 -192
  4. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -14
  5. data/_includes/themes/j1/procedures/posts/pager.proc +39 -46
  6. data/assets/themes/j1/adapter/js/speak2me.js +1 -1
  7. data/assets/themes/j1/adapter/js/translator.js +4 -2
  8. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +31 -26
  9. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
  10. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +31 -26
  11. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +2 -2
  12. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +37 -29
  13. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +3 -3
  14. data/assets/themes/j1/core/js/template.js +58 -43
  15. data/assets/themes/j1/core/js/template.min.js +7 -7
  16. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  17. data/lib/j1/version.rb +1 -1
  18. data/lib/starter_web/Gemfile +2 -2
  19. data/lib/starter_web/README.md +5 -5
  20. data/lib/starter_web/_config.yml +1 -1
  21. data/lib/starter_web/_data/blocks/footer.yml +6 -4
  22. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +89 -135
  23. data/lib/starter_web/_data/modules/defaults/speak2me.yml +1 -0
  24. data/lib/starter_web/_data/modules/justifiedGallery.yml +3 -3
  25. data/lib/starter_web/_data/modules/navigator_menu.yml +14 -7
  26. data/lib/starter_web/_data/templates/feed.xml +1 -1
  27. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  28. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +74 -70
  29. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +110 -84
  30. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +49 -33
  31. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +47 -26
  32. data/lib/starter_web/package.json +1 -1
  33. data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +66 -63
  34. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +76 -77
  35. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +63 -64
  36. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +79 -64
  37. data/lib/starter_web/pages/public/blog/navigator/index.html +55 -99
  38. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +6 -2
  39. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +59 -35
  40. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +4 -4
  41. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
  42. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +28 -12
  43. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -4
  44. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +5 -1
  45. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +512 -470
  46. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +20 -6
  47. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +5 -2
  48. data/lib/starter_web/pages/public/learn/where_to_go.adoc +24 -13
  49. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +4 -1
  50. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +4 -1
  51. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +632 -595
  52. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +12 -3
  53. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  54. data/lib/starter_web/utilsrv/package.json +1 -1
  55. metadata +2 -2
@@ -4,7 +4,7 @@ layout: page
4
4
  title: Navigator
5
5
  tagline: Explore Posts
6
6
 
7
- date: 2022-01-01
7
+ date: 2023-09-20
8
8
  #last_modified: 2023-01-01
9
9
 
10
10
  description: >
@@ -27,10 +27,11 @@ robots:
27
27
  follow: true
28
28
 
29
29
  image:
30
- path: /assets/images/modules/attics/matthaeus-1920x1280.jpg
30
+ path: /assets/images/modules/attics/1920x1280/matthaeus.jpg
31
31
  width: 1920
32
32
  height: 1280
33
33
 
34
+ #tts: false
34
35
  sort: date
35
36
  fab_menu_id: default
36
37
  scrollDynamicPagesTopOnChange: false # do NOT scroll the page to top on content changes
@@ -41,13 +42,26 @@ resources: [ animate, scroller ]
41
42
  resource_options:
42
43
  - attic:
43
44
  slides:
44
- - url: /assets/images/modules/attics/matthaeus-1920x1280.jpg
45
+ - url: /assets/images/modules/attics/1920x1280/matthaeus.jpg
45
46
  alt: Photo by Matthaeus on Unsplash
46
47
  badge:
47
48
  type: unsplash
48
49
  author: Matthaeus
49
50
  href: https://unsplash.com/@matthaeus123
50
51
  ---
52
+ {% comment %} Stackoverflow articles
53
+ ------------------------------------------------------------------------
54
+ https://stackoverflow.com/questions/22763180/assign-an-array-literal-to-a-variable-in-liquid-template
55
+ {% assign my_array = "one|two|three" | split: "|" %}
56
+ ------------------------------------------------------------------------
57
+ {% endcomment %}
58
+
59
+ {% comment %} Debugging
60
+ ------------------------------------------------------------------------
61
+ blog_navigator_options.article_navigator.page_text: {{blog_navigator_options.article_navigator.page_text | debug}}
62
+ ------------------------------------------------------------------------
63
+ {% endcomment %}
64
+
51
65
 
52
66
  {% comment %} Liquid procedures
53
67
  -------------------------------------------------------------------------------- {% endcomment %}
@@ -84,7 +98,6 @@ resource_options:
84
98
 
85
99
  {% assign previewer = blog_navigator_options.previewer %}
86
100
  {% assign paginate = paginator_options.pagination.enabled %}
87
- {% assign scroller = blog_navigator_options.scroller %}
88
101
  {% assign rtext = template_config.typography.rtext %}
89
102
  {% assign page_rtext = page.rtext %}
90
103
  {% assign page_rtext_size = page.rtext_size %}
@@ -97,49 +110,30 @@ resource_options:
97
110
  {% assign rtext_size = 0 %}
98
111
  {% endif %}
99
112
 
100
- {% comment %} language detection (disabled)
113
+ {% comment %} Collect Button Text/Description
101
114
  -------------------------------------------------------------------------------- {% endcomment %}
102
- {% if site.language == "en" %}
103
- {% assign language = "en" %}
104
- {% elsif site.language == "de"%}
105
- {% assign language = "de" %}
106
- {% else %}
107
- {% assign language = "en" %}
108
- {% endif %}
115
+ {% assign home_button_text = blog_navigator_options.button_text.view_pager.home %}
116
+ {% assign category_view_button_text = blog_navigator_options.button_text.view_pager.category_view %}
117
+ {% assign date_view_button_text = blog_navigator_options.button_text.view_pager.date_view %}
118
+ {% assign archive_view_button_text = blog_navigator_options.button_text.view_pager.archive_view %}
119
+ {% assign tag_view_button_text = blog_navigator_options.button_text.view_pager.tag_view %}
109
120
 
121
+ {% assign description_enabled = blog_navigator_options.article_navigator.page_description.enabled %}
122
+ {% assign description_text = blog_navigator_options.article_navigator.page_description.text %}
123
+ {% assign headline_enabled = blog_navigator_options.article_navigator.headline.enabled %}
124
+ {% assign headline_text = blog_navigator_options.article_navigator.headline.text %}
110
125
 
111
126
 
112
- {% if language == "en" %}
113
- {% assign category_view_button_text = blog_navigator_options.button_text.view_selector.category_view.en %}
114
- {% assign date_view_button_text = blog_navigator_options.button_text.view_selector.date_view.en %}
115
- {% assign archive_view_button_text = blog_navigator_options.button_text.view_selector.archive_view.en %}
116
- {% assign tag_view_button_text = blog_navigator_options.button_text.view_selector.tag_view.en %}
117
-
118
- {% assign previewer_headline = blog_navigator_options.article_previewer.page_text.en.headline %}
119
- {% assign navigator_description_text = blog_navigator_options.article_navigator.page_text.en.description %}
120
- {% assign previewer_description_text = blog_navigator_options.article_previewer.page_text.en.description %}
121
- {% endif %}
122
-
123
- {% if language == "de" %}
124
- {% assign category_view_button_text = blog_navigator_options.button_text.view_selector.category_view.de %}
125
- {% assign date_view_button_text = blog_navigator_options.button_text.view_selector.date_view.de %}
126
- {% assign archive_view_button_text = blog_navigator_options.button_text.view_selector.archive_view.de %}
127
- {% assign tag_view_button_text = blog_navigator_options.button_text.view_selector.tag_view.de %}
128
-
129
- {% assign previewer_headline = blog_navigator_options.article_previewer.page_text.de.headline %}
130
- {% assign navigator_description_text = blog_navigator_options.article_navigator.page_text.de.description %}
131
- {% assign previewer_description_text = blog_navigator_options.article_previewer.page_text.de.description %}
132
- {% endif %}
133
-
134
-
135
- {% comment %} Main container
127
+ {% comment %} Main
136
128
  -------------------------------------------------------------------------------- {% endcomment %}
137
- <!-- [INFO ] [j1.layout.content_generator_blog.html ] [Begin content] -->
138
- <div id="main-container" class="container r-text-{{rtext_size}} js-toc-content mb-5">
139
- <!-- Content placed by layouts/content_generator_blog_archive.html -->
129
+ <!-- [INFO ] [blog.navigator.index.html ] [Begin content] -->
130
+ <div id="navigator_content">
131
+
140
132
  <div id="blog_navigator">
141
133
  <div id="article_navigator">
142
134
 
135
+ {% comment %} Generate URLs for all Navigator Views
136
+ ------------------------------------------------------------------------ {% endcomment %}
143
137
  {% include {{get_page_path}} mode='absolute' %}
144
138
  {% capture navigator_path%}{{page_path}}{% endcapture %}
145
139
  {% capture archive_path %}{{navigator_path}}/archive{% endcapture %}
@@ -148,79 +142,41 @@ resource_options:
148
142
  {% capture tag_view %}{{archive_path}}/tagview/{% endcapture %}
149
143
  {% capture all_view %}{{archive_path}}/allview/{% endcapture %}
150
144
 
151
- {% comment %}
152
- ------------------------------------------------------------------------
153
- https://stackoverflow.com/questions/22763180/assign-an-array-literal-to-a-variable-in-liquid-template
154
- {% assign my_array = "one|two|three" | split: "|" %}
155
- ------------------------------------------------------------------------
156
- {% endcomment %}
157
-
158
- {% comment %} Debugging
159
- --------------------------------------------------------------------------------
160
- blog_navigator_options.article_navigator.page_text: {{blog_navigator_options.article_navigator.page_text | debug}}
161
- --------------------------------------------------------------------------------
162
- {% endcomment %}
163
-
145
+ {% comment %} Generate navigation pager
146
+ ------------------------------------------------------------------------ {% endcomment %}
164
147
  <div class="navigator-headline">
165
- <nav class="paginator speak2me-ignore mb-4">
148
+ <nav class="paginator speak2me-ignore">
166
149
  <ul class="pagination raised-z0">
167
- <li class="page-item"><a class="page-link" href="/" title="Home">Home</a></li>
168
- <li class="page-item"><a class="page-link" href="{{category_view}}" alt="View by Category">{{category_view_button_text}}</a></li>
169
- <li class="page-item"><a class="page-link" href="{{date_view}}" alt="View by Date">{{date_view_button_text}}</a></li>
170
- <!-- li class="page-item"><a class="page-link" href="{{tag_view}}" alt="{{tag_view_button_text}}">By Tag</a></li -->
171
- <li class="page-item"><a class="page-link" href="{{all_view}}" alt="View All">{{archive_view_button_text}}</a></li>
150
+ <li class="page-item"><a class="page-link" href="/" title="Back to {{home_button_text}}">{{home_button_text}}</a></li>
151
+ <li class="page-item"><a class="page-link" href="{{category_view}}" title="View by {{category_view_button_text}}">{{category_view_button_text}}</a></li>
152
+ <li class="page-item"><a class="page-link" href="{{date_view}}" title="View by {{date_view_button_text}}">{{date_view_button_text}}</a></li>
153
+ <!-- li class="page-item"><a class="page-link" href="{{tag_view}}" title="View by {{tag_view_button_text}}">{{tag_view_button_text}}</a></li -->
154
+ <li class="page-item"><a class="page-link" href="{{all_view}}" title="View {{archive_view_button_text}}">{{archive_view_button_text}}</a></li>
172
155
  </ul>
173
156
  </nav> <!-- end paginator -->
174
157
  </div> <!-- end navigator headline -->
175
158
 
176
- {% if blog_navigator_options.article_navigator.page_text.enabled %}
177
- <div class="view-description">{{navigator_description_text}}</div>
159
+ {% if description_enabled %}
160
+ <div class="view-description mt-4 mb-4">{{description_text}}</div>
161
+ {% endif %}
162
+
163
+ {% if headline_enabled %}
164
+ <div class="post-headline mt-4 mb-5">
165
+ <h2 id="post_headline" class="notoc">{{headline_text}}</h2>
166
+ </div>
178
167
  {% endif %}
179
168
 
180
169
  </div> <!-- end article_navigator -->
181
170
 
182
- <!-- Add article previewer if paginator is enabled -->
171
+ {% comment %} Generate content section
172
+ ------------------------------------------------------------------------ {% endcomment %}
173
+ <!-- Add article previewer -->
183
174
  {% if paginate %}
184
- <div id="article_previewer">
185
-
186
- <div class="previewer-headline">
187
-
188
- <div class="post-headline">
189
- <h2 id="post-headline" class="notoc mt-4">{{previewer_headline}}</h2>
190
- </div>
191
-
192
- <!-- Add Jekyll Paginator if enabled: {{scroller}} -->
193
- {% if scroller == 'jekyll' %} {% if paginator.total_pages > 1 %}
194
- <nav class="paginator mb-4">
195
- <ul class="pagination raised-z0">
196
- {% if paginator.previous_page %}
197
- <li class="page-item">
198
- <a class="page-link" href="{{paginator.previous_page_path}}#article_navigator">{{paginator_button_newer_posts_text}}</a>
199
- </li>
200
- {% else %}
201
- <li class="page-item disabled"><a href="#void" class="page-link">{{paginator_button_first_post_text}}</a></li>
202
- {% endif %}
203
-
204
- {% if paginator.next_page %}
205
- <li class="page-item">
206
- <a class="page-link" href="{{paginator.next_page_path}}#article_navigator">{{paginator_button_older_posts_text}}</a>
207
- </li>
208
- {% else %}
209
- <li class="page-item disabled"><a href="#void" class="page-link">{{paginator_button_last_post_text}}</a></li>
210
- {% endif %}
211
- </ul>
212
- </nav>
213
- {% endif %} {% endif %}
214
-
215
- {% if scroller == 'jekyll' %} {% if blog_navigator_options.article_previewer.page_text.enabled %}
216
- <div class="view-description mb-3">{{previewer_description_text}}</div>
217
- {% endif %} {% endif %}
218
-
219
- </div>
175
+ <div id="article_previewer" class="mt-5">
220
176
 
221
- <div id="navigator_article_preview">
177
+ <div id="article_preview">
222
178
  <!-- Previewer selected of type: {{previewer}}-->
223
- <div id="preview_content">
179
+ <div id="previewer_{{previewer}}">
224
180
  {% assign posts_collate = paginator.posts %}
225
181
  {% case previewer %}
226
182
  {% when 'list' %}
@@ -1,4 +1,4 @@
1
- [role="mt-4"]
1
+ [role="mt-5"]
2
2
  == The Themes Menu
3
3
 
4
4
  Styles adjust the website's appearance based on the CSS rules and definitions
@@ -30,6 +30,7 @@ that helps a lot to make designs available for an existing site. This API
30
30
  is the base to integrate selectable Bootswatch stylesheets into the J1 Template
31
31
  navigation system.
32
32
 
33
+ [role="mt-4"]
33
34
  === Apply a Style
34
35
 
35
36
  The base for designing pages using the J1 Template is the style Uno, a modern
@@ -42,10 +43,13 @@ You can find all available stylesheets to be applied on your pages from the
42
43
  *Themes* menu. You're invited to check how a page is changing for its design
43
44
  if a different stylesheet for web design is used.
44
45
 
45
- WARNING: For changing from one style to the next at *runtime*, the current
46
+ [WARNING]
47
+ ====
48
+ For changing from one style to the next at *runtime*, the current
46
49
  version of the J1 Template system tries add new styles to J1 specific
47
50
  components like fonts, headlines, lists or paragraphs. Changing the style
48
51
  will work for the most *common* elements, but *not all* of them for now.
52
+ ====
49
53
 
50
54
  Select a style from the *Themes* menu, and the new BS-based stylesheet is
51
55
  automatically applied to all pages of your website.
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  title: Extensions
3
- title_extention: Jekyll One enhancements for the Asciidoc markup language
4
- tagline: Asciidoc Markup Enhancements
3
+ title_extention: Enhance Asciidoc Markup Language
4
+ tagline: Asciidoc Markup
5
5
 
6
- date: 2020-11-07
6
+ date: 2023-09-01
7
7
  #last_modified: 2023-01-01
8
8
 
9
9
  description: >
@@ -24,6 +24,7 @@ image:
24
24
  width: 1920
25
25
  height: 1280
26
26
 
27
+ tts: false
27
28
  comments: false
28
29
  regenerate: false
29
30
  permalink: /pages/public/learn/roundtrip/asciidoc_extensions/
@@ -62,17 +63,24 @@ resource_options:
62
63
  [role="dropcap"]
63
64
  J1 Template implements some handy Ruby-based enhancements for the markup
64
65
  language Asciidoc. Providing extensions for a Jekyll theme is a unique feature
65
- of Jekyll One compared to other Jekyll themes and templates. All already
66
- implemented Asciidoctor extensions you'll find below. Additional valuable
67
- extensions to the markup language Asciidoc is made especially for documents
68
- of the Jekyll content type *page*, but can be used for posts or collections
69
- as well.
66
+ of Jekyll One compared to other Jekyll themes and templates.
70
67
 
71
- TIP: Most extensions are based on well-documented examples from the
68
+ [role="mb-4"]
69
+ All already implemented Asciidoctor extensions you'll find below.
70
+
71
+ [TIP]
72
+ ====
73
+ Most extensions are based on well-documented examples from the
72
74
  link:{url-asciidoctor--extensions-lab}[Asciidoctor Extensions Lab, {browser-window--new}].
73
75
  To create Asciidoc extensions on your own, it is highly recommended to read the
74
76
  link:{url-asciidoctor--extensions-manual}[extensions section, {browser-window--new}] in
75
77
  the Asciidoctor user manual.
78
+ ====
79
+
80
+ [role="mt-4"]
81
+ Additional valuable extensions to the markup language Asciidoc is made
82
+ especially for documents of the Jekyll content type *page*, but can be used
83
+ for posts or collections as well.
76
84
 
77
85
  mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
78
86
  *15 Minutes* to read
@@ -87,12 +95,17 @@ J1 Template adds a simple Javascript based functionality for the
87
95
  extension adds an interactive toggle button `VIEW` to the output of a listing
88
96
  block placed to the top right of the example box.
89
97
 
98
+ [role="mb-4"]
90
99
  If a result block `[.result]` is placed under a listing block, clicking the
91
100
  toggle button *view* `VIEW` displays or hide the content given by the
92
101
  result block.
93
102
 
94
- TIP: The *View Result Extension* is quite helpful for sections discussing
103
+ [role="mb-5"]
104
+ [TIP]
105
+ ====
106
+ The *View Result Extension* is quite helpful for sections discussing
95
107
  code elements.
108
+ ====
96
109
 
97
110
  .This example place a button *VIEW* top right of the example box
98
111
  [source, no_template, role="noclip"]
@@ -108,13 +121,14 @@ code elements.
108
121
  [role="mt-5"]
109
122
  == Asciidoc Admonitions
110
123
 
124
+ [role="mb-5]
111
125
  Admonition blocks draw the reader to certain statements by labeling
112
126
  them as priorities displayed in separate blocks. These types of information
113
127
  blocks are called *admonitions*. The AsciiDoc markuplanguage provides five
114
128
  block types shown by the following examples.
115
129
 
116
130
  .Admonition labels
117
- [cols="3a,9a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
131
+ [cols="3a, 9a", subs=+macros, options="header", width="100%", role="rtable mt-3 mb-4"]
118
132
  |===
119
133
  |Name |Description
120
134
 
@@ -140,9 +154,13 @@ trippings.
140
154
 
141
155
  |===
142
156
 
143
- NOTE: All colors for all default admonition blocks set to the standard
157
+ [NOTE]
158
+ ====
159
+ All colors for all default admonition blocks set to the standard
144
160
  color set. Find available block types and their colors below.
161
+ ====
145
162
 
163
+ [role="mr-4]
146
164
  When you want to call attention to a single paragraph, start the first
147
165
  line of the paragraph with the label you want to use. The label must be
148
166
  uppercase and followed by a colon `:`.
@@ -240,6 +258,7 @@ A *single* paragraph can be turned into a blockquote by:
240
258
  -- attribution
241
259
  ----
242
260
 
261
+ [role="mt-5"]
243
262
  "Don't do stupid things twice. The selection is too big for that."
244
263
  -- Jean-Paul Sartre
245
264
 
@@ -260,7 +279,8 @@ paragraph text (multiline)
260
279
  ____
261
280
  ----
262
281
 
263
- Example of a quoted *block*:
282
+ [role="mt-4 mb-4"]
283
+ Example of a quoted *block*.
264
284
 
265
285
  [quote, Monty Python and the Holy Grail]
266
286
  ____
@@ -274,18 +294,13 @@ ____
274
294
  [role="mt-5"]
275
295
  == Lightboxes
276
296
 
277
- A lightbox is, in general, a helper which displays enlarged, almost
278
- screen-filling versions of images while dimming the remainder
279
- of the page. The technique, introduced by Lightbox V2, gained widespread
280
- popularity thanks to its simple style. The term lightbox has been employed
281
- since then for Javascript libraries to support such functionality.
282
-
283
297
  To make the use of the built-in lightbox easier, the J1 Template offers an
284
- Asciidoc extension: the lightBox block macro. The lightbox block macro
298
+ Asciidoc extension: the lightBox block *macro*. The lightbox block macro
285
299
  `lightbox::` embeds one or more images into the output document and puts
286
- the default lightbox for J1 automatically on. The images width and additional
287
- a addtional caption text `caption text` and CSS styles are configurable for
288
- all images using this macro.
300
+ the default lightbox for J1 automatically on.
301
+
302
+ The images width and additional a addtional caption text `caption text`
303
+ and CSS styles are configurable for all images using this macro.
289
304
 
290
305
  .Lightbox block for single images
291
306
  [source, no_template, role="noclip"]
@@ -314,7 +329,7 @@ J1 Gallery to rearrange images and make them fit at their best for the
314
329
  available space.
315
330
  ====
316
331
 
317
- [role="mt-4"]
332
+ [role="mt-5"]
318
333
  === Standalone Images
319
334
 
320
335
  For your convenience and better readability, the image data should be
@@ -339,10 +354,13 @@ to images path `/assets/images`. The base path is automatically added to
339
354
  each image. If you want to use the default asset path for images, a relative
340
355
  path needs to be given like path-to-image `path/to/image`.
341
356
 
342
- WARNING: If an absolute path `/path/to/image` is configured, the base
357
+ [WARNING]
358
+ ====
359
+ If an absolute path `/path/to/image` is configured, the base
343
360
  path gets ignored. This is the default behavior of the Asciidoc Markup
344
361
  processor. If an absolute path is given, the full path to the images
345
362
  used has to be configured.
363
+ ====
346
364
 
347
365
  The group parameter `group` for the lightbox block `lightbox::` is optional.
348
366
  If *no* group parameter is given for a block, the related images are treated
@@ -357,13 +375,13 @@ lightbox::<block_id>[ 800, {<data-images-id>} ]
357
375
  .Lightbox block for standalone images
358
376
  lightbox::images-standalone[ 800, {data-images-standalone} ]
359
377
 
360
- [role="mt-4"]
378
+ [role="mt-5"]
361
379
  === Grouped Images
362
380
 
363
- If more than a single image is given for a lightbox block `lightbox::`,
364
- the images can be grouped to enable a simple sliding functionality through
365
- this group of related images. Enabling this function, the group option
366
- `group` needs to be configured for the block.
381
+ If more than a single image is given for a lightbox `lightbox::`, images
382
+ can be *grouped* to enable a simple sliding functionality through
383
+ related images. Enabling this function, the group option `group` needs to
384
+ be configured for the block.
367
385
 
368
386
  .Lightbox block for grouped images
369
387
  [source, no_template, role="noclip"]
@@ -374,6 +392,7 @@ lightbox::<block_id>[ 400, {<data-images-group_id>}, <group_name> ]
374
392
  .Lightbox block for grouped images
375
393
  lightbox::images-group[ 400, {data-images-group}, group_name ]
376
394
 
395
+
377
396
  [role="mt-5"]
378
397
  == Galleries
379
398
 
@@ -543,11 +562,14 @@ mdi:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
543
562
  mdi:apple[2x, md-indigo ml-3 mr-2] Brand icon (colored)
544
563
  ====
545
564
 
546
- NOTE: Parameters for icon size `icon_size` and modifiers `modifier` are
565
+ [NOTE]
566
+ ====
567
+ Parameters for icon size `icon_size` and modifiers `modifier` are
547
568
  optional. If not given, the icons size `size` is set to default `1x`, the
548
569
  color to *black* and no settings for *modifiers* `modifier` are applied.
570
+ ====
549
571
 
550
- [role="mt-4"]
572
+ [role="mt-5"]
551
573
  === Font Awesome Icons
552
574
 
553
575
  Font Awesome Icons can be used as inline icons by using the macro *fas* `fas:`
@@ -578,12 +600,14 @@ fab:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
578
600
  fab:apple[2x, md-indigo ml-3 mr-2] Brand icon (colored)
579
601
  ====
580
602
 
581
- NOTE: Parameters for icon size `icon_size` and modifiers `modifier` are
603
+ [NOTE]
604
+ ====
605
+ Parameters for icon size `icon_size` and modifiers `modifier` are
582
606
  optional. If not given, the icons size is set to default `1x`, the color
583
607
  to *black* and no settings for modifiers `modifier` are applied.
608
+ ====
584
609
 
585
-
586
- [role="mt-4"]
610
+ [role="mt-5"]
587
611
  === Iconify Icons
588
612
 
589
613
  Iconify Icons can be used as inline icons by using the iconify inline
@@ -67,11 +67,14 @@ CSS front-end framework of version V5. The Bootstrap theme feature enables
67
67
  the presentation of different versions of the same site using already prepared
68
68
  Bootstrap CSS style sets.
69
69
 
70
- NOTE: link:{url-bs--home}[Bootstrap, {browser-window--new}] is an HTML, CSS and
70
+ [NOTE]
71
+ ====
72
+ link:{url-bs--home}[Bootstrap, {browser-window--new}] is an HTML, CSS and
71
73
  Javascripts Library that focuses on simplifying the development of modern web
72
74
  pages. The primary purpose of applying the framework to J1 is to provide a
73
75
  general standard for colors, sizes, fonts, and the overall layout of a
74
76
  based site.
77
+ ====
75
78
 
76
79
  Using themes results in a uniform appearance for the content in terms of the
77
80
  overall layout, text, tables, and form elements across all modern web browsers
@@ -81,9 +84,6 @@ classes defined in Bootstrap to customize a layout individually.
81
84
  mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
82
85
  *3 Minutes* to read
83
86
 
84
- mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
85
- *3 Minutes* to read
86
-
87
87
  // Include sub-documents (if any)
88
88
  // -----------------------------------------------------------------------------
89
89
  include::{documentdir}/themes_bootstrap.asciidoc[]
@@ -97,7 +97,7 @@ To preview *all* themes supported by *J1 Template*, make your selection
97
97
  from the button *AVAILABLE THEMES* below.
98
98
 
99
99
  ++++
100
- <div class="btn-group">
100
+ <div class="btn-group speak2me-ignore">
101
101
  <!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
102
102
  <!-- NOTE: control the behaviour of popper.js for positioning -->
103
103
  <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
@@ -24,6 +24,7 @@ image:
24
24
  width: 1920
25
25
  height: 1280
26
26
 
27
+ tts: false
27
28
  regenerate: false
28
29
  permalink: /pages/public/learn/roundtrip/mdi_icon_font/
29
30
 
@@ -75,9 +76,12 @@ MDI and FA icons are very good in design and have a rich set of different
75
76
  icons for many categories used for the Web. See below for some details
76
77
  for <<Material Design Icons>> and <<FontAwesome Icons>>.
77
78
 
78
- NOTE: Iconify icons are not a locally stored icon-set like MDI or FA.
79
+ [NOTE]
80
+ ====
81
+ Iconify icons are not a locally stored icon-set like MDI or FA.
79
82
  Icons are loaded over the Internet using the so-called *Unified OpenSource Icon
80
83
  Framework*. See section <<Iconify Icons>> for more information.
84
+ ====
81
85
 
82
86
  mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
83
87
  *10 Minutes* to read
@@ -241,9 +245,11 @@ Using Material Design Icons is easy as the inline macro `mdi:` is available
241
245
  to place icons wherever you want. See more about this in section
242
246
  link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
243
247
 
244
- NOTE: _J1 Template_ supports the full set of _MDI_ for the Web. The
248
+ [NOTE]
249
+ ====
250
+ _J1 Template_ supports the full set of _MDI_ for the Web. The
245
251
  icon set is fully integrated and can be used out-of-the-box.
246
-
252
+ ====
247
253
 
248
254
  [role="mt-5"]
249
255
  == Material Design Light Icons
@@ -389,11 +395,9 @@ included.
389
395
 
390
396
  Since version 5, the icon set comes in two packages: FontAwesome *Free*
391
397
  and the proprietary, commercial FontAwesome *Pro* version but requires a
392
- license fee to pay.
393
-
394
- NOTE: The free versions (all releases up to 4 and the free version for 5) are
395
- available under SIL Open Font License 1.1, Creative Commons Attribution 4.0,
396
- and the MIT License.
398
+ license fee to pay. The free versions (all releases up to 4 and the free
399
+ version for 5) are available under SIL Open Font License 1.1, Creative
400
+ Commons Attribution 4.0, and the MIT License.
397
401
 
398
402
  FontAwesome V5 meets the Material Design idea of _Google_, and in comparison
399
403
  to Version 4, the current version is much more than face-lifting. The new
@@ -401,19 +405,25 @@ version comes with more than 2300+ icons, but many are available only with
401
405
  the Pro license. For the Free version, only a subset of 900+ icons is
402
406
  available.
403
407
 
404
- NOTE: The CSS styles for FontAwesome V5 have been extended for the J1 Template
408
+ [NOTE]
409
+ ====
410
+ The CSS styles for FontAwesome V5 have been extended for the J1 Template
405
411
  to the same classes (and their respective names) for other Font Icon sets.
406
412
  Already existing styles like `fa-flip-vertical` are available as `fa-flip-v`
407
413
  as well.
414
+ ====
408
415
 
409
416
  You can check out what icons available at
410
417
  link:{url-fontawesome--icons}[FontAwesome Icons, {browser-window--new}].
411
418
  _FontAwesome_ V5 is fully integrated - no need for additional resources to
412
419
  load. But in comparison to Version 4, a lot of differences are to be noticed.
413
420
 
414
- TIP: If you haven't used V5 yet, it is highly recommended to visit the
421
+ [TIP]
422
+ ====
423
+ If you haven't used V5 yet, it is highly recommended to visit the
415
424
  link:{url-fontawesome--get-started}[Get started, {browser-window--new}] pages to
416
425
  learn the basics and features and styles.
426
+ ====
417
427
 
418
428
  With version V5 of _FontAwesome_, the icon set is split into two general
419
429
  parts:
@@ -422,10 +432,13 @@ parts:
422
432
  * brand icons, including symbols for companies and brands,
423
433
  indicated by *FAB*
424
434
 
425
- NOTE: Using FontAwesome with Asciidoc is quite easy to use as two inline
435
+ [NOTE]
436
+ ====
437
+ Using FontAwesome with Asciidoc is quite easy to use as two inline
426
438
  macros `fab:` and `fas:` are available to place icons where ever you want.
427
439
  See more about this in section
428
440
  link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
441
+ ====
429
442
 
430
443
  Find below examples of both sets and how to use with J1 Template.
431
444
 
@@ -626,10 +639,13 @@ the client is build-in and is loaded if Iconify is requested as a resource.
626
639
  To see what icon sets are available with that framework, check the page
627
640
  link:{url-iconify--icon-sets}[Iconify Icon Sets, {browser-window--new}].
628
641
 
629
- NOTE: Using Iconify icons with J1 Template is quite easy. An inline macro
642
+ [NOTE]
643
+ ====
644
+ Using Iconify icons with J1 Template is quite easy. An inline macro
630
645
  `iconify:` is available to place icons where ever you want. See more about
631
646
  this in section
632
647
  link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
648
+ ====
633
649
 
634
650
  Currently, over 40,000 vector icons are available for many different use cases.
635
651
  Find some examples below.