j1-template 2024.1.3 → 2024.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/themes/j1/core/js/template.js +60 -56
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/footer.yml +5 -5
- data/lib/starter_web/_data/modules/navigator_menu.yml +781 -771
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/1920x1280/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_adele-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_gwen-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke_poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_michelle-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/videojs-poster.png +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +1 -1
- data/lib/starter_web/collections/_biography/becoming.adoc +1 -1
- data/lib/starter_web/collections/_biography/born-to-run.adoc +1 -1
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +1 -1
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +1 -1
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +1 -1
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/branding.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/identity.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/illustration.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/photography.adoc +1 -1
- data/lib/starter_web/collections/_portfolio/web_design.adoc +1 -1
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes.adoc +1 -1
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +1 -1
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +1 -1
- data/lib/starter_web/collections/_romance/outlander-virgins-short-story.adoc +1 -1
- data/lib/starter_web/collections/_romance/the-dressmaker.adoc +1 -1
- data/lib/starter_web/collections/_romance/the-fiery-cross.adoc +1 -1
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/_posts/yyyy-mm-dd-your-post-name.asciidoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +1 -1
- data/lib/starter_web/index.html +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/features/general.adoc +1 -1
- data/lib/starter_web/pages/public/features/template.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/viewer_all_books.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{present_videos.adoc → present_audio_video.adoc} +32 -19
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +11 -9
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_speak2me.adoc +740 -0
- metadata +6 -4
- /data/_layouts/{readme → !readme} +0 -0
@@ -0,0 +1,740 @@
|
|
1
|
+
---
|
2
|
+
title: Speak2Me
|
3
|
+
title_extention: Samples for the TTS module
|
4
|
+
tagline: Content samples
|
5
|
+
|
6
|
+
date: 2024-02-15
|
7
|
+
#last_modified: 2023-01-01
|
8
|
+
|
9
|
+
description: >
|
10
|
+
Speak2Me, a speech synthesise module for J1 Template, enables a so-called
|
11
|
+
Text-To-Speech converter. The converter functionality allows users to sit
|
12
|
+
back and listen to the browser read aloud the important contents on a
|
13
|
+
Web page.
|
14
|
+
keywords: >
|
15
|
+
open source, free, template, jekyll, jekyllone, web,
|
16
|
+
sites, static, jamstack, bootstrap,
|
17
|
+
speech synthesise, sst, j1 module, speak2me, jquery
|
18
|
+
|
19
|
+
image:
|
20
|
+
path: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
21
|
+
width: 1920
|
22
|
+
height: 1280
|
23
|
+
|
24
|
+
categories: [ Module ]
|
25
|
+
tags: [ Speech Synthesise, SST, Speak2Me, Preview ]
|
26
|
+
|
27
|
+
book:
|
28
|
+
cover: /assets/images/collections/books/biography/a_life_in_questions.jpg
|
29
|
+
|
30
|
+
toc: true
|
31
|
+
tts: true
|
32
|
+
comments: false
|
33
|
+
exclude_from_search: false
|
34
|
+
fab_menu_id: open_toc
|
35
|
+
personalization: true
|
36
|
+
regenerate: false
|
37
|
+
permalink: /pages/public/tools/previewer/speak2me/
|
38
|
+
|
39
|
+
resources: [
|
40
|
+
animate,
|
41
|
+
clipboard, carousel, comments,
|
42
|
+
gallery, lightbox, lightgallery,
|
43
|
+
masonry, masterslider, rouge, slick,
|
44
|
+
videojs, vimeoplayer
|
45
|
+
]
|
46
|
+
resource_options:
|
47
|
+
- toccer:
|
48
|
+
collapseDepth: 4
|
49
|
+
- attic:
|
50
|
+
slides:
|
51
|
+
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
52
|
+
alt: Photo by Ricardo Gomez Angel on Unsplash
|
53
|
+
badge:
|
54
|
+
type: unsplash
|
55
|
+
author: Ricardo Gomez Angel
|
56
|
+
href: //unsplash.com/@ripato/portfolio
|
57
|
+
---
|
58
|
+
|
59
|
+
// Page Initializer
|
60
|
+
// =============================================================================
|
61
|
+
// Enable the Liquid Preprocessor
|
62
|
+
:page-liquid:
|
63
|
+
|
64
|
+
// Set (local) page attributes here
|
65
|
+
// -----------------------------------------------------------------------------
|
66
|
+
// :page--attr: <attr-value>
|
67
|
+
|
68
|
+
// Load Liquid procedures
|
69
|
+
// -----------------------------------------------------------------------------
|
70
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
71
|
+
|
72
|
+
// Load page attributes
|
73
|
+
// -----------------------------------------------------------------------------
|
74
|
+
{% include {{load_attributes}} scope="all" %}
|
75
|
+
|
76
|
+
// Page content
|
77
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
78
|
+
// https://github.com/mdn/dom-examples/tree/main/web-speech-api
|
79
|
+
// https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/
|
80
|
+
// https://stackoverflow.com/questions/11279291/a-good-text-to-speech-javascript-library
|
81
|
+
// https://github.com/acoti/articulate.js
|
82
|
+
// https://codepen.io/meetselva/pen/EVaLmP
|
83
|
+
//
|
84
|
+
|
85
|
+
[role="dropcap"]
|
86
|
+
Speak2Me, a speech synthesise module for J1 Template, enables a so-called
|
87
|
+
Text-To-Speech converter. The converter functionality allows users to sit
|
88
|
+
back and listen to the browser read aloud the important contents on a web
|
89
|
+
page.
|
90
|
+
|
91
|
+
This page provides typical content elements used for webpages. Run the
|
92
|
+
converter to experience how those content elements are spoken.
|
93
|
+
|
94
|
+
[role="mb-4"]
|
95
|
+
The converter is started by clicking on the *speaker* symbol
|
96
|
+
mdi:speaker[24px, md-blue] which is placed top right in the *menu bar*.
|
97
|
+
|
98
|
+
[CAUTION]
|
99
|
+
====
|
100
|
+
The Speak2Me module is currently only available as an experimental version,
|
101
|
+
and only base elements are used for speech output. In the case of complex
|
102
|
+
elements such as tables, images, carousels, or galleries, only information
|
103
|
+
is spoken.
|
104
|
+
|
105
|
+
Browsers from manufacturers such as *Firefox* or Chromium-based browsers
|
106
|
+
like *Opera* use voices provided by Microsoft but in very poor quality and
|
107
|
+
are not supported for speech output.
|
108
|
+
|
109
|
+
Note that *Text-To-Speech* conversion is *not* available on mobile devices.
|
110
|
+
====
|
111
|
+
|
112
|
+
[role="mt-4"]
|
113
|
+
mdi:clock-time-five-outline[24px, md-gray mr-2]
|
114
|
+
*15-30 Minutes* to read
|
115
|
+
|
116
|
+
// Include sub-documents (if any)
|
117
|
+
// -----------------------------------------------------------------------------
|
118
|
+
[role="mt-5"]
|
119
|
+
== Text elements
|
120
|
+
|
121
|
+
The most common text elements used are *headlines* and *paragraphs*.
|
122
|
+
|
123
|
+
Headings typically represent *titles* and *subtitles* of sections within a
|
124
|
+
webpage. They provide visual differentiation for your content and play
|
125
|
+
an important role in accessibility. For example, headings help screen readers
|
126
|
+
understand the structure of your page and assist in navigation.
|
127
|
+
|
128
|
+
Paragraphs are structural elements displayed in a separated *block* element.
|
129
|
+
However, some elements defined as a paragraph cannot be spoken because of
|
130
|
+
their complexity.
|
131
|
+
|
132
|
+
[role="mt-4"]
|
133
|
+
=== Structured text
|
134
|
+
|
135
|
+
Blocks in webpages that contain structured text refer to specific *sections*
|
136
|
+
or *elements* of content that are organized and formatted in a structured
|
137
|
+
manner to improve readability and accessibility. These text blocks are
|
138
|
+
designed to provide a clear and organized presentation for human users to
|
139
|
+
understand the discussed context better.
|
140
|
+
|
141
|
+
Typical elements are:
|
142
|
+
|
143
|
+
* all technical terms
|
144
|
+
* highlighted text blocks
|
145
|
+
* embedded code blocks
|
146
|
+
|
147
|
+
[role="mt-4"]
|
148
|
+
==== Technical terms
|
149
|
+
|
150
|
+
Technological terms are specialized words or phrases used in a particular
|
151
|
+
field or domain to describe specific concepts, processes, technologies,
|
152
|
+
or ideas. These terms are often unique to a specific area of expertise
|
153
|
+
and may have precise meanings well-understood by professionals and
|
154
|
+
experts.
|
155
|
+
|
156
|
+
Because of current limitations of the synthesise module *Speak2Me*, words
|
157
|
+
are marked as *specialized* words are *not* spoken.
|
158
|
+
|
159
|
+
The following _Rouge_ themes are used for J1 Template (specialized words are
|
160
|
+
not spoken):
|
161
|
+
|
162
|
+
* light theme — based on the Igor theme `igorpro`
|
163
|
+
* dark theme — based on the Monokai theme `monokai.sublime`
|
164
|
+
|
165
|
+
[role="mt-4"]
|
166
|
+
==== Highlighted text
|
167
|
+
|
168
|
+
Text blocks highlighted in webpages refer to sections of text that have
|
169
|
+
been visually emphasized to stand out from the surrounding content. These
|
170
|
+
blocks are typically formatted using different styles, such as changing
|
171
|
+
the background color, applying a border, or using bold or italic fonts to
|
172
|
+
make them more noticeable and draw attention to important information.
|
173
|
+
|
174
|
+
[role="mt-4 mb-5"]
|
175
|
+
.Output example
|
176
|
+
----
|
177
|
+
Startup the site ..
|
178
|
+
Configuration file: ...
|
179
|
+
|
180
|
+
Incremental build: enabled
|
181
|
+
Generating...
|
182
|
+
J1 QuickSearch: creating search index ...
|
183
|
+
J1 QuickSearch: finished, index ready.
|
184
|
+
....
|
185
|
+
----
|
186
|
+
|
187
|
+
[role="mt-4"]
|
188
|
+
==== Code blocks
|
189
|
+
|
190
|
+
In webpages, a code block refers to a section of code typically enclosed
|
191
|
+
within special HTML or programming language tags to indicate that the content
|
192
|
+
inside should be interpreted as code and not regular text. These code blocks
|
193
|
+
are often used to display and format HTML, CSS, JavaScript, or other
|
194
|
+
programming code snippets on a webpage.
|
195
|
+
|
196
|
+
.JSON data block
|
197
|
+
[source, json, role="noclip"]
|
198
|
+
----
|
199
|
+
{
|
200
|
+
"id": 3,
|
201
|
+
"title": "Roundtrip",
|
202
|
+
"tagline": "present images",
|
203
|
+
"url": "/pages/public/learn/roundtrip/present_images/",
|
204
|
+
"date": "2020-11-03 +0100",
|
205
|
+
"tags": [
|
206
|
+
"Introduction",
|
207
|
+
"Module",
|
208
|
+
"Image"
|
209
|
+
],
|
210
|
+
"categories": [
|
211
|
+
"Roundtrip"
|
212
|
+
],
|
213
|
+
"description": "Welcome to the preview page ... and galleries.\n",
|
214
|
+
"is_post": false
|
215
|
+
}
|
216
|
+
----
|
217
|
+
|
218
|
+
[role="mt-4 mb-5"]
|
219
|
+
.Javascript code
|
220
|
+
[source, javascript]
|
221
|
+
----
|
222
|
+
// helper functions
|
223
|
+
//
|
224
|
+
function styleSheetLoaded(styleSheet) {
|
225
|
+
var sheets = document.styleSheets,
|
226
|
+
stylesheet = sheets[(sheets.length - 1)];
|
227
|
+
|
228
|
+
// find CSS file 'styleSheetName' in document
|
229
|
+
for(var i in document.styleSheets) {
|
230
|
+
if(sheets[i].href && sheets[i].href.indexOf(styleSheet) > -1) {
|
231
|
+
return true;;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
----
|
236
|
+
|
237
|
+
[role="mt-4"]
|
238
|
+
==== Quotations
|
239
|
+
|
240
|
+
Elements that povide quotations in webpages are used to visually highlight an
|
241
|
+
excerpt. They are designed to stand out from the regular text and clarify that
|
242
|
+
the content is from another person, website, or any external source.
|
243
|
+
|
244
|
+
Example of a *single* line quote:
|
245
|
+
|
246
|
+
"Don't do stupid things twice. The selection is too big for that."
|
247
|
+
-- Jean-Paul Sartre
|
248
|
+
|
249
|
+
Example of a *multiline* line written quote:
|
250
|
+
|
251
|
+
[quote, Albert Einstein]
|
252
|
+
____
|
253
|
+
What frightens me is not the destructive power of the bomb,
|
254
|
+
but the explosive power of the human heart for evil.
|
255
|
+
____
|
256
|
+
|
257
|
+
[role="mt-4"]
|
258
|
+
==== Parallax Quote
|
259
|
+
|
260
|
+
To show a more eye-catching quote, a parallax quote can be used.
|
261
|
+
|
262
|
+
++++
|
263
|
+
<div id="banner_home_parallax" class="elevated-z0"></div>
|
264
|
+
++++
|
265
|
+
|
266
|
+
[role="mt-4"]
|
267
|
+
Parallax quotes are used typically on landing pages to present e.g. the
|
268
|
+
general idea of a website or can be used as an delimiter element on
|
269
|
+
webpages.
|
270
|
+
|
271
|
+
[role="mt-4"]
|
272
|
+
=== Ordered text
|
273
|
+
|
274
|
+
Headlines and paragraphs are commonly used to structure the content of a
|
275
|
+
web page, making it more readable. See such a structure below that is
|
276
|
+
typically used in larger text like articles, or books.
|
277
|
+
|
278
|
+
[role="mt-4"]
|
279
|
+
==== Chapter One
|
280
|
+
|
281
|
+
Tyrion Lannister stood resolute upon the prow of the majestic vessel,
|
282
|
+
the Wind's Grace, its timeworn planks creaking beneath his weight.
|
283
|
+
|
284
|
+
[role="mt-4"]
|
285
|
+
===== Section One
|
286
|
+
|
287
|
+
It was a gusty tempest, much like the swirling turmoil that had
|
288
|
+
beset his life ever since he had been forced to flee the shores of
|
289
|
+
Westeros.
|
290
|
+
|
291
|
+
[role="mt-5"]
|
292
|
+
== Links
|
293
|
+
|
294
|
+
Elemts for linking are an essential part of all webpages. They allow users to navigate
|
295
|
+
between different *pages* and *websites*. In HTML, links are created using
|
296
|
+
the anchor tag `<a>`. The anchor tag defines a hyperlink, a *clickable element*,
|
297
|
+
that takes the user to *another* web page or a specific location on the *same page*.
|
298
|
+
|
299
|
+
[role="mt-4"]
|
300
|
+
=== Inline Links
|
301
|
+
|
302
|
+
Inline links are hyperlinks embedded directly within the content of a paragraph
|
303
|
+
or any other text element on a web page. These links allow users to navigate
|
304
|
+
to other webpages, resources, or sections of the same page by clicking on
|
305
|
+
the linked *text* element.
|
306
|
+
|
307
|
+
[role="mt-4"]
|
308
|
+
==== Inline Link Example
|
309
|
+
|
310
|
+
All websites created by _Jekyll_ are based on Themes, a template
|
311
|
+
system to ease the creation process of webpages, design, styles, navigation
|
312
|
+
elements and more. For a wide range of website types, the
|
313
|
+
link:{url-jamstack-club--j1-theme}[J1 Theme, {browser-window--new}] accessible
|
314
|
+
at the Jamstack Club can be used. Check the preview function and, if the Jekyll
|
315
|
+
Theme meet your needs, you can create a example web from here:
|
316
|
+
link:{url-j1--rocketstart}[Rocketstart, {browser-window--new}] to create a
|
317
|
+
Internet site in minutes.
|
318
|
+
|
319
|
+
[role="mt-4"]
|
320
|
+
=== Link Block
|
321
|
+
|
322
|
+
A *block of links* refers to a section in a webpage containing a collection
|
323
|
+
of organized hyperlinks. These links lead to different pages, resources, or
|
324
|
+
external websites. Such blocks are commonly used to present links to point
|
325
|
+
the reader to related content resources.
|
326
|
+
|
327
|
+
[role="mt-4"]
|
328
|
+
==== Link Block Example
|
329
|
+
|
330
|
+
Find more to know: +
|
331
|
+
mdi:link-variant[24px, md-gray mr-2 ml-3]
|
332
|
+
J1 Theme at link:{url-jamstack-club--j1-theme}[Jamstack Club, {browser-window--new}] +
|
333
|
+
mdi:link-variant[24px, md-gray mr-2 ml-3]
|
334
|
+
Popular SSGs and Themes at link:{url-jamstack-club--themes}[Jamstack Club, {browser-window--new}] +
|
335
|
+
mdi:link-variant[24px, md-gray mr-2 ml-3]
|
336
|
+
Popular SSGs and Themes at link:{url-jekyll-themes--home}[Jekyll Themes, {browser-window--new}]
|
337
|
+
|
338
|
+
[role="mt-5"]
|
339
|
+
== Information Blocks
|
340
|
+
|
341
|
+
Information elements draw the reader to certain statements by labeling them
|
342
|
+
as priorities displayed in separate blocks. The J1 template system provides
|
343
|
+
five types shown by the following examples.
|
344
|
+
|
345
|
+
[NOTE]
|
346
|
+
====
|
347
|
+
Blocks of type *note* give additional details on the currently
|
348
|
+
discussed topic that may help the reader to understand the following
|
349
|
+
content better.
|
350
|
+
====
|
351
|
+
|
352
|
+
[TIP]
|
353
|
+
====
|
354
|
+
An *Information* block of type *tip* provides facts that may help
|
355
|
+
the reader *to go further* or points to additional *options* available
|
356
|
+
that can be used.
|
357
|
+
====
|
358
|
+
|
359
|
+
[IMPORTANT]
|
360
|
+
====
|
361
|
+
Blocks of type *important* provide facts that should be
|
362
|
+
remembered.
|
363
|
+
====
|
364
|
+
|
365
|
+
[WARNING]
|
366
|
+
====
|
367
|
+
Blocks of type *warning* advise readers to act carefully and point to
|
368
|
+
potential risks or trippings.
|
369
|
+
====
|
370
|
+
|
371
|
+
[CAUTION]
|
372
|
+
====
|
373
|
+
A block of type *caution* instructs readers of potential danger,
|
374
|
+
harm, or consequences for the wrong usage.
|
375
|
+
====
|
376
|
+
|
377
|
+
|
378
|
+
[role="mt-5"]
|
379
|
+
== Tables
|
380
|
+
|
381
|
+
Table elements are used to organize and display data in a structured format.
|
382
|
+
Tables consist of rows and columns, and they are primarily used to present
|
383
|
+
tabular data such as technical data and other types of information that
|
384
|
+
require a grid-like layout.
|
385
|
+
|
386
|
+
.Files and Folders
|
387
|
+
[cols="4a, 8a", width="100%", options="header", role="rtable mt-4"]
|
388
|
+
|===
|
389
|
+
|File\|Folder |Description
|
390
|
+
|
391
|
+
|`_config.yml`
|
392
|
+
|Stores all *side-wide* used configuration data. Many of these options can
|
393
|
+
be specified from the command line executable but it's easier to specify
|
394
|
+
them in a file so you don't have to remember them.
|
395
|
+
|
396
|
+
|`_drafts`
|
397
|
+
|Drafts are unpublished posts. The format of these files is without a
|
398
|
+
date: `title.MARKUP`.
|
399
|
+
|
400
|
+
|===
|
401
|
+
|
402
|
+
|
403
|
+
[role="mt-5"]
|
404
|
+
== Lists
|
405
|
+
|
406
|
+
Lists are used to organize and present information in a structured and
|
407
|
+
easily readable format. The element is commonly used for creating navigation
|
408
|
+
menus and content outlines, steps in a process, and various other scenarios
|
409
|
+
where a structured presentation of information is required.
|
410
|
+
|
411
|
+
[role="mt-4"]
|
412
|
+
=== Unordered list
|
413
|
+
|
414
|
+
An unordered list represents a collection of items where the order of the
|
415
|
+
items is not significant. The list elements are typically displayed with
|
416
|
+
bullet points, or other marker symbols, preceding each item.
|
417
|
+
|
418
|
+
An unordered list may look-alike:
|
419
|
+
|
420
|
+
* _Windows_, _Linux_ and _MacOS_ platforms supported
|
421
|
+
* _Jekyll_ v4 Support and _Ruby_ v3 Support
|
422
|
+
* Asciidoc and Markdown Support
|
423
|
+
|
424
|
+
[role="mt-4"]
|
425
|
+
=== Ordered list
|
426
|
+
|
427
|
+
An ordered list is a way to present a list of items in a specific order,
|
428
|
+
where each item is preceded by a sequential number or letter. It's often
|
429
|
+
used when you want to display information step-by-step or hierarchically.
|
430
|
+
|
431
|
+
Here's an example of how an ordered list is displayed:
|
432
|
+
|
433
|
+
. _Bootstrap_ extensions included
|
434
|
+
. _Asciidoctor_ extensions included
|
435
|
+
. Infinite Scoll Support
|
436
|
+
|
437
|
+
[role="mt-4"]
|
438
|
+
=== Definition list
|
439
|
+
|
440
|
+
A definition list is a element used to create a list of terms and their
|
441
|
+
corresponding definitions. It typically present a glossary, a set of
|
442
|
+
key-value pairs, or any situation where you must associate terms with
|
443
|
+
their explanations.
|
444
|
+
|
445
|
+
[role="mt-4"]
|
446
|
+
Performance::
|
447
|
+
One of the main advantages of using a static site is that it is unbelievably
|
448
|
+
fast to load. When the user requests a page, there is no need to request
|
449
|
+
a database to generate the page itself. All the content is already placed
|
450
|
+
in one HTML file.
|
451
|
+
|
452
|
+
Security::
|
453
|
+
Say goodbye to hacking and security issues issued every week. A static site
|
454
|
+
has no database or other complex underlying interdependent parts. Indeed,
|
455
|
+
your site will have fewer footprints and security issues since it
|
456
|
+
only loads plain HTML files.
|
457
|
+
|
458
|
+
[role="mt-5"]
|
459
|
+
== Images
|
460
|
+
|
461
|
+
There are two general image types used on webpages: block and inline
|
462
|
+
images.
|
463
|
+
|
464
|
+
[role="mt-4"]
|
465
|
+
=== Inline image
|
466
|
+
|
467
|
+
An inline image is displayed in the flow of another element, such as a
|
468
|
+
paragraph block.
|
469
|
+
|
470
|
+
[role="mt-4"]
|
471
|
+
image:{{page.book.cover}}[height=480, role="mr-4 mb-2 float-left"]
|
472
|
+
|
473
|
+
His working life has been defined by questions. *Why is this bastard
|
474
|
+
lying to me?* was at the front of his mind as he conducted every interview.
|
475
|
+
But it wasn't just politicians. Paxman's interviews with Dizzee Rascal,
|
476
|
+
David Bowie, Russell Brand, Vivienne Westwood are legendary.
|
477
|
+
|
478
|
+
He discussed belief with religious leaders and philosophers, economics
|
479
|
+
with CEOs and bankers, books with writers and art and theatre with artists.
|
480
|
+
|
481
|
+
After 22 years on University Challenge, Paxman is also the longest-serving
|
482
|
+
active quizmaster on British television. Now, in these long-awaited memoirs,
|
483
|
+
he spills the beans behind four decades in front of the camera.
|
484
|
+
|
485
|
+
He offers reflections and stories from a career that has taken him as a
|
486
|
+
reporter to many of the world's war zones and trouble spots - Central America,
|
487
|
+
Beirut, Belfast, to the studios of Tonight, Panorama, Breakfast Time, the
|
488
|
+
Six O'clock News. Filled with candid stories about the great, the good and
|
489
|
+
the rotters that have crossed his path, his memoirs are as magnetic to read
|
490
|
+
as Paxman is to watch.
|
491
|
+
In that book, Paxman tells some terrific stories and laughs at much of the
|
492
|
+
silliness in the world. A Life in Questions charts the life of the greatest
|
493
|
+
political interviewer of our time.
|
494
|
+
|
495
|
+
[role="mt-4"]
|
496
|
+
=== Block image
|
497
|
+
|
498
|
+
A block image is displayed as a discrete element on its own line in a
|
499
|
+
document. webpages use block images for various purposes to enhance
|
500
|
+
visual appeal, convey information, and improve the overall user
|
501
|
+
experience.
|
502
|
+
|
503
|
+
image::/assets/images/pages/panels/responsive-text-1920x800.jpg[{{page.title}}, width=1280, role="mb-4"]
|
504
|
+
|
505
|
+
[role="mt-4 mb-5"]
|
506
|
+
[NOTE]
|
507
|
+
====
|
508
|
+
Carefully chosen and well-placed images can significantly enhance
|
509
|
+
the overall effectiveness of a web page.
|
510
|
+
====
|
511
|
+
|
512
|
+
[role="mt-4"]
|
513
|
+
[#lightbox2]
|
514
|
+
== Lightbox
|
515
|
+
|
516
|
+
Lightboxes are UI elements commonly used in webpages for various purposes.
|
517
|
+
They serve as a way to display content or interact with users without
|
518
|
+
requiring them to navigate away from the current page. This UI element
|
519
|
+
is typically designed to grab the user's attention and provide a focused
|
520
|
+
interaction experience.
|
521
|
+
|
522
|
+
[role="mb-4"]
|
523
|
+
Find below an example of using the default lightbox of the J1 Template
|
524
|
+
to display and enlarge an group of images.
|
525
|
+
|
526
|
+
.Lightbox block for multiple images
|
527
|
+
lightbox::example-group[ 395, {data-images-group}, group, role="mb-4 wm-800" ]
|
528
|
+
|
529
|
+
|
530
|
+
[role="mt-5"]
|
531
|
+
== Carousel
|
532
|
+
|
533
|
+
Standard carousels dor J1 Template are based on OWL Carousel *V1* in the
|
534
|
+
latest version. OWL Carousel is a clean and neat _jQuery_ slider plugin for
|
535
|
+
creating fully responsive and touch-enabled carousels.
|
536
|
+
|
537
|
+
[role="mt-4"]
|
538
|
+
=== Text Carousel
|
539
|
+
|
540
|
+
[role="mb-4"]
|
541
|
+
A carousel is typically used for displaying images. The implementation for
|
542
|
+
the J1 Template supports a lot more sources to be used for a slide show:
|
543
|
+
simple text, for example.
|
544
|
+
|
545
|
+
.Simple text
|
546
|
+
carousel::demo_text_carousel[role="mb-4"]
|
547
|
+
|
548
|
+
Important statements or topics can be placed on top of an article or
|
549
|
+
a paragraph to give them better visibility. In one line, you can present
|
550
|
+
many facts to know animated for the reader's attention within a single
|
551
|
+
line. No much space is needed!
|
552
|
+
|
553
|
+
[role="mt-4"]
|
554
|
+
=== Parallax text
|
555
|
+
|
556
|
+
A more eye-minded type of text-based slide show is a parallax text slider. If
|
557
|
+
you want to emphasize your statements focussing the meaning, this kind of a
|
558
|
+
slide show may be interesting. Image-based slide shows may draw off the
|
559
|
+
reader's attention from the text, therefore a pure text-based presentation
|
560
|
+
maybe the better choice.
|
561
|
+
|
562
|
+
.Parallax effect
|
563
|
+
carousel::demo_text_carousel_parallax[role="mb-4"]
|
564
|
+
|
565
|
+
[role="mt-4"]
|
566
|
+
=== Image Carousel
|
567
|
+
|
568
|
+
Carousels are mostly used for pictures data to animate the images as a series.
|
569
|
+
Find with the following some examples of how to use a carousel for your image
|
570
|
+
data.
|
571
|
+
|
572
|
+
A image carousel typically consists of a container with images and a navigation
|
573
|
+
system, including buttons, arrows, or dots that allow users to move back and
|
574
|
+
forth between images or select a specific image.
|
575
|
+
|
576
|
+
Image carousels can also include animation effects, such as fade-in or
|
577
|
+
slide-in transitions between images, to make the presentation more visually
|
578
|
+
appealing.
|
579
|
+
|
580
|
+
.Image Carousel
|
581
|
+
slick::image_carousel_full[role="mb-5"]
|
582
|
+
|
583
|
+
[role="mt-4"]
|
584
|
+
=== Carousel from Collections
|
585
|
+
|
586
|
+
[role="mb-4"]
|
587
|
+
A carousel from a collection for J1 Template is a *pre-defined* carousel
|
588
|
+
type to display collection *articles* on a webpage as a carousel. Collection
|
589
|
+
carousels pull content from a specific *collection*. All Carousels for
|
590
|
+
collections display the article image and a link to the article as a
|
591
|
+
caption. All carousels for the J1 Template can be easily customized in
|
592
|
+
various ways, such as changing the slider speed, or the navigation options
|
593
|
+
like *Arrows* and *Dots*.
|
594
|
+
|
595
|
+
.Collection Biography
|
596
|
+
slick::collection_carousel_biography[role="mb-5"]
|
597
|
+
|
598
|
+
|
599
|
+
[role="mt-4"]
|
600
|
+
== Slider
|
601
|
+
|
602
|
+
_Masterslider_ is a Query plugin fully integrated into the J1 Template.
|
603
|
+
Jekyll One uses the *free* version of Masterslider well-known as *MS Lite*.
|
604
|
+
The lite version does *not* support all features of the *full* product.
|
605
|
+
The functionality of *filters*, *layouts* are limited and *no* overlay
|
606
|
+
techniques are supported by the MS Lite version.
|
607
|
+
|
608
|
+
[role="mt-4"]
|
609
|
+
=== Slider using Thumbs
|
610
|
+
|
611
|
+
To give the users better control over a slideshow, sliders provide complex UI
|
612
|
+
elements like *thumbs* placed side-by-side left or right, or at the bottom
|
613
|
+
of a slideshow. Find two examples below how to control a slideshow.
|
614
|
+
|
615
|
+
.Image controls
|
616
|
+
masterslider::ms_00004[role="mb-5"]
|
617
|
+
|
618
|
+
.Text controls
|
619
|
+
masterslider::ms_00007[role="mt-4 mb-5"]
|
620
|
+
|
621
|
+
|
622
|
+
[role="mt-5"]
|
623
|
+
== Galleries
|
624
|
+
|
625
|
+
The J1 module link:{url-justified-gallery--home}[JustifiedGallery, {browser-window--new}]
|
626
|
+
is a great tool to create *responsive* and high-quality *justified* image
|
627
|
+
galleries. Jekyll One combines the gallery with a lightbox to enlarge the
|
628
|
+
images of a gallery. See the gallery in action. And for sure, all what you see
|
629
|
+
is even *responsive*.
|
630
|
+
|
631
|
+
[role="mt-4"]
|
632
|
+
[TIP]
|
633
|
+
====
|
634
|
+
Change the size of your current browser width to see what will happen!
|
635
|
+
====
|
636
|
+
|
637
|
+
.Masonry grid Gallery
|
638
|
+
gallery::jg_old_times[role="mb-5"]
|
639
|
+
|
640
|
+
|
641
|
+
[role="mt-5"]
|
642
|
+
== Masonry Grid
|
643
|
+
|
644
|
+
J1 Masonry is a great tool to create dynamic image galleries. Image galleries
|
645
|
+
are popular on many websites, and masonry can be a useful tool for creating
|
646
|
+
dynamic and visually appealing galleries.
|
647
|
+
|
648
|
+
[role="mb-5"]
|
649
|
+
[TIP]
|
650
|
+
====
|
651
|
+
Change the size of your current browser width to see what will happen!
|
652
|
+
====
|
653
|
+
|
654
|
+
.Image Cards
|
655
|
+
masonry::image_fixed_height_lb[]
|
656
|
+
|
657
|
+
[role="mt-4"]
|
658
|
+
By using masonry, you can create a gallery that displays images of different
|
659
|
+
sizes in an aesthetically pleasing and functional way.
|
660
|
+
|
661
|
+
|
662
|
+
[role="mt-5"]
|
663
|
+
== Audio Players
|
664
|
+
|
665
|
+
Audio players can be embedded in webpages very easy by using the HTML5 audio
|
666
|
+
tag `<audio>`. Browsers have a built-in multimedia framework for decoding
|
667
|
+
and playing audio content directly within a webpage.
|
668
|
+
|
669
|
+
.Ambient Piano
|
670
|
+
audio::/assets/audio/sound-effects/ambient-piano.mp3[role="mt-4 mb-5"]
|
671
|
+
|
672
|
+
|
673
|
+
[role="mt-4"]
|
674
|
+
== Video Players
|
675
|
+
|
676
|
+
Video players embedded in webpages are software components that integrate
|
677
|
+
and play videos directly within a web page or application. These players
|
678
|
+
are essential for websites, blogs, and apps that want to display video content
|
679
|
+
without requiring users to download the video file or use any external
|
680
|
+
media player.
|
681
|
+
|
682
|
+
Embedded video players provide a seamless and user-friendly way to present
|
683
|
+
video content to your audience.
|
684
|
+
|
685
|
+
[role="mt-4"]
|
686
|
+
=== HTML5
|
687
|
+
|
688
|
+
HTML5 Video opens the doors to your way of presenting video content. All
|
689
|
+
modern browsers support the video tag `<video>` for the HTML5. Browsers have
|
690
|
+
a built-in multimedia framework already for decoding and displaying video
|
691
|
+
content. No need to use such proprietary software components anymore.
|
692
|
+
|
693
|
+
.HTML5 Player
|
694
|
+
video::/assets/videos/gallery/html5/video1.mp4[poster="/assets/videos/gallery/video1-poster.jpg" role="mt-4 mb-5"]
|
695
|
+
|
696
|
+
[role="mt-4"]
|
697
|
+
=== VideoJS
|
698
|
+
|
699
|
+
VideoJS is an Open Source JavaScript framework and library for building
|
700
|
+
custom video players for the web. It provides a flexible and customizable
|
701
|
+
platform for displaying and controlling video content on websites and web
|
702
|
+
applications.
|
703
|
+
|
704
|
+
.VideoJS
|
705
|
+
videojs::/assets/videos/gallery/html5/video1.mp4[poster="/assets/videos/gallery/video1-poster.jpg" role="mt-4 mb-5"]
|
706
|
+
|
707
|
+
[role="mt-5"]
|
708
|
+
=== YouTube
|
709
|
+
|
710
|
+
YouTube is a popular online video-sharing platform that allows users to
|
711
|
+
upload, view, share, and comment on videos. It was created in February 2005
|
712
|
+
and acquired by Google in November 2006. YouTube provides a platform for
|
713
|
+
people and organizations to publish various video content.
|
714
|
+
|
715
|
+
.Last Carpool Karaoke
|
716
|
+
youtube::nV8UZJNBY6Y[poster="/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg" role="mt-4 mb-5"]
|
717
|
+
|
718
|
+
[role="mt-5"]
|
719
|
+
=== Wistia
|
720
|
+
|
721
|
+
Wistia is a marketing software and video hosting platform made for B2B
|
722
|
+
marketers with free or paid plans available. While Wistia may not be the
|
723
|
+
*Big Man on Campus* (BMOC) like Vimeo, it still brings valuable functionality
|
724
|
+
to the table for marketers and should be seriously considered as a viable
|
725
|
+
video platform.
|
726
|
+
|
727
|
+
.Wistia Video
|
728
|
+
wistia::29b0fbf547[role="mt-5 mb-4"]
|
729
|
+
|
730
|
+
[role="mt-5"]
|
731
|
+
=== Vimeo
|
732
|
+
|
733
|
+
Vimeo is an online video-sharing platform that allows users to upload,
|
734
|
+
share, and view videos. It was founded in 2004 by a group of filmmakers
|
735
|
+
and has since grown into a popular platform for individuals and businesses
|
736
|
+
to showcase their videos. Vimeo is known for its emphasis on high-quality
|
737
|
+
video content, creative expression, and a supportive community of creators.
|
738
|
+
|
739
|
+
.Forever 21 Channel
|
740
|
+
vimeo::179528528[role="mt-5 mb-7"]
|