j1-template 2023.1.0 → 2023.2.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_collection.html +2 -3
- data/assets/data/banner.html +8 -6
- data/assets/data/masonry.html +263 -73
- data/assets/data/slick.html +155 -59
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/masonry.js +9 -1
- data/assets/themes/j1/adapter/js/slick.js +239 -134
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +247 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +55 -57
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/README.md +6 -1
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +1 -1
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +173 -137
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/slider/js/slick.js +2970 -2233
- data/assets/themes/j1/modules/translator/css/translator.css +3 -19
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +25 -1
- data/lib/starter_web/_data/blocks/banner.yml +45 -46
- data/lib/starter_web/_data/blocks/panel.yml +9 -9
- data/lib/starter_web/_data/layouts/home.yml +39 -21
- data/lib/starter_web/_data/modules/defaults/slick.yml +2 -2
- data/lib/starter_web/_data/modules/masonry.yml +155 -41
- data/lib/starter_web/_data/modules/navigator_menu.yml +632 -591
- data/lib/starter_web/_data/modules/scroller.yml +1 -1
- data/lib/starter_web/_data/modules/slick.yml +260 -54
- data/lib/starter_web/_data/puma/config.rb +10 -0
- data/lib/starter_web/_data/resources.yml +1 -0
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +24 -0
- data/lib/starter_web/_includes/custom/static/readme +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
- data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -76
- data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
- data/lib/starter_web/_includes/custom/templates/readme +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +5 -5
- data/lib/starter_web/collections/_biography/becoming.adoc +5 -5
- data/lib/starter_web/collections/_biography/born-to-run.adoc +5 -5
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +5 -5
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +5 -6
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +5 -5
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +6 -7
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -4
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +13 -3
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +11 -3
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +15 -3
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +11 -3
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +11 -3
- data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +12 -3
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +10 -3
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +13 -3
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -3
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +12 -3
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +16 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +4 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +4 -4
- data/lib/starter_web/index.html +129 -129
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_biography.adoc +21 -12
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_fantasy.adoc +11 -6
- data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_romance.adoc +11 -5
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +53 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +59 -79
- data/assets/data/masonry.4.html +0 -213
- data/assets/themes/j1/adapter/js/slick.3.js +0 -365
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img1.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img2.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img3.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img4.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img5.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img6.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img7.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img8.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/200x150/img9.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-1.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-2.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-3.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-4.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-5.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-6.png +0 -0
- data/lib/starter_web/assets/images/parsa/customers/client-7.png +0 -0
- data/lib/starter_web/assets/images/parsa/icons/favicon.ico +0 -0
- data/lib/starter_web/assets/images/parsa/icons/icon.png +0 -0
- data/lib/starter_web/assets/images/parsa/icons/icon.svg +0 -152
- data/lib/starter_web/assets/images/parsa/icons/logo.svg +0 -172
- data/lib/starter_web/assets/images/parsa/masthead/19-02-_2023_09-05-46.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/masthead/banner-img.png +0 -0
- data/lib/starter_web/assets/images/parsa/pages/1920x1280/author.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/1920x1280/contact.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/author.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/pages/contact.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/partners/scalable/facebook.svg +0 -34
- data/lib/starter_web/assets/images/parsa/partners/scalable/google.svg +0 -35
- data/lib/starter_web/assets/images/parsa/partners/scalable/ibm.svg +0 -24
- data/lib/starter_web/assets/images/parsa/partners/scalable/microsoft.svg +0 -42
- data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-img.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-single.jpg +0 -0
- data/lib/starter_web/assets/images/parsa/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/pages/public/previewer/preview_masonry.adoc +0 -361
- data/lib/starter_web/pages/public/previewer/preview_slick_slider.adoc +0 -375
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/5.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/6.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/close-icon.svg +0 -0
- /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/up.svg +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-5.jpg +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-1.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-10.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-11.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-12.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-13.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-2.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-3.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-4.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-5.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-6.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-7.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-8.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-9.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-img.jpg +0 -0
- /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-single.jpg +0 -0
- /data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/jekyll_collections.adoc +0 -0
@@ -1,76 +1,98 @@
|
|
1
|
-
<!--
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
<!--
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
}
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}
|
75
|
-
|
76
|
-
|
1
|
+
<!--
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/custom/content/templates/bs5_accordion.html
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# http://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2023 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Theme is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
12
|
+
#
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
# NOTE:
|
15
|
+
# Find the accordion example @BS5:
|
16
|
+
# https://getbootstrap.com/docs/5.2/components/accordion/
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
# Test data:
|
19
|
+
# liquid_var: {{liquid_var | debug}}
|
20
|
+
# -----------------------------------------------------------------------------
|
21
|
+
-->
|
22
|
+
|
23
|
+
<!-- Custom Header -->
|
24
|
+
<!-- [INFO ] [~/_includes/custom/templates/custom_header.html ] [ create attic for layout: {{page.layout}}] -->
|
25
|
+
<header class="masthead bg-primary text-white text-center mb-4">
|
26
|
+
<div class="container d-flex align-items-center flex-column">
|
27
|
+
|
28
|
+
<!-- Masthead Image-->
|
29
|
+
<div class="row">
|
30
|
+
<!-- img class="masthead-avatar mb-5" src="/assets/images/custom/header/avatar.svg" alt="Avatar" aria-label="Avatar" -->
|
31
|
+
<!-- img class="masthead-image" src="/assets/images/custom/header/family.svg" alt="Family Cartoon" aria-label="Family Cartoon" -->
|
32
|
+
<!-- img class="masthead-image" src="{{page.image.path}}" alt="{{page.image.alt}}" aria-label="{{page.image.alt}}" -->
|
33
|
+
<img class="masthead-image" src="/assets/images/custom/header/family.svg" alt="Family Cartoon" aria-label="Family Cartoon">
|
34
|
+
</div>
|
35
|
+
<!-- /Masthead Image-->
|
36
|
+
|
37
|
+
<!-- Masthead Title|Tagline -->
|
38
|
+
<div class="mt-5">
|
39
|
+
<div id="head-title" class="animate__animated animate__fadeInLeft animate__slower">
|
40
|
+
<h1 class="masthead-heading text-uppercase mb-0">{{page.title}}</h1>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="head-tagline" class="animate__animated animate__fadeInLeft animate__slower">
|
44
|
+
<p class="masthead-subheading font-weight-light mb-0">{{page.tagline}}</p>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<!-- /Masthead Title|Tagline -->
|
48
|
+
|
49
|
+
</div>
|
50
|
+
</header>
|
51
|
+
<!-- /Custom Header -->
|
52
|
+
|
53
|
+
<!-- Custom Header CSS -->
|
54
|
+
<style>
|
55
|
+
.masthead {
|
56
|
+
padding-top: calc(6rem + 80px);
|
57
|
+
padding-bottom: 4rem;
|
58
|
+
|
59
|
+
.masthead-heading {
|
60
|
+
font-size: 2.75rem;
|
61
|
+
line-height: 2.75rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
.masthead-subheading {
|
65
|
+
font-size: 1.25rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
.masthead-avatar {
|
69
|
+
width: 15rem;
|
70
|
+
}
|
71
|
+
|
72
|
+
.masthead-image {
|
73
|
+
width: 60rem;
|
74
|
+
}
|
75
|
+
|
76
|
+
/* BS 'md' */
|
77
|
+
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
78
|
+
.masthead-image {
|
79
|
+
width: 40rem;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
/* BS 'sm' */
|
84
|
+
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
85
|
+
.masthead-image {
|
86
|
+
width: 30rem;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
/* BS 'xs' */
|
91
|
+
@media only screen and (max-width: 480px) {
|
92
|
+
.masthead-image {
|
93
|
+
width: 30rem;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
</style>
|
98
|
+
<!-- /Custom Header CSS -->
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<!--
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/custom/content/templates/people_panel.html
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# http://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2023 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Theme is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
12
|
+
#
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
# Test data:
|
15
|
+
# liquid_var: {{liquid_var | debug}}
|
16
|
+
# -----------------------------------------------------------------------------
|
17
|
+
-->
|
18
|
+
|
19
|
+
{% comment %} Process YML config data
|
20
|
+
================================================================================ {% endcomment %}
|
21
|
+
|
22
|
+
{% comment %} Set collection data
|
23
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
24
|
+
{% assign collection_name = "people" %}
|
25
|
+
|
26
|
+
{% comment %} Set grid data
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
{% assign grid_title = collection_name | capitalize %}
|
29
|
+
{% assign grid_tagline = "meet us" %}
|
30
|
+
{% assign card_translate_description = "notranslate" %}
|
31
|
+
|
32
|
+
{% comment %} Collect collection documents
|
33
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
+
{% for collection in site.collections %}
|
35
|
+
{% if collection.label contains collection_name %}
|
36
|
+
{% assign articles = collection.docs %}
|
37
|
+
{% break %}
|
38
|
+
{% endif %}
|
39
|
+
{% endfor %}
|
40
|
+
|
41
|
+
{% comment %} Main
|
42
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
43
|
+
<!-- People Grid -->
|
44
|
+
<section id="{{collection_name}}" class="page-section elevated-z1">
|
45
|
+
<div class="container mb-5">
|
46
|
+
|
47
|
+
<!-- Header -->
|
48
|
+
<div class="pt-5 mb-5">
|
49
|
+
<h2 class="g-font-weight-500 mb-0 {{card_translate_description}}">{{grid_title}}</h2>
|
50
|
+
<p class="tagline mb-0 {{card_translate_description}}"><b>{{grid_tagline}}</b></p>
|
51
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
52
|
+
</div>
|
53
|
+
<!-- /Header -->
|
54
|
+
|
55
|
+
<div class="row">
|
56
|
+
{% for article in articles %}
|
57
|
+
|
58
|
+
<div class="col-lg-4 col-sm-6 mb-4">
|
59
|
+
<div class="people-member">
|
60
|
+
<img class="mx-auto rounded-circle" src="{{article.image.path | relative_url}}" alt="{{article.person.name | escape}}" />
|
61
|
+
<h3 class="mt-2">{{article.person.name}}</h3>
|
62
|
+
<p>{{article.person.role}}</p>
|
63
|
+
|
64
|
+
{% comment %} social media (links)
|
65
|
+
---------------------------------------------------------------------- {% endcomment %}
|
66
|
+
{% if article.social_media.enabled %}
|
67
|
+
<ul class="social-icons">
|
68
|
+
{% if article.social_media.facebook.href contains 'http' %}
|
69
|
+
<li>
|
70
|
+
<a id="personFacebookButton"
|
71
|
+
href="{{{article.social_media.facebook.href}}"
|
72
|
+
aria-label="personFacebookButton"
|
73
|
+
data-original-title="Facebook"
|
74
|
+
class="rounded-circle social_facebook"
|
75
|
+
target="_blank"
|
76
|
+
rel="noopener noreferrer">
|
77
|
+
</a>
|
78
|
+
</li>
|
79
|
+
{% else %}
|
80
|
+
<li>
|
81
|
+
<a id="personFacebookButton"
|
82
|
+
href="javascript:void(0)"
|
83
|
+
aria-label="personFacebookButton"
|
84
|
+
data-original-title="Facebook"
|
85
|
+
class="rounded-circle social_facebook">
|
86
|
+
</a>
|
87
|
+
</li>
|
88
|
+
{% endif %}
|
89
|
+
|
90
|
+
{% if article.social_media.twitter.href contains 'http' %}
|
91
|
+
<li>
|
92
|
+
<a id="personTwitterButton"
|
93
|
+
href="{{{article.social_media.twitter.href}}"
|
94
|
+
aria-label="personTwitterButton"
|
95
|
+
data-original-title="Twitter"
|
96
|
+
class="rounded-circle social_twitter"
|
97
|
+
target="_blank"
|
98
|
+
rel="noopener noreferrer">
|
99
|
+
</a>
|
100
|
+
</li>
|
101
|
+
{% else %}
|
102
|
+
<li>
|
103
|
+
<a id="personTwitterButton"
|
104
|
+
href="javascript:void(0)"
|
105
|
+
aria-label="personTwitterButton"
|
106
|
+
data-original-title="Twitter"
|
107
|
+
class="rounded-circle social_twitter">
|
108
|
+
</a>
|
109
|
+
</li>
|
110
|
+
{% endif %}
|
111
|
+
|
112
|
+
{% if article.social_media.linkedin.href contains 'http' %}
|
113
|
+
<li>
|
114
|
+
<a id="personLinkedinButton"
|
115
|
+
href="{{{article.social_media.linkedin.href}}"
|
116
|
+
aria-label="personLinkedinkButton"
|
117
|
+
data-original-title="Linkedin"
|
118
|
+
class="rounded-circle social_linkedin"
|
119
|
+
target="_blank"
|
120
|
+
rel="noopener noreferrer">
|
121
|
+
</a>
|
122
|
+
</li>
|
123
|
+
{% else %}
|
124
|
+
<li>
|
125
|
+
<a id="personLinkedinButton"
|
126
|
+
href="javascript:void(0)"
|
127
|
+
aria-label="personLinkedinButton"
|
128
|
+
data-original-title="Linkedin"
|
129
|
+
class="rounded-circle social_linkedin">
|
130
|
+
</a>
|
131
|
+
</li>
|
132
|
+
{% endif %}
|
133
|
+
</ul>
|
134
|
+
{% endif %}
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
{% endfor %}
|
140
|
+
</div>
|
141
|
+
|
142
|
+
</div>
|
143
|
+
</section>
|
144
|
+
<!-- /People Grid -->
|
@@ -1 +1 @@
|
|
1
|
-
Place Liquid-based HTML template files in this folder.
|
1
|
+
Place custom Liquid-based HTML template files in this folder.
|
@@ -35,7 +35,7 @@ Asciidoctor::Extensions.register do
|
|
35
35
|
|
36
36
|
def process parent, target, attrs
|
37
37
|
|
38
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title">#{attrs['title']}</div>\n) : nil
|
38
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title notranslate">#{attrs['title']}</div>\n) : nil
|
39
39
|
html = %(#{title_html} <div id="#{target}" class="#{attrs['role']}"></div>)
|
40
40
|
create_pass_block parent, html, attrs, subs: nil
|
41
41
|
end
|
@@ -33,7 +33,7 @@ Asciidoctor::Extensions.register do
|
|
33
33
|
name_positional_attributes 'role'
|
34
34
|
|
35
35
|
def process parent, target, attrs
|
36
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="gallery-title">#{attrs['title']}</div>\n) : nil
|
36
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="gallery-title notranslate">#{attrs['title']}</div>\n) : nil
|
37
37
|
html = %(#{title_html} <div id="#{target}" class="#{attrs['role']}"></div>)
|
38
38
|
create_pass_block parent, html, attrs, subs: nil
|
39
39
|
end
|
@@ -34,7 +34,7 @@ Asciidoctor::Extensions.register do
|
|
34
34
|
|
35
35
|
def process parent, target, attrs
|
36
36
|
title_html = (attrs.has_key? 'title') ?
|
37
|
-
%(<div class="title">#{attrs['title']}</div>\n) : nil
|
37
|
+
%(<div class="title notranslate">#{attrs['title']}</div>\n) : nil
|
38
38
|
|
39
39
|
html = %(<div class="openblock gist mt-4 mb-5">
|
40
40
|
#{title_html}
|
@@ -44,7 +44,7 @@ Asciidoctor::Extensions.register do
|
|
44
44
|
imagesdir = parent.attr 'imagesdir'
|
45
45
|
images_hash = Hash[*attrs['image_data'].split(',')]
|
46
46
|
|
47
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="title">#{attrs['title']}</div>\n) : nil
|
47
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="title notranslate">#{attrs['title']}</div>\n) : nil
|
48
48
|
role = (attrs.has_key? 'role') ? role : ''
|
49
49
|
grouped = (attrs.has_key? 'group') ? true : false
|
50
50
|
|
@@ -37,7 +37,7 @@ Asciidoctor::Extensions.register do
|
|
37
37
|
name_positional_attributes 'role'
|
38
38
|
|
39
39
|
def process parent, target, attrs
|
40
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="masonry-title">#{attrs['title']}</div>\n) : nil
|
40
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="masonry-title notranslate">#{attrs['title']}</div>\n) : nil
|
41
41
|
# html = %(#{title_html} <div id="#{target}_parent" class="container g-0 masonry-parent #{attrs['role']}"></div>)
|
42
42
|
html = %(#{title_html} <div id="#{target}_parent" class="masonry-parent #{attrs['role']}"></div>)
|
43
43
|
create_pass_block parent, html, attrs, subs: nil
|
@@ -37,7 +37,7 @@ Asciidoctor::Extensions.register do
|
|
37
37
|
|
38
38
|
def process parent, target, attrs
|
39
39
|
|
40
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title">#{attrs['title']}</div>\n) : nil
|
40
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title notranslate">#{attrs['title']}</div>\n) : nil
|
41
41
|
html = %(#{title_html} <div id="p_#{target}" class="master-slider-parent #{attrs['role']}"></div>)
|
42
42
|
create_pass_block parent, html, attrs, subs: nil
|
43
43
|
end
|
@@ -14,6 +14,16 @@
|
|
14
14
|
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
15
|
include Asciidoctor
|
16
16
|
|
17
|
+
# A inline macro that places an MDIL icon into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
#
|
21
|
+
# mdil:<name>[<size>, <modifier>]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# mdil:account[mdi-48px, <modifier>]
|
26
|
+
#
|
17
27
|
Asciidoctor::Extensions.register do
|
18
28
|
class MdilIconInlineMacro < Extensions::InlineMacroProcessor
|
19
29
|
use_dsl
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_plugins/asciidoctor-extensions/placeholder-inline.rb
|
3
|
+
# Asciidoctor extension for placeholder images generated by "placehold.it"
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2023 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Theme is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
|
+
include Asciidoctor
|
16
|
+
|
17
|
+
# A inline macro that places an "placehold.it" URL into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
#
|
21
|
+
# placeholder:<name>[<size>, <color>]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# placeholder:300x600[300x600, 212121]
|
26
|
+
#
|
27
|
+
Asciidoctor::Extensions.register do
|
28
|
+
class PlaceholderInlineMacro < Extensions::InlineMacroProcessor
|
29
|
+
use_dsl
|
30
|
+
named :placeholder
|
31
|
+
name_positional_attributes 'size', 'modifier'
|
32
|
+
default_attrs 'size' => '300x300', 'modifier' => ''
|
33
|
+
|
34
|
+
def process parent, target, attributes
|
35
|
+
doc = parent.document
|
36
|
+
size_class = (size = attributes['size']) ? %(mdil-#{size}) : nil
|
37
|
+
modifier_class = (modifier = attributes['modifier']) ? %(#{modifier}) : nil
|
38
|
+
# %(<i class="#{size} #{modifier}"></i>)
|
39
|
+
%("http://placehold.it/#{size}/#{modifier}")
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
43
|
+
inline_macro PlaceholderInlineMacro
|
44
|
+
end
|
@@ -38,7 +38,7 @@ Asciidoctor::Extensions.register do
|
|
38
38
|
|
39
39
|
def process parent, target, attrs
|
40
40
|
|
41
|
-
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title">#{attrs['title']}</div>\n) : nil
|
41
|
+
title_html = (attrs.has_key? 'title') ? %(<div class="slider-title notranslate">#{attrs['title']}</div>\n) : nil
|
42
42
|
html = %(#{title_html} <div id="#{target}_parent" class="slider-parent #{attrs['role']}"></div>)
|
43
43
|
create_pass_block parent, html, attrs, subs: nil
|
44
44
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout: collection
|
3
2
|
title: A Life in Questions
|
4
3
|
tagline: Memoirs from the legend of Newsnight
|
5
4
|
date: 2023-01-27 00:00:00 +0100
|
@@ -8,8 +7,11 @@ description: >
|
|
8
7
|
The witty, incisive and frank memoirs from the legend of Newsnight
|
9
8
|
and long-standing quiz master of University Challenge.
|
10
9
|
|
11
|
-
categories: [ Book
|
12
|
-
tags: [ Political, Journalism ]
|
10
|
+
categories: [ Book ]
|
11
|
+
tags: [ Biography, Political, Journalism ]
|
12
|
+
|
13
|
+
image:
|
14
|
+
path: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9780/0081/9780008128302.jpg
|
13
15
|
|
14
16
|
book:
|
15
17
|
cover: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9780/0081/9780008128302.jpg
|
@@ -23,8 +25,6 @@ book:
|
|
23
25
|
ISBN13: 9780008128302
|
24
26
|
rank: 16817
|
25
27
|
|
26
|
-
fab_menu_id: default
|
27
|
-
scrollbar: false
|
28
28
|
regenerate: false
|
29
29
|
|
30
30
|
resources: [ animate ]
|
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout: collection
|
3
2
|
title: Becoming
|
4
3
|
tagline: Former First Lady of the USA
|
5
4
|
date: 2023-01-27 00:00:00 +0100
|
@@ -9,8 +8,11 @@ description: >
|
|
9
8
|
accomplishment, Michelle Obama has emerged as one of the
|
10
9
|
most iconic and compelling women of our era.
|
11
10
|
|
12
|
-
categories: [ Book
|
13
|
-
tags: [ Political, Journalism ]
|
11
|
+
categories: [ Book ]
|
12
|
+
tags: [ Biography, Political, Journalism ]
|
13
|
+
|
14
|
+
image:
|
15
|
+
path: https://images-na.ssl-images-amazon.com/images/I/414JfiBCutL.jpg
|
14
16
|
|
15
17
|
book:
|
16
18
|
cover: https://images-na.ssl-images-amazon.com/images/I/414JfiBCutL.jpg
|
@@ -23,8 +25,6 @@ book:
|
|
23
25
|
ISBN13: 978-3-442-31487-4
|
24
26
|
rank: 817
|
25
27
|
|
26
|
-
fab_menu_id: default
|
27
|
-
scrollbar: false
|
28
28
|
regenerate: false
|
29
29
|
|
30
30
|
resources: [ animate ]
|
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout: collection
|
3
2
|
title: Born to Run
|
4
3
|
tagline: A legendary Rock Star’s Memoir
|
5
4
|
date: 2023-01-27 00:00:00 +0100
|
@@ -8,8 +7,11 @@ description: >
|
|
8
7
|
lovers and loners, artists, freaks or anyone who has ever
|
9
8
|
wanted to be baptized in the holy river of rock and roll.
|
10
9
|
|
11
|
-
categories: [ Book
|
12
|
-
tags: [ Musician ]
|
10
|
+
categories: [ Book ]
|
11
|
+
tags: [ Biography, Musician ]
|
12
|
+
|
13
|
+
image:
|
14
|
+
path: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/4711/9781471157790.jpg
|
13
15
|
|
14
16
|
book:
|
15
17
|
cover: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/4711/9781471157790.jpg
|
@@ -22,8 +24,6 @@ book:
|
|
22
24
|
ISBN13: 9781471157790
|
23
25
|
rank: 23
|
24
26
|
|
25
|
-
fab_menu_id: default
|
26
|
-
scrollbar: false
|
27
27
|
regenerate: false
|
28
28
|
|
29
29
|
resources: [ animate ]
|
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout: collection
|
3
2
|
title: Forty Autumns
|
4
3
|
tagline: A Family's Story
|
5
4
|
date: 2023-01-27 00:00:00 +0100
|
@@ -8,8 +7,11 @@ description: >
|
|
8
7
|
daughters and cousins - separated by forty years of Soviet rule,
|
9
8
|
and reunited after the fall of the Berlin Wall.
|
10
9
|
|
11
|
-
categories: [ Book
|
12
|
-
tags: [ Historical ]
|
10
|
+
categories: [ Book ]
|
11
|
+
tags: [ Biography, Historical ]
|
12
|
+
|
13
|
+
image:
|
14
|
+
path: https://d20eq91zdmkqd.cloudfront.net/assets/images/book/large/9781/4087/9781408707265.jpg
|
13
15
|
|
14
16
|
book:
|
15
17
|
cover: https://d20eq91zdmkqd.cloudfront.net/assets/images/book/large/9781/4087/9781408707265.jpg
|
@@ -22,8 +24,6 @@ book:
|
|
22
24
|
ISBN13: 9781408707265
|
23
25
|
rank: 106052
|
24
26
|
|
25
|
-
fab_menu_id: default
|
26
|
-
scrollbar: false
|
27
27
|
regenerate: false
|
28
28
|
|
29
29
|
resources: [ animate ]
|
@@ -1,6 +1,4 @@
|
|
1
1
|
---
|
2
|
-
layout: collection
|
3
|
-
|
4
2
|
title: Not Dead Yet
|
5
3
|
tagline: Phil Collins Autobiography
|
6
4
|
date: 2023-01-27 00:00:00 +0100
|
@@ -9,8 +7,11 @@ description: >
|
|
9
7
|
his marriages and divorces. This is the story of his epic career, from
|
10
8
|
child actor to one of the most successful songwriters of the pop music era.
|
11
9
|
|
12
|
-
categories: [ Book
|
13
|
-
tags: [ Musician ]
|
10
|
+
categories: [ Book ]
|
11
|
+
tags: [ Biography, Musician ]
|
12
|
+
|
13
|
+
image:
|
14
|
+
path: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/7808/9781780895123.jpg
|
14
15
|
|
15
16
|
book:
|
16
17
|
cover: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/7808/9781780895123.jpg
|
@@ -23,8 +24,6 @@ book:
|
|
23
24
|
ISBN13: 9781780895123
|
24
25
|
rank: 1367
|
25
26
|
|
26
|
-
fab_menu_id: default
|
27
|
-
scrollbar: false
|
28
27
|
regenerate: false
|
29
28
|
|
30
29
|
resources: [ animate ]
|