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.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
  3. data/assets/data/banner.html +8 -6
  4. data/assets/data/masonry.html +263 -73
  5. data/assets/data/slick.html +155 -59
  6. data/assets/error_pages/HTTP204.html +1 -1
  7. data/assets/error_pages/HTTP400.html +1 -1
  8. data/assets/error_pages/HTTP401.html +1 -1
  9. data/assets/error_pages/HTTP403.html +1 -1
  10. data/assets/error_pages/HTTP404.html +1 -1
  11. data/assets/error_pages/HTTP444.html +1 -1
  12. data/assets/error_pages/HTTP445.html +1 -1
  13. data/assets/error_pages/HTTP446.html +1 -1
  14. data/assets/error_pages/HTTP447.html +1 -1
  15. data/assets/error_pages/HTTP448.html +1 -1
  16. data/assets/error_pages/HTTP500.html +1 -1
  17. data/assets/error_pages/HTTP501.html +1 -1
  18. data/assets/error_pages/HTTP502.html +1 -1
  19. data/assets/error_pages/HTTP503.html +1 -1
  20. data/assets/themes/j1/adapter/js/masonry.js +9 -1
  21. data/assets/themes/j1/adapter/js/slick.js +239 -134
  22. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +247 -0
  23. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  24. data/assets/themes/j1/core/js/template.js +55 -57
  25. data/assets/themes/j1/core/js/template.min.js +6 -6
  26. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  27. data/assets/themes/j1/modules/masonry/css/theme/uno.css +1 -1
  28. data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +1 -1
  29. data/assets/themes/j1/modules/slick/lightbox/README.md +6 -1
  30. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
  31. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
  32. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +1 -1
  33. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +173 -137
  34. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
  35. data/assets/themes/j1/modules/slick/slider/js/slick.js +2970 -2233
  36. data/assets/themes/j1/modules/translator/css/translator.css +3 -19
  37. data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
  38. data/lib/j1/version.rb +1 -1
  39. data/lib/starter_web/Gemfile +2 -2
  40. data/lib/starter_web/README.md +5 -5
  41. data/lib/starter_web/_config.yml +25 -1
  42. data/lib/starter_web/_data/blocks/banner.yml +45 -46
  43. data/lib/starter_web/_data/blocks/panel.yml +9 -9
  44. data/lib/starter_web/_data/layouts/home.yml +39 -21
  45. data/lib/starter_web/_data/modules/defaults/slick.yml +2 -2
  46. data/lib/starter_web/_data/modules/masonry.yml +154 -41
  47. data/lib/starter_web/_data/modules/navigator_menu.yml +45 -4
  48. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  49. data/lib/starter_web/_data/modules/slick.yml +260 -54
  50. data/lib/starter_web/_data/puma/config.rb +10 -0
  51. data/lib/starter_web/_data/resources.yml +1 -0
  52. data/lib/starter_web/_data/templates/feed.xml +1 -1
  53. data/lib/starter_web/_includes/attributes.asciidoc +24 -0
  54. data/lib/starter_web/_includes/custom/static/readme +1 -1
  55. data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
  56. data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -76
  57. data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
  58. data/lib/starter_web/_includes/custom/templates/readme +1 -1
  59. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
  60. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
  61. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
  62. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
  63. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  64. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
  65. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
  66. data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
  67. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
  68. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  69. data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
  70. data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
  71. data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
  72. data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
  73. data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
  74. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  75. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +5 -5
  76. data/lib/starter_web/collections/_biography/becoming.adoc +5 -5
  77. data/lib/starter_web/collections/_biography/born-to-run.adoc +5 -5
  78. data/lib/starter_web/collections/_biography/forty-autumns.adoc +5 -5
  79. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +5 -6
  80. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +5 -5
  81. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +6 -7
  82. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -4
  83. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +13 -3
  84. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +11 -3
  85. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +15 -3
  86. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +11 -3
  87. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +11 -3
  88. data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
  89. data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
  90. data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
  91. data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
  92. data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
  93. data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
  94. data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
  95. data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
  96. data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
  97. data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +12 -3
  98. data/lib/starter_web/collections/_romance/dressmaker-the.adoc +10 -3
  99. data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +13 -3
  100. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -3
  101. data/lib/starter_web/collections/_romance/outlander-novel.adoc +12 -3
  102. data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +16 -4
  103. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
  104. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
  105. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  106. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +4 -4
  107. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +4 -4
  108. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +4 -4
  109. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +4 -4
  110. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +4 -4
  111. data/lib/starter_web/index.html +129 -129
  112. data/lib/starter_web/package.json +1 -1
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  115. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
  116. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_biography.adoc +21 -12
  117. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_fantasy.adoc +11 -6
  118. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_romance.adoc +11 -5
  119. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
  120. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +53 -4
  121. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -1
  122. data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
  123. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +54 -82
  124. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  125. data/lib/starter_web/utilsrv/package.json +1 -1
  126. metadata +59 -79
  127. data/assets/data/masonry.4.html +0 -213
  128. data/assets/themes/j1/adapter/js/slick.3.js +0 -365
  129. data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
  130. data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
  131. data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
  132. data/lib/starter_web/assets/images/parsa/customers/200x150/img1.png +0 -0
  133. data/lib/starter_web/assets/images/parsa/customers/200x150/img2.png +0 -0
  134. data/lib/starter_web/assets/images/parsa/customers/200x150/img3.png +0 -0
  135. data/lib/starter_web/assets/images/parsa/customers/200x150/img4.png +0 -0
  136. data/lib/starter_web/assets/images/parsa/customers/200x150/img5.png +0 -0
  137. data/lib/starter_web/assets/images/parsa/customers/200x150/img6.png +0 -0
  138. data/lib/starter_web/assets/images/parsa/customers/200x150/img7.png +0 -0
  139. data/lib/starter_web/assets/images/parsa/customers/200x150/img8.png +0 -0
  140. data/lib/starter_web/assets/images/parsa/customers/200x150/img9.png +0 -0
  141. data/lib/starter_web/assets/images/parsa/customers/client-1.png +0 -0
  142. data/lib/starter_web/assets/images/parsa/customers/client-2.png +0 -0
  143. data/lib/starter_web/assets/images/parsa/customers/client-3.png +0 -0
  144. data/lib/starter_web/assets/images/parsa/customers/client-4.png +0 -0
  145. data/lib/starter_web/assets/images/parsa/customers/client-5.png +0 -0
  146. data/lib/starter_web/assets/images/parsa/customers/client-6.png +0 -0
  147. data/lib/starter_web/assets/images/parsa/customers/client-7.png +0 -0
  148. data/lib/starter_web/assets/images/parsa/icons/favicon.ico +0 -0
  149. data/lib/starter_web/assets/images/parsa/icons/icon.png +0 -0
  150. data/lib/starter_web/assets/images/parsa/icons/icon.svg +0 -152
  151. data/lib/starter_web/assets/images/parsa/icons/logo.svg +0 -172
  152. data/lib/starter_web/assets/images/parsa/masthead/19-02-_2023_09-05-46.jpg +0 -0
  153. data/lib/starter_web/assets/images/parsa/masthead/banner-img.png +0 -0
  154. data/lib/starter_web/assets/images/parsa/pages/1920x1280/author.jpg +0 -0
  155. data/lib/starter_web/assets/images/parsa/pages/1920x1280/contact.jpg +0 -0
  156. data/lib/starter_web/assets/images/parsa/pages/author.jpg +0 -0
  157. data/lib/starter_web/assets/images/parsa/pages/contact.jpg +0 -0
  158. data/lib/starter_web/assets/images/parsa/partners/scalable/facebook.svg +0 -34
  159. data/lib/starter_web/assets/images/parsa/partners/scalable/google.svg +0 -35
  160. data/lib/starter_web/assets/images/parsa/partners/scalable/ibm.svg +0 -24
  161. data/lib/starter_web/assets/images/parsa/partners/scalable/microsoft.svg +0 -42
  162. data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-img.jpg +0 -0
  163. data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-single.jpg +0 -0
  164. data/lib/starter_web/assets/images/parsa/promo/home/screenshot.jpg +0 -0
  165. data/lib/starter_web/pages/public/previewer/preview_masonry.adoc +0 -361
  166. data/lib/starter_web/pages/public/previewer/preview_slick_slider.adoc +0 -375
  167. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/1.jpg +0 -0
  168. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/2.jpg +0 -0
  169. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/3.jpg +0 -0
  170. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/4.jpg +0 -0
  171. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/5.jpg +0 -0
  172. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/6.jpg +0 -0
  173. /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/close-icon.svg +0 -0
  174. /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/up.svg +0 -0
  175. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
  176. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
  177. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
  178. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
  179. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-1.jpg +0 -0
  180. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-2.jpg +0 -0
  181. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-3.jpg +0 -0
  182. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-4.jpg +0 -0
  183. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-5.jpg +0 -0
  184. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
  185. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-1.jpg +0 -0
  186. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-10.jpg +0 -0
  187. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-11.jpg +0 -0
  188. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-12.jpg +0 -0
  189. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-13.jpg +0 -0
  190. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-2.jpg +0 -0
  191. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-3.jpg +0 -0
  192. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-4.jpg +0 -0
  193. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-5.jpg +0 -0
  194. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-6.jpg +0 -0
  195. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-7.jpg +0 -0
  196. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-8.jpg +0 -0
  197. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-9.jpg +0 -0
  198. /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-img.jpg +0 -0
  199. /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-single.jpg +0 -0
  200. /data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/jekyll_collections.adoc +0 -0
@@ -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 Silick Sliders
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 = site.environment %}
46
- {% assign slider_defaults = modules.defaults.slick.defaults %}
47
- {% assign slider_settings = modules.slick.settings %}
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 slider_options = slider_defaults | merge: slider_settings %}
52
- {% assign sliders = slider_settings.sliders %}
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/masterslider.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
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/masterslider.html ] [collect all slider items] -->
78
- {% for slider in sliders %}
79
- {% if slider.enabled %}
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 Post Sliders
88
+ {% comment %} Collect Collection Carousels
85
89
  ---------------------------------------------------------------------------- {% endcomment %}
86
- {% if slider.type == 'post' %}
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]}}&nbsp;&middot;&nbsp;{{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="{{slider.id}}" class="{{slider.id | replace: '_','-' }}">
151
+ <div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
89
152
  {% for post in site.posts %}
90
- {% if post.group contains slider.group %}
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 px-1">
93
- <article class="card bg-dark text-center text-white border-0 rounded-0">
94
- <!-- img class="card-img rounded-0 img-fluid w-100" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: grayscale(1) contrast(0.8) brightness(0.6);" -->
95
- <img class="card-img rounded-0 img-fluid w-100" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: contrast(1) brightness(0.5);">
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-6">
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
- <!--a class="d-block text-white text-uppercase link-no-decoration"
110
- href="{{site.jekyll-archives.category_archive_path | relative_url}}bla_{{category | slugify}}"
111
- style="font-size: 24px;">{{category}}
112
- </a -->
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-5">
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}} &nbsp;&middot;&nbsp;&nbsp;
196
+ {{site.author.name | split: ' ' | first}} &nbsp;&middot;&nbsp;
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
- <h4 class="notoc card-title">
131
- <a class="text-white link-no-decoration" href="{{post.url | relative_url}}">{{post.tags[0]}}</a>
132
- </h4>
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 Sliders
231
+ {% comment %} Collect Example Carousels
144
232
  ---------------------------------------------------------------------------- {% endcomment %}
145
- {% if slider.type == 'example' %}
146
- <!-- Example slider -->
147
- <div id="{{slider.id}}" class="{{slider.id | replace: '_','-' }}">
148
- {% for i in (1..slider.slides) %}
149
- <div>
150
- <h3 class="slide-item notoc">{{i}}</h3>
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 Sliders
247
+ {% comment %} Collect Image Carousels
158
248
  ---------------------------------------------------------------------------- {% endcomment %}
159
- {% if slider.type == 'image' %}
160
- <!-- Image slider -->
161
- <div id="{{slider.id}}" class="{{slider.id | replace: '_','-' }}">
162
-
163
- {% for slide in slider.slides %}
164
- <div class="col-sm-6 col-lg-4 mb-4">
165
- <div class="card">
166
- {% if slider.lightbox.enabled %}
167
- <a href="{{slider.image_base_path}}/{{slide.image}}" data-caption="{{slide.title}}">
168
- <img class="{{slider.image_styles}}" src="{{slider.image_base_path}}/{{slide.image}}" alt="{{slide.title}}">
169
- </a>
170
- {% else %}
171
- <img id="{{forloop.index}}" class="{{slider.image_styles}}" src="{{slider.image_base_path}}/{{slide.image}}" alt="{{slide.title}}">
172
- {% endif %}
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
- {% endfor %}
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 ] [end collecting all slider items] -->
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
- <link rel="icon" type="image/ico" href="{{favicon}}">m
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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
- <link rel="icon" type="image/ico" href="{{favicon}}">
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