chulapa-jekyll 2.1.0 → 2.2.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 (237) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +116 -0
  3. data/README.md +189 -204
  4. data/_data/version.yml +2 -2
  5. data/_includes/components/archive-documents.html +56 -0
  6. data/_includes/components/author.html +6 -1
  7. data/_includes/components/breadcrumbdatesocial.html +1 -1
  8. data/_includes/components/cactus.html +2 -1
  9. data/_includes/components/cloud-entry.html +26 -0
  10. data/_includes/components/cloud.html +66 -0
  11. data/_includes/components/collection-documents.html +17 -0
  12. data/_includes/components/footer-content.html +34 -0
  13. data/_includes/components/headers.html +5 -5
  14. data/_includes/components/indexcards.html +13 -10
  15. data/_includes/components/indexcategory-documents.html +11 -0
  16. data/_includes/components/navbar-classic.html +58 -0
  17. data/_includes/components/navbeforeafter.html +7 -4
  18. data/_includes/components/navigation-fallback.html +19 -0
  19. data/_includes/components/random.html +1 -103
  20. data/_includes/components/recommendations.html +97 -0
  21. data/_includes/components/related.html +1 -96
  22. data/_includes/components/scripts.html +9 -0
  23. data/_includes/components/sidetoc.html +5 -4
  24. data/_includes/components/simplelist.html +6 -6
  25. data/_includes/components/skin-attribution.html +169 -0
  26. data/_includes/components/theme-selector.html +14 -0
  27. data/_includes/footer.html +14 -217
  28. data/_includes/head.html +265 -257
  29. data/_includes/navbar.html +33 -77
  30. data/_includes/search/fusejs.html +3 -19
  31. data/_includes/search/google.html +3 -3
  32. data/_includes/search/lunr.html +3 -11
  33. data/_includes/search/simplesearch.html +6 -6
  34. data/_includes/snippets/bootstrapdemo.html +28 -10
  35. data/_includes/snippets/carousel.html +16 -12
  36. data/_includes/snippets/dark-skin-enabled.html +14 -0
  37. data/_includes/snippets/masonry.html +6 -4
  38. data/_includes/snippets/microformats-url.html +2 -0
  39. data/_includes/snippets/publisher.html +15 -18
  40. data/_includes/snippets/video.html +6 -6
  41. data/_includes/snippets/youtube.html +10 -4
  42. data/_includes/theme-styles.html +201 -0
  43. data/_includes/welcomments/comment_form.html +5 -4
  44. data/_includes/welcomments/comments.html +5 -5
  45. data/_layouts/archive.html +2 -75
  46. data/_layouts/cloudcategory.html +2 -101
  47. data/_layouts/cloudtag.html +2 -103
  48. data/_layouts/compress.html +1 -1
  49. data/_layouts/default.html +17 -6
  50. data/_layouts/indexcategory.html +2 -30
  51. data/_layouts/landingpage.html +6 -4
  52. data/_layouts/minimal.html +12 -8
  53. data/_layouts/search.html +6 -5
  54. data/_sass/bootstrap/_variables.scss +1 -1
  55. data/_sass/bootstrap/mixins/_badge.scss +1 -1
  56. data/_sass/chulapa/_autothemer.scss +31 -0
  57. data/_sass/chulapa/_buttons.scss +101 -0
  58. data/_sass/chulapa/_classes.scss +137 -9
  59. data/_sass/chulapa/_mixins.scss +42 -1
  60. data/_sass/chulapa/_theme-selector.scss +1 -0
  61. data/_sass/chulapa/skins/_deeply.scss +229 -0
  62. data/_sass/chulapa/skins/_electro.scss +30 -0
  63. data/_sass/chulapa/skins/_graymor.scss +39 -0
  64. data/_sass/chulapa/skins/_hootstrap.scss +34 -0
  65. data/_sass/chulapa/skins/_lymcha.scss +27 -0
  66. data/_sass/chulapa/skins/_mickie.scss +38 -0
  67. data/_sass/chulapa/skins/_minco.scss +45 -0
  68. data/_sass/chulapa/skins/_monotone.scss +15 -0
  69. data/_sass/chulapa/skins/_preptor.scss +30 -0
  70. data/_sass/chulapa/skins/_skeeblu.scss +34 -0
  71. data/_sass/chulapa/skins/_sunset.scss +33 -0
  72. data/_sass/chulapa/skins/_wandoo.scss +22 -0
  73. data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
  74. data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
  75. data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
  76. data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
  77. data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
  78. data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
  79. data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
  80. data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
  81. data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
  82. data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
  83. data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
  84. data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
  85. data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
  86. data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
  87. data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
  88. data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
  89. data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
  90. data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
  91. data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
  92. data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
  93. data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
  94. data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
  95. data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
  96. data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
  97. data/_sass/chulapa-master.scss +10 -0
  98. data/_sass/skins/academia.scss +28 -0
  99. data/_sass/skins/auto.scss +23 -28
  100. data/_sass/skins/butterfly-dark.scss +22 -3
  101. data/_sass/skins/butterfly-dim.scss +32 -5
  102. data/_sass/skins/butterfly.scss +35 -3
  103. data/_sass/skins/cerulean.scss +120 -0
  104. data/_sass/skins/chulapa.scss +23 -3
  105. data/_sass/skins/cyborg.scss +3 -512
  106. data/_sass/skins/darkly.scss +3 -424
  107. data/_sass/skins/deeply.scss +10 -279
  108. data/_sass/skins/electro.scss +4 -25
  109. data/_sass/skins/flatly.scss +3 -386
  110. data/_sass/skins/focal.scss +33 -2
  111. data/_sass/skins/gitdev-dark.scss +19 -8
  112. data/_sass/skins/gitdev.scss +2 -2
  113. data/_sass/skins/graymor.scss +7 -30
  114. data/_sass/skins/hootstrap.scss +5 -19
  115. data/_sass/skins/journal.scss +3 -131
  116. data/_sass/skins/listen.scss +35 -3
  117. data/_sass/skins/litera.scss +281 -0
  118. data/_sass/skins/lux.scss +3 -310
  119. data/_sass/skins/lymcha.scss +4 -17
  120. data/_sass/skins/materia.scss +3 -889
  121. data/_sass/skins/media.scss +11 -1
  122. data/_sass/skins/mickie.scss +7 -26
  123. data/_sass/skins/minco.scss +10 -29
  124. data/_sass/skins/minty.scss +3 -309
  125. data/_sass/skins/monotone.scss +6 -24
  126. data/_sass/skins/navi.scss +29 -1
  127. data/_sass/skins/none.scss +24 -2
  128. data/_sass/skins/pear.scss +34 -1
  129. data/_sass/skins/preptor.scss +6 -16
  130. data/_sass/skins/pulse.scss +158 -0
  131. data/_sass/skins/skeeblu.scss +6 -17
  132. data/_sass/skins/sketchy.scss +3 -735
  133. data/_sass/skins/slate.scss +3 -719
  134. data/_sass/skins/solar.scss +3 -425
  135. data/_sass/skins/sunset.scss +6 -26
  136. data/_sass/skins/towards.scss +26 -1
  137. data/_sass/skins/twitter-dim.scss +43 -5
  138. data/_sass/skins/twitter-lights-out.scss +25 -3
  139. data/_sass/skins/twitter.scss +32 -3
  140. data/_sass/skins/united.scss +3 -57
  141. data/_sass/skins/universal.scss +17 -0
  142. data/_sass/skins/wandoo.scss +6 -12
  143. data/_sass/skins/yeti.scss +3 -673
  144. data/_sass/vendor/bootswatch/LICENSE +21 -0
  145. data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
  146. data/_sass/vendor/bootswatch/README.md +57 -0
  147. data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
  148. data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
  149. data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
  150. data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
  151. data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
  152. data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
  153. data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
  154. data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
  155. data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
  156. data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
  157. data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
  158. data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
  159. data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
  160. data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
  161. data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
  162. data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
  163. data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
  164. data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
  165. data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
  166. data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
  167. data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
  168. data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
  169. data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
  170. data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
  171. data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
  172. data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
  173. data/_sass/vendor/bootswatch/source.json +86 -0
  174. data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
  175. data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
  176. data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
  177. data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
  178. data/_sass/vendor/tophat/LICENSE +21 -0
  179. data/_sass/vendor/tophat/README.md +38 -0
  180. data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
  181. data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
  182. data/_sass/vendor/tophat/deeply/theme.scss +77 -0
  183. data/_sass/vendor/tophat/electro/_styles.scss +5 -0
  184. data/_sass/vendor/tophat/electro/_variables.scss +23 -0
  185. data/_sass/vendor/tophat/electro/theme.scss +28 -0
  186. data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
  187. data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
  188. data/_sass/vendor/tophat/graymor/theme.scss +24 -0
  189. data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
  190. data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
  191. data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
  192. data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
  193. data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
  194. data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
  195. data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
  196. data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
  197. data/_sass/vendor/tophat/mickie/theme.scss +17 -0
  198. data/_sass/vendor/tophat/minco/_styles.scss +5 -0
  199. data/_sass/vendor/tophat/minco/_variables.scss +14 -0
  200. data/_sass/vendor/tophat/minco/theme.scss +18 -0
  201. data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
  202. data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
  203. data/_sass/vendor/tophat/monotone/theme.scss +18 -0
  204. data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
  205. data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
  206. data/_sass/vendor/tophat/preptor/theme.scss +18 -0
  207. data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
  208. data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
  209. data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
  210. data/_sass/vendor/tophat/source.json +57 -0
  211. data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
  212. data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
  213. data/_sass/vendor/tophat/sunset/theme.scss +16 -0
  214. data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
  215. data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
  216. data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
  217. data/assets/css/dark/highlighter.scss +10 -0
  218. data/assets/css/dark/main.scss +43 -0
  219. data/assets/css/highlighter.scss +6 -1
  220. data/assets/css/main.scss +12 -3
  221. data/assets/css/search-fusejs.css +14 -0
  222. data/assets/css/search-lunr.css +7 -0
  223. data/assets/js/better404/better404.js +31 -38
  224. data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -82
  225. data/assets/js/chulapa_carousel.js +115 -0
  226. data/assets/js/chulapa_mermaid.js +31 -0
  227. data/assets/js/chulapa_navigation.js +71 -0
  228. data/assets/js/chulapa_photoswipe.js +106 -0
  229. data/assets/js/chulapa_script.js +198 -76
  230. data/assets/js/chulapa_search.js +89 -0
  231. data/assets/js/clipboard/chulapa_clipboard.js +17 -108
  232. data/assets/js/cusdis/chulapa_cusdis.js +1 -1
  233. data/assets/js/fusejs/fusejs-search.js +5 -140
  234. data/assets/js/fusejs/fusejs-search.min.js +4 -4
  235. data/assets/js/lunr/lunr-search.js +7 -130
  236. data/assets/js/lunr/lunr-search.min.js +1 -1
  237. metadata +141 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f5b93dc31ed5314fd3e8487d409798921fbef9e37c75704e119f6fcdf60ce4f
4
- data.tar.gz: ea97a1defb6380837241265e742dbeda4a8c3cee77669b125d68327893903512
3
+ metadata.gz: fad51b71e1a6f89f172da93d51eaa17c4f1d5c243faaf1292902f2048814ca81
4
+ data.tar.gz: 91c4d1a734f96e324e58879c7132a3871a24de33980a84cda528c899981199d7
5
5
  SHA512:
6
- metadata.gz: 7a29697a6536c86f430080afd2fea2051a57b850dfdd2e6616d6baf3b77e63872a2e89711d7b015ba44f2709941d5839890b0a8cfba38a82267d93ca18da3f4d
7
- data.tar.gz: 5bb7f6eba382b5c5a9629f4b0f221c7ec2090185ed7c21d7731de9183fa87a82e4eb5558499cf0691a42269dc66b248e2210bf8845a95449408730531492d84b
6
+ metadata.gz: 24a3884d59c20e752b039563092a8b04818b845723cb0f3af59d65ecc46ad0c1dc68ea8217f583947e7662bce55adfd32d8c26ab82b217a70690df1641175c29
7
+ data.tar.gz: 5d4f64dbe6b0787d9b440128dfc7878ff1ba8e6dd99845ec245fa4ef999b8dd4e11bda181bef4466bd422eaa86493da9f209489d0f1663e0a608dc52f7be1781
data/CHANGELOG.md CHANGED
@@ -1,3 +1,119 @@
1
+ ## v2.2.0 (2026-10-21)
2
+
3
+ ### Added
4
+
5
+ - Standardize skin catalog images and activation guidance with shared preview generation and documentation templates, showing each skin's default Chulapa navbar.
6
+
7
+ - Add Cerulean, Litera and Pulse using original Bootswatch 4.6.2 Sass, preserving their palettes, typography and component styling, with catalog previews and documented contrast limitations.
8
+
9
+ - Add an opt-in light/dark/auto skin selector to classic, floating and dual navigation, preserving preferences and applying the selected skin before the first paint (#165).
10
+
11
+ - Support opt-in GoatCounter analytics with a public HTTPS endpoint, loaded asynchronously only for production builds.
12
+
13
+ - Add opt-in PhotoSwipe image viewers to masonry galleries and carousels with lazy loading, keyboard and touch controls, reduced-motion support and original-image fallbacks.
14
+
15
+ - Highlight the current section in in-page, sidebar and kramdown tables of contents while scrolling, with accessible current-location links and unchanged keyboard navigation.
16
+
17
+ - Mark archive, category and tag indexes and the pagination example as Microformats2 feeds with structured entries, without additional configuration.
18
+
19
+ - Provide complete personal blog, technical blog, portfolio and project starter examples with a start guide and YAML demos.
20
+
21
+ - Render Mermaid diagrams with `mermaid: true`, loading the library only on enabled pages containing diagrams and preserving source when rendering fails.
22
+
23
+ ### Fixed
24
+
25
+ - Keep live theme selector styles conditional on dark-mode configuration, including standalone skin preview stylesheets, while retaining the always-visible component demo.
26
+
27
+ - Generate both dark stylesheets under `assets/css/dark/`, moving the dark highlighter to `dark/highlighter.css` and updating paired loading and fallback checks.
28
+
29
+ - Limit button palette corrections to unchanged stock colors, respect configured semantic colors and page backgrounds, and keep Auto-specific button styles out of Autothemer palette filling for other skins.
30
+
31
+ - Restore original light labels on filled skin buttons consistently across interaction states, and improve low-contrast outline labels and borders on each skin’s page background while preserving global palette colors. Bring all eight solid-button variants in the 16 original dieghernan skins to AA text contrast in normal, hover, focus and active states; also adjust Hootstrap Primary. Keep Listen’s readable dark labels and Chulapa Success’s pastel resting fill. Other authors’ original filled-button limitations remain intentional.
32
+
33
+ - Restore readable Flatly alert text on Bootstrap’s pale contextual backgrounds, including inline code and links in hover/focus states, without changing the palette.
34
+
35
+ - Choose linked badge hover/focus text from the darkened background so labels retain contrast when the pointer or keyboard focus enters the link.
36
+
37
+ - Improve bundled skin contrast with small palette and YIQ threshold adjustments while preserving original primary colors and skin identity. Keep dim-skin link accents and semantic text readable, and preserve previously readable button interaction states. Some original combinations remain below 4.5:1; custom colors and component states still require review.
38
+
39
+ - Make available Previous/Next document links keyboard reachable, omit interactive missing neighbors, and keep default-layout headings inside main while excluding theme TOCs from editorial Microformats content. Preserve inherited listing feeds.
40
+
41
+ - Keep skin switching functional when imported Google Fonts CSS fails, preserving the skins' font imports and standalone previews. Verify completed theme CSS before activation and retain safe recovery for missing or incomplete skin/highlighter sheets.
42
+
43
+ - Encode Cactus conversation identifiers without forbidden characters or path collisions and include `baseurl` in Welcomments form permalinks; review existing Cactus thread mappings before upgrading (#125).
44
+
45
+ - Respect each document's `show_date: false` in tag/category cloud entries and their aliases, hiding fallback publication dates while preserving reading time (#154).
46
+
47
+ - Render the classic-navbar demo with the same menu component and shared script dependencies as the theme, preserving native dropdown controls and configured expansion.
48
+
49
+ - Give the sidebar TOC trigger a theme-specific ID so it does not intercept links to the `demo` tag or category group.
50
+
51
+ - Match tag and category badge links to cloud group IDs for names containing `demo`, without rewriting those names to `dmo`.
52
+
53
+ - Related and random cards respect a candidate's `show_date: false`, allowing undated documentation to hide Jekyll's fallback build date.
54
+
55
+ - Keep Chulapa skin dropdown navigation buttons in the same font as menu links, excluding them from the general heading-font button rule.
56
+
57
+ - Use Font Awesome play/pause icons for carousel motion controls, preserving accessible action names and visible symbols when icon assets are unavailable.
58
+
59
+ - Preserve skin-defined navbar typography, capitalization, text shadows and borders on native dropdown buttons, allowing direct custom `.nav-link` rules to override their defaults.
60
+
61
+ - Trim video names before applying accessible-label fallbacks, including whitespace-only values supplied by Liquid captures or legacy deferred-player markup.
62
+
63
+ - Initialize carousels and react to reduced-motion preference changes when browsers expose only the legacy media-query listener API.
64
+
65
+ - Initialize cached carousels rendered directly by custom layouts, sharing their deferred controller module, and derive thumbnail link names from rendered Markdown titles.
66
+
67
+ - Keep closed lateral TOCs outside the focus order, support Escape with focus restoration, and enlarge their controls. Provide carousel pause/start controls and accessible indicators, respect reduced-motion preferences and keyboard interaction, identify video players by name and wrap long headings when text is enlarged.
68
+
69
+ - Improve list and search heading structure, name collection thumbnail links, announce local search result counts, label the Welcomments comment field and avoid empty author landmarks. Mark current navbar destinations and use native buttons for dropdowns and carousel controls while preserving their appearance.
70
+
71
+ - Keep custom search demos and the Lunr-enabled 404 page functional with the shared search helper and one copy of common JavaScript dependencies.
72
+
73
+ - Initialize floating navigation on search pages without loading the content script, and retain initial menu focus while visibility animates.
74
+
75
+ - Keep code copying and accessible feedback available without jQuery or Bootstrap, reuse the maintained implementation for the legacy clipboard asset, and avoid accidental heading and code globals.
76
+
77
+ - Correct two-character search highlighting, validate Cusdis resize messages against the comment iframe, and retain a baseurl-aware home link when 404 suggestions cannot read a usable sitemap.
78
+
79
+ - Insert deferred YouTube players on activation without a player API race, prevent duplicate players and provide a no-JavaScript video link.
80
+
81
+ - Keep the single eligible document in random recommendations instead of rendering empty cards.
82
+
83
+ - Respect the selected `index_sort` field in collection card indexes, internal masonry galleries and carousels; show all current demos in ascending filename order on the demo index.
84
+
85
+ - Associate Google and simple search labels with their input and load Lunr/Fuse attribution styles from stylesheets rather than body style blocks.
86
+
87
+ - Give navbar dropdowns a valid named group role, move no-JavaScript navigation styles into the head and remove redundant void-element slashes, JavaScript types and the empty comments section warning from theme templates.
88
+
89
+ - Name the lateral table of contents and footer link navigation for assistive technology, using a native navigation element for footer links.
90
+
91
+ - Close the Cactus comments container correctly so browsers do not need to repair the footer structure.
92
+
93
+ - Preserve publication dates on updated pages and author profile URLs in Microformats2, and stop declaring automatic entries for unrestricted minimal layouts ([#86](https://github.com/dieghernan/chulapa/issues/86)).
94
+
95
+ - Make floating navigation operable with keyboard input, reveal focused heading permalinks, name card image links and improve text link contrast in the Chulapa, Navi, Journal and Flatly skins.
96
+
97
+ - Header project links no longer announce themselves as disabled buttons to assistive technology.
98
+
99
+ - Code copy buttons wait for clipboard writes, report failures and no longer clear the clipboard before copying.
100
+
101
+ ### Changed
102
+
103
+ - Reuse the Lunr index, share local search result rendering, debounce typing while searching immediately on Enter, and batch result insertion without changing providers or ranking.
104
+
105
+ - Share script dependencies across document layouts, avoid unused theme-script preloads on search pages, reuse TOC heading measurements and coalesce chatbot scroll persistence.
106
+
107
+ - Reuse fixed footer content and cloud entry rendering with the existing include cache, avoiding repeated Markdown conversion and reading-time calculation across labels and indexes without new settings.
108
+
109
+ - Share Liquid collection, cloud and recommendation rendering, iterate only existing frequencies and sort each recommendation score group once. Equal-score documents with the same date may appear in a different order; settings, eligibility and date priority are unchanged.
110
+
111
+ - Format generated head HTML, JSON-LD and fixed footer content consistently and preserve head and footer indentation when blank-line compression is enabled.
112
+
113
+ - Add a skip link and visible keyboard focus, underline prose links and respect reduced-motion preferences without changing the lateral TOC's Tab behavior.
114
+
115
+ - Serve the Chulapa font from the installed theme and load Cactus resources only on pages with comments enabled.
116
+
1
117
  ## v2.1.0 - 2026-10-08
2
118
 
3
119
  ### Fixed
data/README.md CHANGED
@@ -1,204 +1,189 @@
1
- [![Chulapa live
2
- preview](https://dieghernan.github.io/chulapa/assets/img/site/banner.png "live preview")](https://dieghernan.github.io/chulapa/)
3
-
4
- ![GitHub release (latest by
5
- date)](https://img.shields.io/github/v/release/dieghernan/chulapa)
6
- [![Gem Version](https://badge.fury.io/rb/chulapa-jekyll.svg)](https://badge.fury.io/rb/chulapa-jekyll)
7
- ![Gem Total Downloads](https://img.shields.io/gem/dt/chulapa-jekyll)
8
- ![License](https://img.shields.io/github/license/dieghernan/chulapa)
9
- ![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D3.8.7-blue)
10
- ![Bootstrap](https://img.shields.io/badge/bootstrap-4.5.0-blue)
11
- ![Font Awesome](https://img.shields.io/badge/fontawesome-6.x-blue)
12
- ![Algolia](https://img.shields.io/badge/algolia-4.x-blue)
13
- ![Lunr](https://img.shields.io/badge/lunr-2.x-blue)
14
- ![Fuse.js](https://img.shields.io/badge/fuse.js-7.x-blue)
15
- ![MathJax](https://img.shields.io/badge/mathjax-3.x-blue)
16
- ![GitHub Pages](https://img.shields.io/badge/gh--pages-ready-succes)
17
- ![Google Analytics](https://img.shields.io/badge/google--analytics-ready-succes)
18
- ![Disqus](https://img.shields.io/badge/disqus-ready-succes) ![Social
19
- sharing](https://img.shields.io/badge/social--sharing-ready-succes)
20
- ![SEO](https://img.shields.io/badge/seo-ready-succes)
21
- ![Video support](https://img.shields.io/badge/video--support-ok-succes)
22
- [![ko-fi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://ko-fi.com/dieghernan)
23
-
24
- # [<span class="chulapa">Chulapa</span>](https://dieghernan.github.io/chulapa/)
25
-
26
- ### A flexible Jekyll theme for GitHub Pages
27
-
28
- ## Notable features
29
-
30
- - **Bootstrap 4** - Fully responsive
31
- - **Font Awesome 6** - v5 is also supported, with optional v4 shims
32
- - **3 different navbar styles**
33
- - **Atom and RSS 2.0** feeds
34
- - **Internal search** by Algolia, Lunr, Fuse.js, Simple-Jekyll-Search or Google
35
- Custom Search
36
- - **Comments** by Disqus, giscus, Cusdis, Cactus and Welcomments
37
- - **Masonry gallery**
38
- - **Video support** - self-hosted videos or videos from providers such as
39
- YouTube, Vimeo and Dailymotion
40
- - **Structured data** for better SEO
41
- - **Code highlighting** - Pygments-compatible styles for Rouge
42
- - **MathJax** support
43
- - **Google Analytics**
44
- - **Twitter/X Cards** and **Open Graph** data valid for Facebook, LinkedIn and
45
- WhatsApp
46
- - **40+ preinstalled skins**
47
- - **Powerful look-and-feel customization** with a dedicated sandbox
48
- - **Archive, tag and category clouds and card index layouts**
49
- - **Breadcrumb navigation**
50
- - **Multiple authors** with locations, pictures and social links for travel
51
- blogs and collaborative sites
52
-
53
- A flexible theme for blogs, news sites, portfolios and personal sites. See the
54
- [documentation](https://dieghernan.github.io/chulapa/docs/01-install) to learn
55
- more.
56
-
57
- ## Installation
58
-
59
- See the sample
60
- [`_config.yml` file](https://github.com/dieghernan/chulapa/blob/main/_config.yml).
61
-
62
- There are three ways to install <span class="chulapa">Chulapa</span>:
63
-
64
- ### A. Use our GitHub template
65
-
66
- **Recommended if you are starting from scratch.**
67
-
68
- Sign in to GitHub and
69
- [create a repository from the template](https://github.com/dieghernan/chulapa-101/generate)
70
- to get started.
71
-
72
- ### B. Remote theme method
73
-
74
- **Recommended if you are migrating an existing site.**
75
-
76
- If you prefer not to use the template, you can use the `jekyll-remote-theme`
77
- method. Just follow these steps:
78
-
79
- 1. Create a new GitHub repository or open an existing one.
80
-
81
- 2. Add this line to your `_config.yml`:
82
-
83
- ``` yaml
84
-
85
- remote_theme: dieghernan/chulapa
86
-
87
- ... more config options
88
- ```
89
-
90
- 3. Remove any other `remote_theme` entry and the `theme` entry from
91
- `_config.yml`. Add `jekyll-remote-theme` and `jekyll-include-cache` to your
92
- `Gemfile` and the `plugins` list in `_config.yml`, then run `bundle install`.
93
- <span class="chulapa">Chulapa</span> requires `jekyll-include-cache` for its
94
- `include_cached` tags.
95
-
96
- For local or custom builds, also install the runtime dependencies listed in
97
- the [gemspec](https://github.com/dieghernan/chulapa/blob/main/chulapa-jekyll.gemspec).
98
- A remote theme does not install these dependencies for you.
99
-
100
- An unpinned remote theme follows the repository default branch. To select a
101
- release, append its tag, for example `remote_theme: dieghernan/chulapa@v2.1.0`.
102
- Development features may be available on the default branch before they are
103
- published in the gem.
104
-
105
- ### C. Gem-based method 💎
106
-
107
- With gem-based themes, directories such as `assets`, `_layouts`, `_includes`
108
- and `_sass` are stored in the theme's gem rather than your site directory.
109
- This makes installation and updates easier because you do not have to manage
110
- the theme files directly.
111
-
112
- To install as a gem-based theme:
113
-
114
- 1. Add the following to your `Gemfile`:
115
-
116
- ``` ruby
117
- gem "chulapa-jekyll"
118
- ```
119
-
120
- 2. Install the bundled gems by running the following
121
- [Bundler](https://bundler.io/) command:
122
-
123
- ``` bash
124
- bundle
125
- ```
126
-
127
- 3. Set the `theme` in your project's Jekyll `_config.yml` file:
128
-
129
- ``` yaml
130
- theme: chulapa-jekyll
131
- ```
132
-
133
- Enable `jekyll-include-cache` in the `plugins` list in `_config.yml`. Remove any
134
- `remote_theme` entry when using the gem. To update only the theme and its
135
- dependencies, run `bundle update chulapa-jekyll`.
136
-
137
- To preview your site locally, run `bundle exec jekyll serve` from your site
138
- directory. Restart Jekyll after editing `_config.yml` to reload its settings.
139
-
140
- ## Configuration and layouts
141
-
142
- See the [documentation](https://dieghernan.github.io/chulapa/docs/01-install)
143
- for installation, configuration, layouts, search, comments and customization.
144
- Structured data options include an independent `publisher`, representative
145
- article images through `schema_image` and per-page crawler directives through
146
- `robots`.
147
-
148
- ## License
149
-
150
- [The MIT License](https://dieghernan.github.io/chulapa/license)
151
-
152
- ## Attributions
153
-
154
- **Chulapa** is a font owned by the City Council of Madrid, designed and produced
155
- by Joancarles Casasín and Pablo Gámez based on an earlier design by Silvia
156
- Fernández Palomar and licensed under [Creative Commons CC BY, version
157
- 4.0](https://creativecommons.org/licenses/by/4.0/). This theme incorporates a
158
- modification of this work to support the English language.
159
-
160
- Bootstrap v.4.5 is released under the [MIT
161
- license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright
162
- 2020 Twitter.
163
-
164
- Font Awesome 6.x is free, open source and GPL-friendly. See its
165
- [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL
166
- OFL 1.1, Code: MIT License).
167
-
168
- This theme incorporates code from [Minimal
169
- Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c)
170
- 2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed
171
- under the terms of the [MIT
172
- license](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE).
173
-
174
- This theme incorporates [Pygments CSS
175
- Themes](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html),
176
- developed by [jwarby](https://github.com/jwarby/) distributed under the terms of
177
- [The
178
- Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
179
-
180
- This theme incorporates [Ferpal
181
- Sans](https://ferpal.studio/work/ferpal-sans/), developed by Silvia Ferpal.
182
- The font is free for personal use.
183
-
184
- This theme incorporates [Jekyll Pure Liquid Table of
185
- Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir
186
- "allejo" Jimenez](https://github.com/allejo) distributed under the terms of the
187
- [MIT license](https://github.com/allejo/jekyll-toc/blob/master/LICENSE.MIT.md).
188
-
189
- This theme incorporates [Compress HTML in Jekyll](http://jch.penibelst.de/),
190
- Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed
191
- under the terms of the [MIT
192
- license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
193
-
194
- This theme incorporates [Lunr](https://lunrjs.com), Copyright (c) 2013 Oliver
195
- Nightingale. Lunr is distributed under the terms of the [MIT
196
- License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
197
-
198
- This theme uses graphic resources from
199
- [Unsplash](https://unsplash.com/@dieghernan/collections).
200
-
201
- This theme uses graphic resources from
202
- [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
203
-
204
- This theme uses graphic resources from [Lorem Picsum](https://picsum.photos/).
1
+ [![Chulapa live
2
+ preview](https://dieghernan.github.io/chulapa/assets/img/site/banner.png "live preview")](https://dieghernan.github.io/chulapa/)
3
+
4
+ ![GitHub release (latest by
5
+ date)](https://img.shields.io/github/v/release/dieghernan/chulapa)
6
+ [![Gem Version](https://badge.fury.io/rb/chulapa-jekyll.svg)](https://badge.fury.io/rb/chulapa-jekyll)
7
+ ![Gem Total Downloads](https://img.shields.io/gem/dt/chulapa-jekyll)
8
+ ![License](https://img.shields.io/github/license/dieghernan/chulapa)
9
+ ![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D3.7%20%3C5.0-blue)
10
+ ![GitHub Pages](https://img.shields.io/badge/gh--pages-ready-succes)
11
+ ![Google Analytics](https://img.shields.io/badge/google--analytics-ready-succes)
12
+ ![Disqus](https://img.shields.io/badge/disqus-ready-succes) ![Social
13
+ sharing](https://img.shields.io/badge/social--sharing-ready-succes)
14
+ ![SEO](https://img.shields.io/badge/seo-ready-succes)
15
+ ![Video support](https://img.shields.io/badge/video--support-ok-succes)
16
+ [![ko-fi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://ko-fi.com/dieghernan)
17
+
18
+ # [<span class="chulapa">Chulapa</span>](https://dieghernan.github.io/chulapa/)
19
+
20
+ ### A flexible, visual Jekyll theme for blogs, portfolios and personal sites
21
+
22
+ Choose from 40+ skins, customize colors from YAML and publish with GitHub Pages.
23
+ Start with the ready-to-publish blog template, then add the features you need.
24
+
25
+ [Publish your first site](https://dieghernan.github.io/chulapa/docs/00-start) ·
26
+ [Browse skins](https://dieghernan.github.io/chulapa/skins) ·
27
+ [See real sites](https://dieghernan.github.io/chulapa/showcase)
28
+
29
+ ## Choose your starting point
30
+
31
+ Choose the route that matches your situation:
32
+
33
+ | Your goal | Start here |
34
+ | --- | --- |
35
+ | Publish your first website | [Browser-only publishing tutorial](https://dieghernan.github.io/chulapa/docs/00-start), using the chulapa-101 template; no local installation needed. |
36
+ | Move an existing Jekyll site | [Migration guide and checklist](https://dieghernan.github.io/chulapa/docs/07-migration), preserving your content and public URLs. |
37
+ | Change something on a published site | [How-To Guides](https://dieghernan.github.io/chulapa/docs#how-to-guides) for individual tasks. |
38
+ | Look up a setting or layout | [Reference](https://dieghernan.github.io/chulapa/docs#reference) for options, syntax and constraints. |
39
+ | Understand how publishing works | [Publishing explained](https://dieghernan.github.io/chulapa/docs/47-publishing-explained). |
40
+
41
+ The [chulapa-101 starter](https://github.com/dieghernan/chulapa-101) is a
42
+ ready-to-publish personal blog. [Explore its live site](https://dieghernan.github.io/chulapa-101/)
43
+ or look up its included files and defaults in the
44
+ [starter reference](https://dieghernan.github.io/chulapa/docs/08-starter-examples).
45
+
46
+ For smaller examples of individual site types, explore the folders below:
47
+
48
+ | Site | Complete example | Preview |
49
+ | --- | --- | --- |
50
+ | Personal blog | [A journal and recent-post index](examples/personal-blog) | [Demo](https://dieghernan.github.io/chulapa/demo/starter-personal-blog) |
51
+ | Technical blog | [Code, diagrams and equations](examples/technical-blog) | [Demo](https://dieghernan.github.io/chulapa/demo/starter-technical-blog) |
52
+ | Portfolio | [A projects collection and card index](examples/portfolio) | [Demo](https://dieghernan.github.io/chulapa/demo/starter-portfolio) |
53
+ | Project | [A landing page with source and setup links](examples/project) | [Demo](https://dieghernan.github.io/chulapa/demo/starter-project) |
54
+
55
+ Each minimal example includes configuration, dependencies and editable content.
56
+ They are smaller examples, not the ready-to-publish chulapa-101 template.
57
+ [Run and publish a copied example](https://dieghernan.github.io/chulapa/docs/09-run-starter)
58
+ if you already use Jekyll. Examples follow the default branch; Mermaid requires
59
+ v2.2.0.
60
+
61
+ ## Notable features
62
+
63
+ - **Responsive design** for phones, tablets and desktops
64
+ - **Icons** for menus, links and content
65
+ - **3 different navbar styles**
66
+ - **Atom and RSS 2.0** feeds
67
+ - **Internal search** by Algolia, Lunr, Fuse.js, Simple-Jekyll-Search or Google
68
+ Custom Search
69
+ - **Comments** by Disqus, giscus, Cusdis, Cactus and Welcomments
70
+ - **Masonry gallery**
71
+ - **Video support** - self-hosted videos or videos from providers such as
72
+ YouTube, Vimeo and Dailymotion
73
+ - **Search and sharing metadata** generated from your content
74
+ - **Styles for code blocks**
75
+ - **Mathematical notation** with MathJax
76
+ - **[Mermaid diagrams](https://dieghernan.github.io/chulapa/demo/13-mermaid)** - optional per-page rendering (v2.2.0)
77
+ - **[Light/dark/auto selector](https://dieghernan.github.io/chulapa/docs/22-choose-skin#let-visitors-switch-between-light-and-dark)** - optional second skin with remembered preferences (2.2.0)
78
+ - **[PhotoSwipe galleries](https://dieghernan.github.io/chulapa/demo/14-photoswipe)** - opt-in lightboxes for masonry and carousels (v2.2.0)
79
+ - **Active TOC sections** - current-section indicators while scrolling (v2.2.0)
80
+ - **Google Analytics** and **[GoatCounter](https://dieghernan.github.io/chulapa/docs/02-config#goatcounter-analytics)** - GoatCounter is optional and production-only (v2.2.0)
81
+ - **Twitter/X Cards** and **Open Graph** data valid for Facebook, LinkedIn and
82
+ WhatsApp
83
+ - **40+ preinstalled skins**
84
+ - **Powerful look-and-feel customization** with a dedicated sandbox
85
+ - **Archive, tag and category clouds and card index layouts**
86
+ - **Breadcrumb navigation**
87
+ - **Multiple authors** with locations, pictures and social links for travel
88
+ blogs and collaborative sites
89
+
90
+ A flexible theme for blogs, news sites, portfolios and personal sites. See the
91
+ [documentation directory](https://dieghernan.github.io/chulapa/docs) to learn
92
+ more.
93
+
94
+ ## Installation
95
+
96
+ This documentation targets **2.2.0**. Mermaid, PhotoSwipe, GoatCounter and the
97
+ light/dark/auto selector require this version; they are absent from v2.1.0.
98
+
99
+ Choose an installation guide for your situation. For version pins and method
100
+ constraints, use [Installation](https://dieghernan.github.io/chulapa/docs/01-install).
101
+
102
+ ### A. Use our GitHub template
103
+
104
+ For a new site, follow [Publish your first site](https://dieghernan.github.io/chulapa/docs/00-start).
105
+ It uses the [GitHub template](https://github.com/dieghernan/chulapa-101/generate)
106
+ and guides you through editing and publication in your browser.
107
+
108
+ ### B. Remote theme method
109
+
110
+ For an existing site, use the [migration guide](https://dieghernan.github.io/chulapa/docs/07-migration)
111
+ or go directly to [remote-theme setup](https://dieghernan.github.io/chulapa/docs/20-remote-theme).
112
+ An unpinned remote theme follows development; `@v2.2.0` selects that release.
113
+
114
+ ### C. Gem-based method 💎
115
+
116
+ For a gem-based site, follow [Install the theme gem](https://dieghernan.github.io/chulapa/docs/21-gem-theme)
117
+ for dependencies, configuration, local preview and updates. Review existing
118
+ local overrides when upgrading: they take precedence over installed theme files.
119
+
120
+ ## Configuration and layouts
121
+
122
+ Use the [documentation directory](https://dieghernan.github.io/chulapa/docs) to
123
+ choose a tutorial, task guide, reference or explanation. Configuration lookup:
124
+ [Global settings](https://dieghernan.github.io/chulapa/docs/02-config),
125
+ [layouts and snippets](https://dieghernan.github.io/chulapa/docs/04-layouts), and
126
+ [the sample configuration](https://github.com/dieghernan/chulapa/blob/main/_config.yml).
127
+ Add optional integrations when you need them.
128
+
129
+ For a published site, follow the [accessibility and performance checks](https://dieghernan.github.io/chulapa/docs/06-accessibility-performance).
130
+ Behavior and release limits are listed separately in the
131
+ [accessibility reference](https://dieghernan.github.io/chulapa/docs/48-accessibility-reference).
132
+
133
+ ## License
134
+
135
+ [The MIT License](https://dieghernan.github.io/chulapa/license)
136
+
137
+ ## Attributions
138
+
139
+ **<span class="chulapa">Chulapa</span>** is a font owned by the City Council of Madrid, designed and produced
140
+ by Joancarles Casasín and Pablo Gámez based on an earlier design by Silvia
141
+ Fernández Palomar and licensed under [Creative Commons CC BY, version
142
+ 4.0](https://creativecommons.org/licenses/by/4.0/). This theme incorporates a
143
+ modification of this work to support the English language.
144
+
145
+ Bootstrap v.4.5 is released under the [MIT
146
+ license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright
147
+ 2020 Twitter.
148
+
149
+ Font Awesome 6.x is free, open source and GPL-friendly. See its
150
+ [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL
151
+ OFL 1.1, Code: MIT License).
152
+
153
+ This theme incorporates code from [Minimal
154
+ Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c)
155
+ 2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed
156
+ under the terms of the [MIT
157
+ license](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE).
158
+
159
+ This theme incorporates [Pygments CSS
160
+ Themes](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html),
161
+ developed by [jwarby](https://github.com/jwarby/) distributed under the terms of
162
+ [The
163
+ Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
164
+
165
+ This theme incorporates [Ferpal
166
+ Sans](https://ferpal.studio/work/ferpal-sans/), developed by Silvia Ferpal.
167
+ The font is free for personal use.
168
+
169
+ This theme incorporates [Jekyll Pure Liquid Table of
170
+ Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir
171
+ "allejo" Jimenez](https://github.com/allejo) distributed under the terms of the
172
+ [MIT license](https://github.com/allejo/jekyll-toc/blob/master/LICENSE.MIT.md).
173
+
174
+ This theme incorporates [Compress HTML in Jekyll](http://jch.penibelst.de/),
175
+ Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed
176
+ under the terms of the [MIT
177
+ license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
178
+
179
+ This theme incorporates [Lunr](https://lunrjs.com), Copyright (c) 2013 Oliver
180
+ Nightingale. Lunr is distributed under the terms of the [MIT
181
+ License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
182
+
183
+ This theme uses graphic resources from
184
+ [Unsplash](https://unsplash.com/@dieghernan/collections).
185
+
186
+ This theme uses graphic resources from
187
+ [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
188
+
189
+ This theme uses graphic resources from [Lorem Picsum](https://picsum.photos/).
data/_data/version.yml CHANGED
@@ -1,2 +1,2 @@
1
- dev: v2.1.0
2
- release: v2.1.0
1
+ dev: v2.2.0
2
+ release: v2.2.0
@@ -0,0 +1,56 @@
1
+ {%- assign alldocs = alldocs | sort: 'date' | reverse -%}
2
+ {%- if page.include_missdates -%}
3
+ {%- else -%}
4
+ {%- assign alldocs = alldocs | where_exp: "item", "item.date != nil" -%}
5
+ {%- endif -%}
6
+
7
+
8
+ {%- assign postsInYear = alldocs | group_by_exp: 'post', 'post.date | date: "%Y"' -%}
9
+ <div class="row row-cols-1 row-cols-sm-2 pt-5 mx-n1" id="years">
10
+ {%- for year in postsInYear -%}
11
+ <div class="col-sm-6 chulapa-links-hover-only py-2">
12
+ <a href="#{{ year.name | default: "-" }}" class="d-flex justify-content-between align-items-center border-bottom ">
13
+ {{ year.name | default: "NA" }} <span class="badge rounded-pill chulapa-pill-bg-primary">{{ year.items | size }}</span>
14
+ </a>
15
+ </div>
16
+ {%- endfor -%}
17
+ </div>
18
+
19
+ {%- for year in postsInYear -%}
20
+ <section id="{{ year.name | default: "NA" }}" class="mt-2 chulapa-archive">
21
+ <h2 class="border-bottom border-chulapa">{{ year.name | default: "NA" }}</h2>
22
+ {%- assign postsInMonth = year.items | group_by_exp: 'post', 'post.date | date: "%B"' -%}
23
+ {%- for month in postsInMonth -%}
24
+ {%- assign dateformat = month.name -%}
25
+ {% if dateformat %}
26
+ <h3 class="h5 font-weight-light">{% include_cached snippets/datetranslate.html date=dateformat %}</h3>
27
+ {% endif %}
28
+ {%- for document in month.items -%}
29
+ <div class="ml-2 my-1">
30
+ <div class="row g-0">
31
+ <article class="col h-entry">
32
+ <h4 class="h6 my-2"><a href="{{- document.url | absolute_url -}}" class="chulapa-text-body-color p-name u-url">{{ document.title | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip }}</a></h4>
33
+ <p class="small mb-1">
34
+ {% if document.date %}
35
+ {% assign dateformat = document.date | date: "%A, %d" %}
36
+ <time class="dt-published" datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
37
+ {% if document.last_modified_at %} <i class="fa fa-redo fa-sm" aria-hidden="true"></i>{% endif %}
38
+ {% endif %}
39
+ {%- if showcol -%}
40
+ <span class="mx-1 my-1 badge chulapa-pill-bg-body p-category">{{ document.collection }}</span>
41
+ {%- endif -%}
42
+ </p>
43
+ </article>
44
+ {%- if document.header_img or document.og_image -%}
45
+ <a href="{{- document.url | absolute_url -}}" aria-label="{{ document.title | default: 'Read article' | markdownify | strip_html | strip | escape_once }}" 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>
46
+ {%- endif -%}
47
+ </div>
48
+ </div>
49
+ {% endfor %}
50
+ <hr class="w-50 bg-light">
51
+ {% endfor %}
52
+ <div class="text-right">
53
+ <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>
54
+ </div>
55
+ </section>
56
+ {% endfor %}
@@ -3,13 +3,18 @@
3
3
  {%- assign name = page.author.name -%}
4
4
  {%- assign location = page.author.location -%}
5
5
  {%- assign links = page.author.links -%}
6
+ {%- assign profile_url = page.author.url | strip -%}
6
7
  {%- else -%}
7
8
  {%- assign avatar = site.author.avatar -%}
8
9
  {%- assign name = site.author.name | default: site.github.owner_name -%}
9
10
  {%- assign location = site.author.location -%}
10
11
  {%- assign links = site.author.links -%}
12
+ {%- assign profile_url = site.author.url | strip -%}
11
13
  {%- endif -%}
12
- <div rel="author" class="h-card p-author">
14
+ <div class="h-card p-author">
15
+ {%- if profile_url != empty -%}
16
+ <a class="u-url d-none" href="{{ profile_url | absolute_url | escape }}">{{ name | escape }}</a>
17
+ {%- endif -%}
13
18
  <div class="row d-flex align-items-center mb-2">
14
19
  {%- if avatar -%}
15
20
  <img src="{{ avatar | absolute_url }}" alt="{{ name }}" class="ml-3 mr-0 mx-lg-auto mb-lg-1 chulapa-avatar-size u-photo">