j1-template 2021.0.6 → 2021.0.7
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/procedures/global/attributes_loader.proc +2 -2
- data/assets/data/menu.html +32 -3
- data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
- data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
- data/lib/j1/commands/generate.rb +3 -2
- 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/asciidoc2pdf/themes/j1-theme.yml +225 -188
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +16 -3
- data/lib/starter_web/_includes/attributes.asciidoc +24 -10
- data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
- data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-open-source-static-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/about_site.adoc +52 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +163 -81
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -8
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +75 -39
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/rouge.adoc +41 -4
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +57 -16
- data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
---
|
2
|
+
# ~/document_base_folder
|
3
|
+
# Top Level Entry Document: 100_chapter.asciidoc
|
4
|
+
#
|
5
|
+
title: Skeleton book
|
6
|
+
tagline: chapter 1
|
7
|
+
date: 2021-01-01 00:00:00
|
8
|
+
description: >
|
9
|
+
Top Level Entry Document 100_chapter.asciidoc
|
10
|
+
|
11
|
+
categories: [ Asciidoc, Knowledge ]
|
12
|
+
tags: [ Skeleton, Document ]
|
13
|
+
|
14
|
+
|
15
|
+
permalink: /pages/public/skeleton/book/chapter_1/
|
16
|
+
regenerate: true
|
17
|
+
|
18
|
+
resources: []
|
19
|
+
resource_options:
|
20
|
+
- toccer:
|
21
|
+
collapseDepth: 3
|
22
|
+
- attic:
|
23
|
+
padding_top: 400
|
24
|
+
padding_bottom: 50
|
25
|
+
opacity: 0.5
|
26
|
+
slides:
|
27
|
+
- url: /assets/images/pages/skeleton/sigmund-1920x1280.jpg
|
28
|
+
alt: Photo by Sigmund on Unsplash
|
29
|
+
alignY: top
|
30
|
+
badge:
|
31
|
+
type: unsplash
|
32
|
+
author: Sigmund
|
33
|
+
href: https://unsplash.com/@sigmund
|
34
|
+
---
|
35
|
+
|
36
|
+
// Page Initializer
|
37
|
+
// =============================================================================
|
38
|
+
// Enable the Liquid Preprocessor
|
39
|
+
:page-liquid:
|
40
|
+
|
41
|
+
// Set (local) page attributes here
|
42
|
+
// -----------------------------------------------------------------------------
|
43
|
+
// :page--attr: <attr-value>
|
44
|
+
|
45
|
+
// Load Liquid procedures
|
46
|
+
// -----------------------------------------------------------------------------
|
47
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
48
|
+
|
49
|
+
// Load page attributes
|
50
|
+
// -----------------------------------------------------------------------------
|
51
|
+
{% include {{load_attributes}} scope="all" %}
|
52
|
+
|
53
|
+
|
54
|
+
// Page content
|
55
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
56
|
+
|
57
|
+
|
58
|
+
// Include sub-documents
|
59
|
+
// -----------------------------------------------------------------------------
|
60
|
+
include::{documentdir}/100_chapter.asciidoc[]
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
# ~/document_base_folder
|
3
|
+
# Top Level Entry Document: 200_chapter.asciidoc
|
4
|
+
#
|
5
|
+
title: Skeleton book
|
6
|
+
tagline: chapter 2
|
7
|
+
date: 2021-01-01 00:00:00
|
8
|
+
description: >
|
9
|
+
Top Level Entry Document 100_chapter.asciidoc
|
10
|
+
|
11
|
+
categories: [ Asciidoc, Knowledge ]
|
12
|
+
tags: [ Skeleton, Document ]
|
13
|
+
|
14
|
+
permalink: /pages/public/skeleton/book/chapter_2/
|
15
|
+
regenerate: true
|
16
|
+
|
17
|
+
resources: [ lightbox, light_gallery, justified_gallery ]
|
18
|
+
resource_options:
|
19
|
+
- toccer:
|
20
|
+
collapseDepth: 3
|
21
|
+
- attic:
|
22
|
+
padding_top: 400
|
23
|
+
padding_bottom: 50
|
24
|
+
opacity: 0.5
|
25
|
+
slides:
|
26
|
+
- url: /assets/images/pages/skeleton/sigmund-1920x1280.jpg
|
27
|
+
alt: Photo by Sigmund on Unsplash
|
28
|
+
alignY: top
|
29
|
+
badge:
|
30
|
+
type: unsplash
|
31
|
+
author: Sigmund
|
32
|
+
href: https://unsplash.com/@sigmund
|
33
|
+
---
|
34
|
+
|
35
|
+
// Page Initializer
|
36
|
+
// =============================================================================
|
37
|
+
// Enable the Liquid Preprocessor
|
38
|
+
:page-liquid:
|
39
|
+
|
40
|
+
// Set (local) page attributes here
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
// :page--attr: <attr-value>
|
43
|
+
|
44
|
+
// Load Liquid procedures
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
47
|
+
|
48
|
+
// Load page attributes
|
49
|
+
// -----------------------------------------------------------------------------
|
50
|
+
{% include {{load_attributes}} scope="all" %}
|
51
|
+
|
52
|
+
|
53
|
+
// Page content
|
54
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
55
|
+
|
56
|
+
// Include sub-documents
|
57
|
+
// -----------------------------------------------------------------------------
|
58
|
+
|
59
|
+
include::{documentdir}/200_chapter.asciidoc[]
|
data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
// ~/document_base_folder/000_includes
|
2
|
+
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
// URLs - Internal references and/or sources on the Internet
|
6
|
+
// -----------------------------------------------------------------------------
|
7
|
+
tag::urls[]
|
8
|
+
:url-j1--home: https://jekyll.one/
|
9
|
+
:url-wikipedia-en--writing: https://en.wikipedia.org/wiki/Introduction_(writing)/
|
10
|
+
|
11
|
+
:url-fontawesome--home: https://fontawesome.com/
|
12
|
+
:url-fontawesome--icons: https://fontawesome.com/icons?d=gallery/
|
13
|
+
:url-fontawesome--get-started: https://fontawesome.com/get-started/
|
14
|
+
|
15
|
+
:url-mdi--home: https://materialdesignicons.com/
|
16
|
+
:url-mdi-icons--cheatsheet: https://cdn.materialdesignicons.com/3.3.92/
|
17
|
+
|
18
|
+
:url-iconify--home: https://iconify.design/
|
19
|
+
:url-iconify--icon-sets: https://iconify.design/icon-sets/
|
20
|
+
:url-iconify--medical-icons: https://iconify.design/icon-sets/medical-icon/
|
21
|
+
:url-iconify--brand-icons: https://iconify.design/icon-sets/logos/
|
22
|
+
|
23
|
+
:url-roundtrip--mdi-icons: /pages/public/learn/roundtrip/mdi_icon_font/#material-design-icons
|
24
|
+
:url-roundtrip--fontawesome-icons: /pages/public/learn/roundtrip/mdi_icon_font/#fontawesome-icons
|
25
|
+
:url-roundtrip--iconify-icons: /pages/public/learn/roundtrip/mdi_icon_font/#iconify-icons
|
26
|
+
:url-roundtrip--asciidoc-extensions: /pages/public/learn/roundtrip/asciidoc_extensions/
|
27
|
+
end::urls[]
|
28
|
+
|
29
|
+
|
30
|
+
// Tags - Asciidoc attributes used internally
|
31
|
+
// -----------------------------------------------------------------------------
|
32
|
+
tag::tags[]
|
33
|
+
end::tags[]
|
34
|
+
|
35
|
+
|
36
|
+
// Data - Data elements for Asciidoctor extensions
|
37
|
+
// -----------------------------------------------------------------------------
|
38
|
+
tag::data[]
|
39
|
+
:data-images-standalone: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
40
|
+
:data-images-group: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
41
|
+
end::data[]
|
42
|
+
|
43
|
+
|
44
|
+
// Images - Images from local include/images folder
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
tag::images[]
|
47
|
+
end::images[]
|
48
|
+
|
49
|
+
|
50
|
+
// PRODUCTS, local product information (e.g. release)
|
51
|
+
// -----------------------------------------------------------------------------
|
52
|
+
tag::products[]
|
53
|
+
:license: e.g. Apache License, Version 2.0
|
54
|
+
:revdate: e.g. 2018
|
55
|
+
:revnumber: e.g. 1.2.3
|
56
|
+
end::products[]
|
57
|
+
|
58
|
+
|
59
|
+
// AUTHORS, local author information (e.g. article)
|
60
|
+
// -----------------------------------------------------------------------------
|
61
|
+
tag::authors[]
|
62
|
+
:uri-author-xxx: https://xxx
|
63
|
+
end::authors[]
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// ~/document_base_folder/_includes/documents
|
2
|
+
// Sublevel Entry Document: 100_chapter.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
== Chapter 1
|
6
|
+
|
7
|
+
J1 Template support popular icons font sets out-of-the-box:
|
8
|
+
|
9
|
+
* link:{url-mdi--home}[Material Design Icons, {browser-window--new}] (MDI)
|
10
|
+
* link:{url-fontawesome--home}[FontAwesome Icons V5, {browser-window--new}] (FA)
|
11
|
+
* link:{url-iconify--home}[Iconify Icons, {browser-window--new}] (II)
|
12
|
+
|
13
|
+
The icon sets MDI and FA are very good in design and have a rich set of
|
14
|
+
different icons for many categories used for the Web. See below some details
|
15
|
+
for link:{url-roundtrip--mdi-icons}[Material Design Icons, {browser-window--new}]
|
16
|
+
and link:{url-roundtrip--fontawesome-icons}[FontAwesome Icons, {browser-window--new}].
|
17
|
+
|
18
|
+
Iconify icons is not a locally stored icon-set like MDI or FA. All icons are
|
19
|
+
loaded over the Internet using the so-called *Unified OpenSource Icon
|
20
|
+
Framework*. See section link:{url-roundtrip--iconify-icons}[Iconify Icons, {browser-window--new}]
|
21
|
+
for more information.
|
22
|
+
|
23
|
+
=== Section
|
24
|
+
|
25
|
+
The primary icon-set for J1 Template is link:{url-mdi--home}[Material Design Icons, {browser-window--new}],
|
26
|
+
because it is extremely rich set providing more than 5900+ icons for the
|
27
|
+
current version (v5.9.55). From a design perspective, _MDI_ has an excellen
|
28
|
+
*Material Design* support an comes with the original icon set created by
|
29
|
+
_Google_ build-in.
|
30
|
+
|
31
|
+
_Material Design Icons_ (MDI) is a beneficial design resource for Web Design
|
32
|
+
that is based on _Google_'s Material Design. _MDI_ is a community-driven
|
33
|
+
project to create an increased number of icons based on _Google_'s official repository
|
34
|
+
and MD style specification.
|
35
|
+
|
36
|
+
==== Subsection
|
37
|
+
|
38
|
+
_MDI_ is a growing collection to allow designers and developers targeting
|
39
|
+
various platforms to download icons in the format, color and size they need
|
40
|
+
for any project. The repo contains today 2100+ icons plus converted icons from
|
41
|
+
the official set created by _Google_.
|
42
|
+
|
43
|
+
// include::{documentdir}/tables/110_material_design_icons.asciidoc
|
44
|
+
// include::{tabledir}/110_material_design_icons.asciidoc
|
45
|
+
include::./tables/110_material_design_icons.asciidoc[]
|
46
|
+
|
47
|
+
NOTE: Using Material Design Icons with Asciidoc is quite easy as an inline
|
48
|
+
macro `mdi:` is available to place icons where ever you want. See more about
|
49
|
+
this in section
|
50
|
+
link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions, {browser-window--new}]
|
51
|
+
|
52
|
+
_J1 Template_ supports the full set of _MDI_ for the Web (Webfont, WOFF). The
|
53
|
+
icon set is fully integrated and can be used out-of-the-box.
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// ~/document_base_folder/_includes/documents
|
2
|
+
// Sublevel Entry Document: 200_chapter.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
== Chapter 2
|
6
|
+
|
7
|
+
A Lightbox, in general, is a helper which displays enlarged, almost
|
8
|
+
screen-filling versions of pictures (or videos), while dimming the rest of the
|
9
|
+
page. The technique, introduced by Lightbox V2, gained widespread popularity
|
10
|
+
due to its simple and elegant style. The term lightbox is used since then for
|
11
|
+
Javascript libraries to support such functionality.
|
12
|
+
|
13
|
+
For J1 Template, two different lightboxes can be used:
|
14
|
+
|
15
|
+
* Lightbox V2 (lightbox)
|
16
|
+
* LightGallery
|
17
|
+
|
18
|
+
The default lightbox used by J1 Template is Lightbox V2, a Javascript library
|
19
|
+
written by _Lokesh Dhakar_. The name of that (build-in) is simply: lightbox.
|
20
|
+
For more complex use cases, like a thumbnail gallery preview or video support,
|
21
|
+
LightGallery can be used alternatively.
|
22
|
+
|
23
|
+
NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
|
24
|
+
_lightbox_. And, LightGallery provides much more functionality on image-based
|
25
|
+
data rather than enlarged displaying of images. See the examples below to check
|
26
|
+
for the differences in comparison to the simpler Lightbox V2 lightbox.
|
27
|
+
|
28
|
+
Both lightboxes are fully integrated to be used as standalone modules or to be
|
29
|
+
used as helpers _under-the-hood_ by other apps or modules focussing on
|
30
|
+
image-data like gallery or carousel, the build-in carousel module.
|
31
|
+
|
32
|
+
=== Section
|
33
|
+
|
34
|
+
Find below an example of using the lightbox Lightbox standalone. See how
|
35
|
+
single (individual) images are linked for the use with Lightbox.
|
36
|
+
|
37
|
+
.Lightbox block for standalone images
|
38
|
+
lightbox::example-standalone[ 400, {data-images-standalone} ]
|
39
|
+
|
40
|
+
For a group of images (image sets), Lightbox support image groups. Click
|
41
|
+
on the images below to see how Lightbox manage image groups.
|
42
|
+
|
43
|
+
.Lightbox block for grouped images
|
44
|
+
lightbox::example-group[ 400, {data-images-group}, group ]
|
45
|
+
|
46
|
+
==== Subsection
|
47
|
+
|
48
|
+
LightGallery provides more complex functions on image data. The lightbox
|
49
|
+
supports a gallery-style thumbnail preview plus image resizing, a dowload
|
50
|
+
dialogue, sharing provider support and some more helpful. Check what
|
51
|
+
LightGallery can do by the following example.
|
52
|
+
|
53
|
+
gallery::jg_example[]
|
@@ -0,0 +1,102 @@
|
|
1
|
+
// ~/document_base_folder/_includes/documents/tables
|
2
|
+
// Table document: 110_material_design_icons.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
.Material Design Icons
|
6
|
+
[cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
|
7
|
+
|===============================================================================
|
8
|
+
|Size |Modifier |Markup |Render
|
9
|
+
|
10
|
+
|1x
|
11
|
+
|no modifier set
|
12
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer +
|
13
|
+
[source, adoc, role="noclip"]
|
14
|
+
----
|
15
|
+
mdi:account[1x]
|
16
|
+
----
|
17
|
+
|mdi:account[1x]
|
18
|
+
|
19
|
+
|3x
|
20
|
+
|no modifier set
|
21
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer +
|
22
|
+
[source, adoc, role="noclip"]
|
23
|
+
----
|
24
|
+
mdi:account[3x]
|
25
|
+
----
|
26
|
+
|mdi:account[3x]
|
27
|
+
|
28
|
+
|5x
|
29
|
+
|no modifier set
|
30
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
31
|
+
[source, adoc, role="noclip"]
|
32
|
+
----
|
33
|
+
mdi:account[5x]
|
34
|
+
----
|
35
|
+
|mdi:account[5x]
|
36
|
+
|
37
|
+
|5x
|
38
|
+
|`mdi-rotate-45`
|
39
|
+
|Rotate 45 degrees
|
40
|
+
[source, adoc, role="noclip"]
|
41
|
+
----
|
42
|
+
mdi:account[5x mdi-rotate-45]
|
43
|
+
----
|
44
|
+
|mdi:account[5x mdi-rotate-45]
|
45
|
+
|
46
|
+
|5x
|
47
|
+
|`mdi-rotate-315`
|
48
|
+
|Rotate 315 degrees
|
49
|
+
[source, adoc, role="noclip"]
|
50
|
+
----
|
51
|
+
mdi:account[5x mdi-rotate-315]
|
52
|
+
----
|
53
|
+
|mdi:account[5x mdi-rotate-315]
|
54
|
+
|
55
|
+
|5x
|
56
|
+
|`mdi-light` +
|
57
|
+
`mdi-flip-v`
|
58
|
+
|Colour set to MDI Light (Grey) and flipped vertical
|
59
|
+
[source, adoc, role="noclip"]
|
60
|
+
----
|
61
|
+
mdi:alert[5x mdi-light mdi-flip-v]
|
62
|
+
----
|
63
|
+
|mdi:alert[5x mdi-light mdi-flip-v]
|
64
|
+
|
65
|
+
|5x
|
66
|
+
|`md-indigo`
|
67
|
+
|Colour set to MDI Indigo
|
68
|
+
[source, adoc, role="noclip"]
|
69
|
+
----
|
70
|
+
mdi:alert[5x md-indigo]
|
71
|
+
----
|
72
|
+
|mdi:account[5x md-indigo]
|
73
|
+
|
74
|
+
|5x
|
75
|
+
|`md-pink`
|
76
|
+
|Colour set to MDI Pink
|
77
|
+
[source, adoc, role="noclip"]
|
78
|
+
----
|
79
|
+
mdi:alert[5x md-pink]
|
80
|
+
----
|
81
|
+
|mdi:account[5x md-pink]
|
82
|
+
|
83
|
+
|5x
|
84
|
+
|`mdi-spin`
|
85
|
+
|Added animation of type Rotate (Spin)
|
86
|
+
[source, adoc, role="noclip"]
|
87
|
+
----
|
88
|
+
mdi:loading[5x mdi-spin]
|
89
|
+
----
|
90
|
+
|mdi:loading[5x mdi-spin]
|
91
|
+
|
92
|
+
|5x
|
93
|
+
|`md-red-900` +
|
94
|
+
`mdi-pulsed`
|
95
|
+
|Colour set to MDI Dark Red and added animation of type Pulsed
|
96
|
+
[source, adoc, role="noclip"]
|
97
|
+
----
|
98
|
+
mdi:heart[5x md-red-900 mdi-pulsed]
|
99
|
+
----
|
100
|
+
|mdi:heart[5x md-red-900 mdi-pulsed]
|
101
|
+
|
102
|
+
|===============================================================================
|
@@ -0,0 +1,84 @@
|
|
1
|
+
---
|
2
|
+
title: Skeleton
|
3
|
+
tagline: multi document
|
4
|
+
date: 2021-01-01 00:00:00
|
5
|
+
description: >
|
6
|
+
Multi-chapter documents are used for more complex articles of a website. If
|
7
|
+
the number of chapters is or exceeds three for an article, it could make sense
|
8
|
+
to split a larger documents chapter-wise into separate files. This document
|
9
|
+
type is based on *multiple* Asciidoc documents and make use of (local and
|
10
|
+
global) Asciidoc include files and attributes.
|
11
|
+
|
12
|
+
categories: [ Asciidoc, Skeleton ]
|
13
|
+
tags: [ Knowledge, Skeleton, Document ]
|
14
|
+
|
15
|
+
permalink: /pages/public/skeleton/multi/
|
16
|
+
regenerate: true
|
17
|
+
|
18
|
+
resources: [ lightbox, light_gallery, justified_gallery ]
|
19
|
+
resource_options:
|
20
|
+
- toccer:
|
21
|
+
collapseDepth: 4
|
22
|
+
- attic:
|
23
|
+
padding_top: 400
|
24
|
+
padding_bottom: 50
|
25
|
+
opacity: 0.5
|
26
|
+
slides:
|
27
|
+
- url: /assets/images/pages/skeleton/annie-spratt-1920x1280.jpg
|
28
|
+
alt: Photo by Annie Spratt on Unsplash
|
29
|
+
alignY: top
|
30
|
+
badge:
|
31
|
+
type: unsplash
|
32
|
+
author: Annie Spratt
|
33
|
+
href: https://unsplash.com/@anniespratt
|
34
|
+
---
|
35
|
+
|
36
|
+
// Page Initializer
|
37
|
+
// =============================================================================
|
38
|
+
// Enable the Liquid Preprocessor
|
39
|
+
:page-liquid:
|
40
|
+
|
41
|
+
// Set (local) page attributes here
|
42
|
+
// -----------------------------------------------------------------------------
|
43
|
+
// :page--attr: <attr-value>
|
44
|
+
|
45
|
+
// Load Liquid procedures
|
46
|
+
// -----------------------------------------------------------------------------
|
47
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
48
|
+
|
49
|
+
// Load page attributes
|
50
|
+
// -----------------------------------------------------------------------------
|
51
|
+
{% include {{load_attributes}} scope="all" %}
|
52
|
+
|
53
|
+
|
54
|
+
// Page content
|
55
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
56
|
+
|
57
|
+
The Asciidoc *skeleton multi-document* a helper for setting up a base file and
|
58
|
+
folder structure for multi-chapter AsciiDoc projects based on _Jekyll_
|
59
|
+
and _J1 Template_. You need *both* to use this skeleton creating AsciiDoc
|
60
|
+
documents from it.
|
61
|
+
|
62
|
+
Multi-chapter documents are used for more complex articles of a website. If
|
63
|
+
the number of chapters is or exceeds three for an article, it could make sense
|
64
|
+
to split a larger documents chapter-wise into separate files. This document
|
65
|
+
type is based on *multiple* Asciidoc documents and make use of (local and
|
66
|
+
global) Asciidoc include files and attributes.
|
67
|
+
|
68
|
+
[NOTE]
|
69
|
+
====
|
70
|
+
.Moving documents based on the skeleton
|
71
|
+
|
72
|
+
All Asciidoc Document Skeletons are fully *relocateable* and can be placed in
|
73
|
+
any subfolder of your Jekyll site.
|
74
|
+
====
|
75
|
+
|
76
|
+
[role="mb-5"]
|
77
|
+
*Happy Jekylling!*
|
78
|
+
|
79
|
+
|
80
|
+
// Include Sublevel Documents
|
81
|
+
// -----------------------------------------------------------------------------
|
82
|
+
include::{documentdir}/100_chapter.asciidoc[]
|
83
|
+
|
84
|
+
include::{documentdir}/200_chapter.asciidoc[]
|