chulapa-jekyll 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +148 -35
  3. data/README.md +96 -72
  4. data/_data/version.yml +2 -2
  5. data/_includes/components/breadcrumbdatesocial.html +15 -11
  6. data/_includes/components/headers.html +17 -10
  7. data/_includes/components/indexcards.html +2 -2
  8. data/_includes/components/navbeforeafter.html +2 -2
  9. data/_includes/components/random.html +103 -0
  10. data/_includes/components/related.html +82 -90
  11. data/_includes/components/simplelist.html +26 -0
  12. data/_includes/footer.html +53 -1
  13. data/_includes/head.html +237 -98
  14. data/_includes/search/fusejs.html +36 -0
  15. data/_includes/search/lunr.html +27 -7
  16. data/_includes/search/simplesearch.html +46 -0
  17. data/_includes/snippets/article-images.html +25 -0
  18. data/_includes/snippets/bootstrapdemo.html +1454 -1303
  19. data/_includes/snippets/breadcrumb-names.html +5 -0
  20. data/_includes/snippets/canonical-url.html +17 -0
  21. data/_includes/snippets/datetranslate.html +7 -1
  22. data/_includes/snippets/jsonld-string.html +16 -0
  23. data/_includes/snippets/og-locale.html +19 -0
  24. data/_includes/snippets/page-language.html +4 -0
  25. data/_includes/snippets/publisher.html +25 -0
  26. data/_includes/snippets/video-metadata.html +15 -0
  27. data/_includes/snippets/video.html +20 -17
  28. data/_includes/snippets/youtube.html +9 -4
  29. data/_includes/welcomments/template.html +1 -1
  30. data/_layouts/archive.html +1 -1
  31. data/_layouts/cloudcategory.html +4 -4
  32. data/_layouts/cloudtag.html +4 -4
  33. data/_layouts/default.html +4 -4
  34. data/_layouts/landingpage.html +8 -5
  35. data/_layouts/minimal.html +10 -4
  36. data/_layouts/search.html +12 -13
  37. data/_sass/chulapa/_classes.scss +68 -58
  38. data/_sass/chulapa/_reboot.scss +31 -0
  39. data/_sass/chulapa/_variables.scss +8 -1
  40. data/_sass/highlight/README.md +176 -14
  41. data/_sass/highlight/abap.scss +62 -0
  42. data/_sass/highlight/algol.scss +46 -0
  43. data/_sass/highlight/algol_nu.scss +46 -0
  44. data/_sass/highlight/arduino.scss +63 -0
  45. data/_sass/highlight/autumn.scss +69 -58
  46. data/_sass/highlight/base16.scss +90 -0
  47. data/_sass/highlight/borland.scss +55 -46
  48. data/_sass/highlight/bw.scss +70 -34
  49. data/_sass/highlight/cobalt2.scss +197 -0
  50. data/_sass/highlight/coffee.scss +82 -0
  51. data/_sass/highlight/colorful.scss +178 -61
  52. data/_sass/highlight/cran.scss +185 -169
  53. data/_sass/highlight/default.scss +72 -61
  54. data/_sass/highlight/dracula.scss +93 -169
  55. data/_sass/highlight/emacs.scss +72 -61
  56. data/_sass/highlight/friendly.scss +72 -61
  57. data/_sass/highlight/friendly_grayscale.scss +72 -0
  58. data/_sass/highlight/fruity.scss +82 -70
  59. data/_sass/highlight/github.dark.scss +83 -0
  60. data/_sass/highlight/github.scss +116 -61
  61. data/_sass/highlight/gruvbox.dark.scss +83 -0
  62. data/_sass/highlight/gruvbox.light.scss +68 -84
  63. data/_sass/highlight/gruvbox.scss +97 -0
  64. data/_sass/highlight/igor.scss +36 -0
  65. data/_sass/highlight/igorpro.scss +45 -0
  66. data/_sass/highlight/inkpot.scss +78 -0
  67. data/_sass/highlight/lightbulb.scss +82 -0
  68. data/_sass/highlight/lilypond.scss +58 -0
  69. data/_sass/highlight/lovelace.scss +74 -0
  70. data/_sass/highlight/magritte.scss +175 -0
  71. data/_sass/highlight/manni.scss +72 -61
  72. data/_sass/highlight/material.scss +81 -0
  73. data/_sass/highlight/molokai.scss +211 -0
  74. data/_sass/highlight/monokai.scss +217 -65
  75. data/_sass/highlight/monokai.sublime.scss +203 -0
  76. data/_sass/highlight/murphy.scss +72 -61
  77. data/_sass/highlight/native.scss +82 -70
  78. data/_sass/highlight/night-owl.scss +201 -0
  79. data/_sass/highlight/nord.darker.scss +82 -0
  80. data/_sass/highlight/nord.scss +82 -0
  81. data/_sass/highlight/oksolar.dark.scss +175 -0
  82. data/_sass/highlight/oksolar.light.scss +175 -0
  83. data/_sass/highlight/one.dark.scss +82 -0
  84. data/_sass/highlight/panda.scss +195 -0
  85. data/_sass/highlight/paraiso.dark.scss +76 -0
  86. data/_sass/highlight/paraiso.light.scss +76 -0
  87. data/_sass/highlight/pastie.scss +154 -60
  88. data/_sass/highlight/perldoc.scss +69 -58
  89. data/_sass/highlight/rainbow_dash.scss +65 -0
  90. data/_sass/highlight/rrt.scss +82 -0
  91. data/_sass/highlight/sas.scss +63 -0
  92. data/_sass/highlight/selenized.black.scss +175 -0
  93. data/_sass/highlight/selenized.dark.scss +175 -0
  94. data/_sass/highlight/selenized.light.scss +175 -0
  95. data/_sass/highlight/selenized.white.scss +175 -0
  96. data/_sass/highlight/skeletor.scss +190 -140
  97. data/_sass/highlight/solarized.dark.scss +82 -0
  98. data/_sass/highlight/solarized.light.scss +82 -0
  99. data/_sass/highlight/stackoverflow.dark.scss +175 -0
  100. data/_sass/highlight/stackoverflow.light.scss +175 -0
  101. data/_sass/highlight/staroffice.scss +82 -0
  102. data/_sass/highlight/stata.dark.scss +82 -0
  103. data/_sass/highlight/stata.light.scss +49 -0
  104. data/_sass/highlight/tango.scss +81 -69
  105. data/_sass/highlight/template.scss +290 -0
  106. data/_sass/highlight/thankful_eyes.scss +180 -173
  107. data/_sass/highlight/trac.scss +70 -59
  108. data/_sass/highlight/tulip.scss +171 -0
  109. data/_sass/highlight/vim.scss +82 -70
  110. data/_sass/highlight/vs.scss +41 -33
  111. data/_sass/highlight/xcode.scss +65 -0
  112. data/_sass/highlight/zenburn.scss +82 -136
  113. data/_sass/reset-algolia.scss +27 -17
  114. data/_sass/skins/academia.scss +19 -10
  115. data/_sass/skins/auto.scss +5 -2
  116. data/_sass/skins/butterfly-dark.scss +54 -0
  117. data/_sass/skins/butterfly-dim.scss +54 -0
  118. data/_sass/skins/butterfly.scss +33 -0
  119. data/_sass/skins/chulapa.scss +10 -3
  120. data/_sass/skins/cyborg.scss +512 -0
  121. data/_sass/skins/dark-bg.scss +83 -49
  122. data/_sass/skins/darkly.scss +424 -0
  123. data/_sass/skins/deeply.scss +262 -63
  124. data/_sass/skins/electro.scss +24 -17
  125. data/_sass/skins/flatly.scss +386 -0
  126. data/_sass/skins/focal.scss +24 -18
  127. data/_sass/skins/gitdev-dark.scss +12 -20
  128. data/_sass/skins/gitdev.scss +20 -17
  129. data/_sass/skins/graymor.scss +22 -14
  130. data/_sass/skins/hootstrap.scss +17 -10
  131. data/_sass/skins/journal.scss +74 -86
  132. data/_sass/skins/listen.scss +51 -0
  133. data/_sass/skins/lux.scss +171 -237
  134. data/_sass/skins/lymcha.scss +14 -9
  135. data/_sass/skins/materia.scss +889 -0
  136. data/_sass/skins/media.scss +29 -11
  137. data/_sass/skins/mickie.scss +27 -11
  138. data/_sass/skins/minco.scss +30 -10
  139. data/_sass/skins/minty.scss +226 -85
  140. data/_sass/skins/monotone.scss +15 -1
  141. data/_sass/skins/navi.scss +26 -0
  142. data/_sass/skins/pear.scss +16 -5
  143. data/_sass/skins/preptor.scss +13 -12
  144. data/_sass/skins/skeeblu.scss +11 -11
  145. data/_sass/skins/sketchy.scss +366 -377
  146. data/_sass/skins/slate.scss +719 -0
  147. data/_sass/skins/solar.scss +425 -0
  148. data/_sass/skins/sunset.scss +27 -12
  149. data/_sass/skins/towards.scss +19 -5
  150. data/_sass/skins/twitter-dim.scss +20 -11
  151. data/_sass/skins/twitter-lights-out.scss +22 -11
  152. data/_sass/skins/twitter.scss +22 -10
  153. data/_sass/skins/united.scss +57 -0
  154. data/_sass/skins/universal.scss +29 -27
  155. data/_sass/skins/wandoo.scss +12 -11
  156. data/_sass/skins/yeti.scss +673 -0
  157. data/assets/atom.xml +10 -6
  158. data/assets/js/better404/better404.js +75 -0
  159. data/assets/js/ch_ytdefer/ch_ytdefer.js +0 -1
  160. data/assets/js/chulapa_script.js +2 -2
  161. data/assets/js/fusejs/fusejs-search.js +197 -0
  162. data/assets/js/fusejs/fusejs-search.min.js +4 -0
  163. data/assets/js/fusejs/fusejs-store.js +43 -0
  164. data/assets/js/lunr/lunr-search.js +249 -114
  165. data/assets/js/lunr/lunr-search.min.js +4 -0
  166. data/assets/js/lunr/lunr-store.js +31 -23
  167. data/assets/js/simplesearch/simplesearch-store.json +45 -0
  168. data/assets/rss.xml +4 -3
  169. metadata +81 -8
  170. data/_sass/highlight/UNLICENSE.txt +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fed85c6e1e0732edf75a0d06d0b1562a3614c04f4ddf0da07314905b7b478445
4
- data.tar.gz: f31318798a59e8f75c5978ca18604c38f216b6674e368a0acba94e38de403706
3
+ metadata.gz: 8f5b93dc31ed5314fd3e8487d409798921fbef9e37c75704e119f6fcdf60ce4f
4
+ data.tar.gz: ea97a1defb6380837241265e742dbeda4a8c3cee77669b125d68327893903512
5
5
  SHA512:
6
- metadata.gz: b28c78c29eac74812b3bdd58c812bf26145a5dc49e2d700b5e84d10876f625762b890b9dd458dfc057cb4daddf6978b7d16327e081c51b02416c68cc37018062
7
- data.tar.gz: cb7a2d855fbde6386bfefa875a07956adf2bcdb8c7cad10f646b30a5e96d42cfc2497eec0452e5b0ae562cc58cb1b88253619e1ef0e1ad7ee4b0cda72f54ed28
6
+ metadata.gz: 7a29697a6536c86f430080afd2fea2051a57b850dfdd2e6616d6baf3b77e63872a2e89711d7b015ba44f2709941d5839890b0a8cfba38a82267d93ca18da3f4d
7
+ data.tar.gz: 5bb7f6eba382b5c5a9629f4b0f221c7ec2090185ed7c21d7731de9183fa87a82e4eb5558499cf0691a42269dc66b248e2210bf8845a95449408730531492d84b
data/CHANGELOG.md CHANGED
@@ -1,36 +1,162 @@
1
+ ## v2.1.0 - 2026-10-08
2
+
3
+ ### Fixed
4
+
5
+ - `fa_kit_code` now loads the configured Font Awesome kit. The legacy `fa5_kit_code` setting remains supported and retains precedence when both are set.
6
+
7
+ - Omit empty title separators, use the site title alone for `og:site_name` and remove obsolete `meta keywords` ([#80](https://github.com/dieghernan/chulapa/issues/80), [#81](https://github.com/dieghernan/chulapa/issues/81)).
8
+
9
+ - Correct documentation examples, PageSpeed footnote formatting and responsive heading alignment in the minimal layout demo, clarify skin attribution and autothemer behavior, and exclude the auxiliary music scales widget from indexing.
10
+
11
+ - Preserve filenames containing `index.html` in canonical URLs, breadcrumbs and feeds, and retain complete HTML meta descriptions to avoid splitting escaped entities ([#81](https://github.com/dieghernan/chulapa/issues/81)).
12
+
13
+ - Avoid repeated subtitles and empty separators in metadata descriptions, and provide a populated category index and explicit search indexing settings in the documentation site ([#81](https://github.com/dieghernan/chulapa/issues/81)).
14
+
15
+ - Correct video microdata URLs before and after deferred playback, remove unscoped search and comment properties and load the deferred player script from the installed theme ([#72](https://github.com/dieghernan/chulapa/issues/72)).
16
+
17
+ - Consolidate page structured data, complete site name metadata and prevent empty breadcrumb names when the navbar brand contains only an icon ([#69](https://github.com/dieghernan/chulapa/issues/69)).
18
+ - Validate Twitter/X profile URLs before attributing pages to an author and avoid attributing guest pages to the site author's profile ([#66](https://github.com/dieghernan/chulapa/issues/66)).
19
+ - Prevent a JavaScript error on `minimal` pages without `maincontent` and load
20
+ the script from the installed theme instead of the CDN ([#45](https://github.com/dieghernan/chulapa/issues/45)).
21
+
22
+ ### Added
23
+
24
+ - Set a page-level `canonical_url` shared by HTML, Open Graph, structured data, breadcrumbs and feeds ([#81](https://github.com/dieghernan/chulapa/issues/81)).
25
+
26
+ - Override page language and Open Graph locales, list alternate locales and emit article dates, author profile URLs, sections and tags, including articles in other collections with `og_type` ([#80](https://github.com/dieghernan/chulapa/issues/80)).
27
+
28
+ - Configure independent metadata titles with `seo_title` and `og_title`, and optional social image alt text, dimensions and MIME type ([#80](https://github.com/dieghernan/chulapa/issues/80), [#81](https://github.com/dieghernan/chulapa/issues/81)).
29
+
30
+ - Override page metadata with `description`, shared by HTML, Open Graph, Twitter/X and JSON-LD without forced truncation ([#81](https://github.com/dieghernan/chulapa/issues/81)).
31
+
32
+ - Supply optional video titles, thumbnails, upload dates, descriptions and durations through the video snippets without changing existing playback ([#72](https://github.com/dieghernan/chulapa/issues/72)).
33
+
34
+ - Enable a theme header in the `minimal` layout with `show_header: true` while retaining unrestricted content width ([#78](https://github.com/dieghernan/chulapa/issues/78)).
35
+
36
+ - Set representative article images with `schema_image`, accepting a URL or list, and avoid using site banners or author avatars as fallback article illustrations ([#72](https://github.com/dieghernan/chulapa/issues/72)).
37
+
38
+ - Configure an independent JSON-LD publisher as `Organization` or `Person`, with dedicated name, URL, logo and image settings ([#68](https://github.com/dieghernan/chulapa/issues/68)).
39
+
40
+ - Configure robots metadata per page with the `robots` front matter option, preserving `index, follow` by default ([#67](https://github.com/dieghernan/chulapa/issues/67)).
41
+ - New skins:
42
+ - `listen`
43
+ - `cyborg`
44
+ - `darkly`
45
+ - `flatly`
46
+ - `materia`
47
+ - `slate`
48
+ - `solar`
49
+ - `butterfly`
50
+ - `butterfly-dim`
51
+ - `butterfly-dark`
52
+ - `yeti`
53
+ - `united`
54
+ - `navi`
55
+ - New search with
56
+ [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search).
57
+ - New search with [Fuse.js](https://fusejs.io).
58
+ - Results with `lunr` and `fusejs` highlight matched terms like `algolia`.
59
+ - Full support for Markdown in titles and subtitles (previously only HTML
60
+ tagging was supported).
61
+ - New widget Random (`show_random`) and the ability to add labels to Random
62
+ and Related posts with `related_label` and `random_label`.
63
+ - New highlight styles:
64
+ - `abap`
65
+ - `algol`
66
+ - `algol_nu`
67
+ - `arduino`
68
+ - `base16`
69
+ - `coffee`
70
+ - `cobalt2`
71
+ - `friendly_grayscale`
72
+ - `github.dark`
73
+ - `gruvbox.dark`
74
+ - `gruvbox`
75
+ - `igor`
76
+ - `igorpro`
77
+ - `inkpot`
78
+ - `lightbulb`
79
+ - `lilypond`
80
+ - `lovelace`
81
+ - `magritte`
82
+ - `material`
83
+ - `molokai`
84
+ - `monokai.sublime`
85
+ - `nord.darker`
86
+ - `nord`
87
+ - `oksolar.dark`
88
+ - `oksolar.light`
89
+ - `one.dark`
90
+ - `paraiso.dark`
91
+ - `paraiso.light`
92
+ - `panda`
93
+ - `rainbow_dash`
94
+ - `rrt`
95
+ - `sas`
96
+ - `selenized.black`
97
+ - `selenized.dark`
98
+ - `selenized.light`
99
+ - `selenized.white`
100
+ - `solarized.dark`
101
+ - `solarized.light`
102
+ - `stackoverflow.light`
103
+ - `stackoverflow.dark`
104
+ - `staroffice`
105
+ - `stata.dark`
106
+ - `stata.light`
107
+ - `tulip`
108
+ - `xcode`
109
+
110
+ ### Changed
111
+
112
+ - Fix missing sections in `cloudtag` and `cloudcategory` when a tag or category is named `demo`.
113
+ - `site.search.lunr_maxwords` deprecated (still working). Use
114
+ `site.search.maxwords` instead.
115
+ - New option `site.search.show_attrib` to hide attribution of engine searches
116
+ (not recommended but provided as a feature).
117
+
118
+ #### Checklist
119
+
120
+ - [x] Set the gem and theme version to 2.1.0.
121
+ - [x] Update the development version in the documentation.
122
+ - [x] Confirm `chulapa-101` tracks the default branch without a pinned tag.
123
+ - [x] Publish the GitHub release and update the latest release label in both version files.
124
+ - [x] Validate the deployed video examples and simulated social previews.
125
+ - [ ] Publish the gem on RubyGems.
126
+
1
127
  ## v2.0.1 - 2025-02-26
2
128
 
3
- # HOTFIX
129
+ Hotfix release.
4
130
 
5
131
  ### Changed
6
132
 
7
- - Issue with `group_by` fixed with pure Liquid approach (compatible with Jekyll 3 & 4). This affects to `related` plug-in
8
- and `cloudtag` and `cloudcategory`. Now `cloudtag2` and `cloudcategory2` approaches are not recommended any more and will
9
- redirect to `cloudtag` and `cloudcategory`. **Plugin `grouptag.rb` not required any more**.
133
+ - Issue with `group_by` fixed with a pure Liquid approach (compatible with
134
+ Jekyll 3 & 4). This affects the `related` plugin and `cloudtag` and
135
+ `cloudcategory`. Now `cloudtag2` and `cloudcategory2` approaches are not
136
+ recommended anymore and will redirect to `cloudtag` and `cloudcategory`.
137
+ **Plugin `grouptag.rb` not required anymore**.
10
138
 
11
139
  ## v2.0.0 - 2025-02-24
12
140
 
13
141
  ### Added
14
142
 
15
- - New versions of `cloudtag` and `cloudcategory` (`cloudtag2` and `cloudcategory2`) layouts compatible with Jekyll >= 4.1.0.
143
+ - New versions of `cloudtag` and `cloudcategory` (`cloudtag2` and
144
+ `cloudcategory2`) layouts compatible with Jekyll \>= 4.1.0.
16
145
  - New skins:
17
- - `focal`
18
- - `media`
19
- - `electro`
20
- - `monotone`
21
- - `mickie`.
22
- - `skeeblu`
23
- - `minco`
146
+ - `focal`
147
+ - `media`
148
+ - `electro`
149
+ - `monotone`
150
+ - `mickie`
151
+ - `skeeblu`
152
+ - `minco`
24
153
 
25
154
  ### Changed
155
+
26
156
  - Twitter share button renamed to X. Also, the icon has been updated.
27
157
  - Share on Mastodon link replaced by Share on Bluesky.
28
158
  - Update `towards` skin.
29
159
 
30
- - [x] Bump version on `head`
31
- - [x] Bump version on docs
32
- - [ ] Bump version on `chulapa-101` remote theme
33
-
34
160
  ## v1.1.0 - 2023-12-13
35
161
 
36
162
  ### Added
@@ -46,7 +172,7 @@
46
172
  - `towards`
47
173
  - New `related` component.
48
174
  - Add link to headings via JS.
49
- - Implemented `show_sidetoc`.
175
+ - Implement `show_sidetoc`.
50
176
  - Added support for
51
177
  [microformats2](http://microformats.org/wiki/microformats2).
52
178
 
@@ -55,21 +181,14 @@
55
181
  - Improve font loading on skins.
56
182
  - Improve Universal skin.
57
183
  - Remove Clipboard.js dependency. Chulapa now uses a custom script.
58
- - FontAwesome Icons now present transitions on hover.
184
+ - Font Awesome Icons now present transitions on hover.
59
185
  - YouTube videos are lazy-deferred by default.
60
186
  - Improvements on pagination.
61
187
  - Several adjustments on skins.
62
188
 
63
- #### Checklist
64
-
65
- - [x] Bump version on `head`
66
- - [x] Bump version on docs
67
- - [ ] Bump version on `chulapa-101` remote theme
68
-
69
189
  ## v1.0.1 - 2022-11-25
70
190
 
71
- This version only affects to the gem: - Remove dependencies to make it
72
- compatible with other Jekyll versions.
191
+ This release updated the gem dependencies for compatibility with other Jekyll versions.
73
192
 
74
193
  ## v1.0.0 - 2022-11-24
75
194
 
@@ -83,14 +202,8 @@ Pre-release - first stable beta of the software
83
202
 
84
203
  - First stable beta - Software is public
85
204
 
86
- ### Changed
205
+ ## \### Changed
87
206
 
88
- -
89
-
90
- ### Removed
91
-
92
- -
93
-
94
- ### Fixed
207
+ ## \### Removed
95
208
 
96
- -
209
+ ## \### Fixed
data/README.md CHANGED
@@ -2,80 +2,83 @@
2
2
  preview](https://dieghernan.github.io/chulapa/assets/img/site/banner.png "live preview")](https://dieghernan.github.io/chulapa/)
3
3
 
4
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)
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)
8
9
  ![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D3.8.7-blue)
9
10
  ![Bootstrap](https://img.shields.io/badge/bootstrap-4.5.0-blue)
10
- ![Fontawesome](https://img.shields.io/badge/fontawesome-6.x-blue)
11
+ ![Font Awesome](https://img.shields.io/badge/fontawesome-6.x-blue)
11
12
  ![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
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
17
19
  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
+ ![SEO](https://img.shields.io/badge/seo-ready-succes)
21
+ ![Video support](https://img.shields.io/badge/video--support-ok-succes)
20
22
  [![ko-fi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://ko-fi.com/dieghernan)
21
23
 
22
- # [Chulapa](https://dieghernan.github.io/chulapa/)
24
+ # [<span class="chulapa">Chulapa</span>](https://dieghernan.github.io/chulapa/)
23
25
 
24
- ### A full flexible Jekyll theme for Github Pages
26
+ ### A flexible Jekyll theme for GitHub Pages
25
27
 
26
28
  ## Notable features
27
29
 
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).
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.
53
56
 
54
57
  ## Installation
55
58
 
56
- Sample `_config` file
57
- [here](https://github.com/dieghernan/chulapa/blob/master/_config.yml).
59
+ See the sample
60
+ [`_config.yml` file](https://github.com/dieghernan/chulapa/blob/main/_config.yml).
58
61
 
59
- There are three possible ways for installing Chulapa:
62
+ There are three ways to install <span class="chulapa">Chulapa</span>:
60
63
 
61
- ### A. Use our Github Template
64
+ ### A. Use our GitHub template
62
65
 
63
- **Recommended if your are starting from scratch.**
66
+ **Recommended if you are starting from scratch.**
64
67
 
65
- Create a Github account, click [this
66
- link](https://github.com/dieghernan/chulapa-101/generate) and quickstart your
67
- site!
68
+ Sign in to GitHub and
69
+ [create a repository from the template](https://github.com/dieghernan/chulapa-101/generate)
70
+ to get started.
68
71
 
69
72
  ### B. Remote theme method
70
73
 
71
- **Recommended if you are migrating a previous site.**
74
+ **Recommended if you are migrating an existing site.**
72
75
 
73
76
  If you prefer not to use the template, you can use the `jekyll-remote-theme`
74
77
  method. Just follow these steps:
75
78
 
76
- 1. Create a new GitHub repository or go to an existing one
79
+ 1. Create a new GitHub repository or open an existing one.
77
80
 
78
- 2. Add this line to your `_config.yml`:
81
+ 2. Add this line to your `_config.yml`:
79
82
 
80
83
  ``` yaml
81
84
 
@@ -84,42 +87,63 @@ method. Just follow these steps:
84
87
  ... more config options
85
88
  ```
86
89
 
87
- 3. Remove other `remote_theme/theme` instances of your `_config.yml` file.
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.
88
104
 
89
105
  ### C. Gem-based method 💎
90
106
 
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.
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.
95
111
 
96
- To install as a Gem-based theme:
112
+ To install as a gem-based theme:
97
113
 
98
- 1. Add the following to your `Gemfile`:
114
+ 1. Add the following to your `Gemfile`:
99
115
 
100
116
  ``` ruby
101
117
  gem "chulapa-jekyll"
102
118
  ```
103
119
 
104
- 2. Fetch and update bundled gems by running the following
120
+ 2. Install the bundled gems by running the following
105
121
  [Bundler](https://bundler.io/) command:
106
122
 
107
123
  ``` bash
108
124
  bundle
109
125
  ```
110
126
 
111
- 3. Set the `theme` in your project's Jekyll `_config.yml` file:
127
+ 3. Set the `theme` in your project's Jekyll `_config.yml` file:
112
128
 
113
129
  ``` yaml
114
130
  theme: chulapa-jekyll
115
131
  ```
116
132
 
117
- To update the theme run `bundle update`.
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.
118
139
 
119
- ## Configuration and Layouts
140
+ ## Configuration and layouts
120
141
 
121
- You have available an extensive documentation
122
- [here](https://dieghernan.github.io/chulapa/docs/01-install)
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`.
123
147
 
124
148
  ## License
125
149
 
@@ -127,21 +151,21 @@ You have available an extensive documentation
127
151
 
128
152
  ## Attributions
129
153
 
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
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
133
157
  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.
158
+ modification of this work to support the English language.
135
159
 
136
160
  Bootstrap v.4.5 is released under the [MIT
137
161
  license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright
138
162
  2020 Twitter.
139
163
 
140
- Fontawesome 6.x is free, open source, and GPL friendly -
164
+ Font Awesome 6.x is free, open source and GPL-friendly. See its
141
165
  [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL
142
166
  OFL 1.1, Code: MIT License).
143
167
 
144
- This theme incorporates some pieces of code from [Minimal
168
+ This theme incorporates code from [Minimal
145
169
  Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c)
146
170
  2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed
147
171
  under the terms of the [MIT
@@ -154,8 +178,8 @@ developed by [jwarby](https://github.com/jwarby/) distributed under the terms of
154
178
  Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
155
179
 
156
180
  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.
181
+ Sans](https://ferpal.studio/work/ferpal-sans/), developed by Silvia Ferpal.
182
+ The font is free for personal use.
159
183
 
160
184
  This theme incorporates [Jekyll Pure Liquid Table of
161
185
  Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir
@@ -167,12 +191,12 @@ Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed
167
191
  under the terms of the [MIT
168
192
  license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
169
193
 
170
- This theme incorporates [Lunr](http://lunrjs.com), Copyright (c) 2013 Oliver
194
+ This theme incorporates [Lunr](https://lunrjs.com), Copyright (c) 2013 Oliver
171
195
  Nightingale. Lunr is distributed under the terms of the [MIT
172
196
  License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
173
197
 
174
198
  This theme uses graphic resources from
175
- [Unplash](https://unsplash.com/@dieghernan/collections).
199
+ [Unsplash](https://unsplash.com/@dieghernan/collections).
176
200
 
177
201
  This theme uses graphic resources from
178
202
  [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
data/_data/version.yml CHANGED
@@ -1,2 +1,2 @@
1
- dev: v2.0.1
2
- release: v2.0.1
1
+ dev: v2.1.0
2
+ release: v2.1.0
@@ -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 %}
@@ -1,3 +1,10 @@
1
+ {%- assign thetitle = page.title | default: "Where's your title?" | strip | markdownify | strip_newlines -%}
2
+ {%- assign thetitle = thetitle | remove: '<p>' | remove: '</p>' | strip | strip_newlines %}
3
+ {%- if page.subtitle -%}
4
+ {%- assign thesub = page.subtitle | markdownify -%}
5
+ {%- assign thesub = thesub | remove: '<p>' | remove: '</p>' | strip | strip_newlines %}
6
+ {% endif %}
7
+
1
8
  {%- if include.headertype =="splash" -%}
2
9
  {%- if include.imghero -%}
3
10
  <header class="d-flex align-items-center splash-chulapa-image" style="background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.7)), url('{{ include.imghero | absolute_url }}')">
@@ -5,10 +12,10 @@
5
12
  <header class="d-flex align-items-center splash-chulapa">
6
13
  {%- endif -%}
7
14
  <div class="container-lg">
8
- <h1 class="p-name" >{{- page.title | default: "Where's your title?" -}}</h1>
15
+ <h1 class="p-name" >{{- thetitle -}}</h1>
9
16
  {%- if page.subtitle -%}
10
17
  <hr class="my-3">
11
- <p class="chulapa-subtitle p-summary">{{- page.subtitle -}}</p>
18
+ <p class="chulapa-subtitle p-summary">{{- thesub -}}</p>
12
19
  {%- endif -%}
13
20
  {% if include.projects %}
14
21
  <div class="btn-group-vertical btn-group-lg mt-5 text-center" role="group">
@@ -27,10 +34,10 @@
27
34
  <header class="d-flex align-items-center hero-chulapa">
28
35
  {%- endif -%}
29
36
  <div class="container-lg py-4">
30
- <h1 class="p-name">{{- page.title | default: "Where's your title?" -}}</h1>
37
+ <h1 class="p-name">{{- thetitle -}}</h1>
31
38
  {%- if page.subtitle -%}
32
39
  <hr class="my-3">
33
- <p class="chulapa-subtitle p-summary">{{- page.subtitle -}}</p>
40
+ <p class="chulapa-subtitle p-summary">{{- thesub -}}</p>
34
41
  {%- endif -%}
35
42
  {% if include.projects %}
36
43
  <div class="btn-group-vertical btn-group-lg mt-2 text-center" role="group">
@@ -51,9 +58,9 @@
51
58
  <div class="container-lg mt-2">
52
59
  <div class="row">
53
60
  <div class="col-lg-8 offset-lg-2">
54
- <h1 class="p-name">{{- page.title | default: "Where's your title?" -}}</h1>
61
+ <h1 class="p-name">{{- thetitle -}}</h1>
55
62
  {%- if page.subtitle -%}
56
- <p class="lead chulapa-subtitle p-summary">{{- page.subtitle -}}</p>
63
+ <p class="lead chulapa-subtitle p-summary">{{- thesub -}}</p>
57
64
  {%- endif -%}
58
65
  {% if include.projects %}
59
66
  <div class="btn-group btn-group-sm my-1 text-center" role="group">
@@ -77,9 +84,9 @@
77
84
  <div class="container-lg mt-2">
78
85
  <div class="row">
79
86
  <div class="col-lg-8 offset-lg-2">
80
- <h1 class="p-name">{{- page.title | default: "Where's your title?" -}}</h1>
87
+ <h1 class="p-name">{{- thetitle -}}</h1>
81
88
  {%- if page.subtitle -%}
82
- <p class="lead chulapa-subtitle p-summary">{{- page.subtitle -}}</p>
89
+ <p class="lead chulapa-subtitle p-summary">{{- thesub -}}</p>
83
90
  {%- endif -%}
84
91
  {% if include.projects %}
85
92
  <div class="btn-group btn-group-sm my-1 text-center" role="group">
@@ -102,9 +109,9 @@
102
109
  <div class="container-lg mt-2">
103
110
  <div class="row">
104
111
  <div class="col-lg-8 offset-lg-2">
105
- <h1 class="p-name">{{- page.title | default: "Where's your title?" -}}</h1>
112
+ <h1 class="p-name">{{- thetitle -}}</h1>
106
113
  {%- if page.subtitle -%}
107
- <p class="lead chulapa-subtitle p-summary">{{- page.subtitle -}}</p>
114
+ <p class="lead chulapa-subtitle p-summary">{{- thesub -}}</p>
108
115
  {%- endif -%}
109
116
  {% if include.projects %}
110
117
  <div class="btn-group btn-group-sm my-1 text-center" role="group">