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
data/assets/data/slick.html
CHANGED
@@ -8,7 +8,7 @@ exclude_from_search: true
|
|
8
8
|
{% comment %}
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
# ~/assets/data/slick.html
|
11
|
-
# Liquid procedure to generate the HTML portion for all
|
11
|
+
# Liquid procedure to generate the HTML portion for all Slick Carousels
|
12
12
|
# configured
|
13
13
|
#
|
14
14
|
# Product/Info:
|
@@ -42,14 +42,14 @@ exclude_from_search: true
|
|
42
42
|
|
43
43
|
{% comment %} Set config data
|
44
44
|
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
-
{% assign environment
|
46
|
-
{% assign
|
47
|
-
{% assign
|
45
|
+
{% assign environment = site.environment %}
|
46
|
+
{% assign carousel_defaults = modules.defaults.slick.defaults %}
|
47
|
+
{% assign carousel_settings = modules.slick.settings %}
|
48
48
|
|
49
49
|
{% comment %} Set config options
|
50
50
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
-
{% assign
|
52
|
-
{% assign
|
51
|
+
{% assign carousel_options = carousel_defaults | merge: carousel_settings %}
|
52
|
+
{% assign carousels = carousel_settings.carousels %}
|
53
53
|
|
54
54
|
{% comment %} Configure permalink settings
|
55
55
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -67,34 +67,110 @@ exclude_from_search: true
|
|
67
67
|
|
68
68
|
{% comment %} Main
|
69
69
|
================================================================================ {% endcomment %}
|
70
|
-
<!-- [INFO ] [~/assets/data/
|
70
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
71
71
|
<head>
|
72
72
|
<meta name="robots" content="noindex, nofollow" />
|
73
73
|
</head>
|
74
74
|
|
75
75
|
{% comment %} Main
|
76
76
|
-------------------------------------------------------------------------------- {% endcomment %}
|
77
|
-
<!-- [INFO ] [~/assets/data/
|
78
|
-
{% for
|
79
|
-
{% if
|
77
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [collect all carousel items] -->
|
78
|
+
{% for carousel in carousels %}
|
79
|
+
{% if carousel.enabled %}
|
80
|
+
|
81
|
+
{% comment %} Set Carousel defaults
|
82
|
+
{% assign carousel.lightbox.enabled = false %}
|
83
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
80
84
|
|
81
85
|
{% comment %} Generate HTML portion for all sliders (enabled)
|
82
86
|
------------------------------------------------------------------------------ {% endcomment %}
|
83
87
|
|
84
|
-
{% comment %} Collect
|
88
|
+
{% comment %} Collect Collection Carousels
|
85
89
|
---------------------------------------------------------------------------- {% endcomment %}
|
86
|
-
{% if
|
90
|
+
{% if carousel.type == 'collection' %}
|
91
|
+
|
92
|
+
{% comment %} Set Collection data
|
93
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
94
|
+
{% assign collection_name = carousel.collection %}
|
95
|
+
|
96
|
+
{% comment %} Collect Collection documents
|
97
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
98
|
+
{% for collection in site.collections %}
|
99
|
+
{% if collection.label contains collection_name %}
|
100
|
+
{% assign articles = collection.docs %}
|
101
|
+
{% assign num_articles = collection.docs | size | minus:4 %}
|
102
|
+
{% break %}
|
103
|
+
{% endif %}
|
104
|
+
{% endfor %}
|
105
|
+
|
106
|
+
<!-- Articles -->
|
107
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
108
|
+
|
109
|
+
{% for article in articles %}
|
110
|
+
|
111
|
+
{% if carousel.translate_links %}
|
112
|
+
{% assign translate = "" %}
|
113
|
+
{% else %}
|
114
|
+
{% assign translate = "notranslate" %}
|
115
|
+
{% endif %}
|
116
|
+
|
117
|
+
{% if carousel.link_new_window %}
|
118
|
+
{% assign target = "_blank" %}
|
119
|
+
{% else %}
|
120
|
+
{% assign target = "" %}
|
121
|
+
{% endif %}
|
122
|
+
|
123
|
+
<!-- Article slide -->
|
124
|
+
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
125
|
+
<div id="{{article.title | downcase | replace: ' ' ,'_'}}" class="card bottom">
|
126
|
+
<img class="{{carousel.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" />
|
127
|
+
<!-- Article link (caption) -->
|
128
|
+
<div class="caption">
|
129
|
+
<a class="article-link {{translate}}"
|
130
|
+
href="{{article.url}}"
|
131
|
+
target="{{target}}">
|
132
|
+
{{article.tags[0]}} · {{article.title}}
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
<!-- /Article link -->
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
<!-- /Article slide -->
|
139
|
+
|
140
|
+
{% endfor %}
|
141
|
+
|
142
|
+
</div>
|
143
|
+
<!-- /Articles -->
|
144
|
+
{% endif %}
|
145
|
+
|
146
|
+
{% comment %} Collect Post Carousels
|
147
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
148
|
+
{% if carousel.type == 'post' %}
|
149
|
+
|
87
150
|
<!-- Posts -->
|
88
|
-
<div id="{{
|
151
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
89
152
|
{% for post in site.posts %}
|
90
|
-
{% if post.group contains
|
153
|
+
{% if post.group contains carousel.group %}
|
154
|
+
|
155
|
+
{% if carousel.translate_links %}
|
156
|
+
{% assign translate = "" %}
|
157
|
+
{% else %}
|
158
|
+
{% assign translate = "notranslate" %}
|
159
|
+
{% endif %}
|
160
|
+
|
161
|
+
{% if carousel.link_new_window %}
|
162
|
+
{% assign target = "_blank" %}
|
163
|
+
{% else %}
|
164
|
+
{% assign target = "" %}
|
165
|
+
{% endif %}
|
166
|
+
|
91
167
|
<!-- Collect data only if group matches -->
|
92
|
-
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0
|
93
|
-
<article class="card bg-dark text-center text-white border-0 rounded-0">
|
94
|
-
|
95
|
-
|
168
|
+
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
169
|
+
<article class="card bg-dark text-center text-white border-0 rounded-0 bottom">
|
170
|
+
<img class="card-img {{carousel.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: contrast(1) brightness(0.5); height: {{carousel.image_height}}">
|
171
|
+
|
96
172
|
<div class="card-img-overlay">
|
97
|
-
<div class="card-content mt-
|
173
|
+
<div class="card-content mt-4">
|
98
174
|
{% if post %}
|
99
175
|
{% assign categories = post.categories %}
|
100
176
|
{% else %}
|
@@ -106,30 +182,42 @@ exclude_from_search: true
|
|
106
182
|
|
107
183
|
{% for category in categories %}
|
108
184
|
{% if category contains post.group %}
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<a class="d-block text-white text-uppercase link-no-decoration"
|
114
|
-
href="/pages/public/blog/navigator/archive/categoryview/#{{category | slugify}}"
|
115
|
-
style="font-size: 24px;">{{category}}
|
185
|
+
<a class="d-block text-white text-uppercase link-no-decoration {{translate}}"
|
186
|
+
href="/pages/public/blog/navigator/archive/categoryview/#{{category | slugify}}"
|
187
|
+
target="{{target}}"
|
188
|
+
style="font-size: 24px;">{{category}}
|
116
189
|
</a>
|
117
190
|
{% endif %}
|
118
191
|
{% endfor %}
|
119
192
|
|
120
|
-
<ul class="list-inline d-flex justify-content-center mb-
|
193
|
+
<ul class="list-inline d-flex justify-content-center mb-3">
|
121
194
|
<li class="list-inline-item">
|
122
195
|
<i class="mdi mdi-account md-gray-400 mdi-24px mr-1" style="margin-right: 8px;"></i>
|
123
|
-
{{site.author.name | split: ' ' | first}} · 
|
196
|
+
{{site.author.name | split: ' ' | first}} ·
|
124
197
|
</li>
|
125
198
|
<li class="list-inline-item">
|
126
199
|
<i class="mdi mdi-calendar-blank md-gray-400 mdi-24px mr-1"></i>
|
127
200
|
{{post.date | date: '%b %d, %Y'}}
|
128
201
|
</li>
|
129
202
|
</ul>
|
130
|
-
|
131
|
-
|
132
|
-
|
203
|
+
|
204
|
+
<!-- h4 class="card-title notoc">
|
205
|
+
<a class="text-white link-no-decoration {{translate}}"
|
206
|
+
href="{{post.url | relative_url}}"
|
207
|
+
target="{{target}}">{{post.tags[0]}}
|
208
|
+
</a>
|
209
|
+
</h4 -->
|
210
|
+
|
211
|
+
<!-- Post link (caption) -->
|
212
|
+
<div class="caption">
|
213
|
+
<a class="article-link {{translate}}"
|
214
|
+
href="{{post.url}}"
|
215
|
+
target="{{target}}">
|
216
|
+
{{post.tags[0]}}
|
217
|
+
</a>
|
218
|
+
</div>
|
219
|
+
<!-- /Article link -->
|
220
|
+
|
133
221
|
</div>
|
134
222
|
</div>
|
135
223
|
</article>
|
@@ -140,47 +228,55 @@ exclude_from_search: true
|
|
140
228
|
<!-- /Posts -->
|
141
229
|
{% endif %}
|
142
230
|
|
143
|
-
{% comment %} Collect Example
|
231
|
+
{% comment %} Collect Example Carousels
|
144
232
|
---------------------------------------------------------------------------- {% endcomment %}
|
145
|
-
{% if
|
146
|
-
|
147
|
-
|
148
|
-
{
|
149
|
-
|
150
|
-
<
|
233
|
+
{% if carousel.type == 'example' %}
|
234
|
+
|
235
|
+
<!-- Example slider -->
|
236
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
237
|
+
{% for i in (1..carousel.slides) %}
|
238
|
+
<div>
|
239
|
+
<{{carousel.style}} class="slide-item notoc mr-{{carousel.gutters}}" style="line-height: {{carousel.height}};">{{i}}</{{carousel.style}}>
|
240
|
+
</div>
|
241
|
+
{% endfor %}
|
151
242
|
</div>
|
152
|
-
{% endfor %}
|
153
|
-
</div>
|
154
243
|
<!-- /Example slider -->
|
244
|
+
|
155
245
|
{% endif %}
|
156
246
|
|
157
|
-
{% comment %} Collect Image
|
247
|
+
{% comment %} Collect Image Carousels
|
158
248
|
---------------------------------------------------------------------------- {% endcomment %}
|
159
|
-
{% if
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
249
|
+
{% if carousel.type == 'image' %}
|
250
|
+
|
251
|
+
<!-- Image slider -->
|
252
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
253
|
+
{% for slide in carousel.slides %}
|
254
|
+
<div class="col-sm-6 col-lg-4 pr-{{carousel.gutters}}">
|
255
|
+
<div class="card {{carousel.captions.position}}">
|
256
|
+
{% if carousel.lightbox.enabled %}
|
257
|
+
<a class="card-link" href="{{carousel.image_base_path}}/{{slide.image}}" data-caption="{{slide.caption}}" target="_blank">
|
258
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
259
|
+
</a>
|
260
|
+
{% if carousel.captions.enabled %}
|
261
|
+
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
262
|
+
{% endif %}
|
263
|
+
{% else %}
|
264
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
265
|
+
{% if carousel.captions.enabled %}
|
266
|
+
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
267
|
+
{% endif %}
|
268
|
+
{% endif %}
|
269
|
+
</div>
|
173
270
|
</div>
|
271
|
+
{% endfor %}
|
174
272
|
</div>
|
175
|
-
|
273
|
+
<!-- /Image slider -->
|
176
274
|
|
177
|
-
</div>
|
178
|
-
<!-- /Image slider -->
|
179
275
|
{% endif %}
|
180
276
|
|
181
277
|
{% endif %}
|
182
278
|
{% endfor %}
|
183
|
-
<!-- [INFO ] [~/assets/data/slick.html
|
279
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [end collecting all carousel items] -->
|
184
280
|
|
185
281
|
{% endcapture %}
|
186
282
|
|
@@ -89,7 +89,7 @@ sitemap: false
|
|
89
89
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
90
90
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
91
91
|
<meta name="robots" content="noindex, nofollow">
|
92
|
-
|
92
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
93
93
|
<title>{{title}} · {{page.http_error}}</title>
|
94
94
|
<style>
|
95
95
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
.attic {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -88,7 +88,7 @@ sitemap: false
|
|
88
88
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
89
89
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
90
90
|
<meta name="robots" content="noindex, nofollow">
|
91
|
-
|
91
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
92
92
|
<title>{{title}} · {{page.http_error}}</title>
|
93
93
|
<style>
|
94
94
|
body, html {
|
@@ -203,8 +203,16 @@ var logText;
|
|
203
203
|
// grid event handler
|
204
204
|
logger.info('\n' + 'install event handlers for grid on id: ' + '{{grid_id}}');
|
205
205
|
$grid_{{grid_id}}.on('layoutComplete', function() {
|
206
|
-
// initializing (layout) completed
|
206
|
+
// initializing (grid layout) completed
|
207
207
|
logger.debug('\n' + 'initializing layout completed for grid on id: ' + '{{grid_id}}');
|
208
|
+
|
209
|
+
// correct position for artice modals (previwes)
|
210
|
+
logger.debug('\n' + 'adjust positions of all modals on id: {{grid_id.id}}');
|
211
|
+
var preview_modals = $("#{{grid_id}} > .article-modal");
|
212
|
+
$.each($(preview_modals), function(index, modal) {
|
213
|
+
$(modal).attr('style', 'left: 0%');
|
214
|
+
});
|
215
|
+
|
208
216
|
});
|
209
217
|
|
210
218
|
// setup the grid
|