jekyll-twitter-bootstrap 5.3.0.dev5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +222 -0
  4. data/README_OWNER.md +33 -0
  5. data/_config.yml +85 -0
  6. data/_includes/_components/carousel.html +78 -0
  7. data/_includes/_components/columns_icons.html +60 -0
  8. data/_includes/_components/columns_icons_grid.html +97 -0
  9. data/_includes/_components/columns_icons_hanging.html +51 -0
  10. data/_includes/_components/columns_image_cards.html +52 -0
  11. data/_includes/_components/featurette_left.html +21 -0
  12. data/_includes/_components/featurette_right.html +21 -0
  13. data/_includes/_components/hero_centered.html +18 -0
  14. data/_includes/_components/hero_centered_dark.html +20 -0
  15. data/_includes/_components/hero_image_right.html +23 -0
  16. data/_includes/_components/jumbotron_full.html +20 -0
  17. data/_includes/_components/jumbotron_split.html +46 -0
  18. data/_includes/categories.html +16 -0
  19. data/_includes/footer.html +33 -0
  20. data/_includes/footer_custom.html +0 -0
  21. data/_includes/google_analytics.html +13 -0
  22. data/_includes/head.html +16 -0
  23. data/_includes/head_custom.html +0 -0
  24. data/_includes/header.html +30 -0
  25. data/_includes/header_custom.html +0 -0
  26. data/_includes/posts_categories.html +14 -0
  27. data/_includes/posts_latest.html +22 -0
  28. data/_includes/posts_tags.html +14 -0
  29. data/_includes/tags.html +16 -0
  30. data/_layouts/base.html +16 -0
  31. data/_layouts/blog.html +73 -0
  32. data/_layouts/example_components.html +471 -0
  33. data/_layouts/home.html +7 -0
  34. data/_layouts/page.html +9 -0
  35. data/_layouts/page_no_title.html +5 -0
  36. data/_layouts/page_sidebar.html +24 -0
  37. data/_layouts/post.html +41 -0
  38. data/_sass/styles.scss +0 -0
  39. data/assets/css/styles.css +176 -0
  40. data/assets/images/bootstrap-themes.png +0 -0
  41. data/assets/images/favicons/apple-touch-icon.png +0 -0
  42. data/assets/images/favicons/favicon-16x16.png +0 -0
  43. data/assets/images/favicons/favicon-32x32.png +0 -0
  44. data/assets/images/favicons/favicon.ico +0 -0
  45. data/assets/images/favicons/safari-pinned-tab.svg +1 -0
  46. data/assets/images/unsplash-photo-1.jpg +0 -0
  47. data/assets/images/unsplash-photo-2.jpg +0 -0
  48. data/assets/images/unsplash-photo-3.jpg +0 -0
  49. data/assets/svg/bootstrap-icons.svg +58 -0
  50. data/assets/svg/bootstrap.svg +23 -0
  51. data/assets/svg/placeholder-500-500.svg +5 -0
  52. data/assets/svg/placeholder-full-gray.svg +3 -0
  53. metadata +157 -0
@@ -0,0 +1,471 @@
1
+ ---
2
+ layout: page_no_title
3
+ ---
4
+
5
+ {{ content }}
6
+
7
+ <hr />
8
+ <h2>Component Examples</h2>
9
+ <p>This page includes examples for how to call the provided components based on
10
+ <a href="https://getbootstrap.com/docs/5.3/examples/">some of the provided
11
+ examples from Twitter Bootstrap</a>.</p>
12
+ <p>The components referenced are located in the
13
+ <code class="language-plaintext highlighter-rouge">_includes/_components/</code>
14
+ directory. The content you are seeing below is coming from
15
+ <code class="language-plaintext highlighter-rouge">_layouts/example_components.html</code>
16
+ because this page has <code class="language-plaintext highlighter-rouge">layout: example_components</code>
17
+ in its front matter.</p>
18
+ <hr />
19
+ <!-- BEGIN Hero Centered -->
20
+ {% assign content_title = "Centered Hero" %}
21
+ {% capture content_body %}
22
+ Quickly design and customize responsive mobile-first sites with Bootstrap, the world's most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.
23
+ {% endcapture %}
24
+
25
+ {% assign primary_link_text = "Primary Button" %}
26
+ {% assign primary_link_url = "/" %}
27
+
28
+ {% assign secondary_link_text = "Secondary Button" %}
29
+ {% assign secondary_link_url = "/blog" %}
30
+
31
+ {% include _components/hero_centered.html
32
+ title=content_title
33
+ body=content_body
34
+
35
+ primary_link_text=primary_link_text
36
+ primary_link_url=primary_link_url
37
+
38
+ secondary_link_text=secondary_link_text
39
+ secondary_link_url=secondary_link_url
40
+ %}
41
+ <!-- END Hero Centered -->
42
+ <hr />
43
+ <!-- BEGIN Hero Centered Dark -->
44
+ {% assign content_title = "Centered Hero Dark" %}
45
+ {% capture content_body %}
46
+ Quickly design and customize responsive mobile-first sites with Bootstrap, the world's most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.
47
+ {% endcapture %}
48
+
49
+ {% assign primary_link_text = "Custom Button" %}
50
+ {% assign primary_link_url = "/" %}
51
+
52
+ {% assign secondary_link_text = "Secondary Button" %}
53
+ {% assign secondary_link_url = "/blog" %}
54
+
55
+ {% include _components/hero_centered_dark.html
56
+ title=content_title
57
+ body=content_body
58
+
59
+ primary_link_text=primary_link_text
60
+ primary_link_url=primary_link_url
61
+
62
+ secondary_link_text=secondary_link_text
63
+ secondary_link_url=secondary_link_url
64
+ %}
65
+ <!-- END Hero Centered Dark -->
66
+ <hr />
67
+ <!-- BEGIN Hero Image Right -->
68
+ {% assign content_title = "Hero Image Right" %}
69
+ {% capture content_body %}
70
+ Quickly design and customize responsive mobile-first sites with Bootstrap, the world's most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.
71
+ {% endcapture %}
72
+ {% assign image_path = "/assets/images/bootstrap-themes.png" %}
73
+ {% assign image_text = "Bootstrap Themes" %}
74
+
75
+ {% assign primary_link_text = "Primary" %}
76
+ {% assign primary_link_url = "/" %}
77
+
78
+ {% assign secondary_link_text = "Default" %}
79
+ {% assign secondary_link_url = "/blog" %}
80
+
81
+ {% include _components/hero_image_right.html
82
+ title=content_title
83
+ body=content_body
84
+ image_path=image_path
85
+ image_text=image_text
86
+
87
+ primary_link_text=primary_link_text
88
+ primary_link_url=primary_link_url
89
+
90
+ secondary_link_text=secondary_link_text
91
+ secondary_link_url=secondary_link_url
92
+ %}
93
+ <!-- END Hero Image Right -->
94
+ <hr />
95
+ <!-- BEGIN Columns Icons -->
96
+ {% assign content_title = "Columns with Icons" %}
97
+
98
+ {% assign col1_icon_path = "/assets/svg/bootstrap-icons.svg#collection" %}
99
+ {% assign col1_title = "Featured title 1" %}
100
+ {% capture col1_body %}
101
+ 1 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
102
+ {% endcapture %}
103
+ {% assign col1_link_text = "Call to action 1" %}
104
+ {% assign col1_link_url = "/" %}
105
+
106
+ {% assign col2_icon_path = "/assets/svg/bootstrap-icons.svg#people-circle" %}
107
+ {% assign col2_title = "Featured title 2" %}
108
+ {% capture col2_body %}
109
+ 2 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
110
+ {% endcapture %}
111
+ {% assign col2_link_text = "Call to action 2" %}
112
+ {% assign col2_link_url = "/" %}
113
+
114
+ {% assign col3_icon_path = "/assets/svg/bootstrap-icons.svg#toggles2" %}
115
+ {% assign col3_title = "Featured title 3" %}
116
+ {% capture col3_body %}
117
+ 3 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
118
+ {% endcapture %}
119
+ {% assign col3_link_text = "Call to action 3" %}
120
+ {% assign col3_link_url = "/" %}
121
+
122
+ {% include _components/columns_icons.html
123
+ title=content_title
124
+
125
+ col1_icon_path=col1_icon_path
126
+ col1_title=col1_title
127
+ col1_body=col1_body
128
+ col1_link_text=col1_link_text
129
+ col1_link_url=col1_link_url
130
+
131
+ col2_icon_path=col2_icon_path
132
+ col2_title=col2_title
133
+ col2_body=col2_body
134
+ col2_link_text=col2_link_text
135
+ col2_link_url=col2_link_url
136
+
137
+ col3_icon_path=col3_icon_path
138
+ col3_title=col3_title
139
+ col3_body=col3_body
140
+ col3_link_text=col3_link_text
141
+ col3_link_url=col3_link_url
142
+ %}
143
+ <!-- END Columns Icons -->
144
+ <hr />
145
+ <!-- BEGIN Columns Icons Hanging -->
146
+ {% assign content_title = "Columns with Icons Hanging" %}
147
+
148
+ {% assign col1_icon_path = "/assets/svg/bootstrap-icons.svg#toggles2" %}
149
+ {% assign col1_title = "Featured title 1" %}
150
+ {% capture col1_body %}
151
+ 1 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
152
+ {% endcapture %}
153
+ {% assign col1_link_text = "Call to action 1" %}
154
+ {% assign col1_link_url = "/" %}
155
+
156
+ {% assign col2_icon_path = "/assets/svg/bootstrap-icons.svg#cpu-fill" %}
157
+ {% assign col2_title = "Featured title 2" %}
158
+ {% capture col2_body %}
159
+ 2 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
160
+ {% endcapture %}
161
+ {% assign col2_link_text = "Call to action 2" %}
162
+ {% assign col2_link_url = "/" %}
163
+
164
+ {% assign col3_icon_path = "/assets/svg/bootstrap-icons.svg#tools" %}
165
+ {% assign col3_title = "Featured title 3" %}
166
+ {% capture col3_body %}
167
+ 3 Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
168
+ {% endcapture %}
169
+ {% assign col3_link_text = "Call to action 3" %}
170
+ {% assign col3_link_url = "/" %}
171
+
172
+ {% include _components/columns_icons_hanging.html
173
+ title=content_title
174
+
175
+ col1_icon_path=col1_icon_path
176
+ col1_title=col1_title
177
+ col1_body=col1_body
178
+ col1_link_text=col1_link_text
179
+ col1_link_url=col1_link_url
180
+
181
+ col2_icon_path=col2_icon_path
182
+ col2_title=col2_title
183
+ col2_body=col2_body
184
+ col2_link_text=col2_link_text
185
+ col2_link_url=col2_link_url
186
+
187
+ col3_icon_path=col3_icon_path
188
+ col3_title=col3_title
189
+ col3_body=col3_body
190
+ col3_link_text=col3_link_text
191
+ col3_link_url=col3_link_url
192
+ %}
193
+ <!-- END Columns Icons Hanging -->
194
+ <hr />
195
+ <!-- BEGIN Columns Image Cards -->
196
+ {% assign content_title = "Columns with Image Cards" %}
197
+ {% assign card_title_align = "Center" %}
198
+
199
+ {% assign col1_bgimg_path = "/assets/images/unsplash-photo-1.jpg" %}
200
+ {% assign col1_title = "Image card title 1" %}
201
+
202
+ {% assign col2_bgimg_path = "/assets/images/unsplash-photo-2.jpg" %}
203
+ {% assign col2_title = "Image card title 2" %}
204
+
205
+ {% assign col3_bgimg_path = "/assets/images/unsplash-photo-3.jpg" %}
206
+ {% assign col3_title = "Image card title 3" %}
207
+
208
+ {% include _components/columns_image_cards.html
209
+ title=content_title
210
+ card_title_align=card_title_align
211
+
212
+ col1_title=col1_title
213
+ col1_bgimg_path=col1_bgimg_path
214
+ col1_link_text=col1_link_text
215
+ col1_link_url=col1_link_url
216
+
217
+ col2_title=col2_title
218
+ col2_bgimg_path=col2_bgimg_path
219
+ col2_link_text=col2_link_text
220
+ col2_link_url=col2_link_url
221
+
222
+ col3_title=col3_title
223
+ col3_bgimg_path=col3_bgimg_path
224
+ col3_link_text=col3_link_text
225
+ col3_link_url=col3_link_url
226
+ %}
227
+ <!-- END Columns Image Cards -->
228
+ <hr />
229
+ <!-- BEGIN Columns Icons Grid -->
230
+ {% assign content_title = "Columns Icons Grids" %}
231
+
232
+ {% assign item1_title = "Featured title 1" %}
233
+ {% assign item1_icon_path = "/assets/svg/bootstrap-icons.svg#bootstrap" %}
234
+ {% capture item1_body %}
235
+ 1 Paragraph of text beneath the heading to explain the heading.
236
+ {% endcapture %}
237
+
238
+ {% assign item2_title = "Featured title 2" %}
239
+ {% assign item2_icon_path = "/assets/svg/bootstrap-icons.svg#cpu-fill" %}
240
+ {% capture item2_body %}
241
+ 2 Paragraph of text beneath the heading to explain the heading.
242
+ {% endcapture %}
243
+
244
+ {% assign item3_title = "Featured title 3" %}
245
+ {% assign item3_icon_path = "/assets/svg/bootstrap-icons.svg#calendar3" %}
246
+ {% capture item3_body %}
247
+ 3 Paragraph of text beneath the heading to explain the heading.
248
+ {% endcapture %}
249
+
250
+ {% assign item4_title = "Featured title 4" %}
251
+ {% assign item4_icon_path = "/assets/svg/bootstrap-icons.svg#home" %}
252
+ {% capture item4_body %}
253
+ 4 Paragraph of text beneath the heading to explain the heading.
254
+ {% endcapture %}
255
+
256
+ {% assign item5_title = "Featured title 5" %}
257
+ {% assign item5_icon_path = "/assets/svg/bootstrap-icons.svg#speedometer2" %}
258
+ {% capture item5_body %}
259
+ 5 Paragraph of text beneath the heading to explain the heading.
260
+ {% endcapture %}
261
+
262
+ {% assign item6_title = "Featured title 6" %}
263
+ {% assign item6_icon_path = "/assets/svg/bootstrap-icons.svg#toggles2" %}
264
+ {% capture item6_body %}
265
+ 6 Paragraph of text beneath the heading to explain the heading.
266
+ {% endcapture %}
267
+
268
+ {% assign item7_title = "Featured title 7" %}
269
+ {% assign item7_icon_path = "/assets/svg/bootstrap-icons.svg#geo-fill" %}
270
+ {% capture item7_body %}
271
+ 7 Paragraph of text beneath the heading to explain the heading.
272
+ {% endcapture %}
273
+
274
+ {% assign item8_title = "Featured title 8" %}
275
+ {% assign item8_icon_path = "/assets/svg/bootstrap-icons.svg#tools" %}
276
+ {% capture item8_body %}
277
+ 8 Paragraph of text beneath the heading to explain the heading.
278
+ {% endcapture %}
279
+
280
+ {% include _components/columns_icons_grid.html
281
+ title=content_title
282
+
283
+ item1_title=item1_title
284
+ item1_icon_path=item1_icon_path
285
+ item1_body=item1_body
286
+
287
+ item2_title=item2_title
288
+ item2_icon_path=item2_icon_path
289
+ item2_body=item2_body
290
+
291
+ item3_title=item3_title
292
+ item3_icon_path=item3_icon_path
293
+ item3_body=item3_body
294
+
295
+ item4_title=item4_title
296
+ item4_icon_path=item4_icon_path
297
+ item4_body=item4_body
298
+
299
+ item5_title=item5_title
300
+ item5_icon_path=item5_icon_path
301
+ item5_body=item5_body
302
+
303
+ item6_title=item6_title
304
+ item6_icon_path=item6_icon_path
305
+ item6_body=item6_body
306
+
307
+ item7_title=item7_title
308
+ item7_icon_path=item7_icon_path
309
+ item7_body=item7_body
310
+
311
+ item8_title=item8_title
312
+ item8_icon_path=item8_icon_path
313
+ item8_body=item8_body
314
+ %}
315
+ <!-- END Columns Icons Grid -->
316
+ <hr />
317
+ <!-- BEGIN Jumbotron Full -->
318
+ {% assign content_title = "Jumbotron Full" %}
319
+ {% capture content_body %}
320
+ Using a series of utilities, you can create this jumbotron, just like the one in previous versions of Bootstrap. Check out the examples below for how you can remix and restyle it to your liking.
321
+ {% endcapture %}
322
+
323
+ {% assign primary_link_text = "Primary Button" %}
324
+ {% assign primary_link_url = "/" %}
325
+
326
+ {% assign secondary_link_text = "Secondary Button" %}
327
+ {% assign secondary_link_url = "/blog" %}
328
+
329
+ {% include _components/jumbotron_full.html
330
+ title=content_title
331
+ body=content_body
332
+
333
+ primary_link_text=primary_link_text
334
+ primary_link_url=primary_link_url
335
+
336
+ secondary_link_text=secondary_link_text
337
+ secondary_link_url=secondary_link_url
338
+ %}
339
+ <!-- END Jumbotron Full -->
340
+ <hr />
341
+ <!-- BEGIN Jumbotron Split -->
342
+ {% assign left_title = "Left Half-Jumbotron (Dark)" %}
343
+ {% capture left_body %}
344
+ This shows how one of the side-by-side half-jumbotron panels can be styled dark.
345
+ {% endcapture %}
346
+ {% assign left_style_dark = true %}
347
+ {% assign left_link_text = "Example Button" %}
348
+ {% assign left_link_url = "/" %}
349
+
350
+ {% assign right_title = "Right Half-Jumbotron (Dark)" %}
351
+ {% capture right_body %}
352
+ This shows how one of the side-by-side half-jumbotron panels can be styled light (default).
353
+ {% endcapture %}
354
+ {% assign right_style_dark = false %}
355
+ {% assign right_link_text = "Example Button" %}
356
+ {% assign right_link_url = "/" %}
357
+
358
+ {% include _components/jumbotron_split.html
359
+ left_title=left_title
360
+ left_body=left_body
361
+ left_style_dark=left_style_dark
362
+ left_link_text=left_link_text
363
+ left_link_url=left_link_url
364
+
365
+ right_title=right_title
366
+ right_body=right_body
367
+ right_style_dark=right_style_dark
368
+ right_link_text=right_link_text
369
+ right_link_url=right_link_url
370
+ %}
371
+ <!-- END Jumbotron Split -->
372
+ <hr />
373
+ <!-- BEGIN Carousel -->
374
+ {% assign carousel_id = "carousel-component" %}
375
+
376
+ {% assign slide1_alignment = "Left" %}
377
+ {% assign slide1_title = "Example headline." %}
378
+ {% capture slide1_tagline %}
379
+ Some representative placeholder content for the first slide of the carousel.
380
+ {% endcapture %}
381
+ {% assign slide1_link_text = "Sign Up Today" %}
382
+ {% assign slide1_link_url = "/" %}
383
+ {% assign slide1_image_path = "/assets/svg/placeholder-full-gray.svg" %}
384
+
385
+ {% assign slide2_alignment = "" %}
386
+ {% assign slide2_title = "Another example headline." %}
387
+ {% capture slide2_tagline %}
388
+ Some representative placeholder content for the second slide of the carousel.
389
+ {% endcapture %}
390
+ {% assign slide2_link_text = "Learn More" %}
391
+ {% assign slide2_link_url = "/" %}
392
+ {% assign slide2_image_path = "/assets/svg/placeholder-full-gray.svg" %}
393
+
394
+ {% assign slide3_alignment = "Right" %}
395
+ {% assign slide3_title = "One more for good measure." %}
396
+ {% capture slide3_tagline %}
397
+ Some representative placeholder content for the third slide of this carousel.
398
+ {% endcapture %}
399
+ {% assign slide3_link_text = "Browse Gallery" %}
400
+ {% assign slide3_link_url = "/" %}
401
+ {% assign slide3_image_path = "/assets/svg/placeholder-full-gray.svg" %}
402
+
403
+ {% include _components/carousel.html
404
+ carousel_id=carousel_id
405
+
406
+ slide1_alignment=slide1_alignment
407
+ slide1_title=slide1_title
408
+ slide1_tagline=slide1_tagline
409
+ slide1_link_text=slide1_link_text
410
+ slide1_link_url=slide1_link_url
411
+ slide1_image_path=slide1_image_path
412
+
413
+ slide2_alignment=slide2_alignment
414
+ slide2_title=slide2_title
415
+ slide2_tagline=slide2_tagline
416
+ slide2_link_text=slide2_link_text
417
+ slide2_link_url=slide2_link_url
418
+ slide2_image_path=slide2_image_path
419
+
420
+ slide3_alignment=slide3_alignment
421
+ slide3_title=slide3_title
422
+ slide3_tagline=slide3_tagline
423
+ slide3_link_text=slide3_link_text
424
+ slide3_link_url=slide3_link_url
425
+ slide3_image_path=slide3_image_path
426
+ %}
427
+ <!-- END Carousel -->
428
+ <hr />
429
+ <!-- BEGIN Featurette Left -->
430
+ {% assign content_title = "Featurette Left." %}
431
+ {% assign content_tagline = "It'll blow your mind." %}
432
+ {% capture content_body %}
433
+ Some great placeholder content for the first featurette here. Imagine some exciting prose here.
434
+ {% endcapture %}
435
+ {% assign image_path = "/assets/svg/placeholder-500-500.svg" %}
436
+ {% assign image_text = "500x500 placeholder" %}
437
+
438
+ {% include _components/featurette_left.html
439
+ title=content_title
440
+ tagline=content_tagline
441
+ body=content_body
442
+
443
+ primary_link_text=primary_link_text
444
+ primary_link_url=primary_link_url
445
+
446
+ image_path=image_path
447
+ image_text=image_text
448
+ %}
449
+ <!-- END Featurette Left -->
450
+ <hr />
451
+ <!-- BEGIN Featurette Right -->
452
+ {% assign content_title = "Featurette Right." %}
453
+ {% assign content_tagline = "It'll blow your mind." %}
454
+ {% capture content_body %}
455
+ Some great placeholder content for the first featurette here. Imagine some exciting prose here.
456
+ {% endcapture %}
457
+ {% assign image_path = "/assets/svg/placeholder-500-500.svg" %}
458
+ {% assign image_text = "500x500 placeholder" %}
459
+
460
+ {% include _components/featurette_right.html
461
+ title=content_title
462
+ tagline=content_tagline
463
+ body=content_body
464
+
465
+ primary_link_text=primary_link_text
466
+ primary_link_url=primary_link_url
467
+
468
+ image_path=image_path
469
+ image_text=image_text
470
+ %}
471
+ <!-- END Featurette Right -->
@@ -0,0 +1,7 @@
1
+ ---
2
+ # This layout is simply a wrapper for the page_no_title layout as Jekyll's
3
+ # default pages use layout: home
4
+ layout: page_no_title
5
+ ---
6
+
7
+ {{ content }}
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ {%- if page.title -%}
6
+ <h1 class="pb-4 mb-4 fst-italic">{{ page.title }}</h1>
7
+ {%- endif -%}
8
+
9
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ {%- if page.title -%}
6
+ <h1 class="pb-4 mb-4 fst-italic">{{ page.title }}</h1>
7
+ {%- endif -%}
8
+ <div class="row g-5">
9
+ <!-- BEGIN Main blog content -->
10
+ <div class="col-md-8">
11
+ {{ content }}
12
+ </div>
13
+ <!-- END Main blog content -->
14
+ <!-- BEGIN sidebar -->
15
+ <div class="col-md-4">
16
+ {%- if page.sidebar -%}
17
+ {% for include in page.sidebar %}
18
+ {% assign include_file = include | append: ".html" %}
19
+ {% include {{include_file}} %}
20
+ {% endfor %}
21
+ {%- endif -%}
22
+ </div>
23
+ <!-- END sidebar -->
24
+ </div>
@@ -0,0 +1,41 @@
1
+ ---
2
+ layout: page_sidebar
3
+ ---
4
+
5
+ {%- assign date_format = site.jekyll-twitter-bootstrap.date_format | default: "%B %e, %Y at %l:%M%p" -%}
6
+ <article class="blog-post mb-5" itemscope itemtype="http://schema.org/BlogPosting">
7
+ {% comment %}<h2 class="blog-post-title mb-1" itemprop="name headline">{{ page.title | escape }}</h2>{% endcomment %}
8
+ <p class="blog-post-meta">
9
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}"
10
+ itemprop="datePublished">{{ page.date | date: date_format }}</time> by
11
+ {%- if page.author -%}
12
+ {% for author in page.author %}
13
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
14
+ <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
15
+ {%- if forloop.last == false %}, {% endif -%}
16
+ {% endfor %}
17
+ {%- endif -%}
18
+ {%- if page.categories or page.category -%}
19
+ <span class="blog-category-spacer mx-2">|</span>
20
+ {%- endif -%}
21
+ {%- if page.categories -%}
22
+ {% for category in page.categories %}
23
+ <a href="/categories/#{{ category | slugify }}">{{ category }}</a>
24
+ {%- if forloop.last == false %}, {% endif -%}
25
+ {% endfor %}
26
+ {%- elsif page.category -%}
27
+ <a href="/categories/#{{ page.category | slugify }}">{{ page.category }}</a>
28
+ {%- endif -%}
29
+ </p>
30
+ <div itemprop="articleBody">
31
+ {{ content }}
32
+ </div>
33
+ <div itemprop="keywords">
34
+ {%- if page.tags -%}
35
+ {% for tag in page.tags %}
36
+ <a href="/tags/#{{ tag | slugify }}">{{ tag }}</a>
37
+ {%- if forloop.last == false %}, {% endif -%}
38
+ {% endfor %}
39
+ {%- endif -%}
40
+ </div>
41
+ </article>
data/_sass/styles.scss ADDED
File without changes