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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +264 -35
- data/README.md +189 -180
- data/_data/version.yml +2 -2
- data/_includes/components/archive-documents.html +56 -0
- data/_includes/components/author.html +6 -1
- data/_includes/components/breadcrumbdatesocial.html +16 -12
- data/_includes/components/cactus.html +2 -1
- data/_includes/components/cloud-entry.html +26 -0
- data/_includes/components/cloud.html +66 -0
- data/_includes/components/collection-documents.html +17 -0
- data/_includes/components/footer-content.html +34 -0
- data/_includes/components/headers.html +22 -15
- data/_includes/components/indexcards.html +13 -10
- data/_includes/components/indexcategory-documents.html +11 -0
- data/_includes/components/navbar-classic.html +58 -0
- data/_includes/components/navbeforeafter.html +9 -6
- data/_includes/components/navigation-fallback.html +19 -0
- data/_includes/components/random.html +1 -0
- data/_includes/components/recommendations.html +97 -0
- data/_includes/components/related.html +1 -104
- data/_includes/components/scripts.html +9 -0
- data/_includes/components/sidetoc.html +5 -4
- data/_includes/components/simplelist.html +26 -0
- data/_includes/components/skin-attribution.html +169 -0
- data/_includes/components/theme-selector.html +14 -0
- data/_includes/footer.html +14 -165
- data/_includes/head.html +389 -242
- data/_includes/navbar.html +33 -77
- data/_includes/search/fusejs.html +20 -0
- data/_includes/search/google.html +3 -3
- data/_includes/search/lunr.html +19 -7
- data/_includes/search/simplesearch.html +46 -0
- data/_includes/snippets/article-images.html +25 -0
- data/_includes/snippets/bootstrapdemo.html +1472 -1303
- data/_includes/snippets/breadcrumb-names.html +5 -0
- data/_includes/snippets/canonical-url.html +17 -0
- data/_includes/snippets/carousel.html +16 -12
- data/_includes/snippets/dark-skin-enabled.html +14 -0
- data/_includes/snippets/datetranslate.html +7 -1
- data/_includes/snippets/jsonld-string.html +16 -0
- data/_includes/snippets/masonry.html +6 -4
- data/_includes/snippets/microformats-url.html +2 -0
- data/_includes/snippets/og-locale.html +19 -0
- data/_includes/snippets/page-language.html +4 -0
- data/_includes/snippets/publisher.html +22 -0
- data/_includes/snippets/video-metadata.html +15 -0
- data/_includes/snippets/video.html +21 -18
- data/_includes/snippets/youtube.html +17 -6
- data/_includes/theme-styles.html +201 -0
- data/_includes/welcomments/comment_form.html +5 -4
- data/_includes/welcomments/comments.html +5 -5
- data/_includes/welcomments/template.html +1 -1
- data/_layouts/archive.html +2 -75
- data/_layouts/cloudcategory.html +2 -101
- data/_layouts/cloudtag.html +2 -103
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +20 -9
- data/_layouts/indexcategory.html +2 -30
- data/_layouts/landingpage.html +12 -7
- data/_layouts/minimal.html +19 -9
- data/_layouts/search.html +17 -17
- data/_sass/bootstrap/_variables.scss +1 -1
- data/_sass/bootstrap/mixins/_badge.scss +1 -1
- data/_sass/chulapa/_autothemer.scss +31 -0
- data/_sass/chulapa/_buttons.scss +101 -0
- data/_sass/chulapa/_classes.scss +197 -59
- data/_sass/chulapa/_mixins.scss +42 -1
- data/_sass/chulapa/_reboot.scss +31 -0
- data/_sass/chulapa/_theme-selector.scss +1 -0
- data/_sass/chulapa/_variables.scss +8 -1
- data/_sass/chulapa/skins/_deeply.scss +229 -0
- data/_sass/chulapa/skins/_electro.scss +30 -0
- data/_sass/chulapa/skins/_graymor.scss +39 -0
- data/_sass/chulapa/skins/_hootstrap.scss +34 -0
- data/_sass/chulapa/skins/_lymcha.scss +27 -0
- data/_sass/chulapa/skins/_mickie.scss +38 -0
- data/_sass/chulapa/skins/_minco.scss +45 -0
- data/_sass/chulapa/skins/_monotone.scss +15 -0
- data/_sass/chulapa/skins/_preptor.scss +30 -0
- data/_sass/chulapa/skins/_skeeblu.scss +34 -0
- data/_sass/chulapa/skins/_sunset.scss +33 -0
- data/_sass/chulapa/skins/_wandoo.scss +22 -0
- data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
- data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
- data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
- data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
- data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
- data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
- data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
- data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
- data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
- data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
- data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
- data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
- data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
- data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
- data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
- data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
- data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
- data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
- data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
- data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
- data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
- data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
- data/_sass/chulapa-master.scss +10 -0
- data/_sass/highlight/README.md +176 -14
- data/_sass/highlight/abap.scss +62 -0
- data/_sass/highlight/algol.scss +46 -0
- data/_sass/highlight/algol_nu.scss +46 -0
- data/_sass/highlight/arduino.scss +63 -0
- data/_sass/highlight/autumn.scss +69 -58
- data/_sass/highlight/base16.scss +90 -0
- data/_sass/highlight/borland.scss +55 -46
- data/_sass/highlight/bw.scss +70 -34
- data/_sass/highlight/cobalt2.scss +197 -0
- data/_sass/highlight/coffee.scss +82 -0
- data/_sass/highlight/colorful.scss +178 -61
- data/_sass/highlight/cran.scss +185 -169
- data/_sass/highlight/default.scss +72 -61
- data/_sass/highlight/dracula.scss +93 -169
- data/_sass/highlight/emacs.scss +72 -61
- data/_sass/highlight/friendly.scss +72 -61
- data/_sass/highlight/friendly_grayscale.scss +72 -0
- data/_sass/highlight/fruity.scss +82 -70
- data/_sass/highlight/github.dark.scss +83 -0
- data/_sass/highlight/github.scss +116 -61
- data/_sass/highlight/gruvbox.dark.scss +83 -0
- data/_sass/highlight/gruvbox.light.scss +68 -84
- data/_sass/highlight/gruvbox.scss +97 -0
- data/_sass/highlight/igor.scss +36 -0
- data/_sass/highlight/igorpro.scss +45 -0
- data/_sass/highlight/inkpot.scss +78 -0
- data/_sass/highlight/lightbulb.scss +82 -0
- data/_sass/highlight/lilypond.scss +58 -0
- data/_sass/highlight/lovelace.scss +74 -0
- data/_sass/highlight/magritte.scss +175 -0
- data/_sass/highlight/manni.scss +72 -61
- data/_sass/highlight/material.scss +81 -0
- data/_sass/highlight/molokai.scss +211 -0
- data/_sass/highlight/monokai.scss +217 -65
- data/_sass/highlight/monokai.sublime.scss +203 -0
- data/_sass/highlight/murphy.scss +72 -61
- data/_sass/highlight/native.scss +82 -70
- data/_sass/highlight/night-owl.scss +201 -0
- data/_sass/highlight/nord.darker.scss +82 -0
- data/_sass/highlight/nord.scss +82 -0
- data/_sass/highlight/oksolar.dark.scss +175 -0
- data/_sass/highlight/oksolar.light.scss +175 -0
- data/_sass/highlight/one.dark.scss +82 -0
- data/_sass/highlight/panda.scss +195 -0
- data/_sass/highlight/paraiso.dark.scss +76 -0
- data/_sass/highlight/paraiso.light.scss +76 -0
- data/_sass/highlight/pastie.scss +154 -60
- data/_sass/highlight/perldoc.scss +69 -58
- data/_sass/highlight/rainbow_dash.scss +65 -0
- data/_sass/highlight/rrt.scss +82 -0
- data/_sass/highlight/sas.scss +63 -0
- data/_sass/highlight/selenized.black.scss +175 -0
- data/_sass/highlight/selenized.dark.scss +175 -0
- data/_sass/highlight/selenized.light.scss +175 -0
- data/_sass/highlight/selenized.white.scss +175 -0
- data/_sass/highlight/skeletor.scss +190 -140
- data/_sass/highlight/solarized.dark.scss +82 -0
- data/_sass/highlight/solarized.light.scss +82 -0
- data/_sass/highlight/stackoverflow.dark.scss +175 -0
- data/_sass/highlight/stackoverflow.light.scss +175 -0
- data/_sass/highlight/staroffice.scss +82 -0
- data/_sass/highlight/stata.dark.scss +82 -0
- data/_sass/highlight/stata.light.scss +49 -0
- data/_sass/highlight/tango.scss +81 -69
- data/_sass/highlight/template.scss +290 -0
- data/_sass/highlight/thankful_eyes.scss +180 -173
- data/_sass/highlight/trac.scss +70 -59
- data/_sass/highlight/tulip.scss +171 -0
- data/_sass/highlight/vim.scss +82 -70
- data/_sass/highlight/vs.scss +41 -33
- data/_sass/highlight/xcode.scss +65 -0
- data/_sass/highlight/zenburn.scss +82 -136
- data/_sass/reset-algolia.scss +27 -17
- data/_sass/skins/academia.scss +47 -10
- data/_sass/skins/auto.scss +25 -27
- data/_sass/skins/butterfly-dark.scss +73 -0
- data/_sass/skins/butterfly-dim.scss +81 -0
- data/_sass/skins/butterfly.scss +65 -0
- data/_sass/skins/cerulean.scss +120 -0
- data/_sass/skins/chulapa.scss +33 -6
- data/_sass/skins/cyborg.scss +3 -0
- data/_sass/skins/dark-bg.scss +83 -49
- data/_sass/skins/darkly.scss +3 -0
- data/_sass/skins/deeply.scss +17 -87
- data/_sass/skins/electro.scss +5 -19
- data/_sass/skins/flatly.scss +3 -0
- data/_sass/skins/focal.scss +56 -19
- data/_sass/skins/gitdev-dark.scss +28 -25
- data/_sass/skins/gitdev.scss +22 -19
- data/_sass/skins/graymor.scss +7 -22
- data/_sass/skins/hootstrap.scss +6 -13
- data/_sass/skins/journal.scss +3 -143
- data/_sass/skins/listen.scss +83 -0
- data/_sass/skins/litera.scss +281 -0
- data/_sass/skins/lux.scss +3 -376
- data/_sass/skins/lymcha.scss +4 -12
- data/_sass/skins/materia.scss +3 -0
- data/_sass/skins/media.scss +40 -12
- data/_sass/skins/mickie.scss +8 -11
- data/_sass/skins/minco.scss +11 -10
- data/_sass/skins/minty.scss +3 -168
- data/_sass/skins/monotone.scss +7 -11
- data/_sass/skins/navi.scss +54 -0
- data/_sass/skins/none.scss +24 -2
- data/_sass/skins/pear.scss +50 -6
- data/_sass/skins/preptor.scss +6 -15
- data/_sass/skins/pulse.scss +158 -0
- data/_sass/skins/skeeblu.scss +6 -17
- data/_sass/skins/sketchy.scss +3 -746
- data/_sass/skins/slate.scss +3 -0
- data/_sass/skins/solar.scss +3 -0
- data/_sass/skins/sunset.scss +6 -11
- data/_sass/skins/towards.scss +44 -5
- data/_sass/skins/twitter-dim.scss +60 -13
- data/_sass/skins/twitter-lights-out.scss +44 -11
- data/_sass/skins/twitter.scss +51 -10
- data/_sass/skins/united.scss +3 -0
- data/_sass/skins/universal.scss +46 -27
- data/_sass/skins/wandoo.scss +7 -12
- data/_sass/skins/yeti.scss +3 -0
- data/_sass/vendor/bootswatch/LICENSE +21 -0
- data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
- data/_sass/vendor/bootswatch/README.md +57 -0
- data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
- data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
- data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
- data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
- data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
- data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
- data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
- data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
- data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
- data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
- data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
- data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
- data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
- data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
- data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
- data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
- data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
- data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
- data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
- data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
- data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
- data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
- data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
- data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
- data/_sass/vendor/bootswatch/source.json +86 -0
- data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
- data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
- data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
- data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
- data/_sass/vendor/tophat/LICENSE +21 -0
- data/_sass/vendor/tophat/README.md +38 -0
- data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
- data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
- data/_sass/vendor/tophat/deeply/theme.scss +77 -0
- data/_sass/vendor/tophat/electro/_styles.scss +5 -0
- data/_sass/vendor/tophat/electro/_variables.scss +23 -0
- data/_sass/vendor/tophat/electro/theme.scss +28 -0
- data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
- data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
- data/_sass/vendor/tophat/graymor/theme.scss +24 -0
- data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
- data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
- data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
- data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
- data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
- data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
- data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
- data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
- data/_sass/vendor/tophat/mickie/theme.scss +17 -0
- data/_sass/vendor/tophat/minco/_styles.scss +5 -0
- data/_sass/vendor/tophat/minco/_variables.scss +14 -0
- data/_sass/vendor/tophat/minco/theme.scss +18 -0
- data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
- data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
- data/_sass/vendor/tophat/monotone/theme.scss +18 -0
- data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
- data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
- data/_sass/vendor/tophat/preptor/theme.scss +18 -0
- data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
- data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
- data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
- data/_sass/vendor/tophat/source.json +57 -0
- data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
- data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
- data/_sass/vendor/tophat/sunset/theme.scss +16 -0
- data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
- data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
- data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
- data/assets/atom.xml +10 -6
- data/assets/css/dark/highlighter.scss +10 -0
- data/assets/css/dark/main.scss +43 -0
- data/assets/css/highlighter.scss +6 -1
- data/assets/css/main.scss +12 -3
- data/assets/css/search-fusejs.css +14 -0
- data/assets/css/search-lunr.css +7 -0
- data/assets/js/better404/better404.js +68 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -83
- data/assets/js/chulapa_carousel.js +115 -0
- data/assets/js/chulapa_mermaid.js +31 -0
- data/assets/js/chulapa_navigation.js +71 -0
- data/assets/js/chulapa_photoswipe.js +106 -0
- data/assets/js/chulapa_script.js +199 -77
- data/assets/js/chulapa_search.js +89 -0
- data/assets/js/clipboard/chulapa_clipboard.js +17 -108
- data/assets/js/cusdis/chulapa_cusdis.js +1 -1
- data/assets/js/fusejs/fusejs-search.js +62 -0
- data/assets/js/fusejs/fusejs-search.min.js +4 -0
- data/assets/js/fusejs/fusejs-store.js +43 -0
- data/assets/js/lunr/lunr-search.js +127 -115
- data/assets/js/lunr/lunr-search.min.js +4 -0
- data/assets/js/lunr/lunr-store.js +31 -23
- data/assets/js/simplesearch/simplesearch-store.json +45 -0
- data/assets/rss.xml +4 -3
- metadata +220 -8
- data/_sass/highlight/UNLICENSE.txt +0 -24
data/README.md
CHANGED
|
@@ -1,180 +1,189 @@
|
|
|
1
|
-
[](https://dieghernan.github.io/chulapa/)
|
|
3
|
-
|
|
4
|
-

|
|
6
|
-
Version](https://
|
|
7
|
-
](https://dieghernan.github.io/chulapa/)
|
|
3
|
+
|
|
4
|
+

|
|
6
|
+
[](https://badge.fury.io/rb/chulapa-jekyll)
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
 
|
|
14
|
+

|
|
15
|
+

|
|
16
|
+
[](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
|
|
2
|
-
release: v2.0
|
|
1
|
+
dev: v2.2.0
|
|
2
|
+
release: v2.2.0
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{%- assign alldocs = alldocs | sort: 'date' | reverse -%}
|
|
2
|
+
{%- if page.include_missdates -%}
|
|
3
|
+
{%- else -%}
|
|
4
|
+
{%- assign alldocs = alldocs | where_exp: "item", "item.date != nil" -%}
|
|
5
|
+
{%- endif -%}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{%- assign postsInYear = alldocs | group_by_exp: 'post', 'post.date | date: "%Y"' -%}
|
|
9
|
+
<div class="row row-cols-1 row-cols-sm-2 pt-5 mx-n1" id="years">
|
|
10
|
+
{%- for year in postsInYear -%}
|
|
11
|
+
<div class="col-sm-6 chulapa-links-hover-only py-2">
|
|
12
|
+
<a href="#{{ year.name | default: "-" }}" class="d-flex justify-content-between align-items-center border-bottom ">
|
|
13
|
+
{{ year.name | default: "NA" }} <span class="badge rounded-pill chulapa-pill-bg-primary">{{ year.items | size }}</span>
|
|
14
|
+
</a>
|
|
15
|
+
</div>
|
|
16
|
+
{%- endfor -%}
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
{%- for year in postsInYear -%}
|
|
20
|
+
<section id="{{ year.name | default: "NA" }}" class="mt-2 chulapa-archive">
|
|
21
|
+
<h2 class="border-bottom border-chulapa">{{ year.name | default: "NA" }}</h2>
|
|
22
|
+
{%- assign postsInMonth = year.items | group_by_exp: 'post', 'post.date | date: "%B"' -%}
|
|
23
|
+
{%- for month in postsInMonth -%}
|
|
24
|
+
{%- assign dateformat = month.name -%}
|
|
25
|
+
{% if dateformat %}
|
|
26
|
+
<h3 class="h5 font-weight-light">{% include_cached snippets/datetranslate.html date=dateformat %}</h3>
|
|
27
|
+
{% endif %}
|
|
28
|
+
{%- for document in month.items -%}
|
|
29
|
+
<div class="ml-2 my-1">
|
|
30
|
+
<div class="row g-0">
|
|
31
|
+
<article class="col h-entry">
|
|
32
|
+
<h4 class="h6 my-2"><a href="{{- document.url | absolute_url -}}" class="chulapa-text-body-color p-name u-url">{{ document.title | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip }}</a></h4>
|
|
33
|
+
<p class="small mb-1">
|
|
34
|
+
{% if document.date %}
|
|
35
|
+
{% assign dateformat = document.date | date: "%A, %d" %}
|
|
36
|
+
<time class="dt-published" datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
37
|
+
{% if document.last_modified_at %} <i class="fa fa-redo fa-sm" aria-hidden="true"></i>{% endif %}
|
|
38
|
+
{% endif %}
|
|
39
|
+
{%- if showcol -%}
|
|
40
|
+
<span class="mx-1 my-1 badge chulapa-pill-bg-body p-category">{{ document.collection }}</span>
|
|
41
|
+
{%- endif -%}
|
|
42
|
+
</p>
|
|
43
|
+
</article>
|
|
44
|
+
{%- if document.header_img or document.og_image -%}
|
|
45
|
+
<a href="{{- document.url | absolute_url -}}" aria-label="{{ document.title | default: 'Read article' | markdownify | strip_html | strip | escape_once }}" class="col-2 ml-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')"></a>
|
|
46
|
+
{%- endif -%}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{% endfor %}
|
|
50
|
+
<hr class="w-50 bg-light">
|
|
51
|
+
{% endfor %}
|
|
52
|
+
<div class="text-right">
|
|
53
|
+
<a href="#years" class="btn btn-lg border-0 chulapa-text-body-color"><i class="fa fa-chevron-up fa-lg" aria-hidden="true"></i><span class="sr-only">Top</span></a>
|
|
54
|
+
</div>
|
|
55
|
+
</section>
|
|
56
|
+
{% endfor %}
|
|
@@ -3,13 +3,18 @@
|
|
|
3
3
|
{%- assign name = page.author.name -%}
|
|
4
4
|
{%- assign location = page.author.location -%}
|
|
5
5
|
{%- assign links = page.author.links -%}
|
|
6
|
+
{%- assign profile_url = page.author.url | strip -%}
|
|
6
7
|
{%- else -%}
|
|
7
8
|
{%- assign avatar = site.author.avatar -%}
|
|
8
9
|
{%- assign name = site.author.name | default: site.github.owner_name -%}
|
|
9
10
|
{%- assign location = site.author.location -%}
|
|
10
11
|
{%- assign links = site.author.links -%}
|
|
12
|
+
{%- assign profile_url = site.author.url | strip -%}
|
|
11
13
|
{%- endif -%}
|
|
12
|
-
<div
|
|
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
|
-
{%-
|
|
2
|
-
{%- assign
|
|
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
|
-
<
|
|
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">{{
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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>
|