chulapa-jekyll 2.0.1 → 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 (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +264 -35
  3. data/README.md +189 -180
  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 +16 -12
  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 +22 -15
  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 +9 -6
  18. data/_includes/components/navigation-fallback.html +19 -0
  19. data/_includes/components/random.html +1 -0
  20. data/_includes/components/recommendations.html +97 -0
  21. data/_includes/components/related.html +1 -104
  22. data/_includes/components/scripts.html +9 -0
  23. data/_includes/components/sidetoc.html +5 -4
  24. data/_includes/components/simplelist.html +26 -0
  25. data/_includes/components/skin-attribution.html +169 -0
  26. data/_includes/components/theme-selector.html +14 -0
  27. data/_includes/footer.html +14 -165
  28. data/_includes/head.html +389 -242
  29. data/_includes/navbar.html +33 -77
  30. data/_includes/search/fusejs.html +20 -0
  31. data/_includes/search/google.html +3 -3
  32. data/_includes/search/lunr.html +19 -7
  33. data/_includes/search/simplesearch.html +46 -0
  34. data/_includes/snippets/article-images.html +25 -0
  35. data/_includes/snippets/bootstrapdemo.html +1472 -1303
  36. data/_includes/snippets/breadcrumb-names.html +5 -0
  37. data/_includes/snippets/canonical-url.html +17 -0
  38. data/_includes/snippets/carousel.html +16 -12
  39. data/_includes/snippets/dark-skin-enabled.html +14 -0
  40. data/_includes/snippets/datetranslate.html +7 -1
  41. data/_includes/snippets/jsonld-string.html +16 -0
  42. data/_includes/snippets/masonry.html +6 -4
  43. data/_includes/snippets/microformats-url.html +2 -0
  44. data/_includes/snippets/og-locale.html +19 -0
  45. data/_includes/snippets/page-language.html +4 -0
  46. data/_includes/snippets/publisher.html +22 -0
  47. data/_includes/snippets/video-metadata.html +15 -0
  48. data/_includes/snippets/video.html +21 -18
  49. data/_includes/snippets/youtube.html +17 -6
  50. data/_includes/theme-styles.html +201 -0
  51. data/_includes/welcomments/comment_form.html +5 -4
  52. data/_includes/welcomments/comments.html +5 -5
  53. data/_includes/welcomments/template.html +1 -1
  54. data/_layouts/archive.html +2 -75
  55. data/_layouts/cloudcategory.html +2 -101
  56. data/_layouts/cloudtag.html +2 -103
  57. data/_layouts/compress.html +1 -1
  58. data/_layouts/default.html +20 -9
  59. data/_layouts/indexcategory.html +2 -30
  60. data/_layouts/landingpage.html +12 -7
  61. data/_layouts/minimal.html +19 -9
  62. data/_layouts/search.html +17 -17
  63. data/_sass/bootstrap/_variables.scss +1 -1
  64. data/_sass/bootstrap/mixins/_badge.scss +1 -1
  65. data/_sass/chulapa/_autothemer.scss +31 -0
  66. data/_sass/chulapa/_buttons.scss +101 -0
  67. data/_sass/chulapa/_classes.scss +197 -59
  68. data/_sass/chulapa/_mixins.scss +42 -1
  69. data/_sass/chulapa/_reboot.scss +31 -0
  70. data/_sass/chulapa/_theme-selector.scss +1 -0
  71. data/_sass/chulapa/_variables.scss +8 -1
  72. data/_sass/chulapa/skins/_deeply.scss +229 -0
  73. data/_sass/chulapa/skins/_electro.scss +30 -0
  74. data/_sass/chulapa/skins/_graymor.scss +39 -0
  75. data/_sass/chulapa/skins/_hootstrap.scss +34 -0
  76. data/_sass/chulapa/skins/_lymcha.scss +27 -0
  77. data/_sass/chulapa/skins/_mickie.scss +38 -0
  78. data/_sass/chulapa/skins/_minco.scss +45 -0
  79. data/_sass/chulapa/skins/_monotone.scss +15 -0
  80. data/_sass/chulapa/skins/_preptor.scss +30 -0
  81. data/_sass/chulapa/skins/_skeeblu.scss +34 -0
  82. data/_sass/chulapa/skins/_sunset.scss +33 -0
  83. data/_sass/chulapa/skins/_wandoo.scss +22 -0
  84. data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
  85. data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
  86. data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
  87. data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
  88. data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
  89. data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
  90. data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
  91. data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
  92. data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
  93. data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
  94. data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
  95. data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
  96. data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
  97. data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
  98. data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
  99. data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
  100. data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
  101. data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
  102. data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
  103. data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
  104. data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
  105. data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
  106. data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
  107. data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
  108. data/_sass/chulapa-master.scss +10 -0
  109. data/_sass/highlight/README.md +176 -14
  110. data/_sass/highlight/abap.scss +62 -0
  111. data/_sass/highlight/algol.scss +46 -0
  112. data/_sass/highlight/algol_nu.scss +46 -0
  113. data/_sass/highlight/arduino.scss +63 -0
  114. data/_sass/highlight/autumn.scss +69 -58
  115. data/_sass/highlight/base16.scss +90 -0
  116. data/_sass/highlight/borland.scss +55 -46
  117. data/_sass/highlight/bw.scss +70 -34
  118. data/_sass/highlight/cobalt2.scss +197 -0
  119. data/_sass/highlight/coffee.scss +82 -0
  120. data/_sass/highlight/colorful.scss +178 -61
  121. data/_sass/highlight/cran.scss +185 -169
  122. data/_sass/highlight/default.scss +72 -61
  123. data/_sass/highlight/dracula.scss +93 -169
  124. data/_sass/highlight/emacs.scss +72 -61
  125. data/_sass/highlight/friendly.scss +72 -61
  126. data/_sass/highlight/friendly_grayscale.scss +72 -0
  127. data/_sass/highlight/fruity.scss +82 -70
  128. data/_sass/highlight/github.dark.scss +83 -0
  129. data/_sass/highlight/github.scss +116 -61
  130. data/_sass/highlight/gruvbox.dark.scss +83 -0
  131. data/_sass/highlight/gruvbox.light.scss +68 -84
  132. data/_sass/highlight/gruvbox.scss +97 -0
  133. data/_sass/highlight/igor.scss +36 -0
  134. data/_sass/highlight/igorpro.scss +45 -0
  135. data/_sass/highlight/inkpot.scss +78 -0
  136. data/_sass/highlight/lightbulb.scss +82 -0
  137. data/_sass/highlight/lilypond.scss +58 -0
  138. data/_sass/highlight/lovelace.scss +74 -0
  139. data/_sass/highlight/magritte.scss +175 -0
  140. data/_sass/highlight/manni.scss +72 -61
  141. data/_sass/highlight/material.scss +81 -0
  142. data/_sass/highlight/molokai.scss +211 -0
  143. data/_sass/highlight/monokai.scss +217 -65
  144. data/_sass/highlight/monokai.sublime.scss +203 -0
  145. data/_sass/highlight/murphy.scss +72 -61
  146. data/_sass/highlight/native.scss +82 -70
  147. data/_sass/highlight/night-owl.scss +201 -0
  148. data/_sass/highlight/nord.darker.scss +82 -0
  149. data/_sass/highlight/nord.scss +82 -0
  150. data/_sass/highlight/oksolar.dark.scss +175 -0
  151. data/_sass/highlight/oksolar.light.scss +175 -0
  152. data/_sass/highlight/one.dark.scss +82 -0
  153. data/_sass/highlight/panda.scss +195 -0
  154. data/_sass/highlight/paraiso.dark.scss +76 -0
  155. data/_sass/highlight/paraiso.light.scss +76 -0
  156. data/_sass/highlight/pastie.scss +154 -60
  157. data/_sass/highlight/perldoc.scss +69 -58
  158. data/_sass/highlight/rainbow_dash.scss +65 -0
  159. data/_sass/highlight/rrt.scss +82 -0
  160. data/_sass/highlight/sas.scss +63 -0
  161. data/_sass/highlight/selenized.black.scss +175 -0
  162. data/_sass/highlight/selenized.dark.scss +175 -0
  163. data/_sass/highlight/selenized.light.scss +175 -0
  164. data/_sass/highlight/selenized.white.scss +175 -0
  165. data/_sass/highlight/skeletor.scss +190 -140
  166. data/_sass/highlight/solarized.dark.scss +82 -0
  167. data/_sass/highlight/solarized.light.scss +82 -0
  168. data/_sass/highlight/stackoverflow.dark.scss +175 -0
  169. data/_sass/highlight/stackoverflow.light.scss +175 -0
  170. data/_sass/highlight/staroffice.scss +82 -0
  171. data/_sass/highlight/stata.dark.scss +82 -0
  172. data/_sass/highlight/stata.light.scss +49 -0
  173. data/_sass/highlight/tango.scss +81 -69
  174. data/_sass/highlight/template.scss +290 -0
  175. data/_sass/highlight/thankful_eyes.scss +180 -173
  176. data/_sass/highlight/trac.scss +70 -59
  177. data/_sass/highlight/tulip.scss +171 -0
  178. data/_sass/highlight/vim.scss +82 -70
  179. data/_sass/highlight/vs.scss +41 -33
  180. data/_sass/highlight/xcode.scss +65 -0
  181. data/_sass/highlight/zenburn.scss +82 -136
  182. data/_sass/reset-algolia.scss +27 -17
  183. data/_sass/skins/academia.scss +47 -10
  184. data/_sass/skins/auto.scss +25 -27
  185. data/_sass/skins/butterfly-dark.scss +73 -0
  186. data/_sass/skins/butterfly-dim.scss +81 -0
  187. data/_sass/skins/butterfly.scss +65 -0
  188. data/_sass/skins/cerulean.scss +120 -0
  189. data/_sass/skins/chulapa.scss +33 -6
  190. data/_sass/skins/cyborg.scss +3 -0
  191. data/_sass/skins/dark-bg.scss +83 -49
  192. data/_sass/skins/darkly.scss +3 -0
  193. data/_sass/skins/deeply.scss +17 -87
  194. data/_sass/skins/electro.scss +5 -19
  195. data/_sass/skins/flatly.scss +3 -0
  196. data/_sass/skins/focal.scss +56 -19
  197. data/_sass/skins/gitdev-dark.scss +28 -25
  198. data/_sass/skins/gitdev.scss +22 -19
  199. data/_sass/skins/graymor.scss +7 -22
  200. data/_sass/skins/hootstrap.scss +6 -13
  201. data/_sass/skins/journal.scss +3 -143
  202. data/_sass/skins/listen.scss +83 -0
  203. data/_sass/skins/litera.scss +281 -0
  204. data/_sass/skins/lux.scss +3 -376
  205. data/_sass/skins/lymcha.scss +4 -12
  206. data/_sass/skins/materia.scss +3 -0
  207. data/_sass/skins/media.scss +40 -12
  208. data/_sass/skins/mickie.scss +8 -11
  209. data/_sass/skins/minco.scss +11 -10
  210. data/_sass/skins/minty.scss +3 -168
  211. data/_sass/skins/monotone.scss +7 -11
  212. data/_sass/skins/navi.scss +54 -0
  213. data/_sass/skins/none.scss +24 -2
  214. data/_sass/skins/pear.scss +50 -6
  215. data/_sass/skins/preptor.scss +6 -15
  216. data/_sass/skins/pulse.scss +158 -0
  217. data/_sass/skins/skeeblu.scss +6 -17
  218. data/_sass/skins/sketchy.scss +3 -746
  219. data/_sass/skins/slate.scss +3 -0
  220. data/_sass/skins/solar.scss +3 -0
  221. data/_sass/skins/sunset.scss +6 -11
  222. data/_sass/skins/towards.scss +44 -5
  223. data/_sass/skins/twitter-dim.scss +60 -13
  224. data/_sass/skins/twitter-lights-out.scss +44 -11
  225. data/_sass/skins/twitter.scss +51 -10
  226. data/_sass/skins/united.scss +3 -0
  227. data/_sass/skins/universal.scss +46 -27
  228. data/_sass/skins/wandoo.scss +7 -12
  229. data/_sass/skins/yeti.scss +3 -0
  230. data/_sass/vendor/bootswatch/LICENSE +21 -0
  231. data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
  232. data/_sass/vendor/bootswatch/README.md +57 -0
  233. data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
  234. data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
  235. data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
  236. data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
  237. data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
  238. data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
  239. data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
  240. data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
  241. data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
  242. data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
  243. data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
  244. data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
  245. data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
  246. data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
  247. data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
  248. data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
  249. data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
  250. data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
  251. data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
  252. data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
  253. data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
  254. data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
  255. data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
  256. data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
  257. data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
  258. data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
  259. data/_sass/vendor/bootswatch/source.json +86 -0
  260. data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
  261. data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
  262. data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
  263. data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
  264. data/_sass/vendor/tophat/LICENSE +21 -0
  265. data/_sass/vendor/tophat/README.md +38 -0
  266. data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
  267. data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
  268. data/_sass/vendor/tophat/deeply/theme.scss +77 -0
  269. data/_sass/vendor/tophat/electro/_styles.scss +5 -0
  270. data/_sass/vendor/tophat/electro/_variables.scss +23 -0
  271. data/_sass/vendor/tophat/electro/theme.scss +28 -0
  272. data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
  273. data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
  274. data/_sass/vendor/tophat/graymor/theme.scss +24 -0
  275. data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
  276. data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
  277. data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
  278. data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
  279. data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
  280. data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
  281. data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
  282. data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
  283. data/_sass/vendor/tophat/mickie/theme.scss +17 -0
  284. data/_sass/vendor/tophat/minco/_styles.scss +5 -0
  285. data/_sass/vendor/tophat/minco/_variables.scss +14 -0
  286. data/_sass/vendor/tophat/minco/theme.scss +18 -0
  287. data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
  288. data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
  289. data/_sass/vendor/tophat/monotone/theme.scss +18 -0
  290. data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
  291. data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
  292. data/_sass/vendor/tophat/preptor/theme.scss +18 -0
  293. data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
  294. data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
  295. data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
  296. data/_sass/vendor/tophat/source.json +57 -0
  297. data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
  298. data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
  299. data/_sass/vendor/tophat/sunset/theme.scss +16 -0
  300. data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
  301. data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
  302. data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
  303. data/assets/atom.xml +10 -6
  304. data/assets/css/dark/highlighter.scss +10 -0
  305. data/assets/css/dark/main.scss +43 -0
  306. data/assets/css/highlighter.scss +6 -1
  307. data/assets/css/main.scss +12 -3
  308. data/assets/css/search-fusejs.css +14 -0
  309. data/assets/css/search-lunr.css +7 -0
  310. data/assets/js/better404/better404.js +68 -0
  311. data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -83
  312. data/assets/js/chulapa_carousel.js +115 -0
  313. data/assets/js/chulapa_mermaid.js +31 -0
  314. data/assets/js/chulapa_navigation.js +71 -0
  315. data/assets/js/chulapa_photoswipe.js +106 -0
  316. data/assets/js/chulapa_script.js +199 -77
  317. data/assets/js/chulapa_search.js +89 -0
  318. data/assets/js/clipboard/chulapa_clipboard.js +17 -108
  319. data/assets/js/cusdis/chulapa_cusdis.js +1 -1
  320. data/assets/js/fusejs/fusejs-search.js +62 -0
  321. data/assets/js/fusejs/fusejs-search.min.js +4 -0
  322. data/assets/js/fusejs/fusejs-store.js +43 -0
  323. data/assets/js/lunr/lunr-search.js +127 -115
  324. data/assets/js/lunr/lunr-search.min.js +4 -0
  325. data/assets/js/lunr/lunr-store.js +31 -23
  326. data/assets/js/simplesearch/simplesearch-store.json +45 -0
  327. data/assets/rss.xml +4 -3
  328. metadata +220 -8
  329. data/_sass/highlight/UNLICENSE.txt +0 -24
data/README.md CHANGED
@@ -1,180 +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) [![Gem
6
- Version](https://img.shields.io/gem/v/chulapa-jekyll?color=success)
7
- ![GitHub](https://img.shields.io/github/license/dieghernan/chulapa)
8
- ![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D3.8.7-blue)
9
- ![Bootstrap](https://img.shields.io/badge/bootstrap-4.5.0-blue)
10
- ![Fontawesome](https://img.shields.io/badge/fontawesome-6.x-blue)
11
- ![Algolia](https://img.shields.io/badge/algolia-4.x-blue)
12
- ![lunr](https://img.shields.io/badge/lunr-2.x-blue)
13
- ![mathjax](https://img.shields.io/badge/mathjax-3.x-blue)
14
- ![GHpages](https://img.shields.io/badge/gh--pages-ready-succes)
15
- ![google-analytics](https://img.shields.io/badge/google--analytics-ready-succes)
16
- ![disqus](https://img.shields.io/badge/disqus-ready-succes) ![social
17
- sharing](https://img.shields.io/badge/social--sharing-ready-succes)
18
- ![seo](https://img.shields.io/badge/seo-ready-succes)
19
- ![video](https://img.shields.io/badge/video--support-ok-succes)
20
- [![ko-fi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://ko-fi.com/dieghernan)
21
-
22
- # [Chulapa](https://dieghernan.github.io/chulapa/)
23
-
24
- ### A full flexible Jekyll theme for Github Pages
25
-
26
- ## Notable features
27
-
28
- - **Bootstrap 4** - Fully responsive
29
- - **Fontawesome 6** - v5 also supported. v4 is supported via shims but would
30
- be deprecated at some point
31
- - **3 different navbar styles**
32
- - **Atom and RSS 2.0** feed
33
- - **Internal search** by Algolia, Lunr or Google Custom Search
34
- - **Comments** by Disqus and Giscus
35
- - **Masonry gallery**
36
- - **Video support** - self-hosted or from core providers: Youtube, Vimeo,
37
- DailyMotion...
38
- - **Structured data** for better SEO
39
- - **Code highlight** - +20 Pygment styles
40
- - **Mathjax** inside
41
- - **Google Analytics**
42
- - **Twitter/X Cards** and **Open Graph** data valid for Facebook, LinkedIn and
43
- WhatsApp
44
- - **14+ preinstalled skins**
45
- - **Powerful look-and-feel customization** with a dedicated sandbox
46
- - **Archive, cloud tag and index special layouts**
47
- - **Do you like breadcrumbs?** We have it.
48
- - **Multiple authors** with location, picture and social links. Travel blogs
49
- and colaborative sites welcome!
50
-
51
- A great alternative for blogs, news, portfolios and personal sites. Want to know
52
- more? [Go to Docs](https://dieghernan.github.io/chulapa/docs/01-install).
53
-
54
- ## Installation
55
-
56
- Sample `_config` file
57
- [here](https://github.com/dieghernan/chulapa/blob/master/_config.yml).
58
-
59
- There are three possible ways for installing Chulapa:
60
-
61
- ### A. Use our Github Template
62
-
63
- **Recommended if your are starting from scratch.**
64
-
65
- Create a Github account, click [this
66
- link](https://github.com/dieghernan/chulapa-101/generate) and quickstart your
67
- site!
68
-
69
- ### B. Remote theme method
70
-
71
- **Recommended if you are migrating a previous site.**
72
-
73
- If you prefer not to use the template, you can use the `jekyll-remote-theme`
74
- method. Just follow these steps:
75
-
76
- 1. Create a new GitHub repository or go to an existing one
77
-
78
- 2. Add this line to your `_config.yml`:
79
-
80
- ``` yaml
81
-
82
- remote_theme: dieghernan/chulapa
83
-
84
- ... more config options
85
- ```
86
-
87
- 3. Remove other `remote_theme/theme` instances of your `_config.yml` file.
88
-
89
- ### C. Gem-based method 💎
90
-
91
- With Gem-based themes, directories such as the `assets`, `_layouts`,
92
- `_includes`, and `_sass` are stored in the theme's gem, hidden from your
93
- immediate view. This allows for easier installation and updating as you don't
94
- have to manage any of the theme files.
95
-
96
- To install as a Gem-based theme:
97
-
98
- 1. Add the following to your `Gemfile`:
99
-
100
- ``` ruby
101
- gem "chulapa-jekyll"
102
- ```
103
-
104
- 2. Fetch and update bundled gems by running the following
105
- [Bundler](https://bundler.io/) command:
106
-
107
- ``` bash
108
- bundle
109
- ```
110
-
111
- 3. Set the `theme` in your project's Jekyll `_config.yml` file:
112
-
113
- ``` yaml
114
- theme: chulapa-jekyll
115
- ```
116
-
117
- To update the theme run `bundle update`.
118
-
119
- ## Configuration and Layouts
120
-
121
- You have available an extensive documentation
122
- [here](https://dieghernan.github.io/chulapa/docs/01-install)
123
-
124
- ## License
125
-
126
- [The MIT License](https://dieghernan.github.io/chulapa/license)
127
-
128
- ## Attributions
129
-
130
- **Chulapa** is a font owned by the City Council of Madrid designed and produced
131
- by Joancarles Casasín y Pablo Gámez on a previous design of Silvia Fernández
132
- Palomar licensed under [Creative Commons CC BY, Versión
133
- 4.0](https://creativecommons.org/licenses/by/4.0/). This theme incorporates a
134
- modification of this work in order to provide support to the english language.
135
-
136
- Bootstrap v.4.5 is released under the [MIT
137
- license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright
138
- 2020 Twitter.
139
-
140
- Fontawesome 6.x is free, open source, and GPL friendly -
141
- [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL
142
- OFL 1.1, Code: MIT License).
143
-
144
- This theme incorporates some pieces of code from [Minimal
145
- Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c)
146
- 2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed
147
- under the terms of the [MIT
148
- license](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE).
149
-
150
- This theme incorporates [Pygments CSS
151
- Themes](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html),
152
- developed by [jwarby](https://github.com/jwarby/) distributed under the terms of
153
- [The
154
- Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
155
-
156
- This theme incorporates [Ferpal
157
- Sans](https://www.silviaferpal.com/portfolio-1/ferpalsans) developed by Silvia
158
- Ferpal and it's free for personal use.
159
-
160
- This theme incorporates [Jekyll Pure Liquid Table of
161
- Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir
162
- "allejo" Jimenez](https://github.com/allejo) distributed under the terms of the
163
- [MIT license](https://github.com/allejo/jekyll-toc/blob/master/LICENSE.MIT.md).
164
-
165
- This theme incorporates [Compress HTML in Jekyll](http://jch.penibelst.de/),
166
- Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed
167
- under the terms of the [MIT
168
- license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
169
-
170
- This theme incorporates [Lunr](http://lunrjs.com), Copyright (c) 2013 Oliver
171
- Nightingale. Lunr is distributed under the terms of the [MIT
172
- License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
173
-
174
- This theme uses graphic resources from
175
- [Unplash](https://unsplash.com/@dieghernan/collections).
176
-
177
- This theme uses graphic resources from
178
- [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
179
-
180
- 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.0.1
2
- release: v2.0.1
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">
@@ -1,5 +1,7 @@
1
- {%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url | uri_escape -%}
2
- {%- assign sharetitle = page.title | default: site.title | default: site.github.repository_name | strip_html -%}
1
+ {%- include snippets/canonical-url.html url=page.url canonical=page.canonical_url -%}
2
+ {%- assign breadcrumb_page_url = canonical_path -%}
3
+ {%- include snippets/breadcrumb-names.html -%}
4
+ {%- assign sharetitle = page.title | default: site.title | default: site.github.repository_name | markdownify | strip_html | strip_newlines }} -%}
3
5
  {%- assign classbread = "col-lg-8" -%}
4
6
  {%- if page.show_sociallinks -%}
5
7
  {%- assign classbread = "col-lg-5" -%}
@@ -8,30 +10,32 @@
8
10
  {% assign tagsize = page.tags | size %}
9
11
  <div class="row my-1">
10
12
  <div class="{{ classbread }} offset-lg-2 col small">
11
- {% if page.show_breadcrumb %}
13
+ {% if page.show_breadcrumb and breadcrumb_page_url != '/' or page.show_breadcrumb and page.breadcrumb_list.size > 0 %}
12
14
  <nav aria-label="breadcrumb">
13
- <ol class="breadcrumb my-0 py-0 chulapa-bg-transparent pl-0" itemscope itemtype="https://schema.org/BreadcrumbList">
14
- {% if page.breadcrumb_list %}
15
+ <ol class="breadcrumb my-0 py-0 chulapa-bg-transparent pl-0" itemscope itemtype="https://schema.org/BreadcrumbList" itemid="{{ canonical_url | append: '#breadcrumb' | escape }}">
16
+ {% if page.breadcrumb_list.size > 0 %}
15
17
  {% for item in page.breadcrumb_list %}
16
18
  <li class="breadcrumb-item" itemprop="itemListElement" itemscope
17
- itemtype="https://schema.org/ListItem"><a href="{{ item.url | absolute_url }}" itemprop="item"><span itemprop="name">{{ item.label }}</span></a>
19
+ itemtype="https://schema.org/ListItem" itemid="{{ canonical_url | append: '#breadcrumb-' | append: forloop.index | escape }}"><a href="{{ item.url | absolute_url | escape }}" itemprop="item"><span itemprop="name">{{ item.label | strip_html | strip | default: item.url | default: breadcrumb_home_name | escape_once }}</span></a>
18
20
  <meta itemprop="position" content="{{ forloop.index }}" ></li>
19
21
  {% if forloop.last %}
20
22
  {% assign loopplus1 = forloop.index | plus: 1 %}
21
23
  {% endif %}
22
24
  {% endfor %}
23
25
  <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope
24
- itemtype="https://schema.org/ListItem">
25
- <span itemprop="name">{{ page.title }}</span>
26
+ itemtype="https://schema.org/ListItem" itemid="{{ canonical_url | append: '#breadcrumb-' | append: loopplus1 | escape }}">
27
+ <link itemprop="item" href="{{ canonical_url | escape }}">
28
+ <span itemprop="name">{{ breadcrumb_page_name | escape_once }}</span>
26
29
  <meta itemprop="position" content="{{ loopplus1 }}" >
27
30
  </li>
28
31
  {% else %}
29
32
  <li class="breadcrumb-item" itemprop="itemListElement" itemscope
30
- itemtype="https://schema.org/ListItem"><a href="{{ "/" | absolute_url }}" itemprop="item"><span itemprop="name">{{ site.navbar.brand.title | default: site.title | default: site.github.repository_name }}</span></a>
33
+ itemtype="https://schema.org/ListItem" itemid="{{ canonical_url | append: '#breadcrumb-1' | escape }}"><a href="{{ "/" | absolute_url | escape }}" itemprop="item"><span itemprop="name">{{ breadcrumb_home_name | escape_once }}</span></a>
31
34
  <meta itemprop="position" content="1" ></li>
32
35
  <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope
33
- itemtype="https://schema.org/ListItem">
34
- <span itemprop="name">{{ page.title }}</span>
36
+ itemtype="https://schema.org/ListItem" itemid="{{ canonical_url | append: '#breadcrumb-2' | escape }}">
37
+ <link itemprop="item" href="{{ canonical_url | escape }}">
38
+ <span itemprop="name">{{ breadcrumb_page_name | escape_once }}</span>
35
39
  <meta itemprop="position" content="2" >
36
40
  </li>
37
41
  {% endif %}
@@ -46,7 +50,7 @@
46
50
  <time class="dt-updated" datetime="{{ page.last_modified_at | date_to_xmlschema }}">{% include_cached snippets/datetranslate.html date=dateformat1 %}</time>
47
51
  <i class="fa fa-redo fa-xs" aria-hidden="true"></i>
48
52
  <br>
49
- <span class="font-weight-light chulapa-text-line-through">{% include_cached snippets/datetranslate.html date=dateformat2 %}</span>
53
+ <time class="dt-published font-weight-light chulapa-text-line-through" datetime="{{ page.date | date_to_xmlschema }}">{% include_cached snippets/datetranslate.html date=dateformat2 %}</time>
50
54
  {% else %}
51
55
  {%- assign dateformat = page.date | date_to_string -%}
52
56
  <time datetime="{{ page.date | date_to_xmlschema }}" class="dt-published" >{% include_cached snippets/datetranslate.html date=dateformat %}</time>
@@ -9,10 +9,11 @@
9
9
  defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
10
10
  serverName: "cactus.chat",
11
11
  siteName: "{{ site.comments.cactus_shortname }}",
12
- commentSectionId: "{{ include.pageurl | replace: "_", "-" }}"
12
+ commentSectionId: "{{ include.pageurl | url_encode | replace: '_', '%5F' }}"
13
13
  })
14
14
  </script>
15
15
  <noscript>Please enable JavaScript to view the <a href="https://cactus.chat" rel="nofollow">comments powered by matrix.org.</a></noscript>
16
16
  </div>
17
17
  </div>
18
+ </div>
18
19
  {% endif %}
@@ -0,0 +1,26 @@
1
+ {% assign words = include.document.content | strip_html | number_of_words %}
2
+ {% assign readtime = "< 1’" | escape_once %}
3
+ {% if words > include.words_per_minute %}
4
+ {% assign readtime = words | divided_by:include.words_per_minute | append: "’" %}
5
+ {% endif %}
6
+ <article class="chulapa-links-hover-only my-1 mb-4 row g-0 h-entry">
7
+ <div class="col">
8
+ <h3 class="h6"><a href="{{ include.document.url | absolute_url }}" class="p-name u-url">{{ include.document.title | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip }}</a></h3>
9
+ {%- if include.document.subtitle -%}<p class="p-summary">{{- include.document.subtitle | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip -}}</p> {%- endif -%}
10
+ <div class="small">
11
+ {% if include.document.date and include.document.show_date != false %}
12
+ {% assign dateformat = include.document.date | date: "%B %d, %Y" %}
13
+ <i class="far fa-calendar" aria-hidden="true"></i> <time class="dt-published" datetime="{{- include.document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
14
+ {% if include.document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
15
+ {% endif %}
16
+ <i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
17
+ {%- if include.showcol -%}
18
+ <span class="ml-2 badge chulapa-pill-bg-body p-category">{{ include.document.collection }}</span>
19
+ {%- endif -%}
20
+ </div>
21
+ </div>
22
+ {% if include.document.header_img or include.document.og_image %}
23
+ <a href="{{ include.document.url | absolute_url }}" aria-label="{{ include.document.title | default: 'Read article' | markdownify | strip_html | strip | escape_once }}" class="col-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ include.document.og_image | default: include.document.header_img | absolute_url }}')">
24
+ </a>
25
+ {% endif %}
26
+ </article>