chulapa-jekyll 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -9
  3. data/README.md +139 -81
  4. data/_data/welcomments/01_install/01H35P308R2G2YMW849CK7V1VP.json +9 -0
  5. data/_data/welcomments/02_config/01GMBNMYVQS6NCQ45S7KP1TK80.json +10 -0
  6. data/_data/welcomments/02_config/01GMBNP7RB0CBQNKKXKWG5CHJN.json +10 -0
  7. data/_data/welcomments/02_config/01GMBNX1CNV06WN12XR72CNN8D.json +11 -0
  8. data/_data/welcomments/02_config/01GME95BGP5HDQWAWFXT49FDB5.json +10 -0
  9. data/_data/welcomments/02_config/01GME9BZ4N0K0RT3WEPM397VP1.json +10 -0
  10. data/_data/welcomments/02_config/01HAH50GMY2SEESXQNR9D3V44R.json +9 -0
  11. data/_data/welcomments/welcome/01GMDMF77D4VZ7VQX9JAK0RMT5.json +10 -0
  12. data/_data/welcomments/welcome/01H1QVV3C210ND4XY30H0BZHQP.json +9 -0
  13. data/_includes/components/author.html +12 -7
  14. data/_includes/components/breadcrumbdatesocial.html +20 -12
  15. data/_includes/components/cactus.html +18 -0
  16. data/_includes/components/categories.html +1 -1
  17. data/_includes/components/cusdis.html +18 -0
  18. data/_includes/components/disqus.html +1 -1
  19. data/_includes/components/headers.html +10 -10
  20. data/_includes/components/indexcards.html +1 -1
  21. data/_includes/components/navbeforeafter.html +23 -4
  22. data/_includes/components/related.html +72 -0
  23. data/_includes/components/sidetoc.html +15 -0
  24. data/_includes/components/tags.html +1 -1
  25. data/_includes/components/toc.html +120 -50
  26. data/_includes/components/welcomments.html +10 -0
  27. data/_includes/footer.html +27 -9
  28. data/_includes/head.html +39 -30
  29. data/_includes/navbar.html +4 -4
  30. data/_includes/snippets/bootstrapdemo.html +3 -0
  31. data/_includes/snippets/carousel.html +3 -3
  32. data/_includes/snippets/masonry.html +3 -1
  33. data/_includes/snippets/video.html +20 -10
  34. data/_includes/snippets/youtube.html +10 -1
  35. data/_includes/welcomments/comment_form.html +26 -0
  36. data/_includes/welcomments/comments.html +109 -0
  37. data/_includes/welcomments/single_comment.html +57 -0
  38. data/_includes/welcomments/template.html +46 -0
  39. data/_layouts/cloudcategory.html +4 -4
  40. data/_layouts/compress.html +2 -2
  41. data/_layouts/default.html +17 -3
  42. data/_layouts/landingpage.html +21 -3
  43. data/_layouts/minimal.html +5 -6
  44. data/_layouts/search.html +8 -7
  45. data/_sass/chulapa/_classes.scss +1270 -0
  46. data/_sass/{chulapa-misc.scss → chulapa/_reboot.scss} +24 -4
  47. data/_sass/{chulapa-vars.scss → chulapa/_variables.scss} +25 -5
  48. data/_sass/chulapa-master.scss +5 -5
  49. data/_sass/highlight/monokai.scss +1 -1
  50. data/_sass/reset-algolia.scss +1 -1
  51. data/_sass/skins/academia.scss +23 -17
  52. data/_sass/skins/auto.scss +2 -1
  53. data/_sass/skins/chulapa.scss +14 -12
  54. data/_sass/skins/dark-bg.scss +62 -0
  55. data/_sass/skins/deeply.scss +4 -3
  56. data/_sass/skins/gitdev-dark.scss +97 -0
  57. data/_sass/skins/gitdev.scss +86 -0
  58. data/_sass/skins/graymor.scss +17 -18
  59. data/_sass/skins/hootstrap.scss +12 -12
  60. data/_sass/skins/journal.scss +6 -5
  61. data/_sass/skins/lux.scss +9 -10
  62. data/_sass/skins/lymcha.scss +10 -10
  63. data/_sass/skins/minty.scss +14 -11
  64. data/_sass/skins/pear.scss +18 -18
  65. data/_sass/skins/preptor.scss +13 -14
  66. data/_sass/skins/sketchy.scss +5 -4
  67. data/_sass/skins/sunset.scss +10 -10
  68. data/_sass/skins/towards.scss +50 -0
  69. data/_sass/skins/twitter-dim.scss +38 -28
  70. data/_sass/skins/twitter-lights-out.scss +38 -30
  71. data/_sass/skins/twitter.scss +25 -25
  72. data/_sass/skins/universal.scss +79 -21
  73. data/_sass/skins/wandoo.scss +12 -13
  74. data/assets/css/main.scss +1 -1
  75. data/assets/css/welcomments.scss +572 -0
  76. data/assets/fonts/Hubot-Sans/Hubot-Sans.woff2 +0 -0
  77. data/assets/fonts/Hubot-Sans/LICENSE.txt +93 -0
  78. data/assets/fonts/Mona-Sans/LICENSE.txt +93 -0
  79. data/assets/fonts/Mona-Sans/Mona-Sans.woff2 +0 -0
  80. data/assets/js/ch_ytdefer/ch_ytdefer.js +3 -1
  81. data/assets/js/chulapa_script.js +175 -0
  82. data/assets/js/clipboard/chulapa_clipboard.js +109 -0
  83. data/assets/js/cusdis/chulapa_cusdis.js +1 -0
  84. data/assets/js/google/google-search.js +0 -1
  85. metadata +37 -63
  86. data/_sass/chulapa-classes.scss +0 -844
  87. data/assets/fonts/Chulapa/Chulapa-Bold.otf +0 -0
  88. data/assets/fonts/Chulapa/Chulapa-Bold_v2.1.otf +0 -0
  89. data/assets/fonts/Chulapa/Chulapa-Bold_v2.2.otf +0 -0
  90. data/assets/fonts/Chulapa/Chulapa-Bold_v2.otf +0 -0
  91. data/assets/fonts/Chulapa/Chulapa-Light.otf +0 -0
  92. data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
  93. data/assets/js/ch_ytdefer/ch_ytdefer.min.js +0 -1
  94. data/assets/js/clipboardrouge.js +0 -95
  95. /data/_sass/{bootstrapv5-migration.scss → chulapa/_bootstrapv5.scss} +0 -0
  96. /data/_sass/{chulapa-mixins.scss → chulapa/_mixins.scss} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01b74df06b414b3f7a91a57e4752f465d015d49de4eb381b4935e1378606bfec
4
- data.tar.gz: 12fd46079fe2cbcdfe04a57841324dca42590b1a1f4464bf357ad5bea1dbb6be
3
+ metadata.gz: 20426a8a845b8b7028af8c20d6759b0a7b17d508fdb5ba192d0ad2352014f3ce
4
+ data.tar.gz: 72b918b9aeb32b53cc90c055c9c3a62dcf5e90852ff7d89d17c0d8aaf63af1bf
5
5
  SHA512:
6
- metadata.gz: 57392015f7ddf716eaeaaac862f8725b95273051b76ee38393d659a54a7ae88be170329cf0f3c342e18b219437f8fb0b71f6ae18ba0b90ca365d14f473dce422
7
- data.tar.gz: d781dac4d4298b96244f9712e118d4e085a9c4ef882be1925ec7f66d5adc3ca019c259f2a09eea191776dcf248757ea13fc4abc54aed511dbc1be6d5180a4dc9
6
+ metadata.gz: 862e191962098e045457fe8fdc4cbe65ea71b8e7174371700c26d48f5e2ff1b8451ef3079b4089cde238cf976116c4cdc29634c3b070a461d72f8f284dea61f3
7
+ data.tar.gz: 702c270b2d65ff779b099de5091ec3db6ad0cf1f825bd41d4ef426e3f1438c2fc1fd2000dea6867fcfc7d31ae73c35a87dedc2cd8ae4c4b96f2a88952c5df40a
data/CHANGELOG.md CHANGED
@@ -1,8 +1,46 @@
1
+ ## v1.1.0 - 2023-12-13
2
+
3
+ ### Added
4
+
5
+ - Add new "Share on Mastodon" button.
6
+ - Add more comment providers:
7
+ - Cactus
8
+ - Cusdis
9
+ - Welcomments
10
+ - New skins:
11
+ - `gitdev`
12
+ - `gitdev-dark`
13
+ - `towards`
14
+ - New `related` component.
15
+ - Add link to headings via JS.
16
+ - Implemented `show_sidetoc`.
17
+ - Added support for
18
+ [microformats2](http://microformats.org/wiki/microformats2).
19
+
20
+ ### Changed
21
+
22
+ - Improve font loading on skins.
23
+ - Improve Universal skin.
24
+ - Remove Clipboard.js dependency. Chulapa now uses a custom script.
25
+ - FontAwesome Icons now present transitions on hover.
26
+ - YouTube videos are lazy-deferred by default.
27
+ - Improvements on pagination.
28
+ - Several adjustments on skins.
29
+
30
+ #### Checklist
31
+
32
+ - [x] Bump version on `head`
33
+ - [ ] Bump version on docs
34
+ - [ ] Bump version on `chulapa-101` remote theme
35
+
36
+ ## v1.0.1 - 2022-11-25
37
+
38
+ This version only affects to the gem: - Remove dependencies to make it
39
+ compatible with other Jekyll versions.
40
+
1
41
  ## v1.0.0 - 2022-11-24
2
42
 
3
- - [x] Bump version on `head`
4
- - [ ] Bump version on docs
5
- - [ ] Bump version on `chulapa-101` remote theme
43
+ Public release with a Gem
6
44
 
7
45
  ## v1.0.0-beta.1 - 2020-07-28
8
46
 
@@ -10,18 +48,16 @@ Pre-release - first stable beta of the software
10
48
 
11
49
  ### Added
12
50
 
13
- - First stable beta - Software is public
51
+ - First stable beta - Software is public
14
52
 
15
53
  ### Changed
16
54
 
17
- -
55
+ -
18
56
 
19
57
  ### Removed
20
58
 
21
- -
59
+ -
22
60
 
23
61
  ### Fixed
24
62
 
25
- -
26
-
27
-
63
+ -
data/README.md CHANGED
@@ -1,21 +1,21 @@
1
- [![Chulapa live preview][2]][1]
2
-
3
- [1]: https://dieghernan.github.io/chulapa/
4
- [2]: https://dieghernan.github.io/chulapa/assets/img/site/banner.png (live preview)
5
-
6
- ![GitHub release (latest by date)](https://img.shields.io/github/v/release/dieghernan/chulapa)
7
- ![GitHub](https://img.shields.io/github/license/dieghernan/chulapa)
8
- ![Jekyll](https://img.shields.io/badge/jekyll-3.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.7.0-blue)
12
- ![lunr](https://img.shields.io/badge/lunr-2.3.8-blue)
13
- ![mathjax](https://img.shields.io/badge/mathjax-2.7.1-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)
17
- ![social sharing](https://img.shields.io/badge/social--sharing-ready-succes)
18
- ![seo](https://img.shields.io/badge/seo-ready-succes)
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://badge.fury.io/rb/chulapa-jekyll.svg)](https://rubygems.org/gems/chulapa-jekyll)
7
+ ![GitHub](https://img.shields.io/github/license/dieghernan/chulapa)
8
+ ![Jekyll](https://img.shields.io/badge/jekyll-3.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
19
  ![video](https://img.shields.io/badge/video--support-ok-succes)
20
20
  [![ko-fi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://ko-fi.com/dieghernan)
21
21
 
@@ -25,72 +25,105 @@
25
25
 
26
26
  ## Notable features
27
27
 
28
- - **Bootstrap 4** - Fully responsive
29
- - **Fontawesome 6** - v5 also supported. v4 is supported via shims but would be deprecated at some point
30
- - **3 different navbar styles**
31
- - **Atom and RSS 2.0** feed
32
- - **Internal search** by Algolia, Lunr or Google Custom Search
33
- - **Comments** by Disqus and Giscus
34
- - **Masonry gallery**
35
- - **Video support** - self-hosted or from core providers: Youtube, Vimeo, DailyMotion...
36
- - **Structured data** for better SEO
37
- - **Code highlight** - +20 Pygment styles
38
- - **Mathjax** inside
39
- - **Google Analytics**
40
- - **Twitter Cards** and **Open Graph** data valid for Facebook, LinkedIn and WhatsApp
41
- - **14+ preinstalled skins**
42
- - **Powerful look-and-feel customization** with a dedicated sandbox
43
- - **Archive, cloud tag and index special layouts**
44
- - **Do you like breadcrumbs?** We have it.
45
- - **Multiple authors** with location, picture and social links. Travel blogs and colaborative sites welcome!
46
-
47
- A great alternative for blogs, news, portfolios and personal sites. Want to know more? [Go to Docs](https://dieghernan.github.io/chulapa/docs/01-install).
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 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).
48
53
 
49
54
  ## Installation
50
- ### A. Remote theme method
51
55
 
52
- By using `jekyll-remote-theme` your repo would have remote access to the content of these folders:
56
+ Sample `_config` file
57
+ [here](https://github.com/dieghernan/chulapa/blob/master/_config.yml).
53
58
 
54
- - `assets`
55
- - `_layouts`
56
- - `_includes`
57
- - `_sass`
59
+ There are three possible ways for installing Chulapa:
58
60
 
59
- This method allows you to get updates easily
61
+ ### A. Use our Github Template
60
62
 
61
- #### Fresh start
63
+ **Recommended if your are starting from scratch.**
62
64
 
63
- Create a Github account, go to [chulapa-101 repo](https://github.com/dieghernan/chulapa-101), fork it and quickstart your site!
65
+ Create a Github account, click [this
66
+ link](https://github.com/dieghernan/chulapa-101/generate) and quickstart your
67
+ site!
64
68
 
65
- #### Migrate
69
+ ### B. Remote theme method
66
70
 
67
- You can migrate an existing page adding this line to your `_config.yml` and make sure to remove any previous theme or remote theme parameter:
68
-
69
- ```yaml
70
- remote_theme: dieghernan/chulapa
71
+ **Recommended if you are migrating a previous site.**
71
72
 
72
- ... more config options
73
- ```
74
-
73
+ If you prefer not to use the template, you can use the `jekyll-remote-theme`
74
+ method. Just follow these steps:
75
75
 
76
- ### B. Fork the base repository [Advance users only]
76
+ 1. Create a new GitHub repository or go to an existing one
77
77
 
78
- You can fork [the base repo](https://github.com/dieghernan/chulapa/generate) and modify it. However, the site would be frozen at the moment of forking and it would make harder for you to get potential new features and upgrades.
78
+ 2. Add this line to your `_config.yml`:
79
79
 
80
- The minimal files and folders you need are:
81
-
82
- - `assets`
83
- - `_layouts`
84
- - `_includes`
85
- - `_sass`
86
- - `Gemfile`
87
- - `_config.yml`
80
+ ``` yaml
88
81
 
89
- Sample `_config` file [here](https://github.com/dieghernan/chulapa/blob/master/_config.yml).
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`.
90
118
 
91
119
  ## Configuration and Layouts
92
120
 
93
- You have available an extensive documentation [here](https://dieghernan.github.io/chulapa/docs/01-install)
121
+ You have available an extensive documentation
122
+ [here](https://dieghernan.github.io/chulapa/docs/01-install)
123
+
124
+ ## Performance
125
+
126
+ [![Performance](https://raw.githubusercontent.com/dieghernan/chulapa/master/github-metrics.svg)](https://pagespeed.web.dev/report?url=https://dieghernan.github.io/chulapa/)
94
127
 
95
128
  ## License
96
129
 
@@ -98,29 +131,54 @@ You have available an extensive documentation [here](https://dieghernan.github.i
98
131
 
99
132
  ## Attributions
100
133
 
101
- **Chulapa** is a font owned by the City Council of Madrid designed and produced by Joancarles Casasín y Pablo Gámez on a previous design of Silvia Fernández Palomar licensed under [Creative Commons CC BY, Versión 4.0](https://creativecommons.org/licenses/by/4.0/). This theme incorporates a modification of this work in order to provide support to the english language.
134
+ **Chulapa** is a font owned by the City Council of Madrid designed and produced
135
+ by Joancarles Casasín y Pablo Gámez on a previous design of Silvia Fernández
136
+ Palomar licensed under [Creative Commons CC BY, Versión
137
+ 4.0](https://creativecommons.org/licenses/by/4.0/). This theme incorporates a
138
+ modification of this work in order to provide support to the english language.
102
139
 
103
- Bootstrap v.4.5 is released under the [MIT license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright 2020 Twitter.
140
+ Bootstrap v.4.5 is released under the [MIT
141
+ license](https://github.com/twbs/bootstrap/blob/v4.5.0/LICENSE) and is copyright
142
+ 2020 Twitter.
104
143
 
105
- Fontawesome 6.x is free, open source, and GPL friendly - [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License).
144
+ Fontawesome 6.x is free, open source, and GPL friendly -
145
+ [License](https://fontawesome.com/license/free) (Icons: CC BY 4.0, Fonts: SIL
146
+ OFL 1.1, Code: MIT License).
106
147
 
107
- This theme incorporates some pieces of code from [Minimal Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c) 2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed under the terms of the [MIT license](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE).
148
+ This theme incorporates some pieces of code from [Minimal
149
+ Mistakes](https://mmistakes.github.io/minimal-mistakes/), Copyright (c)
150
+ 2013-2020 [Michael Rose](https://mademistakes.com/) and contributors distributed
151
+ under the terms of the [MIT
152
+ license](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE).
108
153
 
109
- This theme incorporates [Pygments CSS Themes](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html), developed by [jwarby](https://github.com/jwarby/) distributed under the terms of [The Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
154
+ This theme incorporates [Pygments CSS
155
+ Themes](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html),
156
+ developed by [jwarby](https://github.com/jwarby/) distributed under the terms of
157
+ [The
158
+ Unlicense](https://github.com/jwarby/jekyll-pygments-themes/blob/master/UNLICENSE.txt).
110
159
 
111
- This theme incorporates [Ferpal Sans](https://www.silviaferpal.com/portfolio-1/ferpalsans) developed by Silvia Ferpal and it's free for personal use.
160
+ This theme incorporates [Ferpal
161
+ Sans](https://www.silviaferpal.com/portfolio-1/ferpalsans) developed by Silvia
162
+ Ferpal and it's free for personal use.
112
163
 
113
- This theme incorporates [Jekyll Pure Liquid Table of Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir "allejo" Jimenez](https://github.com/allejo) distributed under the terms of the [MIT license](https://github.com/allejo/jekyll-toc/blob/master/LICENSE.MIT.md).
164
+ This theme incorporates [Jekyll Pure Liquid Table of
165
+ Contents](https://github.com/allejo/jekyll-toc), Copyright © 2017 [Vladimir
166
+ "allejo" Jimenez](https://github.com/allejo) distributed under the terms of the
167
+ [MIT license](https://github.com/allejo/jekyll-toc/blob/master/LICENSE.MIT.md).
114
168
 
115
- This theme incorporates [Compress HTML in Jekyll](http://jch.penibelst.de/), Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed under the terms of the [MIT license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
169
+ This theme incorporates [Compress HTML in Jekyll](http://jch.penibelst.de/),
170
+ Copyright (c) 2014 [Anatol Broder](https://github.com/penibelst) distributed
171
+ under the terms of the [MIT
172
+ license](https://github.com/penibelst/jekyll-compress-html/blob/master/LICENSE).
116
173
 
117
- This theme incorporates [Lunr](http://lunrjs.com),
118
- Copyright (c) 2013 Oliver Nightingale.
119
- Lunr is distributed under the terms of the [MIT License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
174
+ This theme incorporates [Lunr](http://lunrjs.com), Copyright (c) 2013 Oliver
175
+ Nightingale. Lunr is distributed under the terms of the [MIT
176
+ License](https://github.com/olivernn/lunr.js/blob/master/LICENSE).
120
177
 
121
- This theme uses graphic resources from [Unplash](https://unsplash.com/@dieghernan/collections).
178
+ This theme uses graphic resources from
179
+ [Unplash](https://unsplash.com/@dieghernan/collections).
122
180
 
123
- This theme uses graphic resources from [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
181
+ This theme uses graphic resources from
182
+ [Pexels](https://www.pexels.com/@dieghernan-3081919/collections/).
124
183
 
125
184
  This theme uses graphic resources from [Lorem Picsum](https://picsum.photos/).
126
-
@@ -0,0 +1,9 @@
1
+ {
2
+ "author": {
3
+ "name": "test"
4
+ },
5
+ "date": "2023-06-17T22:02:24Z",
6
+ "id": "01H35P308R2G2YMW849CK7V1VP",
7
+ "message": "test",
8
+ "message_html": "<p>test</p>"
9
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "author": {
3
+ "name": "dieghernan",
4
+ "website": "https://dieghernan.github.io/"
5
+ },
6
+ "date": "2022-12-15T19:54:43Z",
7
+ "id": "01GMBNMYVQS6NCQ45S7KP1TK80",
8
+ "message": "Hi, this site uses welcomments",
9
+ "message_html": "<p>Hi, this site uses welcomments</p>"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "author": {
3
+ "name": "unregistered"
4
+ },
5
+ "date": "2022-12-15T19:55:25Z",
6
+ "id": "01GMBNP7RB0CBQNKKXKWG5CHJN",
7
+ "message": "Cool! Users doesn't need to register for commenting",
8
+ "message_html": "<p>Cool! Users doesn’t need to register for commenting</p>",
9
+ "replying_to": "01GMBNMYVQS6NCQ45S7KP1TK80"
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "author": {
3
+ "name": "dieghernan ",
4
+ "website": "https://dieghernan.github.io/"
5
+ },
6
+ "date": "2022-12-15T19:59:08Z",
7
+ "id": "01GMBNX1CNV06WN12XR72CNN8D",
8
+ "message": "Good, but I still can manage the comments on the welcomments dashboard to filter out spammers 😍. Also, as the comments are hosted on my GitHub repo, I just need to delete the corresponding `_data` entry to clean up the thread",
9
+ "message_html": "<p>Good, but I still can manage the comments on the welcomments dashboard to filter out spammers 😍. Also, as the comments are hosted on my GitHub repo, I just need to delete the corresponding <code class=\"inline\">_data</code> entry to clean up the thread</p>",
10
+ "replying_to": "01GMBNP7RB0CBQNKKXKWG5CHJN"
11
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "author": {
3
+ "name": "dieghernan",
4
+ "website": "https://dieghernan.github.io/"
5
+ },
6
+ "date": "2022-12-16T20:14:13Z",
7
+ "id": "01GME95BGP5HDQWAWFXT49FDB5",
8
+ "message": "We can use Markdown:\n\nSee **bold** and _italic_.\n\nA list:\n\n* One\n* Two\n\n# A header\n\n## A second header\n\nA [link](https://dieghernan.github.io/chulapa/docs/01-install)\n\nAn image\n\n![](https://dieghernan.github.io/chulapa/assets/img/site/chulapa-madrid.jpg)",
9
+ "message_html": "<p>We can use Markdown:</p><p>See <strong>bold</strong> and <em>italic</em>.</p><p>A list:</p><ul><li>One</li><li>Two</li></ul><h1>A header</h1><h2>A second header</h2><p>A <a href=\"https://dieghernan.github.io/chulapa/docs/01-install\" rel=\"external nofollow\" target=\"_blank\">link</a></p><p>An image </p><p><img src=\"https://dieghernan.github.io/chulapa/assets/img/site/chulapa-madrid.jpg\" alt=\"\" /></p>"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "author": {
3
+ "name": "dieghernan"
4
+ },
5
+ "date": "2022-12-16T20:17:49Z",
6
+ "id": "01GME9BZ4N0K0RT3WEPM397VP1",
7
+ "message": "Testing code syntax highlighting\n\n```js\n// Javascript code with syntax highlighting.\nvar fun = function lang(l) {\n dateformat.i18n = require('./lang/' + l)\n return true;\n}\n```",
8
+ "message_html": "<p>Testing code syntax highlighting </p><pre><code class=\"js\">// Javascript code with syntax highlighting.\nvar fun = function lang(l) {\n dateformat.i18n = require(&#39;./lang/&#39; + l)\n return true;\n}</code></pre>",
9
+ "replying_to": "01GME95BGP5HDQWAWFXT49FDB5"
10
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "author": {
3
+ "name": "John Doe"
4
+ },
5
+ "date": "2023-09-17T08:44:43Z",
6
+ "id": "01HAH50GMY2SEESXQNR9D3V44R",
7
+ "message": "Test comment...",
8
+ "message_html": "<p>Test comment…</p>"
9
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "author": {
3
+ "name": "Example",
4
+ "website": "https://es.wikipedia.org/wiki/Traje_de_chulapa"
5
+ },
6
+ "date": "2022-12-16T14:12:36Z",
7
+ "id": "01GMDMF77D4VZ7VQX9JAK0RMT5",
8
+ "message": "Consta de falda larga ceñida en las caderas y con amplio vuelo en el bajo, realzado a veces por gran volante inferior; mangas de farol en el cuerpo o blusa, estrecha por abajo, y sobre los hombros el rico mantón de manila, de seda, bordados de colores y amplios flecos; o el «alfombrado» de lana o con dibujo cachemir; u otro más sencillo y menos pretencioso el del crespón negro liso, sin más adorno que el rebolotero de sus flecos. El vestido ceñido de lunares hasta los pies, es una evolución de la falda.\n\nEl Madrid castizo, en sus verbenas, se visten de chulapas las mozas. Sus trajes son muy variados, respecto a telas lo habitual es que sean de lunares, pero muchas utilizan color liso, estampadas o cuadros. El corte es entallado hasta encima de la rodilla, luego un volante de media capa cubriendo el tobillo. El cuerpo lleva una pechera con tiras de entredós y una cinta metida por ella, al igual que en la costura del volante. En la cabeza lleva un pañuelo blanco atado adelante y con un clavel encima de la cabeza.",
9
+ "message_html": "<p>Consta de falda larga ceñida en las caderas y con amplio vuelo en el bajo, realzado a veces por gran volante inferior; mangas de farol en el cuerpo o blusa, estrecha por abajo, y sobre los hombros el rico mantón de manila, de seda, bordados de colores y amplios flecos; o el «alfombrado» de lana o con dibujo cachemir; u otro más sencillo y menos pretencioso el del crespón negro liso, sin más adorno que el rebolotero de sus flecos. El vestido ceñido de lunares hasta los pies, es una evolución de la falda.</p><p>El Madrid castizo, en sus verbenas, se visten de chulapas las mozas. Sus trajes son muy variados, respecto a telas lo habitual es que sean de lunares, pero muchas utilizan color liso, estampadas o cuadros. El corte es entallado hasta encima de la rodilla, luego un volante de media capa cubriendo el tobillo. El cuerpo lleva una pechera con tiras de entredós y una cinta metida por ella, al igual que en la costura del volante. En la cabeza lleva un pañuelo blanco atado adelante y con un clavel encima de la cabeza.</p>"
10
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "author": {
3
+ "name": "نرخرخزرزخرمذ"
4
+ },
5
+ "date": "2023-05-31T02:57:53Z",
6
+ "id": "01H1QVV3C210ND4XY30H0BZHQP",
7
+ "message": "نررهزهزههر",
8
+ "message_html": "<p>نررهزهزههر</p>"
9
+ }
@@ -9,11 +9,12 @@
9
9
  {%- assign location = site.author.location -%}
10
10
  {%- assign links = site.author.links -%}
11
11
  {%- endif -%}
12
+ <div rel="author" class="h-card p-author">
12
13
  <div class="row d-flex align-items-center mb-2">
13
14
  {%- if avatar -%}
14
- <img src="{{ avatar | absolute_url }}" alt="{{ name }}" class="ml-3 mr-0 mx-lg-auto mb-lg-1 chulapa-avatar-size">
15
+ <img src="{{ avatar | absolute_url }}" alt="{{ name }}" class="ml-3 mr-0 mx-lg-auto mb-lg-1 chulapa-avatar-size u-photo">
15
16
  {%- endif -%}
16
- <div class="col-9 col-lg-12 text-lg-center">
17
+ <div class="col-9 col-lg-12 text-lg-center p-name">
17
18
  {{ name }}
18
19
  </div>
19
20
  </div>
@@ -21,20 +22,24 @@
21
22
  <div class="col text-lg-center">
22
23
  {%- if location -%}
23
24
  <address class="d-inline d-lg-block mr-2 mx-lg-auto mb-lg-2 small chulapa-links-hover-only">
24
- <a class="pr-lg-0" href="https://www.google.com/maps/search/?api=1&query={{- location | url_encode | replace: '%20', '+' -}}">
25
+ <a class="pr-lg-0 p-region" href="https://www.google.com/maps/search/?api=1&query={{- location | url_encode | replace: '%20', '+' -}}">
25
26
  <i class="fas fa-map-marker-alt fa-lg mr-1" aria-hidden="true"></i>{{ location }}</a>
26
27
  </address>
27
28
  {%- endif -%}
28
29
  {%- if links -%}
29
30
  <div class="d-inline my-1 mx-lg-0 chulapa-links-hover-only">
30
31
  {%- for item in links -%}
31
- {%- if item.url contains "@" -%}
32
- <a class="mr-2 mx-lg-1" href="mailto:{{ item.url }}?subject={{ site.title | append: ' web - ' | append: page.title | strip_html | uri_escape }}"><i class="{{ item.icon }} fa-lg"></i></a>
33
- {%- else -%}
34
- <a class="mr-2 mx-lg-1" href="{{ item.url }}"><i class="{{ item.icon }} fa-lg"></i></a>
32
+ {%- assign urlslice = item.url | slice: 0,4 -%}
33
+ {%- if urlslice == "http" -%}
34
+ <a class="mr-2 mx-lg-1 u-url" rel="me" href="{{ item.url }}" title="{{ item.label | default: item.icon }}" aria-label="{{ item.label | default: item.icon }}" ><i class="{{ item.icon }} fa-lg" aria-hidden="true"></i></a>
35
+ {%- elsif item.url contains "@" -%}
36
+ <a class="mr-2 mx-lg-1 u-email" href="mailto:{{ item.url }}?subject={{ site.title | append: ' web - ' | append: page.title | strip_html | uri_escape }}" title="{{ item.label | default: 'Email' }}" aria-label="{{ item.label | default: 'Email' }}" ><i class="{{ item.icon }} fa-lg" aria-hidden="true"></i></a>
37
+ {% else %}
38
+ <a class="mr-2 mx-lg-1 u-url" rel="me" href="{{ item.url }}" title="{{ item.label | default: item.icon }}" aria-label="{{ item.label | default: item.icon }}"><i class="{{ item.icon }} fa-lg" aria-hidden="true"></i></a>
35
39
  {%- endif -%}
36
40
  {%- endfor -%}
37
41
  </div>
38
42
  {%- endif -%}
39
43
  </div>
40
44
  </div>
45
+ </div>
@@ -1,8 +1,13 @@
1
1
  {%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url | uri_escape -%}
2
2
  {%- assign sharetitle = page.title | default: site.title | default: site.github.repository_name | strip_html -%}
3
+ {%- assign classbread = "col-lg-8" -%}
4
+ {%- if page.show_sociallinks -%}
5
+ {%- assign classbread = "col-lg-5" -%}
6
+ {% endif %}
7
+
3
8
  {% assign tagsize = page.tags | size %}
4
9
  <div class="row my-1">
5
- <div class="col-lg-6 offset-lg-2 col small">
10
+ <div class="{{ classbread }} offset-lg-2 col small">
6
11
  {% if page.show_breadcrumb %}
7
12
  <nav aria-label="breadcrumb">
8
13
  <ol class="breadcrumb my-0 py-0 chulapa-bg-transparent pl-0" itemscope itemtype="https://schema.org/BreadcrumbList">
@@ -10,7 +15,7 @@
10
15
  {% for item in page.breadcrumb_list %}
11
16
  <li class="breadcrumb-item" itemprop="itemListElement" itemscope
12
17
  itemtype="https://schema.org/ListItem"><a href="{{ item.url | absolute_url }}" itemprop="item"><span itemprop="name">{{ item.label }}</span></a>
13
- <meta itemprop="position" content="{{ forloop.index }}" /></li>
18
+ <meta itemprop="position" content="{{ forloop.index }}" ></li>
14
19
  {% if forloop.last %}
15
20
  {% assign loopplus1 = forloop.index | plus: 1 %}
16
21
  {% endif %}
@@ -18,16 +23,16 @@
18
23
  <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope
19
24
  itemtype="https://schema.org/ListItem">
20
25
  <span itemprop="name">{{ page.title }}</span>
21
- <meta itemprop="position" content="{{ loopplus1 }}" />
26
+ <meta itemprop="position" content="{{ loopplus1 }}" >
22
27
  </li>
23
28
  {% else %}
24
29
  <li class="breadcrumb-item" itemprop="itemListElement" itemscope
25
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>
26
- <meta itemprop="position" content="1" /></li>
31
+ <meta itemprop="position" content="1" ></li>
27
32
  <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope
28
33
  itemtype="https://schema.org/ListItem">
29
34
  <span itemprop="name">{{ page.title }}</span>
30
- <meta itemprop="position" content="2" />
35
+ <meta itemprop="position" content="2" >
31
36
  </li>
32
37
  {% endif %}
33
38
  </ol>
@@ -38,25 +43,28 @@
38
43
  {% if page.last_modified_at %}
39
44
  {%- assign dateformat1 = page.last_modified_at | date_to_string -%}
40
45
  {%- assign dateformat2 = page.date | date_to_string -%}
41
- <time datetime="{{ page.last_modified_at | date_to_xmlschema }}">{% include_cached snippets/datetranslate.html date=dateformat1 %}</time>
46
+ <time class="dt-updated" datetime="{{ page.last_modified_at | date_to_xmlschema }}">{% include_cached snippets/datetranslate.html date=dateformat1 %}</time>
42
47
  <i class="fa fa-redo fa-xs" aria-hidden="true"></i>
43
48
  <br>
44
49
  <span class="font-weight-light chulapa-text-line-through">{% include_cached snippets/datetranslate.html date=dateformat2 %}</span>
45
50
  {% else %}
46
51
  {%- assign dateformat = page.date | date_to_string -%}
47
- <time datetime="{{ page.date | date_to_xmlschema }}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
52
+ <time datetime="{{ page.date | date_to_xmlschema }}" class="dt-published" >{% include_cached snippets/datetranslate.html date=dateformat %}</time>
48
53
  {% endif %}
49
54
  </div>
50
55
  {%- endif -%}
51
56
 
52
57
  </div>
53
58
  {%- if page.show_sociallinks -%}
54
- <div class="col-lg-2 col-3 text-right lead chulapaDateSocial">
55
- <a href="https://twitter.com/intent/tweet?url={{ canonical_url }}&text={{ sharetitle | url_encode }}{%- if site.twitter_site -%}&via={{- site.twitter_site -}}{%- endif -%}{%- if tagsize > 0 -%}&hashtags={{- page.tags | join: "," | replace: " ", "-" | replace: "-", "" -}}{%- endif -%}" title="Share on Twitter"><i class="fab fa-twitter-square fa-lg" aria-hidden="true"></i></a>
56
- <a class="d-none d-sm-inline" href="https://www.facebook.com/sharer.php?u={{ canonical_url }}" title="Share on Facebook"><i class="fab fa-facebook-square fa-lg" aria-hidden="true"></i></a>
59
+ <div class="col-lg-3 col-sm-4 col-3 text-right lead chulapaDateSocial">
60
+ <a href="https://twitter.com/intent/tweet?url={{ canonical_url }}&text={{ sharetitle | url_encode }}{%- if site.twitter_site -%}&via={{- site.twitter_site -}}{%- endif -%}{%- if tagsize > 0 -%}&hashtags={{- page.tags | join: "," | replace: " ", "-" | replace: "-", "" -}}{%- endif -%}" title="Share on Twitter" aria-label="Share on Twitter" ><i class="fab fa-twitter-square fa-lg" aria-hidden="true"></i></a>
61
+
62
+ <a href="https://toot.kytta.dev/?text={{ sharetitle | uri_escape }}%20{{ canonical_url }}{%- if tagsize > 0 -%}%20%23{{- page.tags | join: '%20%23' | replace: " ", "-" | replace: "-", "" -}}{%- endif -%}" title="Share on Mastodon" aria-label="Share on Mastodon"><i class="fa-brands fa-mastodon fa-lg" aria-hidden="true"></i></a>
63
+
64
+ <a class="d-none d-sm-inline" href="https://www.facebook.com/sharer.php?u={{ canonical_url }}" title="Share on Facebook" aria-label="Share on Facebook" ><i class="fab fa-facebook-square fa-lg" aria-hidden="true"></i></a>
57
65
 
58
- <a href="https://api.whatsapp.com/send?&text={{ sharetitle | url_encode }}%20{{ canonical_url }}" title="Share on Whatsapp"><i class="fab fa-whatsapp-square fa-lg" aria-hidden="true"></i></a>
59
- <a class="d-none d-sm-inline" href="https://www.linkedin.com/shareArticle?url={{ canonical_url }}&title={{ sharetitle | url_encode }}" title="Share on LinkedIn"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a>
66
+ <a class="d-none d-sm-inline" href="https://api.whatsapp.com/send?&text={{ sharetitle | url_encode }}%20{{ canonical_url }}" title="Share on Whatsapp" aria-label="Share on Whatsapp" ><i class="fab fa-whatsapp-square fa-lg" aria-hidden="true"></i></a>
67
+ <a class="d-none d-sm-inline" href="https://www.linkedin.com/shareArticle?url={{ canonical_url }}&title={{ sharetitle | url_encode }}" title="Share on LinkedIn" aria-label="Share on LinkedIn"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a>
60
68
 
61
69
  </div>
62
70
  {%- endif -%}
@@ -0,0 +1,18 @@
1
+ {% if site.comments.cactus_shortname %}
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-lg-8 offset-lg-2">
5
+ <div id="comment-section"></div>
6
+ <script>
7
+ initComments({
8
+ node: document.getElementById("comment-section"),
9
+ defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
10
+ serverName: "cactus.chat",
11
+ siteName: "{{ site.comments.cactus_shortname }}",
12
+ commentSectionId: "{{ include.pageurl | replace: "_", "-" }}"
13
+ })
14
+ </script>
15
+ <noscript>Please enable JavaScript to view the <a href="https://cactus.chat" rel="nofollow">comments powered by matrix.org.</a></noscript>
16
+ </div>
17
+ </div>
18
+ {% endif %}
@@ -7,7 +7,7 @@
7
7
  {%- for category in page.categories %}
8
8
  <a href="{{- category | replace: " ", "-" | prepend: "#" |
9
9
  prepend: page.cloudcategory_url |
10
- absolute_url | uri_escape -}}" class="badge chulapa-pill-bg-secondary">{{- category -}}</a>
10
+ absolute_url | uri_escape -}}" class="badge chulapa-pill-bg-secondary p-category" rel="tag">{{- category -}}</a>
11
11
  {% endfor -%}
12
12
  </div>
13
13
  </div>