j1-template 2021.1.21 → 2021.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_article_navigator.html +177 -0
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +413 -0
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +30 -0
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +32 -0
- data/_includes/themes/j1/modules/connectors/surveys +58 -0
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +4 -0
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +4 -4
- data/_layouts/article_navigator.html +62 -0
- data/_layouts/news_panel_posts.html +62 -0
- data/assets/data/article_navigator/index.html +63 -0
- data/assets/data/banner.html +2 -2
- data/assets/data/news_panel_posts/index.html +47 -0
- data/assets/data/panel.html +143 -53
- data/assets/error_pages/HTTP204.html +3 -1
- data/assets/error_pages/HTTP400.html +3 -1
- data/assets/error_pages/HTTP401.html +3 -1
- data/assets/error_pages/HTTP403.html +3 -1
- data/assets/error_pages/HTTP404.html +3 -1
- data/assets/error_pages/HTTP444.html +3 -1
- data/assets/error_pages/HTTP500.html +3 -1
- data/assets/error_pages/HTTP501.html +3 -1
- data/assets/error_pages/HTTP502.html +3 -1
- data/assets/error_pages/HTTP503.html +6 -2
- data/assets/themes/j1/adapter/js/infiniteScroll.js +245 -0
- data/assets/themes/j1/adapter/js/j1.js +17 -0
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +767 -673
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +187 -0
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -1
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/infiniteScroll/css/theme/uno.css +150 -0
- data/assets/themes/j1/modules/infiniteScroll/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/infiniteScroll/js/infiniteScroll.js +1909 -0
- data/assets/themes/j1/modules/infiniteScroll/js/infiniteScroll.min.js +17 -0
- data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +61 -0
- data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +6 -6
- data/lib/starter_web/_data/blocks/defaults/panel.1.yml +256 -0
- data/lib/starter_web/_data/blocks/defaults/panel.2.yml +250 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -14
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +360 -176
- data/lib/starter_web/_data/layouts/article_navigator.yml +168 -0
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +16 -9
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +168 -0
- data/lib/starter_web/_data/modules/defaults/infiniteScroll.yml +73 -0
- data/lib/starter_web/_data/modules/infiniteScroll.yml +66 -0
- data/lib/starter_web/_data/resources.yml +43 -0
- data/lib/starter_web/_includes/attributes.asciidoc +10 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/alexander-shatov-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/franck-1920x12800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/rirri-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/adrien-olichon-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/alejandro-barba-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/andre-francois-mckenzie-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/andreas-steger-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/ansgar-scheffold-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/ben-white-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/craig-sybert-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/danielle-cerullo-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/deb-dowd-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/halgatewood-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/hans-eiskonen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/ian-barsby-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/ivan-aleksic-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/markus-spiske-6-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/markus-winkler-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/markus-winkler-2-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/michelle-cassar-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/mika-baumeister-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/posts/science-in-hd-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +2 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +2 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +7 -0
- data/lib/starter_web/index.html +1 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive.html +8 -10
- data/lib/starter_web/pages/public/learn/quickstart.adoc +23 -32
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +38 -45
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +11 -12
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +18 -18
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +19 -20
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +22 -23
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +6 -6
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +24 -22
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +33 -33
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +6 -0
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +8 -8
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +47 -2
data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc
CHANGED
@@ -23,10 +23,16 @@ tag::urls[]
|
|
23
23
|
:url-roundtrip--mdi-icons: /pages/public/learn/roundtrip/mdi_icon_font/#material-design-icons
|
24
24
|
:url-roundtrip--fontawesome-icons: /pages/public/learn/roundtrip/mdi_icon_font/#fontawesome-icons
|
25
25
|
:url-roundtrip--iconify-icons: /pages/public/learn/roundtrip/mdi_icon_font/#iconify-icons
|
26
|
-
:url-roundtrip--asciidoc-extensions:
|
26
|
+
:url-roundtrip--asciidoc-extensions: /pages/public/learn/roundtrip/asciidoc_extensions/
|
27
27
|
end::urls[]
|
28
28
|
|
29
29
|
|
30
|
+
// FOOTNOTES, global asciidoc attributes (variables)
|
31
|
+
// -----------------------------------------------------------------------------
|
32
|
+
tag::footnotes[]
|
33
|
+
end::footnotes[]
|
34
|
+
|
35
|
+
|
30
36
|
// Tags - Asciidoc attributes used internally
|
31
37
|
// -----------------------------------------------------------------------------
|
32
38
|
tag::tags[]
|
@@ -205,20 +205,20 @@ site_category_word_list: {{site_category_word_list | debug}}
|
|
205
205
|
{% if post.image %}
|
206
206
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image is available] -->
|
207
207
|
<div class="col-md-6 img-bg--fill px-0"
|
208
|
-
style="background-image: url({{post.image}});">
|
208
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{post.image}});">
|
209
209
|
</div>
|
210
210
|
{% else %}
|
211
211
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image missing, using configured default image] -->
|
212
212
|
<div class="col-md-6 img-bg--fill px-0"
|
213
|
-
style="background-image: url({{blog_navigator_options.post_image}});">
|
213
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{blog_navigator_options.post_image}});">
|
214
214
|
</div>
|
215
215
|
{% endif %}
|
216
216
|
|
217
|
-
<div class="col-md-6">
|
218
|
-
<div class="card-body r-text-300">{{excerpt}}</div>
|
217
|
+
<div class="col-md-6 p-0">
|
218
|
+
<div class="card-body r-text-300 mt-4">{{excerpt}}</div>
|
219
219
|
<div class="card-footer r-text-200">
|
220
220
|
<div class="card-footer-text">
|
221
|
-
|
221
|
+
|
222
222
|
{% if post.date %}
|
223
223
|
{% if language == "en" %}
|
224
224
|
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%Y %B, %e"}}
|
@@ -189,20 +189,20 @@ site_category_word_list: {{site_category_word_list | debug}}
|
|
189
189
|
{% if post.image %}
|
190
190
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image is available] -->
|
191
191
|
<div class="col-md-6 img-bg--fill px-0"
|
192
|
-
style="background-image: url({{post.image}});">
|
192
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{post.image}});">
|
193
193
|
</div>
|
194
194
|
{% else %}
|
195
195
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image missing, using configured default image] -->
|
196
196
|
<div class="col-md-6 img-bg--fill px-0"
|
197
|
-
style="background-image: url({{blog_navigator_options.post_image}});">
|
197
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{blog_navigator_options.post_image}});">
|
198
198
|
</div>
|
199
199
|
{% endif %}
|
200
200
|
|
201
|
-
<div class="col-md-6">
|
202
|
-
<div class="card-body r-text-300">{{excerpt}}</div>
|
201
|
+
<div class="col-md-6 p-0">
|
202
|
+
<div class="card-body r-text-300 mt-4">{{excerpt}}</div>
|
203
203
|
<div class="card-footer r-text-200">
|
204
204
|
<div class="card-footer-text">
|
205
|
-
|
205
|
+
|
206
206
|
{% if post.date %}
|
207
207
|
{% if language == "en" %}
|
208
208
|
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date|localize: "%Y %B, %e"}}
|
@@ -238,20 +238,20 @@ site_category_word_list: {{site_category_word_list | debug}}
|
|
238
238
|
{% if post.image %}
|
239
239
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image is available] -->
|
240
240
|
<div class="col-md-6 img-bg--fill px-0"
|
241
|
-
style="background-image: url({{post.image}});">
|
241
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{post.image}});">
|
242
242
|
</div>
|
243
243
|
{% else %}
|
244
244
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image missing, using configured default image] -->
|
245
245
|
<div class="col-md-6 img-bg--fill px-0"
|
246
|
-
style="background-image: url({{blog_navigator_options.post_image}});">
|
246
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{blog_navigator_options.post_image}});">
|
247
247
|
</div>
|
248
248
|
{% endif %}
|
249
249
|
|
250
|
-
<div class="col-md-6">
|
251
|
-
<div class="card-body r-text-300">{{excerpt}}</div>
|
250
|
+
<div class="col-md-6 p-0">
|
251
|
+
<div class="card-body r-text-300 mt-4">{{excerpt}}</div>
|
252
252
|
<div class="card-footer r-text-200">
|
253
253
|
<div class="card-footer-text">
|
254
|
-
|
254
|
+
|
255
255
|
{% if post.date %}
|
256
256
|
{% if language == "en" %}
|
257
257
|
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%Y %B, %e"}}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
---
|
2
2
|
layout: page
|
3
|
-
title:
|
3
|
+
title: Blog Archive
|
4
4
|
tagline: all posts
|
5
|
-
description:
|
6
|
-
Browse all articles provided by this website
|
5
|
+
description: Create index pages for articles this website
|
7
6
|
|
8
7
|
categories: [ Blog ]
|
9
8
|
tags: [ Navigator, Archive ]
|
@@ -16,7 +15,7 @@ pagination:
|
|
16
15
|
enabled: false
|
17
16
|
permalink: /page:num/
|
18
17
|
|
19
|
-
analytics:
|
18
|
+
analytics: false
|
20
19
|
advertising: false
|
21
20
|
comments: false
|
22
21
|
|
@@ -122,7 +121,6 @@ site_category_word_list: {{site_category_word_list | debug}}
|
|
122
121
|
--------------------------------------------------------------------------------
|
123
122
|
{% endcomment %}
|
124
123
|
|
125
|
-
|
126
124
|
{% comment %} Main
|
127
125
|
-------------------------------------------------------------------------------- {% endcomment %}
|
128
126
|
<!-- [INFO ] [ {{page.url}} ] [Generate HTML}] -->
|
@@ -164,20 +162,20 @@ site_category_word_list: {{site_category_word_list | debug}}
|
|
164
162
|
{% if post.image %}
|
165
163
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image is available] -->
|
166
164
|
<div class="col-md-6 img-bg--fill px-0"
|
167
|
-
style="background-image: url({{post.image}});">
|
165
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{post.image}});">
|
168
166
|
</div>
|
169
167
|
{% else %}
|
170
168
|
<!-- [INFO ] [j1.pages.blog.navigator.archive ] [Post image missing, using configured default image] -->
|
171
169
|
<div class="col-md-6 img-bg--fill px-0"
|
172
|
-
style="background-image: url({{blog_navigator_options.post_image}});">
|
170
|
+
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url({{blog_navigator_options.post_image}});">
|
173
171
|
</div>
|
174
172
|
{% endif %}
|
175
173
|
|
176
|
-
<div class="col-md-6">
|
177
|
-
<div class="card-body r-text-300">{{excerpt}}</div>
|
174
|
+
<div class="col-md-6 p-0">
|
175
|
+
<div class="card-body r-text-300 mt-4">{{excerpt}}</div>
|
178
176
|
<div class="card-footer r-text-200">
|
179
177
|
<div class="card-footer-text">
|
180
|
-
|
178
|
+
|
181
179
|
{% if post.date %}
|
182
180
|
{% if language == "en" %}
|
183
181
|
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%Y %B, %e"}}
|
@@ -3,9 +3,10 @@ title: Quickstart
|
|
3
3
|
tagline: an amazing site in 15 minutes
|
4
4
|
date: 2021-03-07 00:00:00
|
5
5
|
description: >
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
The template comes with a Web included, a skeleton for
|
7
|
+
a new website created with J1 Template. This Web is called
|
8
|
+
the "Starter web", a general-purpose scaffold to be modified
|
9
|
+
for your needs.
|
9
10
|
|
10
11
|
categories: [ Knowledge ]
|
11
12
|
tags: [ J1, Template, Quickstart ]
|
@@ -55,24 +56,14 @@ resource_options:
|
|
55
56
|
// Include sub-documents
|
56
57
|
// -----------------------------------------------------------------------------
|
57
58
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
private or professional use. Check J1 Template today to learn what's possible
|
64
|
-
if you go to the Jekyll Way.
|
65
|
-
|
66
|
-
*Create powerful modern Static Webs: Secure, Flexible and Fast.*
|
67
|
-
|
68
|
-
The template comes with a Web included, a skeleton for new website created
|
69
|
-
with J1 Template. This Web is called the *Starter Web*, a general-purpose
|
70
|
-
Website scaffold to be modified for your needs. The built-in Starter Web
|
71
|
-
can be visited live at https://publish.jekyll.one/[J1 Publish, {browser-window--new}].
|
72
|
-
This site show live pages deployed on the Internet on _Github_, _Netlify_
|
59
|
+
The template comes with a Web included, a skeleton for new a website created
|
60
|
+
using J1 Template. This Web is called the *Starter web*, a general-purpose
|
61
|
+
scaffold to be modified for your needs. The built-in Starter web is available
|
62
|
+
live at https://publish.jekyll.one/[J1 Publish, {browser-window--new}]. This
|
63
|
+
site show live pages deployed on the Internet on _Github_, _Netlify_
|
73
64
|
and _Heroku_.
|
74
65
|
|
75
|
-
*
|
66
|
+
A *Starter web* is created in minutes. This section
|
76
67
|
|
77
68
|
== The Software needed
|
78
69
|
|
@@ -98,9 +89,9 @@ NOTE: More current or older versions may work, but not tested.
|
|
98
89
|
|
99
90
|
=== Software upgrades needed for all platforms
|
100
91
|
|
101
|
-
If _Ruby_ and _NodeJS_ are in place, some packages
|
92
|
+
If _Ruby_ and _NodeJS_ are in place, some packages needs to be upgraded to
|
102
93
|
more *current* versions. Install all packages system-wide with their
|
103
|
-
respective product installation
|
94
|
+
respective product installation paths.
|
104
95
|
|
105
96
|
==== Upgrades needed for Ruby < v2.7
|
106
97
|
|
@@ -201,7 +192,7 @@ If a *project* (a website) is generated, all development tasks are managed
|
|
201
192
|
by *NPM scripts* (NodeJS). Development *tasks* are defined as *scripts*
|
202
193
|
with the project config file `package.json`.
|
203
194
|
|
204
|
-
First, create a projects folder for all
|
195
|
+
First, create a projects folder for all websites to be generated J1. For the
|
205
196
|
following examples, a project is generated on _Windows_ using *C:\Temp*
|
206
197
|
for the project's folder.
|
207
198
|
|
@@ -278,7 +269,7 @@ as below:
|
|
278
269
|
The first step, done only once, is to initialize a project. What means to
|
279
270
|
download and install all resources for your new website followed by an
|
280
271
|
initial creation process for the new site. Initializing a project is managed
|
281
|
-
by the (NPM) *task* `setup`. A bunch of sub-tasks
|
272
|
+
by the (NPM) *task* `setup`. A bunch of sub-tasks gets fired, all of them
|
282
273
|
managed by NPM.
|
283
274
|
|
284
275
|
Let's start ...
|
@@ -326,12 +317,11 @@ To open the site, run: yarn site
|
|
326
317
|
Done in 88.03s.
|
327
318
|
----
|
328
319
|
|
329
|
-
The `setup` process will take a while
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
*
|
334
|
-
website.
|
320
|
+
The `setup` process will take a while. Typically some minutes for the *first*
|
321
|
+
run, depending on your Internet connection bandwidth and the workstation
|
322
|
+
performance. Many NPM modules and Ruby Gems are downloaded and linked for
|
323
|
+
the components part of the project. See `setup` as an extended *install* and
|
324
|
+
*build* process to manage your new website's initial setup.
|
335
325
|
|
336
326
|
=== Run and develop a starter web
|
337
327
|
|
@@ -373,10 +363,11 @@ Go, go, go ..
|
|
373
363
|
=== Rebuild a site
|
374
364
|
|
375
365
|
A project runs Jekyll in *incremental* mode with *auto-regeneration* enabled.
|
376
|
-
All changes made to
|
377
|
-
detected and the affected are
|
366
|
+
All changes made to your web's pages and posts at runtime are automatically
|
367
|
+
detected, and the affected pages are rebuilt and automatically reloaded with
|
368
|
+
your browser.
|
378
369
|
|
379
|
-
|
370
|
+
For rebuilding a *site* from scratch, a web can be completely rebuilt by
|
380
371
|
running the task `rebuild`:
|
381
372
|
|
382
373
|
[source, sh]
|
@@ -56,7 +56,7 @@ resource_options:
|
|
56
56
|
|
57
57
|
// Include sub-documents
|
58
58
|
// -----------------------------------------------------------------------------
|
59
|
-
|
59
|
+
[role="dropcap"]
|
60
60
|
Welcome to the first preview page focussing on the image module. This page
|
61
61
|
shows some valuable features of the J1 Template to manage your image-based
|
62
62
|
content using lightboxes, carousels (slider), and galleries.
|
@@ -72,19 +72,19 @@ of what J1 can do for image data. Have fun!
|
|
72
72
|
|
73
73
|
== J1 Lightboxes
|
74
74
|
|
75
|
-
A Lightbox, in general,
|
76
|
-
screen-filling versions of
|
77
|
-
page. The technique, introduced by Lightbox V2, gained widespread
|
78
|
-
|
79
|
-
Javascript libraries to support such functionality.
|
75
|
+
A Lightbox is, in general, a helper which displays enlarged, almost
|
76
|
+
screen-filling versions of images (or videos) while dimming the remainder
|
77
|
+
of the page. The technique, introduced by Lightbox V2, gained widespread
|
78
|
+
popularity thanks to its simple style. The term lightbox has been employed
|
79
|
+
since then for Javascript libraries to support such functionality.
|
80
80
|
|
81
|
-
For the J1 Template, two different lightboxes
|
81
|
+
For the J1 Template, two different lightboxes are available:
|
82
82
|
|
83
83
|
* Lightbox V2 (lightbox)
|
84
84
|
* LightGallery
|
85
85
|
|
86
|
-
The default
|
87
|
-
written by _Lokesh Dhakar_. The name of that (build-in) is
|
86
|
+
The default tool employed by J1 Template is Lightbox V2, a Javascript library
|
87
|
+
written by _Lokesh Dhakar_. The name of that (build-in) is *lightbox*.
|
88
88
|
For more complex use cases, like a thumbnail gallery preview or video support,
|
89
89
|
LightGallery can be used alternatively.
|
90
90
|
|
@@ -115,8 +115,8 @@ lightbox::example-group[ 400, {data-images-group}, group ]
|
|
115
115
|
|
116
116
|
LightGallery provides more complex functions on image data. The module
|
117
117
|
supports a gallery-style thumbnail preview plus image resizing, a download
|
118
|
-
dialog, sharing provider support, and
|
119
|
-
LightGallery can do by the following example.
|
118
|
+
dialog, sharing provider support, and more helpful. Check what
|
119
|
+
LightGallery can do this by the following example.
|
120
120
|
|
121
121
|
gallery::jg_old_times[]
|
122
122
|
|
@@ -129,7 +129,7 @@ for creating fully responsive and touch-enabled carousel sliders.
|
|
129
129
|
|
130
130
|
NOTE: OWL Carousel V1 is no longer available on the Internet; for an
|
131
131
|
unknown reason. Anyway, the J1 Template is using this version of OWL
|
132
|
-
Carousel
|
132
|
+
Carousel is a build-in carousel module because the software does an excellent
|
133
133
|
job, is based on an MIT license with no issues using them for private and
|
134
134
|
business use. And offers a lot of great features!
|
135
135
|
|
@@ -143,47 +143,47 @@ displayed as a slide show: simple text, for example.
|
|
143
143
|
carousel::demo_text_carousel[role="mb-3"]
|
144
144
|
|
145
145
|
Important statements or topics can be placed, e.g., on top of an article or
|
146
|
-
a paragraph to give them better visibility. In one line, you can present
|
147
|
-
|
146
|
+
a paragraph, to give them better visibility. In one line, you can present
|
147
|
+
many facts to know animated for the reader's attention within a single
|
148
148
|
line. No much space is needed!
|
149
149
|
|
150
150
|
=== Parallax Text Carousel
|
151
151
|
|
152
|
-
A more eye-minded type of
|
153
|
-
want to
|
154
|
-
|
155
|
-
|
156
|
-
|
152
|
+
A more eye-minded type of text-based slide show is a parallax text slider. If
|
153
|
+
you want to emphasize your statements focussing the meaning, this kind of a
|
154
|
+
slide show may be interesting. Image-based slide shows may draw off the
|
155
|
+
reader's attention from the text, therefore a pure text-based presentation
|
156
|
+
maybe the better choice.
|
157
157
|
|
158
158
|
.Parallax text carousel
|
159
159
|
carousel::demo_text_carousel_parallax[role="mb-3"]
|
160
160
|
|
161
|
-
Parallax text shows can be placed as banners on a page.
|
162
|
-
animations
|
163
|
-
great CSS styles offered by _animate.css_.
|
161
|
+
Parallax text shows can be placed as banners on a page. For text shows,
|
162
|
+
different animations are available. Internally, J1 Template uses some of
|
163
|
+
the great CSS styles offered by _animate.css_.
|
164
164
|
|
165
165
|
TIP: Have a look a https://daneden.github.io/animate.css/[Dan Eden's home page]
|
166
|
-
to see all the possible dynamic styles
|
166
|
+
to see all the possible dynamic styles you can create based on pure CSS. Some
|
167
167
|
of them are implemented for OWL Carousel for animation. See the documentation
|
168
168
|
for the CAROUSEL Module for more details.
|
169
169
|
|
170
170
|
=== Simple Image Carousel
|
171
171
|
|
172
172
|
Carousels are mostly used for pictures data to animate the images as a series.
|
173
|
-
Find with the following some examples how to use a carousel for your image
|
173
|
+
Find with the following some examples of how to use a carousel for your image
|
174
174
|
data.
|
175
175
|
|
176
|
-
A simple image show is useful for example as an animated (or not animated)
|
177
|
-
banner presenting exciting things
|
176
|
+
A simple image show is useful, for example, as an animated (or not animated)
|
177
|
+
banner presenting exciting things about your site or the products offered.
|
178
178
|
|
179
179
|
.Simple Image Carousel
|
180
180
|
carousel::demo_simple[role="mb-3"]
|
181
181
|
|
182
182
|
=== Carousel + Caption + Lightbox
|
183
183
|
|
184
|
-
Carousels
|
184
|
+
Carousels are used for an exceptionally compact form of image galleries.
|
185
185
|
This example shows some pictures having individual caption text and supports
|
186
|
-
a lightbox to enlarge images full size. For the example below,
|
186
|
+
a lightbox to enlarge images full size. For the example below, an almost simple
|
187
187
|
lightbox is used: Lightbox V2; or short: lightbox.
|
188
188
|
|
189
189
|
.Nice cats
|
@@ -191,8 +191,8 @@ carousel::demo_cats[role="mb-3"]
|
|
191
191
|
|
192
192
|
The J1 module lightbox is a simple Lightbox but offers a bunch of impressive
|
193
193
|
features for displaying images. For example, the lightbox can display all
|
194
|
-
images (of a carousel) as a group. If one picture is opened in the lightbox,
|
195
|
-
|
194
|
+
images (of a carousel) as a group. If one picture is opened in the lightbox,
|
195
|
+
others are browsed by easy-to-use control buttons.
|
196
196
|
|
197
197
|
=== One Slide Carousel + Lightbox
|
198
198
|
|
@@ -204,37 +204,30 @@ many images the show contains.
|
|
204
204
|
.Single Slide Carousel and a Lightbox
|
205
205
|
carousel::demo_oneslide[role="mb-3"]
|
206
206
|
|
207
|
-
==
|
208
|
-
|
209
|
-
To create image and video galleries, J1 Template implements the jQuery
|
210
|
-
plugin JustifiedGallery as the main gallery module. Beside Justified
|
211
|
-
Gallery, a gallery based on pure _Bootstrap_ code is available with the
|
212
|
-
built-in gallery app *gallery*.
|
207
|
+
== JustifiedGallery
|
213
208
|
|
214
209
|
JustifiedGallery is a great jQuery plugin to create responsive, infinite,
|
215
|
-
and high
|
210
|
+
and high-quality justified image galleries. J1 Template combines the Gallery
|
216
211
|
with the lightboxes supported to enlarge the images of a gallery.
|
217
212
|
|
218
|
-
See JustifiedGallery in action - and for sure all that you see is even
|
213
|
+
See JustifiedGallery in action - and for sure, all that you see is even
|
219
214
|
responsive. Change the size of your current browser window, by width or height,
|
220
215
|
to see what will happen!
|
221
216
|
|
222
|
-
=== JustifiedGallery
|
223
|
-
|
224
217
|
Pictures you've made are typically not even in size. Images may have the
|
225
|
-
same size (resolution), but some
|
226
|
-
may
|
218
|
+
same size (resolution), but some are orientated landscapes, or others
|
219
|
+
may be portraits. For that reason, a more powerful gallery is needed to create
|
227
220
|
so-called justified views.
|
228
221
|
|
229
|
-
JustifiedGallery
|
222
|
+
JustifiedGallery uses a so-called masonry grid layout. It works by
|
230
223
|
placing elements in an optimal position based on available horizontal and
|
231
|
-
vertical space. Sort of like mason fitting stones in a wall. You
|
224
|
+
vertical space. Sort of like mason fitting stones in a wall. You'll have
|
232
225
|
seen it in use all over the Internet!
|
233
226
|
|
234
227
|
.Masonry grid layout of JustifiedGallery
|
235
228
|
gallery::jg_customizer[]
|
236
229
|
|
237
|
-
==
|
230
|
+
== What next
|
238
231
|
|
239
232
|
Hopefully, you've enjoyed exploring the possibilities J1 offers for managing
|
240
233
|
and displaying digital image content. But much, much more can the J1 do for
|
@@ -84,18 +84,18 @@ browsers support the video tag `<video>` for the HTML5 video standard.
|
|
84
84
|
Browsers have a built-in multimedia framework already for decoding and displaying
|
85
85
|
video content. No need to use such proprietary software components anymore!
|
86
86
|
|
87
|
-
HTML5 Video support is given by the App gallery combined with the
|
87
|
+
HTML5 Video support is given by the App gallery combined with the lightbox
|
88
88
|
LightGallery.
|
89
89
|
|
90
90
|
Two types of video sources are supported:
|
91
91
|
|
92
|
-
.
|
93
|
-
.
|
92
|
+
. Video files from local folders (your webspace)
|
93
|
+
. Video files from online sources (on the Internet) like YouTube, Vimeo, etc.
|
94
94
|
|
95
95
|
The combination of the App gallery and the lightbox LightGallery is entirely
|
96
|
-
usable for all the video content you want to present on your site.
|
97
|
-
|
98
|
-
by putting them into your blog article's
|
96
|
+
usable for all the video content you want to present on your site. You can
|
97
|
+
place Galleries elsewhere with your content. You can use them for video blogs
|
98
|
+
by putting them into your blog article's content.
|
99
99
|
|
100
100
|
WARNING: LightGallery can be used for free for private use, but a commercial
|
101
101
|
license is needed for business use. See link:{light-gallery-license}[Light Gallery license]
|
@@ -103,16 +103,15 @@ how to use LightGallery for commercial websites and projects.
|
|
103
103
|
|
104
104
|
== Local video content
|
105
105
|
|
106
|
-
Digital image content, simple pictures or videos, are easy to make. Today,
|
107
|
-
|
108
|
-
of (digital) pictures is very easy by using Justified Gallery, for example.
|
106
|
+
Digital image content, simple pictures or videos, are easy to make. Today, every mobile has a camera - not that bad! Presenting a bunch
|
107
|
+
of (digital) pictures is done very easily by using Justified Gallery, for example.
|
109
108
|
Videos created by a digicam or a mobile can be played by J1 Template using the
|
110
109
|
HTML5 Video support of LightGallery.
|
111
110
|
|
112
111
|
Two players are available with LightGallery:
|
113
112
|
|
114
113
|
. an internal player used by default
|
115
|
-
. http://videojs.com/[video.js],
|
114
|
+
. http://videojs.com/[video.js], an excellent Javascript video library
|
116
115
|
|
117
116
|
NOTE: The HTML5 specification does _not_ define which video and audio formats
|
118
117
|
browsers _should_ support. J1 LightGallery can play all types of standard
|
@@ -134,11 +133,11 @@ gallery::jg_video_online_youtube[role="mb-5"]
|
|
134
133
|
.Vimeo Video Gallery - Fashion
|
135
134
|
gallery::jg_video_online_vimeo[role="mb-5"]
|
136
135
|
|
137
|
-
==
|
136
|
+
== What next
|
138
137
|
|
139
138
|
Images and videos are pretty visual. And it can be impressive, for sure.
|
140
139
|
But the most visual component is the text for all pages, for all sites on the
|
141
140
|
Internet. To see how text could be presented great for modern responsive
|
142
141
|
websites, check the section Typography next.
|
143
142
|
|
144
|
-
What?
|
143
|
+
What? Please find out how it works. Go for: link:{roundtrip-typography}[Typography], then.
|