chulapa-jekyll 2.0.0 → 2.1.0

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 (172) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +154 -31
  3. data/README.md +96 -76
  4. data/_data/version.yml +2 -2
  5. data/_includes/components/breadcrumbdatesocial.html +15 -11
  6. data/_includes/components/headers.html +17 -10
  7. data/_includes/components/indexcards.html +2 -2
  8. data/_includes/components/navbeforeafter.html +2 -2
  9. data/_includes/components/random.html +103 -0
  10. data/_includes/components/related.html +84 -60
  11. data/_includes/components/simplelist.html +26 -0
  12. data/_includes/footer.html +53 -1
  13. data/_includes/head.html +237 -98
  14. data/_includes/search/fusejs.html +36 -0
  15. data/_includes/search/lunr.html +27 -7
  16. data/_includes/search/simplesearch.html +46 -0
  17. data/_includes/snippets/article-images.html +25 -0
  18. data/_includes/snippets/bootstrapdemo.html +1454 -1303
  19. data/_includes/snippets/breadcrumb-names.html +5 -0
  20. data/_includes/snippets/canonical-url.html +17 -0
  21. data/_includes/snippets/datetranslate.html +7 -1
  22. data/_includes/snippets/jsonld-string.html +16 -0
  23. data/_includes/snippets/og-locale.html +19 -0
  24. data/_includes/snippets/page-language.html +4 -0
  25. data/_includes/snippets/publisher.html +25 -0
  26. data/_includes/snippets/video-metadata.html +15 -0
  27. data/_includes/snippets/video.html +20 -17
  28. data/_includes/snippets/youtube.html +9 -4
  29. data/_includes/welcomments/template.html +1 -1
  30. data/_layouts/archive.html +1 -1
  31. data/_layouts/cloudcategory.html +34 -16
  32. data/_layouts/cloudcategory2.html +4 -85
  33. data/_layouts/cloudtag.html +39 -16
  34. data/_layouts/cloudtag2.html +4 -81
  35. data/_layouts/default.html +4 -4
  36. data/_layouts/landingpage.html +8 -5
  37. data/_layouts/minimal.html +10 -4
  38. data/_layouts/search.html +12 -13
  39. data/_sass/chulapa/_classes.scss +68 -58
  40. data/_sass/chulapa/_reboot.scss +31 -0
  41. data/_sass/chulapa/_variables.scss +8 -1
  42. data/_sass/highlight/README.md +176 -14
  43. data/_sass/highlight/abap.scss +62 -0
  44. data/_sass/highlight/algol.scss +46 -0
  45. data/_sass/highlight/algol_nu.scss +46 -0
  46. data/_sass/highlight/arduino.scss +63 -0
  47. data/_sass/highlight/autumn.scss +69 -58
  48. data/_sass/highlight/base16.scss +90 -0
  49. data/_sass/highlight/borland.scss +55 -46
  50. data/_sass/highlight/bw.scss +70 -34
  51. data/_sass/highlight/cobalt2.scss +197 -0
  52. data/_sass/highlight/coffee.scss +82 -0
  53. data/_sass/highlight/colorful.scss +178 -61
  54. data/_sass/highlight/cran.scss +185 -169
  55. data/_sass/highlight/default.scss +72 -61
  56. data/_sass/highlight/dracula.scss +93 -169
  57. data/_sass/highlight/emacs.scss +72 -61
  58. data/_sass/highlight/friendly.scss +72 -61
  59. data/_sass/highlight/friendly_grayscale.scss +72 -0
  60. data/_sass/highlight/fruity.scss +82 -70
  61. data/_sass/highlight/github.dark.scss +83 -0
  62. data/_sass/highlight/github.scss +116 -61
  63. data/_sass/highlight/gruvbox.dark.scss +83 -0
  64. data/_sass/highlight/gruvbox.light.scss +68 -84
  65. data/_sass/highlight/gruvbox.scss +97 -0
  66. data/_sass/highlight/igor.scss +36 -0
  67. data/_sass/highlight/igorpro.scss +45 -0
  68. data/_sass/highlight/inkpot.scss +78 -0
  69. data/_sass/highlight/lightbulb.scss +82 -0
  70. data/_sass/highlight/lilypond.scss +58 -0
  71. data/_sass/highlight/lovelace.scss +74 -0
  72. data/_sass/highlight/magritte.scss +175 -0
  73. data/_sass/highlight/manni.scss +72 -61
  74. data/_sass/highlight/material.scss +81 -0
  75. data/_sass/highlight/molokai.scss +211 -0
  76. data/_sass/highlight/monokai.scss +217 -65
  77. data/_sass/highlight/monokai.sublime.scss +203 -0
  78. data/_sass/highlight/murphy.scss +72 -61
  79. data/_sass/highlight/native.scss +82 -70
  80. data/_sass/highlight/night-owl.scss +201 -0
  81. data/_sass/highlight/nord.darker.scss +82 -0
  82. data/_sass/highlight/nord.scss +82 -0
  83. data/_sass/highlight/oksolar.dark.scss +175 -0
  84. data/_sass/highlight/oksolar.light.scss +175 -0
  85. data/_sass/highlight/one.dark.scss +82 -0
  86. data/_sass/highlight/panda.scss +195 -0
  87. data/_sass/highlight/paraiso.dark.scss +76 -0
  88. data/_sass/highlight/paraiso.light.scss +76 -0
  89. data/_sass/highlight/pastie.scss +154 -60
  90. data/_sass/highlight/perldoc.scss +69 -58
  91. data/_sass/highlight/rainbow_dash.scss +65 -0
  92. data/_sass/highlight/rrt.scss +82 -0
  93. data/_sass/highlight/sas.scss +63 -0
  94. data/_sass/highlight/selenized.black.scss +175 -0
  95. data/_sass/highlight/selenized.dark.scss +175 -0
  96. data/_sass/highlight/selenized.light.scss +175 -0
  97. data/_sass/highlight/selenized.white.scss +175 -0
  98. data/_sass/highlight/skeletor.scss +190 -140
  99. data/_sass/highlight/solarized.dark.scss +82 -0
  100. data/_sass/highlight/solarized.light.scss +82 -0
  101. data/_sass/highlight/stackoverflow.dark.scss +175 -0
  102. data/_sass/highlight/stackoverflow.light.scss +175 -0
  103. data/_sass/highlight/staroffice.scss +82 -0
  104. data/_sass/highlight/stata.dark.scss +82 -0
  105. data/_sass/highlight/stata.light.scss +49 -0
  106. data/_sass/highlight/tango.scss +81 -69
  107. data/_sass/highlight/template.scss +290 -0
  108. data/_sass/highlight/thankful_eyes.scss +180 -173
  109. data/_sass/highlight/trac.scss +70 -59
  110. data/_sass/highlight/tulip.scss +171 -0
  111. data/_sass/highlight/vim.scss +82 -70
  112. data/_sass/highlight/vs.scss +41 -33
  113. data/_sass/highlight/xcode.scss +65 -0
  114. data/_sass/highlight/zenburn.scss +82 -136
  115. data/_sass/reset-algolia.scss +27 -17
  116. data/_sass/skins/academia.scss +19 -10
  117. data/_sass/skins/auto.scss +5 -2
  118. data/_sass/skins/butterfly-dark.scss +54 -0
  119. data/_sass/skins/butterfly-dim.scss +54 -0
  120. data/_sass/skins/butterfly.scss +33 -0
  121. data/_sass/skins/chulapa.scss +10 -3
  122. data/_sass/skins/cyborg.scss +512 -0
  123. data/_sass/skins/dark-bg.scss +83 -49
  124. data/_sass/skins/darkly.scss +424 -0
  125. data/_sass/skins/deeply.scss +262 -63
  126. data/_sass/skins/electro.scss +24 -17
  127. data/_sass/skins/flatly.scss +386 -0
  128. data/_sass/skins/focal.scss +24 -18
  129. data/_sass/skins/gitdev-dark.scss +12 -20
  130. data/_sass/skins/gitdev.scss +20 -17
  131. data/_sass/skins/graymor.scss +22 -14
  132. data/_sass/skins/hootstrap.scss +17 -10
  133. data/_sass/skins/journal.scss +74 -86
  134. data/_sass/skins/listen.scss +51 -0
  135. data/_sass/skins/lux.scss +171 -237
  136. data/_sass/skins/lymcha.scss +14 -9
  137. data/_sass/skins/materia.scss +889 -0
  138. data/_sass/skins/media.scss +29 -11
  139. data/_sass/skins/mickie.scss +27 -11
  140. data/_sass/skins/minco.scss +30 -10
  141. data/_sass/skins/minty.scss +226 -85
  142. data/_sass/skins/monotone.scss +15 -1
  143. data/_sass/skins/navi.scss +26 -0
  144. data/_sass/skins/pear.scss +16 -5
  145. data/_sass/skins/preptor.scss +13 -12
  146. data/_sass/skins/skeeblu.scss +11 -11
  147. data/_sass/skins/sketchy.scss +366 -377
  148. data/_sass/skins/slate.scss +719 -0
  149. data/_sass/skins/solar.scss +425 -0
  150. data/_sass/skins/sunset.scss +27 -12
  151. data/_sass/skins/towards.scss +19 -5
  152. data/_sass/skins/twitter-dim.scss +20 -11
  153. data/_sass/skins/twitter-lights-out.scss +22 -11
  154. data/_sass/skins/twitter.scss +22 -10
  155. data/_sass/skins/united.scss +57 -0
  156. data/_sass/skins/universal.scss +29 -27
  157. data/_sass/skins/wandoo.scss +12 -11
  158. data/_sass/skins/yeti.scss +673 -0
  159. data/assets/atom.xml +10 -6
  160. data/assets/js/better404/better404.js +75 -0
  161. data/assets/js/ch_ytdefer/ch_ytdefer.js +0 -1
  162. data/assets/js/chulapa_script.js +2 -2
  163. data/assets/js/fusejs/fusejs-search.js +197 -0
  164. data/assets/js/fusejs/fusejs-search.min.js +4 -0
  165. data/assets/js/fusejs/fusejs-store.js +43 -0
  166. data/assets/js/lunr/lunr-search.js +249 -114
  167. data/assets/js/lunr/lunr-search.min.js +4 -0
  168. data/assets/js/lunr/lunr-store.js +31 -23
  169. data/assets/js/simplesearch/simplesearch-store.json +45 -0
  170. data/assets/rss.xml +4 -3
  171. metadata +81 -8
  172. data/_sass/highlight/UNLICENSE.txt +0 -24
@@ -0,0 +1,673 @@
1
+ // Yeti 4.6.2 - Bootswatch
2
+
3
+ // Color system
4
+ $white: #fff !default;
5
+ $gray-100: #f8f9fa !default;
6
+ $gray-200: #eee !default;
7
+ $gray-300: #dee2e6 !default;
8
+ $gray-400: #ccc !default;
9
+ $gray-500: #adb5bd !default;
10
+ $gray-600: #888 !default;
11
+ $gray-700: #495057 !default;
12
+ $gray-800: #333 !default;
13
+ $gray-900: #222 !default;
14
+ $black: #000 !default;
15
+
16
+ $blue: #008cba !default;
17
+ $indigo: #6610f2 !default;
18
+ $purple: #6f42c1 !default;
19
+ $pink: #e83e8c !default;
20
+ $red: #f04124 !default;
21
+ $orange: #fd7e14 !default;
22
+ $yellow: #e99002 !default;
23
+ $green: #43ac6a !default;
24
+ $teal: #20c997 !default;
25
+ $cyan: #5bc0de !default;
26
+
27
+ $primary: $blue !default;
28
+ $secondary: $gray-400 !default;
29
+ $success: $green !default;
30
+ $info: $cyan !default;
31
+ $warning: $yellow !default;
32
+ $danger: $red !default;
33
+ $light: $gray-200 !default;
34
+ $dark: $gray-900 !default;
35
+
36
+ $yiq-contrasted-threshold: 200 !default;
37
+
38
+ // Components
39
+ $border-radius: 0 !default;
40
+ $border-radius-lg: 0 !default;
41
+ $border-radius-sm: 0 !default;
42
+
43
+ // Fonts
44
+ $font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
45
+ $font-size-base: .9375rem !default;
46
+ $font-size-sm: $font-size-base * .88 !default;
47
+ $headings-font-weight: 300 !default;
48
+
49
+ // Buttons
50
+ $input-btn-padding-x: .5rem !default;
51
+ $btn-font-weight: 300 !default;
52
+
53
+ // Dropdowns
54
+ $dropdown-border-color: rgba($black, .1) !default;
55
+ $dropdown-divider-bg: rgba($black, .1) !default;
56
+
57
+ // Navs
58
+ $nav-link-disabled-color: $gray-400 !default;
59
+ $nav-tabs-border-color: $dropdown-border-color !default;
60
+ $nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
61
+ $nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
62
+
63
+ // Navbar
64
+ $navbar-dark-color: rgba($white, .7) !default;
65
+ $navbar-dark-hover-color: $white !default;
66
+
67
+ // Pagination
68
+ $pagination-color: $gray-600 !default;
69
+ $pagination-border-color: $nav-tabs-border-color !default;
70
+ $pagination-active-border-color: darken($primary, 5%) !default;
71
+ $pagination-disabled-color: $gray-200 !default;
72
+
73
+ // Jumbotron
74
+ $jumbotron-padding: 4rem !default;
75
+
76
+ // Cards
77
+ $card-inner-border-radius: 0 !default;
78
+
79
+ // Badges
80
+ $badge-font-weight: 300 !default;
81
+ $badge-padding-x: 1rem !default;
82
+
83
+ // Progress bars
84
+ $progress-bg: $gray-400 !default;
85
+ $progress-bar-color: $white !default;
86
+
87
+ // List group
88
+ $list-group-disabled-bg: $gray-200 !default;
89
+
90
+ // Close
91
+ $close-color: $gray-600 !default;
92
+ $close-text-shadow: none !default;
93
+
94
+ // Variables
95
+ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" !default;
96
+ @if $web-font-path {
97
+ @import url($web-font-path);
98
+ }
99
+
100
+ @import "bootstrap/functions";
101
+ @import "bootstrap/variables";
102
+ @import "bootstrap/mixins";
103
+
104
+ // Typography
105
+ .text-secondary {
106
+ color: $gray-700 !important;
107
+ }
108
+
109
+ .blockquote-footer {
110
+ color: $gray-600 !important;
111
+ }
112
+
113
+ // Navbar
114
+ .navbar {
115
+ font-size: $font-size-sm;
116
+ font-weight: $headings-font-weight;
117
+ }
118
+
119
+ .bg-primary {
120
+ .dropdown-menu {
121
+ background-color: $primary;
122
+
123
+ .dropdown-item,
124
+ .dropdown-item:focus {
125
+ color: $navbar-dark-color;
126
+ }
127
+
128
+ .dropdown-item.active,
129
+ .dropdown-item:hover,
130
+ .dropdown-item:focus {
131
+ background-color: darken($primary, 5%);
132
+ color: $white;
133
+ }
134
+ }
135
+ }
136
+
137
+ .bg-dark {
138
+ background-color: $gray-800 !important;
139
+
140
+ .dropdown-menu {
141
+ background-color: $gray-800;
142
+
143
+ .dropdown-item,
144
+ .dropdown-item:focus {
145
+ color: $navbar-dark-color;
146
+ }
147
+
148
+ .dropdown-item.active,
149
+ .dropdown-item:hover,
150
+ .dropdown-item:focus {
151
+ background-color: darken($gray-800, 5%);
152
+ color: $white;
153
+ }
154
+ }
155
+ }
156
+
157
+ .bg-light {
158
+ .dropdown-menu {
159
+ background-color: $gray-200;
160
+
161
+ .dropdown-item,
162
+ .dropdown-item:focus {
163
+ color: $navbar-light-color;
164
+ }
165
+
166
+ .dropdown-item.active,
167
+ .dropdown-item:hover,
168
+ .dropdown-item:focus {
169
+ background-color: lighten($gray-200, 5%);
170
+ color: $navbar-light-hover-color;
171
+ }
172
+ }
173
+ }
174
+
175
+ // Buttons
176
+ .btn {
177
+ &-primary {
178
+ border-color: darken($primary, 5%);
179
+ }
180
+
181
+ &-secondary {
182
+ border-color: darken($secondary, 5%);
183
+ }
184
+
185
+ &-success {
186
+ border-color: darken($success, 5%);
187
+ }
188
+
189
+ &-info {
190
+ border-color: darken($info, 5%);
191
+ color: $white;
192
+ }
193
+
194
+ &-danger {
195
+ border-color: darken($danger, 5%);
196
+ }
197
+
198
+ &-warning {
199
+ border-color: darken($warning, 5%);
200
+ color: $white;
201
+ }
202
+
203
+ &-light {
204
+ border-color: darken($light, 5%);
205
+ }
206
+
207
+ &-dark {
208
+ border-color: darken($dark, 5%);
209
+ }
210
+ }
211
+
212
+ .btn-group {
213
+ .dropdown-menu {
214
+ border-top-width: 0;
215
+ }
216
+
217
+ .dropdown-toggle {
218
+ &.btn-primary ~ .dropdown-menu {
219
+ background-color: $primary;
220
+ border-color: darken($primary, 5%);
221
+
222
+ .dropdown-item {
223
+ color: $white;
224
+ }
225
+
226
+ .dropdown-item:hover,
227
+ .dropdown-item:focus {
228
+ background-color: darken($primary, 8%);
229
+ }
230
+ }
231
+
232
+ &.btn-secondary ~ .dropdown-menu {
233
+ background-color: $secondary;
234
+ border-color: darken($secondary, 5%);
235
+
236
+ .dropdown-item {
237
+ color: $body-color;
238
+ }
239
+
240
+ .dropdown-item:hover,
241
+ .dropdown-item:focus {
242
+ background-color: darken($secondary, 8%);
243
+ }
244
+ }
245
+
246
+ &.btn-success ~ .dropdown-menu {
247
+ background-color: $success;
248
+ border-color: darken($success, 5%);
249
+
250
+ .dropdown-item {
251
+ color: $white;
252
+ }
253
+
254
+ .dropdown-item:hover,
255
+ .dropdown-item:focus {
256
+ background-color: darken($success, 8%);
257
+ }
258
+ }
259
+
260
+ &.btn-info ~ .dropdown-menu {
261
+ background-color: $info;
262
+ border-color: darken($info, 5%);
263
+
264
+ .dropdown-item {
265
+ color: $white;
266
+ }
267
+
268
+ .dropdown-item:hover,
269
+ .dropdown-item:focus {
270
+ background-color: darken($info, 8%);
271
+ }
272
+ }
273
+
274
+ &.btn-warning ~ .dropdown-menu {
275
+ background-color: $warning;
276
+ border-color: darken($warning, 5%);
277
+
278
+ .dropdown-item {
279
+ color: $white;
280
+ }
281
+
282
+ .dropdown-item:hover,
283
+ .dropdown-item:focus {
284
+ background-color: darken($warning, 8%);
285
+ }
286
+ }
287
+
288
+ &.btn-danger ~ .dropdown-menu {
289
+ background-color: $danger;
290
+ border-color: darken($danger, 5%);
291
+
292
+ .dropdown-item {
293
+ color: $white;
294
+ }
295
+
296
+ .dropdown-item:hover,
297
+ .dropdown-item:focus {
298
+ background-color: darken($danger, 8%);
299
+ }
300
+ }
301
+ }
302
+ }
303
+
304
+ // Tables
305
+ table {
306
+ font-size: $font-size-sm !important;
307
+ }
308
+
309
+ .table {
310
+ &-primary,
311
+ &-success,
312
+ &-info,
313
+ &-warning,
314
+ &-danger {
315
+ color: $white !important;
316
+ }
317
+
318
+ &-primary {
319
+ &,
320
+ > th,
321
+ > td {
322
+ background-color: $primary !important;
323
+ }
324
+ }
325
+
326
+ &-secondary {
327
+ &,
328
+ > th,
329
+ > td {
330
+ background-color: $secondary !important;
331
+ }
332
+ }
333
+
334
+ &-light {
335
+ &,
336
+ > th,
337
+ > td {
338
+ background-color: $light !important;
339
+ }
340
+ }
341
+
342
+ &-dark {
343
+ &,
344
+ > th,
345
+ > td {
346
+ background-color: $dark !important;
347
+ }
348
+ }
349
+
350
+ &-success {
351
+ &,
352
+ > th,
353
+ > td {
354
+ background-color: $success !important;
355
+ }
356
+ }
357
+
358
+ &-info {
359
+ &,
360
+ > th,
361
+ > td {
362
+ background-color: $info !important;
363
+ }
364
+ }
365
+
366
+ &-danger {
367
+ &,
368
+ > th,
369
+ > td {
370
+ background-color: $danger !important;
371
+ }
372
+ }
373
+
374
+ &-warning {
375
+ &,
376
+ > th,
377
+ > td {
378
+ background-color: $warning !important;
379
+ }
380
+ }
381
+
382
+ &-active {
383
+ &,
384
+ > th,
385
+ > td {
386
+ background-color: $table-active-bg !important;
387
+ }
388
+ }
389
+
390
+ &-hover {
391
+ .table-primary:hover {
392
+ &,
393
+ > th,
394
+ > td {
395
+ background-color: darken($primary, 5%) !important;
396
+ }
397
+ }
398
+
399
+ .table-secondary:hover {
400
+ &,
401
+ > th,
402
+ > td {
403
+ background-color: darken($secondary, 5%) !important;
404
+ }
405
+ }
406
+
407
+ .table-light:hover {
408
+ &,
409
+ > th,
410
+ > td {
411
+ background-color: darken($light, 5%) !important;
412
+ }
413
+ }
414
+
415
+ .table-dark:hover {
416
+ &,
417
+ > th,
418
+ > td {
419
+ background-color: darken($dark, 5%) !important;
420
+ }
421
+ }
422
+
423
+ .table-success:hover {
424
+ &,
425
+ > th,
426
+ > td {
427
+ background-color: darken($success, 5%) !important;
428
+ }
429
+ }
430
+
431
+ .table-info:hover {
432
+ &,
433
+ > th,
434
+ > td {
435
+ background-color: darken($info, 5%) !important;
436
+ }
437
+ }
438
+
439
+ .table-danger:hover {
440
+ &,
441
+ > th,
442
+ > td {
443
+ background-color: darken($danger, 5%) !important;
444
+ }
445
+ }
446
+
447
+ .table-warning:hover {
448
+ &,
449
+ > th,
450
+ > td {
451
+ background-color: darken($warning, 5%) !important;
452
+ }
453
+ }
454
+
455
+ .table-active:hover {
456
+ &,
457
+ > th,
458
+ > td {
459
+ background-color: $table-active-bg !important;
460
+ }
461
+ }
462
+ }
463
+ }
464
+
465
+ // Forms
466
+ label,
467
+ .control-label,
468
+ .help-block,
469
+ .checkbox,
470
+ .radio,
471
+ .form-control-feedback {
472
+ font-size: $font-size-sm;
473
+ }
474
+
475
+ // Navs
476
+ .dropdown-item {
477
+ padding-top: .75rem;
478
+ padding-bottom: .75rem;
479
+ font-size: $font-size-sm;
480
+ font-weight: 300;
481
+ }
482
+
483
+ .nav-tabs {
484
+ .nav-link,
485
+ .nav-link.disabled,
486
+ .nav-link.disabled:hover,
487
+ .nav-link.disabled:focus {
488
+ border-color: $nav-tabs-border-color;
489
+ background-color: $gray-200;
490
+ }
491
+
492
+ .nav-link:hover,
493
+ .nav-link:focus {
494
+ background-color: lighten($gray-200, 5%);
495
+ }
496
+ }
497
+
498
+ .nav-pills {
499
+ .active {
500
+ border: 1px solid darken($primary, 5%);
501
+ }
502
+ }
503
+
504
+ .breadcrumb {
505
+ border: 1px solid $dropdown-border-color;
506
+ border-radius: 3px;
507
+ font-size: $font-size-sm;
508
+ font-weight: 300;
509
+ text-transform: uppercase;
510
+ }
511
+
512
+ .pagination {
513
+ font-weight: 300;
514
+
515
+ .page-link {
516
+ border-color: transparent;
517
+ border-radius: 3px;
518
+ margin-left: .1em;
519
+ margin-right: .1em;
520
+
521
+ &:hover,
522
+ &:focus {
523
+ text-decoration: none;
524
+ }
525
+ }
526
+
527
+ .page-item.disabled {
528
+ .page-link {
529
+ border-color: transparent;
530
+ }
531
+ }
532
+ }
533
+
534
+ .pagination,
535
+ .pagination-lg,
536
+ .pagination-sm {
537
+ .page-item:first-child,
538
+ .page-item:last-child {
539
+ .page-link {
540
+ border-radius: 3px;
541
+ }
542
+ }
543
+ }
544
+
545
+ .list-group {
546
+ font-size: $font-size-sm;
547
+ font-weight: 300;
548
+ }
549
+
550
+ // Indicators
551
+ .close {
552
+ opacity: .6;
553
+ text-shadow: none;
554
+
555
+ &:hover,
556
+ &:focus {
557
+ opacity: 1;
558
+ }
559
+ }
560
+
561
+ .alert {
562
+ font-size: $font-size-sm !important;
563
+ font-weight: 300 !important;
564
+ color: $white !important;
565
+
566
+ &-primary {
567
+ &,
568
+ > th,
569
+ > td {
570
+ background-color: $primary !important;
571
+ }
572
+ }
573
+
574
+ &-secondary {
575
+ &,
576
+ > th,
577
+ > td {
578
+ background-color: $secondary !important;
579
+ }
580
+ }
581
+
582
+ &-success {
583
+ &,
584
+ > th,
585
+ > td {
586
+ background-color: $success !important;
587
+ }
588
+ }
589
+
590
+ &-info {
591
+ &,
592
+ > th,
593
+ > td {
594
+ background-color: $info !important;
595
+ }
596
+ }
597
+
598
+ &-danger {
599
+ &,
600
+ > th,
601
+ > td {
602
+ background-color: $danger !important;
603
+ }
604
+ }
605
+
606
+ &-warning {
607
+ &,
608
+ > th,
609
+ > td {
610
+ background-color: $warning !important;
611
+ }
612
+ }
613
+
614
+ &-dark {
615
+ &,
616
+ > th,
617
+ > td {
618
+ background-color: $dark !important;
619
+ }
620
+ }
621
+
622
+ &-light {
623
+ &,
624
+ > th,
625
+ > td {
626
+ background-color: $light !important;
627
+ }
628
+ }
629
+
630
+ .alert-link {
631
+ font-weight: 400 !important;
632
+ color: $white !important;
633
+ text-decoration: underline !important;
634
+ }
635
+
636
+ &-secondary,
637
+ &-light {
638
+ &,
639
+ a:not(.btn),
640
+ .alert-link {
641
+ color: $body-color !important;
642
+ }
643
+ }
644
+ }
645
+
646
+ .badge {
647
+ padding-bottom: .3em !important;
648
+
649
+ &-warning,
650
+ &-info {
651
+ color: $white !important;
652
+ }
653
+ }
654
+
655
+ // Progress bars
656
+ .progress[value] {
657
+ height: 22px;
658
+ padding: 2px;
659
+ background-color: #f6f6f6;
660
+ border: 1px solid #ccc;
661
+ @include box-shadow(none);
662
+ }
663
+
664
+ // Popovers
665
+ .popover-header {
666
+ border-top-left-radius: 0;
667
+ border-top-right-radius: 0;
668
+ }
669
+
670
+ // Cards
671
+ .card.bg-primary {
672
+ color: $white;
673
+ }
data/assets/atom.xml CHANGED
@@ -32,20 +32,24 @@ permalink: ./atom.xml
32
32
  where_exp: "item", "item.date != nil" |
33
33
  sort: 'date' | reverse -%}
34
34
  {%- for document in alldocs -%}
35
+ {%- include snippets/canonical-url.html url=document.url canonical=document.canonical_url -%}
35
36
  {%- assign entryimg = document.og_image | default: document.header_img | absolute_url -%}
36
37
  {%- assign words = document.content | strip_html | number_of_words -%}
37
38
  {%- assign minutes = words | divided_by: wpm | ceil | at_least: 1 -%}
38
39
  <entry>
39
- <title>{{ document.title | strip_html | escape }}</title>
40
- <link href="{{ document.url | replace: "index.html", "" | absolute_url | uri_escape }}" rel="alternate" type="text/html" title="{{ document.title | strip_html | escape }}"/>
40
+ <title type="html">{{ document.title | markdownify | remove: "<p>" | remove: "</p>" | strip_newlines | strip | escape }}</title>
41
+ <link href="{{ canonical_url | escape }}" rel="alternate" type="text/html" title="{{ document.title | markdownify | strip_html | strip_newlines | strip | escape | xml_escape | escape }}"/>
41
42
  <published>{{ document.date | date_to_xmlschema }}</published>
42
43
  <updated>{{ document.last_modified_at | default: document.date | date_to_xmlschema }}</updated>
43
- <id>{{ document.url | replace: "index.html", "" | absolute_url | uri_escape }}</id>
44
- <content type="html" xml:base="{{ document.url | replace: "index.html", "" | absolute_url | uri_escape }}">
44
+ <id>{{ canonical_url | escape }}</id>
45
+ <content type="html" xml:base="{{ canonical_path | absolute_url | uri_escape | escape }}">
45
46
  {% if document.subtitle %}
46
- {{ '<h3>' | append: document.subtitle |
47
- append: '</h3>' | escape }}
48
47
 
48
+ {%- assign thesub = document.subtitle | markdownify -%}
49
+ {%- assign thesub = thesub | remove: '<p>' | remove: '</p>' | strip | strip_newlines %}
50
+
51
+ {{ '<h3>' | append: thesub |
52
+ append: '</h3>' | escape }}
49
53
  {% endif %}
50
54
  {% if entryimg %}
51
55
  {{ "<img src='" | append: entryimg | append: "' >" | escape }}