j1-template 2023.6.0 → 2023.7.0
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_news_panel_posts.html +11 -9
- data/_includes/themes/j1/layouts/content_generator_post.html +8 -6
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +4 -4
- data/_includes/themes/j1/procedures/posts/pager.proc +1 -1
- data/_layouts/_home.html +88 -0
- data/_layouts/home.html +1 -1
- data/assets/data/banner.html +7 -7
- data/assets/data/panel.html +37 -25
- data/assets/data/quicklinks.html +40 -30
- data/assets/data/speak2me.html +219 -0
- data/assets/data/translator.html +32 -4
- data/assets/themes/j1/adapter/js/speak2me.js +425 -0
- data/assets/themes/j1/adapter/js/translator.js +10 -2
- data/assets/themes/j1/core/css/icon-fonts/mdib.css +21 -0
- data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -1
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +43 -0
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +141 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1658 -0
- data/assets/themes/j1/core/js/template.min.js +11 -5
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/speak2me/LICENSE +21 -0
- data/assets/themes/j1/modules/speak2me/js/speak2me.js +947 -0
- data/assets/themes/j1/modules/speak2me/js/speak2me.min.js +26 -0
- data/assets/themes/j1/modules/translator/js/translator.js +30 -13
- data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +4 -4
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +7 -1
- data/lib/starter_web/_data/blocks/banner.yml +7 -6
- data/lib/starter_web/_data/blocks/panel.yml +37 -39
- data/lib/starter_web/_data/layouts/home.yml +1 -1
- data/lib/starter_web/_data/modules/advertising.yml +10 -88
- data/lib/starter_web/_data/modules/buymeacoffee.yml +30 -0
- data/lib/starter_web/_data/modules/defaults/advertising.yml +3 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +97 -164
- data/lib/starter_web/_data/modules/defaults/buymeacoffee.yml +30 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +8 -4
- data/lib/starter_web/_data/modules/defaults/speak2me.yml +72 -0
- data/lib/starter_web/_data/modules/scroller.yml +1 -1
- data/lib/starter_web/_data/modules/speak2me.yml +33 -0
- data/lib/starter_web/_data/resources.yml +24 -1
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/google/static/{google_ad_5128488466.html → google_ad__your-slot-id.html} +1 -1
- data/lib/starter_web/_plugins/asciidoctor/callout.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +2 -7
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +2 -3
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/mdib-icon-inline.rb +43 -0
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/textbook-block.rb +1 -1
- data/lib/starter_web/_plugins/filter/liquify.rb +22 -22
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/books/biography/a_life_in_questions.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/becoming.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/born_to_run.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/forty_autumns.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/not_dead_yet.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/the_princess_diarist.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/biography/when_breath_becomes_air.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/harry-potter-deathly-hallows.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/harry-potter-philosophers-stone.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/mistborn-trilogy.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/ready-player-one.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/sword-of-destiny.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/fantasy/terry-pratchet-diary.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/breath-of-snow-and-ashes.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/it-ends-with-us.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/outlander-novel.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/outlander-short-story.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/the-fiery-cross.jpg +0 -0
- data/lib/starter_web/assets/images/collections/books/romance/the_dressmaker.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +13 -8
- data/lib/starter_web/collections/_biography/becoming.adoc +18 -12
- data/lib/starter_web/collections/_biography/born-to-run.adoc +17 -13
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +14 -9
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +12 -7
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +13 -8
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +14 -9
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +13 -7
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +12 -8
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +14 -10
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +12 -11
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +15 -7
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +11 -6
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes.adoc +15 -10
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -6
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +11 -6
- data/lib/starter_web/collections/_romance/{virgins-outlander-short-story.adoc → outlander-virgins-short-story.adoc} +11 -6
- data/lib/starter_web/collections/_romance/{dressmaker-the.adoc → the-dressmaker.adoc} +11 -6
- data/lib/starter_web/collections/_romance/{fiery-cross-the.adoc → the-fiery-cross.adoc} +11 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +6 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +12 -11
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +9 -7
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +8 -8
- data/lib/starter_web/dot.ruby-version +1 -1
- data/lib/starter_web/index.html +10 -8
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/features.adoc +7 -1
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +3 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +6 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +6 -13
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +17 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +7 -8
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -7
- data/lib/starter_web/pages/public/blog/navigator/index.html +15 -14
- data/lib/starter_web/pages/public/features/general.adoc +7 -1
- data/lib/starter_web/pages/public/features/template.adoc +87 -128
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +3 -0
- 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 -0
- 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 +11 -8
- data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +4 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +8 -4
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +27 -28
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +164 -153
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +22 -16
- data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +3 -2
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +62 -74
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.1.asciidoc +460 -0
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +4 -0
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +21 -15
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +470 -449
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +53 -54
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +46 -34
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +25 -22
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +6 -2
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +4 -0
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +2 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +22 -3
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +5 -0
- data/lib/starter_web/pages/public/manuals/speak2me.adoc +412 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +27 -19
- data/lib/starter_web/pages/public/plans/plans.adoc +3 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +2 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +2 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/j1.adoc +2 -0
- data/lib/starter_web/pages/public/tools/cheatsheet/yaml.adoc +6 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +17 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +38 -7
- data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +0 -19
@@ -7,14 +7,9 @@ date: 2020-11-04
|
|
7
7
|
#last_modified: 2023-01-01
|
8
8
|
|
9
9
|
description: >
|
10
|
-
The J1 Template support playing video on web pages
|
11
|
-
the new standard of HTML
|
12
|
-
|
13
|
-
`<video>` for the HTML5 video standard. The previous proprietary
|
14
|
-
de facto standard software like Flash Player, Quicktime, or
|
15
|
-
Silverlight is no longer needed as the Jekyll theme JekyllOne
|
16
|
-
provides HTML5 Video support for local video content and from
|
17
|
-
online sources on the Internet.
|
10
|
+
The J1 Template support playing video on web pages
|
11
|
+
by HTML5 Video, the new standard of HTML to show
|
12
|
+
videos on web pages.
|
18
13
|
keywords: >
|
19
14
|
open source, free, template, jekyll, jekyllone, web,
|
20
15
|
sites, static, jamstack, bootstrap,
|
@@ -91,64 +86,68 @@ resource_options:
|
|
91
86
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
92
87
|
[role="dropcap"]
|
93
88
|
The J1 Template support playing video on web pages by HTML5 Video, the new
|
94
|
-
standard of HTML
|
95
|
-
on the web.
|
89
|
+
standard of HTML to show videos on webpages.
|
96
90
|
|
97
|
-
Modern browsers support the video tag `<video>` for the HTML5
|
98
|
-
|
99
|
-
_Flash Player_,
|
100
|
-
Jekyll theme
|
91
|
+
Modern browsers support the video tag `<video>` for the new HTML5 video
|
92
|
+
standard. The previous proprietary de facto standard software like
|
93
|
+
_Flash Player_, _Quicktime_, or _Silverlight_ is no longer needed as the
|
94
|
+
Jekyll theme J1 provides HTML5 Video support for local video content
|
101
95
|
and from online sources on the Internet.
|
102
96
|
|
97
|
+
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
98
|
+
*10 Minutes* to read
|
99
|
+
|
103
100
|
// Include sub-documents (if any)
|
104
101
|
// -----------------------------------------------------------------------------
|
105
|
-
[role="mt-
|
102
|
+
[role="mt-5"]
|
106
103
|
== Video Galleries
|
107
104
|
|
108
|
-
HTML5 Video opens the doors to your way of presenting video content.
|
109
|
-
browsers support the video tag `<video>` for the HTML5
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
HTML5 Video support is given by the App gallery combined with the lightbox
|
114
|
-
LightGallery.
|
105
|
+
HTML5 Video opens the doors to your way of presenting video content. All
|
106
|
+
modern browsers support the video tag `<video>` for the HTML5. Browsers have
|
107
|
+
a built-in multimedia framework already for decoding and displaying video
|
108
|
+
content. No need to use such proprietary software components anymore!
|
115
109
|
|
116
|
-
|
110
|
+
HTML5 Video support is given by the lightbox *LightGallery*. Two types of
|
111
|
+
video sources are supported:
|
117
112
|
|
118
113
|
. Video files from local folders (your webspace)
|
119
114
|
. Video files from online sources (on the Internet) like YouTube, Vimeo, etc.
|
120
115
|
|
121
|
-
The combination of
|
122
|
-
|
123
|
-
|
124
|
-
|
116
|
+
The combination of a gallery and a lightbox is entirely usable for all
|
117
|
+
the video content you want to present on your site. You can place galleries
|
118
|
+
elsewhere with your content. You can use them for video blogs by putting
|
119
|
+
them into your blog article's content.
|
125
120
|
|
126
|
-
WARNING: LightGallery can be used for free for private use, but
|
127
|
-
license is
|
121
|
+
WARNING: The module LightGallery can be used for free for private use, but
|
122
|
+
a commercial license is required for business use. See
|
128
123
|
link:{url-light-gallery--license}[LightGallery licenses, {browser-window--new}]
|
129
124
|
how to use LightGallery for commercial websites and projects.
|
130
125
|
|
126
|
+
|
127
|
+
[role="mt-5"]
|
131
128
|
== Local Video content
|
132
129
|
|
133
130
|
Digital image content, simple pictures or videos, are easy to make. Today,
|
134
|
-
every mobile has a camera. Presenting a bunch of
|
135
|
-
|
136
|
-
|
137
|
-
|
131
|
+
every mobile has a camera. Presenting a bunch of pictures is done very easily
|
132
|
+
by using *Justified Gallery*. Videos created by a digicam or a mobile can be
|
133
|
+
played by J1 Template using the HTML5 Video support. Present videos you have
|
134
|
+
made at it's best.
|
138
135
|
|
139
136
|
Two players are available with LightGallery:
|
140
137
|
|
141
138
|
. an internal player used by default
|
142
|
-
. {url-videojs--home}[video.js, {browser-window--new}], a
|
143
|
-
Javascript video library including a great player
|
139
|
+
. VideoJS {url-videojs--home}[video.js, {browser-window--new}], a
|
140
|
+
excellent Javascript video library including a great player
|
144
141
|
|
145
142
|
NOTE: The HTML5 specification does *not* define which video and audio formats
|
146
143
|
browsers *should* support. J1 LightGallery can play all types of standard
|
147
|
-
HTML5 Video formats on modern browsers today
|
144
|
+
HTML5 Video formats on modern browsers today like MP4, WebM, or Ogg.
|
148
145
|
|
149
146
|
.MP4 Videos - VideoJS Player
|
150
147
|
gallery::jg_video_html5[role="mb-5"]
|
151
148
|
|
149
|
+
|
150
|
+
[role="mt-5"]
|
152
151
|
== Online Video content
|
153
152
|
|
154
153
|
The Internet is full of inspiring content. If you want to present video
|
@@ -161,9 +160,9 @@ The community at link:{url-youtube--home}[YouTube, {browser-window--new}] is
|
|
161
160
|
large, with over 1 billion users that watch hundreds of millions of hours of
|
162
161
|
content every day. The number of channels on YouTube is enormous. For TV
|
163
162
|
Stations, it's a must to publish videos of their shows on YouTube. Find below
|
164
|
-
a current gallery from *The Voice Kids
|
165
|
-
channel *Carpool Karaoke*
|
166
|
-
at CBS, Los Angeles.
|
163
|
+
a current gallery from *The Voice Kids*, a SAT.1 Germany production, and a
|
164
|
+
real classic channel *Carpool Karaoke* presented by the frontman _James Corden_
|
165
|
+
of *The Late Late Show* at CBS, Los Angeles.
|
167
166
|
|
168
167
|
.The Voice Kids, Germany 2021
|
169
168
|
gallery::jg_video_online_youtube_2[role="mb-5"]
|
@@ -198,10 +197,10 @@ link:{url-vivendi--home}[Vivendi, {browser-window--new}]. The platform is
|
|
198
197
|
available worldwide in 183 languages and 43 localised versions featuring local
|
199
198
|
home pages and local content.
|
200
199
|
|
201
|
-
The platform is a monetization solution that allows allows to directly
|
202
|
-
to high-quality advertisers through a proprietary Advertising
|
203
|
-
YouTube, videos
|
204
|
-
video.
|
200
|
+
The platform is a *monetization* solution that allows allows to directly
|
201
|
+
connect to high-quality advertisers through a proprietary Advertising system.
|
202
|
+
Like YouTube, videos can be watched for free, but ads are shown on each and
|
203
|
+
every video.
|
205
204
|
|
206
205
|
Dailymotion allows users to search videos by *tags*, topic *channels*, or
|
207
206
|
user-created *groups*. Users can upload videos of up to 2 gigabytes and a
|
@@ -218,7 +217,7 @@ gallery::jg_video_online_dailymotion[role="mb-5"]
|
|
218
217
|
|
219
218
|
=== VK
|
220
219
|
|
221
|
-
link:{url-vk--home}[VK, {browser-window--new}],
|
220
|
+
link:{url-vk--home}[VK, {browser-window--new}], Vkontakte.ru until
|
222
221
|
January 2012, is a multilingual social network operated from Russia.
|
223
222
|
Registered users can create a profile on VK and exchange information with
|
224
223
|
other users.
|
@@ -237,24 +236,24 @@ right-wing extremists or to suppress racist currents on the platform.
|
|
237
236
|
gallery::jg_video_online_vk[role="mb-5"]
|
238
237
|
|
239
238
|
|
239
|
+
[role="mt-5"]
|
240
240
|
== What next
|
241
241
|
|
242
242
|
Images and videos are pretty visual. And it can be impressive, for sure.
|
243
|
-
But the most visual component
|
243
|
+
But the most visual component on all web pages is text, for all sites on
|
244
244
|
the Internet.
|
245
245
|
|
246
|
-
Sadly, one common flaw
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
246
|
+
Sadly, one common flaw in many templates and frameworks is a lack of support
|
247
|
+
for responsive text. While other elements on a page resize fluidly, the text
|
248
|
+
still resizes fixedly. To avoid this issue, especially for heavily text-focused
|
249
|
+
pages, J1 Template supports a fluidly scaled text that changes in size and
|
250
|
+
line height to optimize readability for the user.
|
251
251
|
|
252
252
|
The Jekyll Theme JekyllOne places the character font as one of the most
|
253
253
|
crucial branding elements for any website. Typography matters for any media
|
254
|
-
presenting text. The text will take on an important role of acting
|
255
|
-
|
256
|
-
|
257
|
-
Typography next.
|
254
|
+
presenting text. The text will take on an important role of acting as plain
|
255
|
+
text and as something like images. To see how text could be presented great
|
256
|
+
for modern responsive websites.
|
258
257
|
|
259
258
|
What? Please find out how it works.
|
260
259
|
Go for: link:{url-roundtrip--typography}[Typography], then.
|
@@ -6,11 +6,10 @@ tagline: Viewed Best On All Devices
|
|
6
6
|
date: 2020-11-09
|
7
7
|
#last_modified: 2023-01-01
|
8
8
|
description: >
|
9
|
-
J1
|
10
|
-
based on Bootstrap. The approach used
|
11
|
-
|
12
|
-
|
13
|
-
on all devices and browsers.
|
9
|
+
J1 Template supports a new design for responsive tables
|
10
|
+
based on Bootstrap. The approach used is using pure CSS
|
11
|
+
styles on top of the classic Bootstrap styles for simplicity
|
12
|
+
and portability to be viewed best on all devices and browsers.
|
14
13
|
keywords: >
|
15
14
|
open source, free, template, jekyll, jekyllone, web,
|
16
15
|
sites, static, jamstack, bootstrap,
|
@@ -27,7 +26,7 @@ image:
|
|
27
26
|
regenerate: false
|
28
27
|
permalink: /pages/public/learn/roundtrip/responsive_tables/
|
29
28
|
|
30
|
-
resources: [ animate, clipboard,
|
29
|
+
resources: [ animate, clipboard, rouge ]
|
31
30
|
resource_options:
|
32
31
|
- attic:
|
33
32
|
slides:
|
@@ -61,15 +60,17 @@ resource_options:
|
|
61
60
|
// Page content
|
62
61
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
63
62
|
[role="dropcap"]
|
64
|
-
Creating a design for responsive tables is challenging.
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
63
|
+
Creating a design for responsive tables is challenging. J1 Template supports
|
64
|
+
a new design for responsive tables based on Bootstrap. The approach used is
|
65
|
+
based on pure CSS styles on top of the classic Bootstrap tags for simplicity
|
66
|
+
and portability to be viewed best on all devices and browsers.
|
67
|
+
|
68
|
+
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
69
|
+
*5 Minutes* to read
|
69
70
|
|
70
71
|
// Include sub-documents (if any)
|
71
72
|
// -----------------------------------------------------------------------------
|
72
|
-
[role="mt-
|
73
|
+
[role="mt-5"]
|
73
74
|
== Table types
|
74
75
|
|
75
76
|
But, for sure, the solutions provided are a compromise. To fit the everyday
|
@@ -82,35 +83,38 @@ needs for tables viewed on desktop and mobile devices, two types of
|
|
82
83
|
|Style |Type |Description
|
83
84
|
|
84
85
|
|`rtable`
|
85
|
-
|*
|
86
|
-
|
|
86
|
+
|*B Table*
|
87
|
+
|B Tables are used by J1 Template for default. Those tables are using the
|
87
88
|
*responsive text* feature (see link:{url-roundtrip--typography}[Typography])
|
88
|
-
with no additional CSS classes
|
89
|
-
scales down and should fit the cells automatically. The default
|
90
|
-
J1 is `r-text-300`.
|
89
|
+
of Bootstrap with no additional CSS classes applied. For smaller viewports,
|
90
|
+
the text scales down and should fit the cells automatically. The default
|
91
|
+
text size for J1 is `r-text-300`.
|
91
92
|
|
92
93
|
|`table-responsive`
|
93
|
-
|*
|
94
|
+
|*R Table*
|
94
95
|
|If adding the class `table-responsive`, it creates a responsive table based
|
95
|
-
on Bootstrap CSS styles.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
96
|
+
on *additional* Bootstrap CSS styles. Making any table responsive across
|
97
|
+
all viewports, the additional class `table-responsive` is to applied. For
|
98
|
+
specific Bootstrap breakpoints, the breakpoint classes
|
99
|
+
`table-responsive-{lg \| sm \| md \| lg \| xl}` are available to have better
|
100
|
+
control on what viewport sizes tables are being transformed.
|
100
101
|
|
101
102
|
|===
|
102
103
|
|
103
|
-
To see the transformation on a table in action, resize for desktop
|
104
|
-
|
105
|
-
tablets
|
104
|
+
TIP: To see the transformation on a table in action, resize for desktop
|
105
|
+
devices the browser window smaller than *768px* to transform for mobiles or
|
106
|
+
tablets.
|
107
|
+
|
106
108
|
|
107
|
-
|
109
|
+
[role="mt-5"]
|
110
|
+
== Bootstrap Tables
|
108
111
|
|
109
112
|
Tables are widely used for documentation pages. Below, simple 2-column tables
|
110
113
|
are used to explain some of the Jekyll variables for templating your content
|
111
114
|
pages.
|
112
115
|
|
113
|
-
|
116
|
+
[bs-table-2-column-fixed]
|
117
|
+
=== Fixed font size
|
114
118
|
|
115
119
|
Bootstrap tables support tables to be scrolled horizontally on smaller
|
116
120
|
viewports. From a specified breakpoint and up, the table will behave
|
@@ -156,6 +160,10 @@ Post's front matter by specifying a new date/time in the format
|
|
156
160
|
|
157
161
|
|===
|
158
162
|
|
163
|
+
|
164
|
+
[bs-table-2-column-responsive]
|
165
|
+
=== Responsive font size
|
166
|
+
|
159
167
|
.Bootstrap using responsive text size
|
160
168
|
[source, asciidoc, role="noclip"]
|
161
169
|
----
|
@@ -193,8 +201,8 @@ Post's front matter by specifying a new date/time in the format
|
|
193
201
|
|
194
202
|
|===
|
195
203
|
|
196
|
-
|
197
|
-
|
204
|
+
[role="mt-4"]
|
205
|
+
== Responsive Tables
|
198
206
|
|
199
207
|
Responsive tables *rebuild* a table. The header is set to invisible, and
|
200
208
|
all columns get vertically *stacked as rows*.
|
@@ -273,7 +281,8 @@ Post's front matter by specifying a new date/time in the format
|
|
273
281
|
|
274
282
|
|===
|
275
283
|
|
276
|
-
|
284
|
+
////
|
285
|
+
[role="mt-5"]
|
277
286
|
== Tables multi-column
|
278
287
|
|
279
288
|
Responsive Bootstrap tables support tables to be scrolled horizontally
|
@@ -284,6 +293,7 @@ available to better control over what viewport sizes table are transformed.
|
|
284
293
|
From a specified breakpoint and up, the table will behave normally
|
285
294
|
and do not scroll horizontally.
|
286
295
|
|
296
|
+
[bs-table-multi-column]
|
287
297
|
=== Bootstrap table
|
288
298
|
|
289
299
|
Bootstrap responsive tables make use of the CSS `overflow-x: auto`, which
|
@@ -361,6 +371,7 @@ the form `#RRGGBB`
|
|
361
371
|
|
362
372
|
|===
|
363
373
|
|
374
|
+
[role="mt-4"]
|
364
375
|
=== Responsive table
|
365
376
|
|
366
377
|
.R Table using fixed text size `no-rtext`
|
@@ -432,8 +443,9 @@ Alternatively, the color can be configured as (hexadecimal) RGB valuess of
|
|
432
443
|
the form `#RRGGBB`
|
433
444
|
|
434
445
|
|===
|
446
|
+
////
|
435
447
|
|
436
|
-
|
448
|
+
[role="mt-5"]
|
437
449
|
== What next
|
438
450
|
|
439
451
|
Expectedly you've enjoyed exploring all the possibilities J1 offers so far.
|
@@ -443,8 +455,8 @@ do for your Web Site.
|
|
443
455
|
J1 Template offers various unique functionalities compared to other Jekyll
|
444
456
|
themes and templates. Bootstrap themes for the J1 Template are based on the
|
445
457
|
free and open-source CSS front-end framework Bootstrap of version V5. The
|
446
|
-
Bootstrap themes for the J1 enable the presentation of different
|
447
|
-
|
458
|
+
Bootstrap themes for the J1 enable the presentation of different skins of
|
459
|
+
the same site using already prepared Bootstrap CSS templates.
|
448
460
|
|
449
461
|
Using Bootstrap themes results in a uniform appearance for the content in
|
450
462
|
terms of the overall layout, text, tables, and form elements across all
|
@@ -7,12 +7,10 @@ date: 2020-11-05
|
|
7
7
|
#last_modified: 2023-01-01
|
8
8
|
|
9
9
|
description: >
|
10
|
-
J1 Template places the character font as
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
text but also as something like images.
|
15
|
-
keywords: >
|
10
|
+
J1 Template places the character font as one of the
|
11
|
+
most crucial branding elements for any website. The
|
12
|
+
text take on an important role of acting not only as
|
13
|
+
plain text but also as something like images.
|
16
14
|
keywords: >
|
17
15
|
open source, free, template, jekyll, jekyllone, web,
|
18
16
|
sites, static, jamstack, bootstrap,
|
@@ -29,7 +27,7 @@ image:
|
|
29
27
|
regenerate: false
|
30
28
|
permalink: /pages/public/learn/roundtrip/typography/
|
31
29
|
|
32
|
-
resources: [ animate, clipboard,
|
30
|
+
resources: [ animate, clipboard, rouge ]
|
33
31
|
resource_options:
|
34
32
|
- attic:
|
35
33
|
opacity: 0.3
|
@@ -67,21 +65,25 @@ resource_options:
|
|
67
65
|
// Page content
|
68
66
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
69
67
|
[role="dropcap"]
|
70
|
-
The Jekyll Theme
|
71
|
-
|
72
|
-
presenting text. The text will take on an important role of acting not
|
73
|
-
as plain text but also as something like images.
|
68
|
+
The Jekyll Theme J1 places the character font as one of the most crucial
|
69
|
+
branding elements for any website. Typography matters for any page
|
70
|
+
presenting text. The text will take on an important role of acting not
|
71
|
+
only as plain text but also as something like images.
|
72
|
+
|
73
|
+
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
74
|
+
*5 Minutes* to read
|
74
75
|
|
75
76
|
// Include sub-documents (if any)
|
76
77
|
// -----------------------------------------------------------------------------
|
77
|
-
[role="mt-
|
78
|
+
[role="mt-5"]
|
78
79
|
== Responsive Text
|
79
80
|
|
80
|
-
Sadly, one common flaw is seen in many templates and frameworks:
|
81
|
-
support for
|
81
|
+
Sadly to say, one common flaw is seen in many templates and frameworks:
|
82
|
+
the lack of support for responsive text. While elements on a page resize
|
82
83
|
fluidly, the text still resizes on a fixed basis. To avoid this issue,
|
83
84
|
especially for heavily text-focused pages, J1 Template supports styles that
|
84
|
-
fluidly scale text size and line height to optimize readability for the
|
85
|
+
fluidly scale text in size and line height to optimize readability for the
|
86
|
+
user.
|
85
87
|
|
86
88
|
Below you find an example of how text behaves if defined on a fixed basis -
|
87
89
|
what you'll see quite often. Change the size of your Browser Window to see
|
@@ -93,7 +95,7 @@ what will happen in terms of responsiveness.
|
|
93
95
|
<i class="toggle-button mdi mdi-toggle-switch-off mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
94
96
|
Toggle rtext
|
95
97
|
</button>
|
96
|
-
<div class="mb-4">
|
98
|
+
<div class="speak2me-ignore mb-4">
|
97
99
|
<div class="content">
|
98
100
|
<!-- jadams, 2020-11-15: adjusted heading levels (Google optimisation) -->
|
99
101
|
<h3 class="notoc">The Extremes of Good and Evil</h3>
|
@@ -133,6 +135,7 @@ To see Responsive Text `r-text` in action, use the button above to toggle on
|
|
133
135
|
and off Responsive Text to see the difference!
|
134
136
|
|
135
137
|
|
138
|
+
[role="mt-5"]
|
136
139
|
== Scaling Responsive Text
|
137
140
|
|
138
141
|
The responsive text comes in five different scale factors in a range from 100
|
@@ -151,7 +154,7 @@ responsiveness in action.
|
|
151
154
|
<i class="scale-button mdi mdi-arrow-up mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
152
155
|
Scale rtext
|
153
156
|
</button>
|
154
|
-
<div class="mb-4">
|
157
|
+
<div class="speak2me-ignore mb-4">
|
155
158
|
<div class="content">
|
156
159
|
<!-- jadams, 2020-11-15: adjusted heading levels (Google optimisation) -->
|
157
160
|
<h3 class="notoc">The Extremes of Good and Evil</h3>
|
@@ -185,18 +188,17 @@ responsiveness in action.
|
|
185
188
|
++++
|
186
189
|
|
187
190
|
|
191
|
+
[role="mt-5"]
|
188
192
|
== Scale factors
|
189
193
|
|
190
194
|
As mentioned, `r-text` comes in five levels of size. The base of `r-text` is
|
191
195
|
the Fibonacci numbers extracted from the Fibonacci series. These numbers are
|
192
|
-
the most popular division ratios in typography.
|
193
|
-
|
194
|
-
usually the base.
|
196
|
+
the most popular division ratios in typography. Fibonacci numbers are relevant
|
197
|
+
in design and typography due to their prevalence in natural patterns.
|
195
198
|
|
196
199
|
The Fibonacci series is translated into CSS Media queries and scales a base
|
197
200
|
font in size accordingly. Further, the resulting font scale series have
|
198
|
-
multipliers
|
199
|
-
base.
|
201
|
+
multipliers ranging from 0.5 up to 1.0, resulting in 100% of the base.
|
200
202
|
|
201
203
|
That way, five series are available by the five scale factors. See the
|
202
204
|
following table how `r-text` scales.
|
@@ -253,6 +255,7 @@ explorer of the truth, the master-builder of human happiness.
|
|
253
255
|
|===
|
254
256
|
|
255
257
|
|
258
|
+
[role="mt-5"]
|
256
259
|
== What next
|
257
260
|
|
258
261
|
Have you enjoyed playing with the text? I hope so. But even more, J1 can
|
@@ -64,17 +64,21 @@ resource_options:
|
|
64
64
|
// Page content
|
65
65
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
66
66
|
[role="dropcap"]
|
67
|
-
Welcome to the learning pages of
|
67
|
+
Welcome to the learning pages of the J1 Template. A good decision to
|
68
68
|
get on that page first. Certainly, there is no better place to start learning
|
69
69
|
what the J1 Template can do and what pages are available to experience more.
|
70
70
|
|
71
|
-
|
71
|
+
mdi:clock-time-five-outline[24px, md-gray mr-2]
|
72
|
+
*3 Minutes* to read
|
73
|
+
|
74
|
+
// Include sub-documents (if any)
|
72
75
|
// -----------------------------------------------------------------------------
|
73
76
|
The crucial first step in finding your way to Jekyll is done. Congratulations.
|
74
77
|
The *Learn* section contains all you need to expirience what Jekyll and J1
|
75
78
|
can do for your new website, for your new static web. You are welcome to spend
|
76
79
|
some time diving into the techniques of creating modern static webs.
|
77
80
|
|
81
|
+
[role="mt-5"]
|
78
82
|
Roundtrip::
|
79
83
|
In this section, you’ll find a tour to show some of the main features of
|
80
84
|
the J1 Template. This trip covers how image data can be managed using
|
@@ -1,8 +1,10 @@
|
|
1
1
|
---
|
2
2
|
title: Copyright
|
3
3
|
tagline: Legal Right Of The Content
|
4
|
+
|
4
5
|
date: 2020-10-23
|
5
6
|
#last_modified: 2023-01-01
|
7
|
+
|
6
8
|
description: >
|
7
9
|
J1 Template is a Bootstrap V5 website template for the static
|
8
10
|
site generator Jekyll.
|
@@ -70,6 +72,7 @@ consent of the author or authors in question.
|
|
70
72
|
|
71
73
|
// Include sub-documents (if any)
|
72
74
|
// -----------------------------------------------------------------------------
|
75
|
+
[role="mt-5"]
|
73
76
|
== Copyright policy
|
74
77
|
|
75
78
|
The content provided by this site is subject to German copyright law. The
|
@@ -82,6 +85,7 @@ parties' copyrights are respected. Nevertheless, you were on one copyright
|
|
82
85
|
infringement, we friendly ask for a corresponding note.
|
83
86
|
|
84
87
|
ifeval::[{disclaimer} == true]
|
88
|
+
[role="mt-5"]
|
85
89
|
== Disclaimer
|
86
90
|
|
87
91
|
The website contents were created with the care and to the best of our
|