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
@@ -26,35 +26,139 @@ settings:
26
26
  enabled: true
27
27
 
28
28
  # ----------------------------------------------------------------------------
29
- # Slider settings
29
+ # Global Lightbox options
30
+ #
31
+ lightbox:
32
+ enabled: false
33
+ caption: caption
34
+ background: false
35
+
36
+ # ----------------------------------------------------------------------------
37
+ # Caption options (Carousel)
38
+ #
39
+ captions:
40
+ enabled: true
41
+
30
42
  # ----------------------------------------------------------------------------
31
- sliders:
43
+ # Carousel settings
44
+ # ----------------------------------------------------------------------------
45
+ carousels:
32
46
 
33
47
  # --------------------------------------------------------------------------
34
- # POST slider
48
+ # COLLECTION Carousel (portfolio)
35
49
  #
36
- - slider:
50
+ - carousel:
37
51
  enabled: true
38
52
 
39
- id: post_slider
40
- type: post
41
- group: Life # generate slides only for group (specified in article/post)
53
+ id: collection_carousel_portfolio
54
+ type: collection
55
+ gutters: 1 # [0 .. 5]
56
+ collection: portfolio # generate grid elements (articles) for the collection specified
57
+ translate_links: false # default: false
58
+ link_new_window: true # default: false
59
+ image_styles: img-fluid img-object--cover img-object--w500 g-height-500
42
60
 
43
61
  # ------------------------------------------------------------------------
44
- # Lightbox options
62
+ # Carousel options
45
63
  #
46
- lightbox:
47
- enabled: false
64
+ options:
65
+ autoplay: false
66
+ arrows: true
67
+ dots: false
68
+ slidesToShow: 3
69
+ slidesToScroll: 3
70
+ responsive: true # enables reponsive options to generate breakpoint properties for slick()
48
71
 
49
72
  # ------------------------------------------------------------------------
50
- # Slider options
73
+ # Reponsive options
74
+ #
75
+ responsive:
76
+ - breakpoint:
77
+ settings:
78
+ breakOn: 1024
79
+ slidesToShow: 2
80
+ slidesToScroll: 2
81
+ - breakpoint:
82
+ settings:
83
+ breakOn: 600
84
+ slidesToShow: 1
85
+ slidesToScroll: 1
86
+ dots: true
87
+ - breakpoint:
88
+ settings:
89
+ breakOn: 480
90
+ slidesToShow: 1
91
+ slidesToScroll: 1
92
+
93
+ # --------------------------------------------------------------------------
94
+ # COLLECTION Carousel (biography)
95
+ #
96
+ - carousel:
97
+ enabled: true
98
+
99
+ id: collection_carousel_biography
100
+ type: collection
101
+ gutters: 1 # [0 .. 5]
102
+ collection: biography # generate grid elements (articles) for the collection specified
103
+ translate_links: false # default: false
104
+ link_new_window: true # default: false
105
+ image_styles: img-fluid img-object--cover img-object--w500 g-height-500
106
+
107
+ # ------------------------------------------------------------------------
108
+ # Carousel options
51
109
  #
52
110
  options:
53
- autoplay: true
111
+ autoplay: false
112
+ arrows: true
113
+ dots: true
54
114
  slidesToShow: 3
55
- slidesToScroll: 1
115
+ slidesToScroll: 3
116
+ responsive: true # enables reponsive options to generate breakpoint properties for slick()
117
+
118
+ # ------------------------------------------------------------------------
119
+ # Reponsive options
120
+ #
121
+ responsive:
122
+ - breakpoint:
123
+ settings:
124
+ breakOn: 1024
125
+ slidesToShow: 2
126
+ slidesToScroll: 2
127
+ - breakpoint:
128
+ settings:
129
+ breakOn: 600
130
+ slidesToShow: 1
131
+ slidesToScroll: 1
132
+ dots: true
133
+ - breakpoint:
134
+ settings:
135
+ breakOn: 480
136
+ slidesToShow: 1
137
+ slidesToScroll: 1
138
+
139
+ # --------------------------------------------------------------------------
140
+ # COLLECTION Carousel (fantasy)
141
+ #
142
+ - carousel:
143
+ enabled: true
144
+
145
+ id: collection_carousel_fantasy
146
+ type: collection
147
+ gutters: 1 # 0 .. 5
148
+ collection: fantasy # generate grid elements (articles) for the collection specified
149
+ translate_links: false # default: false
150
+ link_new_window: true # default: false
151
+ image_styles: img-fluid img-object--cover img-object--w500 g-height-500
152
+
153
+ # ------------------------------------------------------------------------
154
+ # Carousel options
155
+ #
156
+ options:
157
+ autoplay: false
56
158
  arrows: true
57
159
  dots: false
160
+ slidesToShow: 3
161
+ slidesToScroll: 3
58
162
  responsive: true # enables reponsive options to generate breakpoint properties for slick()
59
163
 
60
164
  # ------------------------------------------------------------------------
@@ -79,22 +183,113 @@ settings:
79
183
  slidesToScroll: 1
80
184
 
81
185
  # --------------------------------------------------------------------------
82
- # EXAMPLE slider 1
186
+ # COLLECTION Carousel (romance)
83
187
  #
84
- - slider:
188
+ - carousel:
85
189
  enabled: true
86
190
 
87
- id: example_slider_arrows_dots
88
- type: example
191
+ id: collection_carousel_romance
192
+ type: collection
193
+ gutters: 1 # 0 .. 5
194
+ collection: romance # generate grid elements (articles) for the collection specified
195
+ translate_links: false # default: false
196
+ link_new_window: true # default: false
197
+ image_styles: img-fluid img-object--cover img-object--w500 g-height-500
89
198
 
90
199
  # ------------------------------------------------------------------------
91
- # Lightbox options
200
+ # Carousel options
92
201
  #
93
- lightbox:
94
- enabled: false
202
+ options:
203
+ autoplay: false
204
+ arrows: true
205
+ dots: true
206
+ slidesToShow: 3
207
+ slidesToScroll: 3
208
+ responsive: true # enables reponsive options to generate breakpoint properties for slick()
95
209
 
96
210
  # ------------------------------------------------------------------------
97
- # Slider options
211
+ # Reponsive options
212
+ #
213
+ responsive:
214
+ - breakpoint:
215
+ settings:
216
+ breakOn: 1024
217
+ slidesToShow: 2
218
+ slidesToScroll: 2
219
+ - breakpoint:
220
+ settings:
221
+ breakOn: 600
222
+ slidesToShow: 1
223
+ slidesToScroll: 1
224
+ dots: true
225
+ - breakpoint:
226
+ settings:
227
+ breakOn: 480
228
+ slidesToShow: 1
229
+ slidesToScroll: 1
230
+
231
+ # --------------------------------------------------------------------------
232
+ # POST Carousel (Life)
233
+ #
234
+ - carousel:
235
+ enabled: true
236
+
237
+ id: post_carousel_life
238
+ type: post
239
+ gutters: 1 # 0 .. 5
240
+ group: Life # generate slides only for group (specified in article/post)
241
+ image_styles: img-fluid img-object--cover
242
+ image_height: 300px
243
+ translate_links: false # default: false
244
+ link_new_window: true # default: false
245
+
246
+ # ------------------------------------------------------------------------
247
+ # Carousel options
248
+ #
249
+ options:
250
+ autoplay: false
251
+ arrows: true
252
+ dots: true
253
+ slidesToShow: 3
254
+ slidesToScroll: 1
255
+ responsive: true # enables reponsive options to generate breakpoint properties for slick()
256
+
257
+ # ------------------------------------------------------------------------
258
+ # Reponsive options
259
+ #
260
+ responsive:
261
+ - breakpoint:
262
+ settings:
263
+ breakOn: 1024
264
+ slidesToShow: 2
265
+ slidesToScroll: 2
266
+ - breakpoint:
267
+ settings:
268
+ breakOn: 600
269
+ slidesToShow: 1
270
+ slidesToScroll: 1
271
+ dots: true
272
+ - breakpoint:
273
+ settings:
274
+ breakOn: 480
275
+ slidesToShow: 1
276
+ slidesToScroll: 1
277
+
278
+ # --------------------------------------------------------------------------
279
+ # EXAMPLE Carousel
280
+ #
281
+ - carousel:
282
+ enabled: true
283
+
284
+ id: example_carousel_arrows_dots
285
+ type: example
286
+ gutters: 1
287
+ style: h3
288
+ height: 150px
289
+ slides: 9
290
+
291
+ # ------------------------------------------------------------------------
292
+ # Carousel options
98
293
  #
99
294
  options:
100
295
  arrows: true
@@ -126,21 +321,18 @@ settings:
126
321
  slidesToShow: 1
127
322
  slidesToScroll: 1
128
323
 
129
- # ------------------------------------------------------------------------
130
- # Slides
131
- #
132
- slides: 9
133
-
134
324
  # --------------------------------------------------------------------------
135
- # IMAGE slider
325
+ # IMAGE Carousel
136
326
  #
137
- - slider:
327
+ - carousel:
138
328
  enabled: true
139
329
 
140
- id: image_slider
330
+ id: image_carousel_simple
141
331
  type: image
332
+ gutters: 0 # 0 .. 5
142
333
  image_base_path: /assets/images/modules/gallery/mega_cities
143
- image_styles: img-fluid img-object--cover g-height-300
334
+ image_styles: img-fluid img-object--cover
335
+ image_height: 300px
144
336
 
145
337
  # ------------------------------------------------------------------------
146
338
  # Lightbox options
@@ -149,13 +341,20 @@ settings:
149
341
  enabled: false
150
342
 
151
343
  # ------------------------------------------------------------------------
152
- # Slider options
344
+ # Caption options
345
+ #
346
+ captions:
347
+ enabled: false
348
+ position: bottom # top|bottom|center
349
+
350
+ # ------------------------------------------------------------------------
351
+ # Carousel options
153
352
  #
154
353
  options:
155
- arrows: true
156
- dots: true
157
- speed: 300
158
354
  autoplay: false
355
+ arrows: false
356
+ dots: false
357
+ speed: 300
159
358
  slidesToShow: 2
160
359
  slidesToScroll: 2
161
360
  responsive: true
@@ -187,57 +386,64 @@ settings:
187
386
  slides:
188
387
 
189
388
  - slide: # slide 1
190
- title: Jin Mao Tower Shanghai
191
389
  image: denys-nevozhai-1_b.jpg
390
+ caption: Man posing at the rooftop of Jin Mao Tower Shanghai - China
192
391
 
193
392
  - slide: # slide 2
194
- title: Sunset over Taipei City
195
393
  image: thomas-tucker_b.jpg
394
+ caption: Sunset over Taipei City - Taiwan
196
395
 
197
396
  - slide: # slide 3
198
- title: Chicago
199
397
  image: emmad-mazhari_b.jpg
398
+ caption: Chicago - United States
200
399
 
201
400
  - slide: # slide 4
202
- title: The Queen Bee at the Eureka Tower
203
401
  image: johan-mouchet_b.jpg
402
+ caption: The Queen Bee at the Eureka Tower - Melbourne Southbank Australia
204
403
 
205
404
  - slide: # slide 5
206
- title: Shanghai
207
405
  image: federico-rizzarelli_b.jpg
406
+ caption: Shanghai - China
208
407
 
209
408
  - slide: # slide 6
210
- title: Shangri-La Hotel Jakarta
211
409
  image: gints-gailis_b.jpg
410
+ caption: Shangri-La Hotel Jakarta - Indonesia
212
411
 
213
412
 
214
413
  # --------------------------------------------------------------------------
215
- # IMAGE slider + Lightbox
414
+ # IMAGE Carousel + Captions + Lightbox
216
415
  #
217
- - slider:
416
+ - carousel:
218
417
  enabled: true
219
418
 
220
- id: image_slider_lightbox
419
+ id: image_carousel_full
221
420
  type: image
421
+ gutters: 1 # 0 .. 5
222
422
  image_base_path: /assets/images/modules/gallery/mega_cities
223
- image_styles: img-fluid img-object--cover g-height-300
423
+ image_styles: img-fluid img-object--cover
424
+ image_height: 300px
224
425
 
225
426
  # ------------------------------------------------------------------------
226
427
  # Lightbox options
227
428
  #
228
429
  lightbox:
229
430
  enabled: true
230
- src: src
231
- itemSelector: .card img
232
431
 
233
432
  # ------------------------------------------------------------------------
234
- # Slider options
433
+ # Caption options
434
+ #
435
+ captions:
436
+ enabled: true
437
+ position: bottom # top|bottom|center
438
+
439
+ # ------------------------------------------------------------------------
440
+ # Carousel options
235
441
  #
236
442
  options:
443
+ autoplay: false
237
444
  arrows: true
238
445
  dots: true
239
446
  speed: 300
240
- autoplay: false
241
447
  slidesToShow: 2
242
448
  slidesToScroll: 2
243
449
  responsive: true
@@ -268,28 +474,28 @@ settings:
268
474
  slides:
269
475
 
270
476
  - slide: # slide 1
271
- title: Jin Mao Tower Shanghai
272
477
  image: denys-nevozhai-1_b.jpg
478
+ caption: Man posing at the rooftop of Jin Mao Tower Shanghai - China
273
479
 
274
480
  - slide: # slide 2
275
- title: Sunset over Taipei City
276
481
  image: thomas-tucker_b.jpg
482
+ caption: Sunset over Taipei City - Taiwan
277
483
 
278
484
  - slide: # slide 3
279
- title: Chicago
280
485
  image: emmad-mazhari_b.jpg
486
+ caption: Chicago - United States
281
487
 
282
488
  - slide: # slide 4
283
- title: The Queen Bee at the Eureka Tower
284
489
  image: johan-mouchet_b.jpg
490
+ caption: The Queen Bee at the Eureka Tower - Melbourne Southbank Australia
285
491
 
286
492
  - slide: # slide 5
287
- title: Shanghai
288
493
  image: federico-rizzarelli_b.jpg
494
+ caption: Shanghai - China
289
495
 
290
496
  - slide: # slide 6
291
- title: Shangri-La Hotel Jakarta
292
497
  image: gints-gailis_b.jpg
498
+ caption: Shangri-La Hotel Jakarta - Indonesia
293
499
 
294
500
  # ------------------------------------------------------------------------------
295
501
  # END config
@@ -1,3 +1,13 @@
1
1
  # Puma configuration (file)
2
+ # ------------------------------------------------------------------------------
3
+
4
+ # start puma
2
5
  #
3
6
  bind 'tcp://' + ENV["INTERFACE"] + ':' + ENV["PORT"]
7
+
8
+ # Code to run after puma is booted
9
+ #
10
+ on_booted do
11
+ # configuration here
12
+ # puts 'After booting ...'
13
+ end
@@ -1955,6 +1955,7 @@ resources:
1955
1955
  data:
1956
1956
  css: [
1957
1957
  modules/slick/lightbox/css/slick-lightbox,
1958
+ modules/slick/lightbox/css/theme/uno,
1958
1959
  modules/slick/slider/css/slick,
1959
1960
  modules/slick/slider/css/theme/uno
1960
1961
  ]
@@ -57,7 +57,7 @@
57
57
  <id>{{ page.url | absolute_url | xml_escape }}</id>
58
58
  <post_limited>{{ limit_posts }}</post_limited>
59
59
  <template_name>J1 Theme</template_name>
60
- <template_version>2023.1.0</template_version>
60
+ <template_version>2023.2.1</template_version>
61
61
 
62
62
  {% assign title = site.title | default: site.name %}
63
63
  {% if page.collection != "posts" %}
@@ -442,6 +442,30 @@ tag::urls[]
442
442
  :url-nodejs--​windows-download-remommended: https://nodejs.org/dist/v12.22.0/node-v12.22.0-x64.msi
443
443
  :url-j1--​template-starter: https://github.com/jekyll-one/j1-template-starter
444
444
 
445
+ :placeholder_image_100x100: https://placehold.it/100x100/
446
+ :placeholder_image_200x200: https://placehold.it/200x200/
447
+ :placeholder_image_300x300: https://placehold.it/300x300/
448
+ :placeholder_image_400x400: https://placehold.it/400x400/
449
+ :placeholder_image_500x500: https://placehold.it/500x500/
450
+
451
+ :placeholder_image_100x600: https://placehold.it/100x600/
452
+ :placeholder_image_200x600: https://placehold.it/200x600/
453
+ :placeholder_image_300x600: https://placehold.it/300x600/
454
+ :placeholder_image_400x600: https://placehold.it/400x600/
455
+ :placeholder_image_500x600: https://placehold.it/500x600/
456
+
457
+ :placeholder_kitten_100x100: https://placekitten.com/100/100/
458
+ :placeholder_kitten_200x200: https://placekitten.com/200/200/
459
+ :placeholder_kitten_300x300: https://placekitten.com/300/300/
460
+ :placeholder_kitten_400x400: https://placekitten.com/400/400/
461
+ :placeholder_kitten_500x500: https://placekitten.com/500/500/
462
+
463
+ :placeholder_kitten_100x600: https://placekitten.com/100/600/
464
+ :placeholder_kitten_200x600: https://placekitten.com/200/600/
465
+ :placeholder_kitten_300x600: https://placekitten.com/300/600/
466
+ :placeholder_kitten_400x600: https://placekitten.com/400/600/
467
+ :placeholder_kitten_500x600: https://placekitten.com/500/600/
468
+
445
469
  end::urls[]
446
470
 
447
471
 
@@ -1 +1 @@
1
- Place already rendered HTML data files in this folder.
1
+ Place custom static, already rendered HTML data files in this folder.
@@ -0,0 +1,131 @@
1
+ <!--
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/custom/content/templates/collection_panel.html
4
+ #
5
+ # Product/Info:
6
+ # http://jekyll.one
7
+ #
8
+ # Copyright (C) 2023 Juergen Adams
9
+ #
10
+ # J1 Theme is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
+ #
13
+ # -----------------------------------------------------------------------------
14
+ # Test data:
15
+ # liquid_var: {{liquid_var | debug}}
16
+ # -----------------------------------------------------------------------------
17
+ -->
18
+
19
+ {% comment %} Process YML config data
20
+ ================================================================================ {% endcomment %}
21
+
22
+ {% comment %} Set collection data
23
+ -------------------------------------------------------------------------------- {% endcomment %}
24
+ {% assign collection_name = "portfolio" %}
25
+
26
+ {% comment %} Set grid data
27
+ -------------------------------------------------------------------------------- {% endcomment %}
28
+ {% assign grid_title = collection_name | capitalize %}
29
+ {% assign grid_tagline = "what i do" %}
30
+ {% assign card_translate_description = "notranslate" %}
31
+
32
+ {% comment %} Collect collection documents
33
+ -------------------------------------------------------------------------------- {% endcomment %}
34
+ {% for collection in site.collections %}
35
+ {% if collection.label contains collection_name %}
36
+ {% assign articles = collection.docs %}
37
+ {% break %}
38
+ {% endif %}
39
+ {% endfor %}
40
+
41
+ {% comment %} Main
42
+ -------------------------------------------------------------------------------- {% endcomment %}
43
+ <!-- Article Grid-->
44
+ <section id="{{collection_name}}" class="mt-5">
45
+ <div class="container">
46
+
47
+ <!-- Grid Header -->
48
+ <div class="mb-5">
49
+ <h2 class="g-font-weight-500 mb-0 {{card_translate_description}}">{{grid_title}}</h2>
50
+ <p class="tagline mb-0 {{card_translate_description}}"><b>{{grid_tagline}}</b></p>
51
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
52
+ </div>
53
+ <!-- /Grid Header -->
54
+
55
+ <div class="row mb-5">
56
+ {% for article in articles %}
57
+ <div class="col-lg-4 col-sm-6 mb-4">
58
+ <!-- Article item -->
59
+ <div class="article-item article-item--w400">
60
+ <a class="article-link" data-bs-toggle="modal" href="#articleModal{{forloop.index}}">
61
+ <div class="article-hover">
62
+ <div class="article-hover-content">
63
+ <i class="mdi mdi-plus mdi-10x"></i>
64
+ </div>
65
+ </div>
66
+ <img class="img-fluid img-object--w400" src="{{article.image.path}}" alt="{{article.title}}" />
67
+ </a>
68
+ <div class="article-caption">
69
+ <div class="article-caption-heading">
70
+ <a class="card-link" href="{{article.url}}">{{article.title}}</a>
71
+ </div>
72
+ <div class="article-caption-subheading text-muted">{{article.tags[0]}}</div>
73
+ </div>
74
+ </div>
75
+ <!-- /Article item -->
76
+ </div>
77
+ {% endfor %}
78
+ </div>
79
+ </div>
80
+ </section>
81
+ <!-- /Article Grid-->
82
+
83
+ <!-- Article Modals-->
84
+ {% for article in articles %}
85
+ <div class="article-modal modal fade" id="articleModal{{forloop.index}}" tabindex="-1" role="dialog" aria-hidden="true">
86
+ <div class="modal-dialog">
87
+ <div class="modal-content">
88
+
89
+ <div class="close-modal" data-bs-dismiss="modal">
90
+ <img src="{{'/assets/images/icons/controls/close-icon.svg' | relative_url}}" alt="Close modal" />
91
+ </div>
92
+
93
+ <div class="container">
94
+ <div class="row justify-content-center">
95
+ <div class="col-lg-8">
96
+ <div class="modal-body">
97
+ <!-- Project details-->
98
+ <h2 class="text-uppercase">{{article.title}}</h2>
99
+ <p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
100
+ <img class="img-fluid d-block mx-auto" src="{{article.image.path | relative_url}}" alt="{{article.title}}" />
101
+ <p>
102
+ Use this area to describe your project. Lorem ipsum dolor sit amet,
103
+ consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt
104
+ minus dignissimos deserunt repellat aperiam quasi sunt officia
105
+ expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis
106
+ facere nemo!
107
+ </p>
108
+ <ul class="list-inline">
109
+ <li>
110
+ <strong>Client:</strong>
111
+ Threads
112
+ </li>
113
+ <li>
114
+ <strong>Category:</strong>
115
+ Illustration
116
+ </li>
117
+ </ul>
118
+ <button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
119
+ <i class="mdi mdi-close mdi-24px mx-2"></i>
120
+ Close Article Overview
121
+ </button>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+
127
+ </div>
128
+ </div>
129
+ </div>
130
+ {% endfor %}
131
+ <!-- /Article Modals-->