chulapa-jekyll 1.0.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 (204) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +27 -0
  3. data/LICENSE +21 -0
  4. data/README.md +126 -0
  5. data/_includes/components/author.html +40 -0
  6. data/_includes/components/breadcrumbdatesocial.html +63 -0
  7. data/_includes/components/categories.html +15 -0
  8. data/_includes/components/disqus.html +24 -0
  9. data/_includes/components/headers.html +124 -0
  10. data/_includes/components/indexcards.html +48 -0
  11. data/_includes/components/navbeforeafter.html +22 -0
  12. data/_includes/components/tags.html +15 -0
  13. data/_includes/components/toc.html +112 -0
  14. data/_includes/custom/custom_bottomscripts.html +5 -0
  15. data/_includes/custom/custom_head.html +8 -0
  16. data/_includes/custom/custom_head_before_css.html +5 -0
  17. data/_includes/custom/giscus.html +1 -0
  18. data/_includes/footer.html +129 -0
  19. data/_includes/head.html +309 -0
  20. data/_includes/navbar.html +205 -0
  21. data/_includes/search/algolia.html +3 -0
  22. data/_includes/search/google.html +11 -0
  23. data/_includes/search/lunr.html +7 -0
  24. data/_includes/snippets/bootstrapdemo.html +1390 -0
  25. data/_includes/snippets/carousel.html +61 -0
  26. data/_includes/snippets/datetranslate.html +48 -0
  27. data/_includes/snippets/masonry.html +23 -0
  28. data/_includes/snippets/video.html +26 -0
  29. data/_includes/snippets/youtube.html +6 -0
  30. data/_layouts/archive.html +82 -0
  31. data/_layouts/cloudcategory.html +89 -0
  32. data/_layouts/cloudtag.html +86 -0
  33. data/_layouts/compress.html +10 -0
  34. data/_layouts/default.html +39 -0
  35. data/_layouts/indexcategory.html +36 -0
  36. data/_layouts/landingpage.html +51 -0
  37. data/_layouts/minimal.html +21 -0
  38. data/_layouts/search.html +59 -0
  39. data/_sass/bootstrap/_alert.scss +51 -0
  40. data/_sass/bootstrap/_badge.scss +54 -0
  41. data/_sass/bootstrap/_breadcrumb.scss +44 -0
  42. data/_sass/bootstrap/_button-group.scss +163 -0
  43. data/_sass/bootstrap/_buttons.scss +142 -0
  44. data/_sass/bootstrap/_card.scss +282 -0
  45. data/_sass/bootstrap/_carousel.scss +197 -0
  46. data/_sass/bootstrap/_close.scss +40 -0
  47. data/_sass/bootstrap/_code.scss +48 -0
  48. data/_sass/bootstrap/_custom-forms.scss +522 -0
  49. data/_sass/bootstrap/_dropdown.scss +192 -0
  50. data/_sass/bootstrap/_forms.scss +347 -0
  51. data/_sass/bootstrap/_functions.scss +141 -0
  52. data/_sass/bootstrap/_grid.scss +77 -0
  53. data/_sass/bootstrap/_images.scss +42 -0
  54. data/_sass/bootstrap/_input-group.scss +192 -0
  55. data/_sass/bootstrap/_jumbotron.scss +17 -0
  56. data/_sass/bootstrap/_list-group.scss +154 -0
  57. data/_sass/bootstrap/_media.scss +8 -0
  58. data/_sass/bootstrap/_mixins.scss +47 -0
  59. data/_sass/bootstrap/_modal.scss +241 -0
  60. data/_sass/bootstrap/_nav.scss +121 -0
  61. data/_sass/bootstrap/_navbar.scss +324 -0
  62. data/_sass/bootstrap/_pagination.scss +74 -0
  63. data/_sass/bootstrap/_popover.scss +170 -0
  64. data/_sass/bootstrap/_print.scss +141 -0
  65. data/_sass/bootstrap/_progress.scss +47 -0
  66. data/_sass/bootstrap/_reboot.scss +480 -0
  67. data/_sass/bootstrap/_root.scss +20 -0
  68. data/_sass/bootstrap/_spinners.scss +56 -0
  69. data/_sass/bootstrap/_tables.scss +185 -0
  70. data/_sass/bootstrap/_toasts.scss +44 -0
  71. data/_sass/bootstrap/_tooltip.scss +115 -0
  72. data/_sass/bootstrap/_transitions.scss +20 -0
  73. data/_sass/bootstrap/_type.scss +125 -0
  74. data/_sass/bootstrap/_utilities.scss +18 -0
  75. data/_sass/bootstrap/_variables.scss +1147 -0
  76. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  77. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  78. data/_sass/bootstrap/bootstrap.scss +44 -0
  79. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  80. data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
  81. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  82. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  83. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  84. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  85. data/_sass/bootstrap/mixins/_buttons.scss +110 -0
  86. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  87. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  88. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  89. data/_sass/bootstrap/mixins/_float.scss +14 -0
  90. data/_sass/bootstrap/mixins/_forms.scss +177 -0
  91. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  92. data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
  93. data/_sass/bootstrap/mixins/_grid.scss +69 -0
  94. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  95. data/_sass/bootstrap/mixins/_image.scss +36 -0
  96. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  97. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  98. data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
  99. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  100. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  101. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  102. data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
  103. data/_sass/bootstrap/mixins/_size.scss +7 -0
  104. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  105. data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
  106. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  107. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  108. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  109. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  110. data/_sass/bootstrap/utilities/_align.scss +8 -0
  111. data/_sass/bootstrap/utilities/_background.scss +19 -0
  112. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  113. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  114. data/_sass/bootstrap/utilities/_display.scss +26 -0
  115. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  116. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  117. data/_sass/bootstrap/utilities/_float.scss +11 -0
  118. data/_sass/bootstrap/utilities/_interactions.scss +5 -0
  119. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  120. data/_sass/bootstrap/utilities/_position.scss +32 -0
  121. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  122. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  123. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  124. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  125. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  126. data/_sass/bootstrap/utilities/_text.scss +71 -0
  127. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  128. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  129. data/_sass/bootstrapv5-migration.scss +79 -0
  130. data/_sass/chulapa-classes.scss +844 -0
  131. data/_sass/chulapa-master.scss +11 -0
  132. data/_sass/chulapa-misc.scss +105 -0
  133. data/_sass/chulapa-mixins.scss +77 -0
  134. data/_sass/chulapa-vars.scss +48 -0
  135. data/_sass/highlight/README.md +23 -0
  136. data/_sass/highlight/UNLICENSE.txt +24 -0
  137. data/_sass/highlight/autumn.scss +58 -0
  138. data/_sass/highlight/borland.scss +46 -0
  139. data/_sass/highlight/bw.scss +34 -0
  140. data/_sass/highlight/colorful.scss +61 -0
  141. data/_sass/highlight/cran.scss +169 -0
  142. data/_sass/highlight/default.scss +61 -0
  143. data/_sass/highlight/dracula.scss +169 -0
  144. data/_sass/highlight/emacs.scss +61 -0
  145. data/_sass/highlight/friendly.scss +61 -0
  146. data/_sass/highlight/fruity.scss +70 -0
  147. data/_sass/highlight/github.scss +61 -0
  148. data/_sass/highlight/gruvbox.light.scss +84 -0
  149. data/_sass/highlight/manni.scss +61 -0
  150. data/_sass/highlight/monokai.scss +65 -0
  151. data/_sass/highlight/murphy.scss +61 -0
  152. data/_sass/highlight/native.scss +70 -0
  153. data/_sass/highlight/pastie.scss +60 -0
  154. data/_sass/highlight/perldoc.scss +58 -0
  155. data/_sass/highlight/skeletor.scss +140 -0
  156. data/_sass/highlight/tango.scss +69 -0
  157. data/_sass/highlight/thankful_eyes.scss +173 -0
  158. data/_sass/highlight/trac.scss +59 -0
  159. data/_sass/highlight/vim.scss +70 -0
  160. data/_sass/highlight/vs.scss +33 -0
  161. data/_sass/highlight/zenburn.scss +136 -0
  162. data/_sass/reset-algolia.scss +24 -0
  163. data/_sass/skins/academia.scss +26 -0
  164. data/_sass/skins/auto.scss +26 -0
  165. data/_sass/skins/chulapa.scss +52 -0
  166. data/_sass/skins/deeply.scss +89 -0
  167. data/_sass/skins/graymor.scss +26 -0
  168. data/_sass/skins/hootstrap.scss +17 -0
  169. data/_sass/skins/journal.scss +142 -0
  170. data/_sass/skins/lux.scss +377 -0
  171. data/_sass/skins/lymcha.scss +14 -0
  172. data/_sass/skins/minty.scss +165 -0
  173. data/_sass/skins/none.scss +2 -0
  174. data/_sass/skins/pear.scss +21 -0
  175. data/_sass/skins/preptor.scss +19 -0
  176. data/_sass/skins/sketchy.scss +745 -0
  177. data/_sass/skins/sunset.scss +14 -0
  178. data/_sass/skins/twitter-dim.scss +30 -0
  179. data/_sass/skins/twitter-lights-out.scss +31 -0
  180. data/_sass/skins/twitter.scss +30 -0
  181. data/_sass/skins/universal.scss +24 -0
  182. data/_sass/skins/wandoo.scss +15 -0
  183. data/assets/atom.xml +72 -0
  184. data/assets/css/custom.scss +4 -0
  185. data/assets/css/highlighter.scss +5 -0
  186. data/assets/css/main.scss +35 -0
  187. data/assets/fonts/Chulapa/Chulapa-Bold.otf +0 -0
  188. data/assets/fonts/Chulapa/Chulapa-Bold_v2.1.otf +0 -0
  189. data/assets/fonts/Chulapa/Chulapa-Bold_v2.2.otf +0 -0
  190. data/assets/fonts/Chulapa/Chulapa-Bold_v2.otf +0 -0
  191. data/assets/fonts/Chulapa/Chulapa-Bold_vmod.otf +0 -0
  192. data/assets/fonts/Chulapa/Chulapa-Light.otf +0 -0
  193. data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
  194. data/assets/fonts/Chulapa/LICENCIA DE USO.txt +2 -0
  195. data/assets/fonts/Ferpal/Ferpal-Regular.otf +0 -0
  196. data/assets/js/algolia/algolia-search.js +148 -0
  197. data/assets/js/ch_ytdefer/ch_ytdefer.js +81 -0
  198. data/assets/js/ch_ytdefer/ch_ytdefer.min.js +1 -0
  199. data/assets/js/clipboardrouge.js +95 -0
  200. data/assets/js/google/google-search.js +24 -0
  201. data/assets/js/lunr/lunr-search.js +122 -0
  202. data/assets/js/lunr/lunr-store.js +35 -0
  203. data/assets/rss.xml +65 -0
  204. metadata +356 -0
@@ -0,0 +1,61 @@
1
+ {%- if include.internal -%}
2
+ {% assign sort = include.index_sort | default: 'modified_time' %}
3
+ {%- assign bricks = site.static_files | where: "image_col", include.internal -%}
4
+ {% if include.index_sort_asc %}
5
+ {%- assign bricks = bricks | sort: "{{sort}}" | map: "path" -%}
6
+ {% else %}
7
+ {%- assign bricks = bricks | sort: "{{sort}}" | reverse | map: "path" -%}
8
+ {% endif %}
9
+ {%- elsif include.external -%}
10
+ {%- assign bricks = include.external | strip_newlines | replace: " " , "" |split: "," -%}
11
+ {%- endif -%}
12
+ {%- assign interval = include.interval | default: 5000 -%}
13
+ {%- assign end = include.index_items | default: 100 -%}
14
+
15
+ {%- if bricks -%}
16
+ {% if include.random %}
17
+ {%- assign bricks = bricks | sample: bricks.size -%}
18
+ {%- endif -%}
19
+ {% assign id = bricks | join: ""| size %}
20
+ {% if include.indicators %}
21
+ {% assign id = id | times: 3 %}
22
+ {% endif %}
23
+ {% if include.indicators %}
24
+ {% assign id = id | times: 7 %}
25
+ {% endif %}
26
+ {% assign id = "Carousel" | append: id %}
27
+ <div id="{{ id }}" class="carousel slide" data-ride="carousel" data-interval="{{- interval -}}">
28
+ {% if include.indicators %}
29
+ <ol class="carousel-indicators">
30
+ {%- for brick in bricks limit: end -%}
31
+ {% if forloop.first == true %}
32
+ <li data-target="#{{ id }}" data-slide-to="{{ forloop.index0 }}" class="active"></li>
33
+ {% else %}
34
+ <li data-target="#{{ id }}" data-slide-to="{{ forloop.index0 }}"></li>
35
+ {% endif %}
36
+ {%- endfor -%}
37
+ </ol>
38
+ {% endif %}
39
+ <div class="carousel-inner">
40
+ {%- for brick in bricks limit: end -%}
41
+ {% if forloop.first == true %}
42
+ <div class="carousel-item active">
43
+ {% else %}
44
+ <div class="carousel-item">
45
+ {% endif %}
46
+ <img class="d-block mw-100 chulapa-carousel" src="{{- brick | absolute_url -}}" alt="Carousel Item #{{- forloop.index -}}">
47
+ </div>
48
+ {%- endfor -%}
49
+ </div>
50
+ {% if include.controls %}
51
+ <a class="carousel-control-prev" href="#{{ id }}" role="button" data-slide="prev">
52
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
53
+ <span class="sr-only">Previous</span>
54
+ </a>
55
+ <a class="carousel-control-next" href="#{{ id }}" role="button" data-slide="next">
56
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
57
+ <span class="sr-only">Next</span>
58
+ </a>
59
+ {%- endif -%}
60
+ </div>
61
+ {%- endif -%}
@@ -0,0 +1,48 @@
1
+ {%- assign dateloc = include.date | downcase -%}
2
+ {%- assign langlocale = include.lang | default: site.locale | default: "en" | downcase | slice: 0,2 -%}
3
+ {%- assign supported = "es,fr,de" | split: "," -%}
4
+
5
+ {%- assign finallang = "en" -%}
6
+ {%- for lang in supported -%}
7
+ {%- if lang == langlocale -%}
8
+ {%- assign finallang = lang -%}
9
+ {%- endif -%}
10
+ {%- endfor -%}
11
+
12
+ {%- if finallang == "en" -%}
13
+ {%- assign dateloc = dateloc -%}
14
+ {%- else -%}
15
+ {%- assign en-days = 'monday,tuesday,wednesday,thursday,friday,saturday,sunday'
16
+ | split:',' -%}
17
+ {%- assign en-months = 'january,february,march,april,may,june,july,august,september,october,november,december' | split:',' -%}
18
+ {%- if finallang == "es" -%}
19
+ {%- assign days = 'lunes,martes,miércoles,jueves,viernes,sábado,domingo'
20
+ | split:',' -%}
21
+ {%- assign months = 'enero,febrero,marzo,abril,mayo,junio,julio,agosto,septiembre,octubre,noviembre,diciembre' | split:',' -%}
22
+ {%- endif -%}
23
+ {%- if finallang == "fr" -%}
24
+ {%- assign days = 'lundi,mardi,mercredi,jeudi,vendredi,samedi,dimanche'
25
+ | split:',' -%}
26
+ {%- assign months = 'janvier,février,mars,avril,mai,juin,juillet,août,septembre,octobre,novembre,décembre'
27
+ | split:',' -%}
28
+ {%- endif -%}
29
+ {%- if finallang == "de" -%}
30
+ {%- assign days = 'montag,dienstag,mittwoch,donnerstag,freitag,samstag,sonntag'
31
+ | split:',' -%}
32
+ {%- assign months = 'januar,februar,märz,april,mai,juni,juli,august,september,oktober,november,dezember'
33
+ | split:',' -%}
34
+ {%- endif -%}
35
+
36
+ {%- for i in (0..11) -%}
37
+ {%- assign sm = en-months[i] | slice: 0,3 -%}
38
+ {%- assign sml = months[i] | slice: 0,3 -%}
39
+ {%- if i < 7 -%}
40
+ {%- assign sd = en-days[i] | slice: 0,3 -%}
41
+ {%- assign sdl = days[i] | slice: 0,3 -%}
42
+ {%- endif -%}
43
+ {%- assign dateloc = dateloc | replace: en-days[i], days[i] |
44
+ replace: en-months[i], months[i] |
45
+ replace: sm, sml | replace: sd, sdl -%}
46
+ {%- endfor -%}
47
+ {%- endif -%}
48
+ {{ dateloc }}
@@ -0,0 +1,23 @@
1
+ {%- if include.internal -%}
2
+ {% assign sort = include.index_sort | default: 'modified_time' %}
3
+ {%- assign bricks = site.static_files | where: "image_col", include.internal -%}
4
+ {% if include.index_sort_asc %}
5
+ {%- assign bricks = bricks | sort: "{{sort}}" | map: "path" -%}
6
+ {% else %}
7
+ {%- assign bricks = bricks | sort: "{{sort}}" | reverse | map: "path" -%}
8
+ {% endif %}
9
+ {%- elsif include.external -%}
10
+ {%- assign bricks =include.external | strip_newlines | replace: " " , "" |split: "," -%}
11
+ {%- endif -%}
12
+ {%- assign end = include.index_items | default: 100 -%}
13
+ {%- if bricks -%}
14
+ {% if include.random %}
15
+ {%- assign bricks = bricks | sample: bricks.size -%}
16
+ {%- endif -%}
17
+ <div class="chulapa-masonry mx-2 mt-2">
18
+ {%- for brick in bricks limit: end -%}
19
+ <img loading="lazy" class="chulapa-masonry-brick" src="{{- brick | absolute_url -}}"
20
+ alt="Masonry Item #{{- forloop.index -}}">
21
+ {%- endfor -%}
22
+ </div>
23
+ {%- endif -%}
@@ -0,0 +1,26 @@
1
+ {%- if include.fileurl -%}
2
+ <div class="embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg">
3
+ <video src="{{ include.fileurl | absolute_url }}#t=0.1" class="embed-responsive-item" controls>
4
+ Your browser does not support the video tag.
5
+ </video>
6
+ </div>
7
+ {%- else -%}
8
+ {% assign video_id = include.id %}
9
+ {% assign video_provider = include.provider %}
10
+ <!-- Thanks to Minimal Mistakes -->
11
+ <!-- https://embedresponsively.com/ -->
12
+ <div class="embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg">
13
+ {%- if video_provider == "vimeo" -%}
14
+ <iframe loading="lazy" class="embed-responsive-item" src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
15
+ {%- elsif video_provider == "youtube" -%}
16
+ <iframe loading="lazy" class="embed-responsive-item" src="https://www.youtube-nocookie.com/embed/{{ video_id }}" allowfullscreen></iframe>
17
+ {%- elsif video_provider == "google-drive" -%}
18
+ <iframe loading="lazy" class="embed-responsive-item" src="https://drive.google.com/file/d/{{ video_id }}/preview" allowfullscreen></iframe>
19
+ {%- elsif video_provider == "bilibili" -%}
20
+ <iframe loading="lazy" class="embed-responsive-item" src="https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" framespacing="0" allowfullscreen="true"></iframe>
21
+ {%- elsif video_provider == "dailymotion" -%}
22
+ <iframe loading="lazy" class="embed-responsive-item" src="https://www.dailymotion.com/embed/video/{{ video_id }}" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
23
+
24
+ {% endif %}
25
+ </div>
26
+ {% endif %}
@@ -0,0 +1,6 @@
1
+ {% assign video_id = include.id %}
2
+ <!-- Thanks to alfurka,groupboard -->
3
+ <!-- Based on https://github.com/alfurka/jekyll-embed-youtube-lazy-load -->
4
+ <div data-src="{{ video_id }}" class="ch_ytdefer embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg" style="background-image: url(https://img.youtube.com/vi/{{ video_id }}/maxresdefault.jpg); background-position: center; background-size: cover;">
5
+ <button class="ch_ytdefer_btn" aria-label="Play" style="background-image: url(&quot;data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDY4IDQ4IiB3aWR0aD0iMTAwJSI+PHBhdGggY2xhc3M9Inl0cC1sYXJnZS1wbGF5LWJ1dHRvbi1iZyIgZD0iTTY2LjUyLDcuNzRjLTAuNzgtMi45My0yLjQ5LTUuNDEtNS40Mi02LjE5QzU1Ljc5LC4xMywzNCwwLDM0LDBTMTIuMjEsLjEzLDYuOSwxLjU1IEMzLjk3LDIuMzMsMi4yNyw0LjgxLDEuNDgsNy43NEMwLjA2LDEzLjA1LDAsMjQsMCwyNHMwLjA2LDEwLjk1LDEuNDgsMTYuMjZjMC43OCwyLjkzLDIuNDksNS40MSw1LjQyLDYuMTkgQzEyLjIxLDQ3Ljg3LDM0LDQ4LDM0LDQ4czIxLjc5LTAuMTMsMjcuMS0xLjU1YzIuOTMtMC43OCw0LjY0LTMuMjYsNS40Mi02LjE5QzY3Ljk0LDM0Ljk1LDY4LDI0LDY4LDI0UzY3Ljk0LDEzLjA1LDY2LjUyLDcuNzR6IiBmaWxsPSIjMjEyMTIxIiBmaWxsLW9wYWNpdHk9IjAuOCI+PC9wYXRoPjxwYXRoIGQ9Ik0gNDUsMjQgMjcsMTQgMjcsMzQiIGZpbGw9IiNmZmYiPjwvcGF0aD48L3N2Zz4=&quot;); position: absolute; border: 0px; background-color: transparent; left: calc(50% - 73px/2); top: calc(50% - 52px/2); width: 73px; height: 52px; pointer-events: none;"></button>
6
+ </div>
@@ -0,0 +1,82 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{- content -}}
6
+
7
+
8
+ {%- if page.include_collection -%}
9
+ {%- assign cols = page.include_collection | split: "," -%}
10
+ {%- for col in cols -%}
11
+ {%- if forloop.first -%}
12
+ {%- assign alldocs = site.documents |
13
+ where_exp: "item", "item.collection == col" -%}
14
+ {%- assign showcol = false -%}
15
+ {%- else -%}
16
+ {%- assign docloop = site.documents |
17
+ where_exp: "item", "item.collection == col" -%}
18
+ {%- assign alldocs = alldocs | concat: docloop %}
19
+ {%- assign showcol = true -%}
20
+ {%- endif -%}
21
+ {%- endfor -%}
22
+ {%- else -%}
23
+ {%- assign alldocs = site.documents -%}
24
+ {%- assign showcol = true -%}
25
+ {% endif %}
26
+
27
+ {%- assign alldocs = alldocs | sort: 'date' | reverse -%}
28
+ {%- if page.include_missdates -%}
29
+ {%- else -%}
30
+ {%- assign alldocs = alldocs | where_exp: "item", "item.date != nil" -%}
31
+ {%- endif -%}
32
+
33
+
34
+ {%- assign postsInYear = alldocs | group_by_exp: 'post', 'post.date | date: "%Y"' -%}
35
+ <div class="row row-cols-1 row-cols-sm-2 pt-5 mx-n1" id="years">
36
+ {%- for year in postsInYear -%}
37
+ <div class="col-sm-6 chulapa-links-hover-only py-2">
38
+ <a href="#{{ year.name | default: "-" }}" class="d-flex justify-content-between align-items-center border-bottom ">
39
+ {{ year.name | default: "NA" }} <span class="badge rounded-pill chulapa-pill-bg-primary">{{ year.items | size }}</span>
40
+ </a>
41
+ </div>
42
+ {%- endfor -%}
43
+ </div>
44
+
45
+ {%- for year in postsInYear -%}
46
+ <section id="{{ year.name | default: "NA" }}" class="mt-2 chulapa-archive">
47
+ <h2 class="border-bottom border-chulapa">{{ year.name | default: "NA" }}</h2>
48
+ {%- assign postsInMonth = year.items | group_by_exp: 'post', 'post.date | date: "%B"' -%}
49
+ {%- for month in postsInMonth -%}
50
+ {%- assign dateformat = month.name -%}
51
+ {% if dateformat %}
52
+ <h5 class="font-weight-light">{% include_cached snippets/datetranslate.html date=dateformat %}</h5>
53
+ {% endif %}
54
+ {%- for document in month.items -%}
55
+ <div class="ml-2 my-1">
56
+ <div class="row g-0">
57
+ <article class="col">
58
+ <h6 class="my-2"><a href="{{- document.url | absolute_url -}}" class="chulapa-text-body-color">{{ document.title }}</a></h6>
59
+ <p class="small mb-1">
60
+ {% if document.date %}
61
+ {% assign dateformat = document.date | date: "%A, %d" %}
62
+ <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
63
+ {% if document.last_modified_at %} <i class="fa fa-redo fa-sm" aria-hidden="true"></i>{% endif %}
64
+ {% endif %}
65
+ {%- if showcol -%}
66
+ <span class="mx-1 my-1 badge chulapa-pill-bg-body">{{ document.collection }}</span>
67
+ {%- endif -%}
68
+ </p>
69
+ </article>
70
+ {%- if document.header_img or document.og_image -%}
71
+ <a href="{{- document.url | absolute_url -}}" class="col-2 ml-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')"></a>
72
+ {%- endif -%}
73
+ </div>
74
+ </div>
75
+ {% endfor %}
76
+ <hr class="w-50 bg-light">
77
+ {% endfor %}
78
+ <div class="text-right">
79
+ <a href="#years" class="btn btn-lg border-0 chulapa-text-body-color"><i class="fa fa-chevron-up fa-lg" aria-hidden="true"></i><span class="sr-only">Top</span></a>
80
+ </div>
81
+ </section>
82
+ {% endfor %}
@@ -0,0 +1,89 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{- content -}}
6
+
7
+
8
+ {%- if page.include_collection -%}
9
+ {%- assign cols = page.include_collection | split: "," -%}
10
+ {%- for col in cols -%}
11
+ {%- if forloop.first -%}
12
+ {%- assign alldocs = site.documents |
13
+ where_exp: "item", "item.collection == col" -%}
14
+ {%- assign showcol = false -%}
15
+ {%- else -%}
16
+ {%- assign docloop = site.documents |
17
+ where_exp: "item", "item.collection == col" -%}
18
+ {%- assign alldocs = alldocs | concat: docloop %}
19
+ {%- assign showcol = true -%}
20
+ {%- endif -%}
21
+ {%- endfor -%}
22
+ {%- else -%}
23
+ {%- assign alldocs = site.documents -%}
24
+ {%- assign showcol = true -%}
25
+ {% endif %}
26
+
27
+ {% assign alldocs = alldocs | sort: 'date' | reverse %}
28
+ {% assign groupcategory = alldocs | map: 'categories' | join: ',' | split: ',' | group_by: category | sort: 'size' | reverse %}
29
+
30
+
31
+ {%- for category in groupcategory -%}
32
+ {%- if forloop.first -%}
33
+ {%- assign sizemax = category.size -%}
34
+ {%- elsif forloop.last -%}
35
+ {% assign mid = category.size | plus: sizemax | divided_by: 2 %}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+
39
+
40
+ <div class="row g-0 pt-5" id="categories">
41
+ <div class="col">
42
+ {%- for category in groupcategory -%}
43
+ <a href="#{{- category.name | replace: " ", "-" -}}" class="btn btn-secondary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ category.size }}rem - {{ mid }}rem))));"><i class="far fa-folder-open mr-2" aria-hidden="true"></i>{{- category.name -}}<span class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{category.size}}</span></a>
44
+ {%- endfor -%}
45
+ </div>
46
+ </div>
47
+
48
+ {% assign words_per_minute = site.words_per_minute | default: 200 %}
49
+ {% for category in groupcategory %}
50
+ <section id="{{- category.name | replace: " ", "-" -}}" class="py-3 chulapa-cloudcategory">
51
+ <div class="d-flex align-items-center border-bottom border-chulapa mt-5">
52
+ <h5 class="my-0"><i class="far fa-folder-open mr-1" aria-hidden="true"></i>{{- category.name -}} </h5>
53
+ <div class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{category.size}}</div>
54
+ </div>
55
+ {% for document in alldocs %}
56
+ {% assign words = document.content | strip_html | number_of_words %}
57
+ {% assign readtime = "< 1’" | escape_once %}
58
+ {% if words > words_per_minute %}
59
+ {% assign readtime = words | divided_by:words_per_minute | append: "’" %}
60
+ {% endif %}
61
+ {% if document.categories contains category.name %}
62
+ <article class="chulapa-links-hover-only my-1 mb-4 row g-0">
63
+ <div class="col">
64
+ <h6><a href="{{ document.url | absolute_url }}">{{ document.title }}</a></h6>
65
+ {%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
66
+ <div class="small">
67
+ {% if document.date %}
68
+ {% assign dateformat = document.date | date: "%B %d, %Y" %}
69
+ <i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
70
+ {% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
71
+ {% endif %}
72
+ <i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
73
+ {%- if showcol -%}
74
+ <span class="ml-2 badge chulapa-pill-bg-body">{{ document.collection }}</span>
75
+ {%- endif -%}
76
+ </div>
77
+ </div>
78
+ {% if document.header_img or document.og_image %}
79
+ <a href="{{ document.url | absolute_url }}" class="col-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')">
80
+ </a>
81
+ {% endif %}
82
+ </article>
83
+ {% endif %}
84
+ {% endfor %}
85
+ <div class="text-right">
86
+ <a href="#categories" class="btn btn-lg border-0 chulapa-text-body-color"><i class="fa fa-chevron-up fa-lg" aria-hidden="true"></i><span class="sr-only">Top</span></a>
87
+ </div>
88
+ </section>
89
+ {% endfor %}
@@ -0,0 +1,86 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{- content -}}
6
+
7
+ {%- if page.include_collection -%}
8
+ {%- assign cols = page.include_collection | split: "," -%}
9
+ {%- for col in cols -%}
10
+ {%- if forloop.first -%}
11
+ {%- assign alldocs = site.documents |
12
+ where_exp: "item", "item.collection == col" -%}
13
+ {%- assign showcol = false -%}
14
+ {%- else -%}
15
+ {%- assign docloop = site.documents |
16
+ where_exp: "item", "item.collection == col" -%}
17
+ {%- assign alldocs = alldocs | concat: docloop %}
18
+ {%- assign showcol = true -%}
19
+ {%- endif -%}
20
+ {%- endfor -%}
21
+ {%- else -%}
22
+ {%- assign alldocs = site.documents -%}
23
+ {%- assign showcol = true -%}
24
+ {% endif %}
25
+
26
+
27
+ {% assign alldocs = alldocs | sort: 'date' | reverse %}
28
+ {% assign grouptag = alldocs | map: 'tags' | join: ',' | split: ',' | group_by: tag | sort: 'size' | reverse %}
29
+ {%- for tag in grouptag -%}
30
+ {%- if forloop.first -%}
31
+ {%- assign sizemax = tag.size -%}
32
+ {%- elsif forloop.last -%}
33
+ {% assign mid = tag.size | plus: sizemax | divided_by: 2 %}
34
+ {%- endif -%}
35
+ {%- endfor -%}
36
+
37
+ <div class="row g-0 pt-5" id="tags">
38
+ <div class="col">
39
+ {%- for tag in grouptag -%}
40
+ <a href="#{{- tag.name | replace: " ", "-" -}}" class="btn btn-primary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ tag.size }}rem - {{ mid }}rem))));"><i class="fa fa-tag mr-2" aria-hidden="true"></i>{{- tag.name -}}<span class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag.size}}</span></a>
41
+ {%- endfor -%}
42
+ </div>
43
+ </div>
44
+
45
+ {% assign words_per_minute = site.words_per_minute | default: 200 %}
46
+ {% for tag in grouptag %}
47
+ <section id="{{- tag.name | replace: " ", "-" -}}" class="py-3 chulapa-cloudtag">
48
+ <div class="d-flex align-items-center border-bottom border-chulapa mt-5">
49
+ <h5 class="my-0"><i class="fa fa-tag mr-1" aria-hidden="true"></i>{{- tag.name -}} </h5>
50
+ <div class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag.size}}</div>
51
+ </div>
52
+ {% for document in alldocs %}
53
+ {% assign words = document.content | strip_html | number_of_words %}
54
+ {% assign readtime = "< 1’" | escape_once %}
55
+ {% if words > words_per_minute %}
56
+ {% assign readtime = words | divided_by:words_per_minute | append: "’" %}
57
+ {% endif %}
58
+ {% if document.tags contains tag.name %}
59
+ <article class="chulapa-links-hover-only my-1 mb-4 row g-0">
60
+ <div class="col">
61
+ <h6><a href="{{ document.url | absolute_url }}">{{ document.title }}</a></h6>
62
+ {%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
63
+ <div class="small">
64
+ {% if document.date %}
65
+ {% assign dateformat = document.date | date: "%B %d, %Y" %}
66
+ <i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
67
+ {% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
68
+ {% endif %}
69
+ <i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
70
+ {%- if showcol -%}
71
+ <span class="ml-2 badge chulapa-pill-bg-body">{{ document.collection }}</span>
72
+ {%- endif -%}
73
+ </div>
74
+ </div>
75
+ {% if document.header_img or document.og_image %}
76
+ <a href="{{ document.url | absolute_url }}" class="col-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')">
77
+ </a>
78
+ {% endif %}
79
+ </article>
80
+ {% endif %}
81
+ {% endfor %}
82
+ <div class="text-right">
83
+ <a href="#tags" class="btn btn-lg border-0 chulapa-text-body-color"><i class="fa fa-chevron-up fa-lg" aria-hidden="true"></i><span class="sr-only">Top</span></a>
84
+ </div>
85
+ </section>
86
+ {% endfor %}
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.0.1
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% assign _lastchar = _pres.last | split: "" | last %}{% assign _outerloop = forloop %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if forloop.last and _lastchar == _LINE_FEED %}{% unless _outerloop.last %}{{ _LINE_FEED }}{% endunless %}{% continue %}{% endif %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,39 @@
1
+ ---
2
+ layout: minimal
3
+ ---
4
+ {% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
5
+ <main class="container-lg pb-3 flex-fill">
6
+ {% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
7
+ {%- include components/breadcrumbdatesocial.html -%}
8
+ {% endif %}
9
+ <div class="row pt-2">
10
+ <aside class="col-lg-2 mt-lg-3 small">
11
+ {%- if page.show_author -%}
12
+ {% include components/author.html %}
13
+ {%- endif -%}
14
+ </aside>
15
+ <article class="col-lg-8 mt-3">
16
+ {% if page.show_toc %}
17
+ {% assign h_min = page.h_min | default: 2 %}
18
+ {% assign h_max = page.h_max | default: 4 %}
19
+ {% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skipNoIDs=true id="toc" class="chulapa-toc-wrapper.list-group.mb-5.mx-3.mx-lg-5" item_class="list-group-item.font-weight-bold.py-1.pr-0.mr-0.chulapa-toc-reset" %}
20
+ {% endif %}
21
+ {{- content -}}
22
+ </article>
23
+ </div>
24
+ </main>
25
+ {%- if page.show_bottomnavs -%}
26
+ {%- include components/navbeforeafter.html -%}
27
+ {%- endif -%}
28
+ {%- if page.show_categories -%}
29
+ {% assign size = page.categories | size %}
30
+ {% if size > 0 %}
31
+ {%- include components/categories.html-%}
32
+ {% endif %}
33
+ {%- endif -%}
34
+ {%- if page.show_tags -%}
35
+ {% assign size = page.tags | size %}
36
+ {% if size > 0 %}
37
+ {%- include components/tags.html-%}
38
+ {% endif %}
39
+ {%- endif -%}
@@ -0,0 +1,36 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{- content -}}
6
+
7
+ {%- if page.include_collection -%}
8
+ {%- assign cols = page.include_collection | split: "," -%}
9
+ {%- for col in cols -%}
10
+ {%- if forloop.first -%}
11
+ {%- assign alldocs = site.documents |
12
+ where_exp: "item", "item.collection == col" -%}
13
+ {%- assign showcol = false -%}
14
+ {%- else -%}
15
+ {%- assign docloop = site.documents |
16
+ where_exp: "item", "item.collection == col" -%}
17
+ {%- assign alldocs = alldocs | concat: docloop %}
18
+ {%- assign showcol = true -%}
19
+ {%- endif -%}
20
+ {%- endfor -%}
21
+ {%- else -%}
22
+ {%- assign alldocs = site.documents -%}
23
+ {%- assign showcol = true -%}
24
+ {% endif %}
25
+
26
+ {% assign sort = page.index_sort | default: 'name' %}
27
+
28
+ {% if page.index_sort_asc %}
29
+ {% assign alldocs = alldocs | sort: "{{sort}}" %}
30
+ {% else %}
31
+ {% assign alldocs = alldocs | sort: "{{sort}}" | reverse %}
32
+ {% endif %}
33
+
34
+ {% assign end = page.index_items | default: 10 %}
35
+
36
+ {% include_cached components/indexcards.html cacheddocs=alldocs cachedlimit=end %}
@@ -0,0 +1,51 @@
1
+ ---
2
+ layout: minimal
3
+ ---
4
+ <div class="chulapa-bg-landingpage">
5
+ {% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
6
+ </div>
7
+ <div class="chulapa-bg-landingpage flex-fill">
8
+ <main class="container-lg pb-3 chulapa-landingpage-color chulapa-bg-landingpage">
9
+ {% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
10
+ {%- include components/breadcrumbdatesocial.html -%}
11
+ {% endif %}
12
+ <div class="row pt-2">
13
+ <aside class="col-lg-2 mt-lg-3 small">
14
+ {%- if page.show_author -%}
15
+ {% include components/author.html %}
16
+ {%- endif -%}
17
+ </aside>
18
+ <article class="col-lg-8 mt-3">
19
+ {% if page.show_toc %}
20
+ {% assign h_min = page.h_min | default: 2 %}
21
+ {% assign h_max = page.h_max | default: 4 %}
22
+ {% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skipNoIDs=true id="toc" class="chulapa-toc-wrapper.list-group.mb-5.mx-3.mx-lg-5" item_class="list-group-item.font-weight-bold.py-1.pr-0.mr-0.chulapa-toc-reset" %}
23
+ {% endif %}
24
+ {{- content -}}
25
+ </article>
26
+ </div>
27
+ </main>
28
+ </div>
29
+ <div class="chulapa-bg-landingpage">
30
+ {%- if page.show_bottomnavs -%}
31
+ <div class="chulapa-landingpage-color">
32
+ {%- include components/navbeforeafter.html -%}
33
+ </div>
34
+ {%- endif -%}
35
+ {%- if page.show_categories -%}
36
+ {% assign size = page.categories | size %}
37
+ {% if size > 0 %}
38
+ <div class="chulapa-landingpage-badges">
39
+ {%- include components/categories.html-%}
40
+ </div>
41
+ {% endif %}
42
+ {%- endif -%}
43
+ {%- if page.show_tags -%}
44
+ {% assign size = page.tags | size %}
45
+ {% if size > 0 %}
46
+ <div class="chulapa-landingpage-badges chulapa-landingpage-tag">
47
+ {%- include components/tags.html-%}
48
+ </div>
49
+ {% endif %}
50
+ {%- endif -%}
51
+ </div>
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+ <!doctype html>
5
+ <html lang="{{- site.locale | default: 'en-US' -}}">
6
+ {%- include head.html -%}
7
+ <body class="d-flex flex-column">
8
+ {% include_cached navbar.html pageurl=page.url %}
9
+ {{- content -}}
10
+ {%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id -%}
11
+ <!-- JS, Popper.js, and jQuery -->
12
+ <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
13
+ <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
14
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
16
+ <script src="{{ './assets/js/clipboardrouge.js' | absolute_url }}"></script>
17
+ <!-- Chulape Deferred (lazy) loading of YouTube videos, to improve page speed -->
18
+ <script>window.addEventListener('load', ch_ytdefer_setup);</script>
19
+ {% include custom/custom_bottomscripts.html %}
20
+ </body>
21
+ </html>