j1-template 2023.1.0 → 2023.2.1
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 +2 -2
- 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 +154 -41
- data/lib/starter_web/_data/modules/navigator_menu.yml +45 -4
- 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-01-01-about-cookies.adoc +1 -1
- 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/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/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/learn/roundtrip/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +54 -82
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1b5b82f8d6be2d2dc76adbddacf4c09fffe79031c991a960b38b072e95e46d
|
4
|
+
data.tar.gz: a49049296063c8570192e46716ac9cb8187e064a51c31d88a9006de5ab055066
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07f4f4fbe3ecf611e2112aa7282c041a2673cb1249415587c7bcc33c7da0ec950de3b687d16bcce1ff00da5e98969a4b8b011c0ddccb639562873a208148784
|
7
|
+
data.tar.gz: 9e5606789bc62edb2a1ca3a07d2448eec60c72cf97bf0e6d245d928e9409a7d5846ac1eece44b7cdb6e0d5d2db71b12a9e0e26b1dadcfd3368f65620ee65ee12
|
@@ -62,12 +62,11 @@
|
|
62
62
|
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ include a collection pager at the top most position ] -->
|
63
63
|
{% include {{pager}} %}
|
64
64
|
|
65
|
-
<div class="post-headline
|
66
|
-
<h2 id="coll_article_navigator" class="notoc">{{
|
65
|
+
<div class="post-headline pt-4">
|
66
|
+
<h2 id="coll_article_navigator" class="notoc">{{page.title}}</h2>
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ begin place content ] -->
|
70
|
-
|
71
70
|
{{content}}
|
72
71
|
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ end place content ] -->
|
73
72
|
|
data/assets/data/banner.html
CHANGED
@@ -259,8 +259,8 @@ exclude_from_search: true
|
|
259
259
|
<img
|
260
260
|
class="sticker-image"
|
261
261
|
src="/assets/images/sticker/600x600/sticker-new-version.png"
|
262
|
-
alt="Get new version 2023.1
|
263
|
-
title="Get new version 2023.1
|
262
|
+
alt="Get new version 2023.2.1"
|
263
|
+
title="Get new version 2023.2.1"
|
264
264
|
style="width: 140px; height: 120px;"
|
265
265
|
>
|
266
266
|
</a>
|
@@ -268,15 +268,17 @@ exclude_from_search: true
|
|
268
268
|
---------------------------------------------------------------- {% endcomment %}
|
269
269
|
|
270
270
|
{% if heading_position == 'left' %}
|
271
|
-
<
|
272
|
-
|
273
|
-
|
271
|
+
<div>
|
272
|
+
<h2 class="g-font-weight-500 mb-0 {{card_translate_description}}">{{card_title}}</h2>
|
273
|
+
<p class="tagline mb-0 {{card_translate_description}}">{{card_tagline}}</p>
|
274
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
275
|
+
</div>
|
274
276
|
{% endif%}
|
275
277
|
|
276
278
|
{% if heading_position == 'center' %}
|
277
279
|
<div class="text-center mb-2">
|
278
280
|
<h2 class="mb-0 {{card_translate_description}}">{{card_title}}</h2>
|
279
|
-
<p class="h4 mb-0 text-muted card_translate_description"><i>{{card_tagline}}</i></p>
|
281
|
+
<p class="h4 mb-0 text-muted {{card_translate_description}}"><i>{{card_tagline}}</i></p>
|
280
282
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
281
283
|
</div>
|
282
284
|
{% endif%}
|
data/assets/data/masonry.html
CHANGED
@@ -89,108 +89,298 @@ exclude_from_search: true
|
|
89
89
|
{% comment %} Collect posts|group grids
|
90
90
|
---------------------------------------------------------------------------- {% endcomment %}
|
91
91
|
{% if grid.type == 'post' %}
|
92
|
+
|
93
|
+
{% if grid.gutters %}
|
94
|
+
{% assign gutter = 1 %}
|
95
|
+
{% else %}
|
96
|
+
{% assign gutter = 0 %}
|
97
|
+
{% endif %}
|
98
|
+
|
92
99
|
<!-- Posts|Group -->
|
93
|
-
<div id="{{grid.id}}" class="{{grid.id | replace: '_','-' }}
|
100
|
+
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
94
101
|
<!-- Collect posts only if group matches -->
|
95
102
|
{% for post in site.posts %} {% if post.group contains grid.group %}
|
96
103
|
|
104
|
+
|
105
|
+
{% if grid.translate_links %}
|
106
|
+
{% assign translate = "" %}
|
107
|
+
{% else %}
|
108
|
+
{% assign translate = "notranslate" %}
|
109
|
+
{% endif %}
|
110
|
+
|
111
|
+
{% if grid.link_new_window %}
|
112
|
+
{% assign target = "_blank" %}
|
113
|
+
{% else %}
|
114
|
+
{% assign target = "" %}
|
115
|
+
{% endif %}
|
116
|
+
|
97
117
|
<!-- resposive items: 3-2-1 -->
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<
|
103
|
-
|
104
|
-
|
105
|
-
{%
|
106
|
-
|
107
|
-
{%
|
108
|
-
|
109
|
-
|
118
|
+
<div class="col-xl-{{masonry_options.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
119
|
+
|
120
|
+
<article class="card bg-dark text-center text-white border-0 rounded-0 bottom">
|
121
|
+
<img class="card-img {{grid.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: contrast(1) brightness(0.5); height: {{grid.image_height}}; width: {{grid.image_width}}">
|
122
|
+
<div class="card-content mt-5">
|
123
|
+
|
124
|
+
{% if post %}
|
125
|
+
{% assign categories = post.categories %}
|
126
|
+
{% else %}
|
127
|
+
{% assign categories = page.categories %}
|
128
|
+
{% endif %}
|
129
|
+
|
130
|
+
{% comment %} categories: {{categories | debug}}
|
131
|
+
------------------------------------------------------------------ {% endcomment %}
|
132
|
+
{% for category in categories %}
|
133
|
+
{% if category contains post.category %}
|
134
|
+
<a class="article-link d-block text-white text-uppercase link-no-decoration {{translate}}"
|
135
|
+
href="/pages/public/blog/navigator/archive/categoryview/#{{grid.group | slugify}}"
|
136
|
+
target="{{target}}"
|
137
|
+
style="font-size: 32px;">
|
138
|
+
{{grid.group}}
|
139
|
+
</a>
|
140
|
+
{% endif %}
|
141
|
+
{% endfor %}
|
110
142
|
|
111
|
-
|
112
|
-
|
143
|
+
<ul class="list-inline d-flex justify-content-center mb-5">
|
144
|
+
<li class="list-inline-item">
|
145
|
+
<i class="mdi mdi-account md-gray-400 mdi-24px mr-1" style="margin-right: 8px;"></i>
|
146
|
+
{{site.author.name | split: ' ' | first}} ·
|
147
|
+
</li>
|
148
|
+
<li class="list-inline-item">
|
149
|
+
<i class="mdi mdi-calendar-blank md-gray-400 mdi-24px mr-1"></i>
|
150
|
+
{{post.date | date: '%b %d, %Y'}}
|
151
|
+
</li>
|
152
|
+
</ul>
|
113
153
|
|
114
|
-
|
115
|
-
|
116
|
-
<a
|
117
|
-
|
118
|
-
|
154
|
+
<!-- Post link (caption) -->
|
155
|
+
<h4 class="caption notoc">
|
156
|
+
<a class="article-link {{translate}}"
|
157
|
+
href="{{post.url}}"
|
158
|
+
target="{{target}}"
|
159
|
+
style="font-size: 32px;">
|
160
|
+
{{post.tags[0]}}
|
119
161
|
</a>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<li class="list-inline-item">
|
125
|
-
<i class="mdi mdi-account md-gray-400 mdi-24px mr-1" style="margin-right: 8px;"></i>
|
126
|
-
{{site.author.name | split: ' ' | first}} ·
|
127
|
-
</li>
|
128
|
-
<li class="list-inline-item">
|
129
|
-
<i class="mdi mdi-calendar-blank md-gray-400 mdi-24px mr-1"></i>
|
130
|
-
{{post.date | date: '%b %d, %Y'}}
|
131
|
-
</li>
|
132
|
-
</ul>
|
133
|
-
<h4 class="notoc card-title">
|
134
|
-
<a class="text-white link-no-decoration" href="{{post.url | relative_url}}">{{post.tags[0]}}</a>
|
135
|
-
</h4>
|
136
|
-
</div>
|
137
|
-
<!--/div -->
|
162
|
+
</h4>
|
163
|
+
<!-- /Post link (caption) -->
|
164
|
+
|
165
|
+
</div>
|
138
166
|
</article>
|
139
|
-
</div>
|
140
167
|
|
168
|
+
</div>
|
141
169
|
{% endif %} {% endfor %}
|
142
170
|
</div>
|
143
171
|
<!-- /Posts|Group -->
|
144
172
|
{% endif %}
|
145
173
|
|
146
|
-
|
174
|
+
|
175
|
+
{% comment %} Collect collection grids
|
147
176
|
---------------------------------------------------------------------------- {% endcomment %}
|
148
|
-
{% if grid.type == '
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
177
|
+
{% if grid.type == 'collection' %}
|
178
|
+
|
179
|
+
{% comment %} Set collection data
|
180
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
181
|
+
{% assign collection_name = grid.collection %}
|
182
|
+
|
183
|
+
{% comment %} Collect collection documents
|
184
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
185
|
+
{% for collection in site.collections %}
|
186
|
+
{% if collection.label contains collection_name %}
|
187
|
+
{% assign articles = collection.docs %}
|
188
|
+
{% break %}
|
189
|
+
{% endif %}
|
190
|
+
{% endfor %}
|
191
|
+
|
192
|
+
<!-- Collection|Articles -->
|
193
|
+
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
194
|
+
|
195
|
+
{% if grid.translate_titles %}
|
196
|
+
{% assign translate = "" %}
|
197
|
+
{% else %}
|
198
|
+
{% assign translate = "notranslate" %}
|
199
|
+
{% endif %}
|
200
|
+
|
201
|
+
{% if grid.gutters %}
|
202
|
+
{% assign gutter = 1 %}
|
203
|
+
{% else %}
|
204
|
+
{% assign gutter = 0 %}
|
205
|
+
{% endif %}
|
206
|
+
|
207
|
+
{% for article in articles %}
|
208
|
+
<div class="col-xl-{{masonry_options.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
209
|
+
<!-- Article item -->
|
210
|
+
<div id="{{article.title | downcase | replace: ' ' ,'_'}}" class="article-item article-item--w400">
|
211
|
+
{% if grid.preview %}
|
212
|
+
<a class="article-link" data-bs-toggle="modal" href="#articleModal_{{grid.id}}_{{forloop.index}}">
|
213
|
+
<div class="article-hover">
|
214
|
+
<div class="article-hover-content">
|
215
|
+
<i class="mdi mdi-plus mdi-10x"></i>
|
216
|
+
</div>
|
217
|
+
</div>
|
218
|
+
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="height: {{grid.image_height}}; width: {{grid.image_width}}">
|
160
219
|
</a>
|
161
|
-
|
162
|
-
|
163
|
-
|
220
|
+
{% else %}
|
221
|
+
<!-- img class="img-fluid img-object--w400" src="{{article.image.path}}" alt="{{article.title}}" / -->
|
222
|
+
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="height: {{grid.image_height}}; width: {{grid.image_width}}">
|
223
|
+
{% endif %}
|
224
|
+
<div class="article-caption">
|
225
|
+
<div class="article-caption-heading">
|
226
|
+
<a class="card-link {{translate}}" href="{{article.url}}">{{article.title}}</a>
|
227
|
+
</div>
|
228
|
+
<div class="article-caption-subheading text-muted">{{article.tags[0]}}</div>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
<!-- /Article item -->
|
232
|
+
</div>
|
233
|
+
|
234
|
+
<!-- Article Modal-->
|
235
|
+
{% if grid.preview %}
|
236
|
+
<div id="articleModal_{{grid.id}}_{{forloop.index}}" class="article-modal modal fade" tabindex="-1" role="dialog" aria-hidden="true">
|
237
|
+
<div class="modal-dialog">
|
238
|
+
<div class="modal-content">
|
239
|
+
|
240
|
+
<div class="close-modal" data-bs-dismiss="modal">
|
241
|
+
<img src="{{'/assets/images/icons/controls/close-icon.svg' | relative_url}}" alt="Close modal">
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<div class="container">
|
245
|
+
<div class="row justify-content-center">
|
246
|
+
<div class="col-lg-8">
|
247
|
+
<div class="modal-body">
|
248
|
+
<!-- Project details-->
|
249
|
+
<h2 class="text-uppercase notoc {{translate}}">{{article.title}}</h2>
|
250
|
+
<p class="item-intro text-muted">{{article.tagline}}</p>
|
251
|
+
<img class="img-fluid d-block mx-auto" src="{{article.image.path | relative_url}}" alt="{{article.title}}">
|
252
|
+
<p>{{article.description}}</p>
|
253
|
+
<ul class="list-inline">
|
254
|
+
<li>
|
255
|
+
<strong>Title:</strong>
|
256
|
+
<span class="{{translate}}">{{article.title}}</span>
|
257
|
+
</li>
|
258
|
+
<li>
|
259
|
+
<strong>Categories:</strong>
|
260
|
+
<span class="{{translate}}">{{article.categories}}</span>
|
261
|
+
</li>
|
262
|
+
<!-- li>
|
263
|
+
<strong>Tags:</strong>
|
264
|
+
<span class="{{translate}}">{{article.tags}}</span>
|
265
|
+
</li -->
|
266
|
+
</ul>
|
267
|
+
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
268
|
+
<i class="mdi mdi-close mdi-24px mx-2"></i>
|
269
|
+
Close Preview
|
270
|
+
</button>
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
</div>
|
275
|
+
|
276
|
+
</div>
|
164
277
|
</div>
|
165
278
|
</div>
|
279
|
+
{% endif %}
|
280
|
+
<!-- /Article Modal-->
|
281
|
+
|
166
282
|
{% endfor %}
|
167
283
|
</div>
|
168
|
-
<!-- /
|
284
|
+
<!-- /Collection|Articles -->
|
285
|
+
|
286
|
+
{% endif %}
|
287
|
+
|
288
|
+
{% comment %} Collect Bootrap Card Grids
|
289
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
290
|
+
{% if grid.type == 'card' %}
|
291
|
+
|
292
|
+
{% if grid.gutters %}
|
293
|
+
{% assign gutter = 1 %}
|
294
|
+
{% else %}
|
295
|
+
{% assign gutter = 0 %}
|
296
|
+
{% endif %}
|
297
|
+
|
298
|
+
<!-- Card Image Grid -->
|
299
|
+
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
300
|
+
{% for image in grid.images %}
|
301
|
+
<div class="col-xl-{{masonry_otions.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
302
|
+
<div class="card">
|
303
|
+
{% if grid.lightbox %}
|
304
|
+
<div class="{{grid.caption.position}}">
|
305
|
+
<a href="{{grid.image_base_path}}/{{image.file}}"
|
306
|
+
data-lightbox="{{grid.id}}-image-group"
|
307
|
+
data-caption="{{image.caption}}"
|
308
|
+
data-title="{{image.caption}}">
|
309
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}" style="height: {{grid.image_height}}">
|
310
|
+
</a>
|
311
|
+
{% if grid.caption.enabled %}
|
312
|
+
<div class="caption">{{image.caption}}</div>
|
313
|
+
{% endif %}
|
314
|
+
</div>
|
315
|
+
{% else %}
|
316
|
+
<div class="{{grid.caption.position}}">
|
317
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}">
|
318
|
+
{% if grid.caption.enabled %}
|
319
|
+
<div class="caption">{{image.caption}}</div>
|
320
|
+
{% endif %}
|
321
|
+
</div>
|
322
|
+
{% endif %}
|
323
|
+
</div>
|
324
|
+
</div>
|
325
|
+
{% endfor %}
|
326
|
+
</div>
|
327
|
+
<!-- /Card Image Grid -->
|
169
328
|
{% endif %}
|
170
329
|
|
171
330
|
{% comment %} Collect Image Grids
|
172
331
|
---------------------------------------------------------------------------- {% endcomment %}
|
173
|
-
{% if grid.type == '
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
332
|
+
{% if grid.type == 'image' %}
|
333
|
+
|
334
|
+
{% if grid.gutters %}
|
335
|
+
{% assign gutter = 1 %}
|
336
|
+
{% else %}
|
337
|
+
{% assign gutter = 0 %}
|
338
|
+
{% endif %}
|
339
|
+
|
340
|
+
<!-- Image Grid -->
|
341
|
+
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
342
|
+
{% for image in grid.images %}
|
343
|
+
<div class="col-xl-{{masonry_options.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
344
|
+
{% if grid.lightbox %}
|
345
|
+
<div class="{{grid.caption.position}}">
|
346
|
+
<a href="{{grid.image_base_path}}/{{image.file}}"
|
347
|
+
data-lightbox="{{grid.id}}-image-group"
|
348
|
+
data-caption="{{image.caption}}"
|
349
|
+
data-title="{{image.caption}}">
|
350
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}">
|
351
|
+
{% if grid.caption.enabled %}
|
352
|
+
{% if grid.gutters and grid.caption.position == 'top' %}
|
353
|
+
<div class="caption" style="top: calc(2px + {{gutter}}*4px - {{gutter}}px); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
354
|
+
{% elsif grid.gutters and grid.caption.position == 'center' %}
|
355
|
+
<div class="caption" style="width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
356
|
+
{% elsif grid.gutters and grid.caption.position == 'bottom' %}
|
357
|
+
<div class="caption" style="top: calc(100% - {{gutter}}*1% - 1px); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
358
|
+
{% else %}
|
359
|
+
<div class="caption">{{image.caption}}</div>
|
360
|
+
{% endif %}
|
361
|
+
{% endif %}
|
362
|
+
</a>
|
363
|
+
</div>
|
186
364
|
{% else %}
|
187
|
-
|
365
|
+
<div class="{{grid.caption.position}}">
|
366
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}">
|
367
|
+
{% if grid.caption.enabled %}
|
368
|
+
{% if grid.gutters and grid.caption.position == 'top' %}
|
369
|
+
<div class="caption" style="top: calc(2px + {{gutter}}*4px - {{gutter}}px); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
370
|
+
{% elsif grid.gutters and grid.caption.position == 'center' %}
|
371
|
+
<div class="caption" style="width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
372
|
+
{% elsif grid.gutters and grid.caption.position == 'bottom' %}
|
373
|
+
<div class="caption" style="top: calc(100% - {{gutter}}*1%); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
374
|
+
{% else %}
|
375
|
+
<div class="caption">{{image.caption}}</div>
|
376
|
+
{% endif %}
|
377
|
+
{% endif %}
|
378
|
+
</div>
|
188
379
|
{% endif %}
|
189
380
|
</div>
|
381
|
+
{% endfor %}
|
190
382
|
</div>
|
191
|
-
|
192
|
-
</div>
|
193
|
-
<!-- /Image Grid -->
|
383
|
+
<!-- /Image Grid -->
|
194
384
|
{% endif %}
|
195
385
|
|
196
386
|
{% endif %}
|