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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
data-comment-id="{{ id }}"
|
|
16
16
|
data-author-name="{{ author_name }}"
|
|
17
17
|
data-nesting-level="{{ nesting_level }}"
|
|
18
|
-
|
|
18
|
+
itemscope itemtype="https://schema.org/Comment">
|
|
19
19
|
<div class="welcomments__comment-header">
|
|
20
20
|
<div class="welcomments__author-avatar">
|
|
21
21
|
<img class="welcomments__author-avatar-img" src="{{ avatar_url }}" alt="{{ author_name }}">
|
data/_layouts/archive.html
CHANGED
|
@@ -1,82 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
+
chulapa_microformats_feed: true
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
{{- content -}}
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
{%-
|
|
9
|
-
{%- assign cols = page.include_collection | split: "," -%}
|
|
10
|
-
{%- for col in cols -%}
|
|
11
|
-
{%- if forloop.first -%}
|
|
12
|
-
{%- assign alldocs = site.documents |
|
|
13
|
-
where_exp: "item", "item.collection == col" -%}
|
|
14
|
-
{%- assign showcol = false -%}
|
|
15
|
-
{%- else -%}
|
|
16
|
-
{%- assign docloop = site.documents |
|
|
17
|
-
where_exp: "item", "item.collection == col" -%}
|
|
18
|
-
{%- assign alldocs = alldocs | concat: docloop %}
|
|
19
|
-
{%- assign showcol = true -%}
|
|
20
|
-
{%- endif -%}
|
|
21
|
-
{%- endfor -%}
|
|
22
|
-
{%- else -%}
|
|
23
|
-
{%- assign alldocs = site.documents -%}
|
|
24
|
-
{%- assign showcol = true -%}
|
|
25
|
-
{% endif %}
|
|
26
|
-
|
|
27
|
-
{%- assign alldocs = alldocs | sort: 'date' | reverse -%}
|
|
28
|
-
{%- if page.include_missdates -%}
|
|
29
|
-
{%- else -%}
|
|
30
|
-
{%- assign alldocs = alldocs | where_exp: "item", "item.date != nil" -%}
|
|
31
|
-
{%- endif -%}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{%- assign postsInYear = alldocs | group_by_exp: 'post', 'post.date | date: "%Y"' -%}
|
|
35
|
-
<div class="row row-cols-1 row-cols-sm-2 pt-5 mx-n1" id="years">
|
|
36
|
-
{%- for year in postsInYear -%}
|
|
37
|
-
<div class="col-sm-6 chulapa-links-hover-only py-2">
|
|
38
|
-
<a href="#{{ year.name | default: "-" }}" class="d-flex justify-content-between align-items-center border-bottom ">
|
|
39
|
-
{{ year.name | default: "NA" }} <span class="badge rounded-pill chulapa-pill-bg-primary">{{ year.items | size }}</span>
|
|
40
|
-
</a>
|
|
41
|
-
</div>
|
|
42
|
-
{%- endfor -%}
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
{%- for year in postsInYear -%}
|
|
46
|
-
<section id="{{ year.name | default: "NA" }}" class="mt-2 chulapa-archive">
|
|
47
|
-
<h2 class="border-bottom border-chulapa">{{ year.name | default: "NA" }}</h2>
|
|
48
|
-
{%- assign postsInMonth = year.items | group_by_exp: 'post', 'post.date | date: "%B"' -%}
|
|
49
|
-
{%- for month in postsInMonth -%}
|
|
50
|
-
{%- assign dateformat = month.name -%}
|
|
51
|
-
{% if dateformat %}
|
|
52
|
-
<h5 class="font-weight-light">{% include_cached snippets/datetranslate.html date=dateformat %}</h5>
|
|
53
|
-
{% endif %}
|
|
54
|
-
{%- for document in month.items -%}
|
|
55
|
-
<div class="ml-2 my-1">
|
|
56
|
-
<div class="row g-0">
|
|
57
|
-
<article class="col">
|
|
58
|
-
<h6 class="my-2"><a href="{{- document.url | absolute_url -}}" class="chulapa-text-body-color">{{ document.title }}</a></h6>
|
|
59
|
-
<p class="small mb-1">
|
|
60
|
-
{% if document.date %}
|
|
61
|
-
{% assign dateformat = document.date | date: "%A, %d" %}
|
|
62
|
-
<time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
63
|
-
{% if document.last_modified_at %} <i class="fa fa-redo fa-sm" aria-hidden="true"></i>{% endif %}
|
|
64
|
-
{% endif %}
|
|
65
|
-
{%- if showcol -%}
|
|
66
|
-
<span class="mx-1 my-1 badge chulapa-pill-bg-body">{{ document.collection }}</span>
|
|
67
|
-
{%- endif -%}
|
|
68
|
-
</p>
|
|
69
|
-
</article>
|
|
70
|
-
{%- if document.header_img or document.og_image -%}
|
|
71
|
-
<a href="{{- document.url | absolute_url -}}" 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>
|
|
72
|
-
{%- endif -%}
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
{% endfor %}
|
|
76
|
-
<hr class="w-50 bg-light">
|
|
77
|
-
{% endfor %}
|
|
78
|
-
<div class="text-right">
|
|
79
|
-
<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>
|
|
80
|
-
</div>
|
|
81
|
-
</section>
|
|
82
|
-
{% endfor %}
|
|
9
|
+
{%- include components/collection-documents.html renderer='components/archive-documents.html' -%}
|
data/_layouts/cloudcategory.html
CHANGED
|
@@ -1,107 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
+
chulapa_microformats_feed: true
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
{{- content -}}
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{%- if page.include_collection -%}
|
|
10
|
-
{%- assign cols = page.include_collection | split: "," -%}
|
|
11
|
-
{%- for col in cols -%}
|
|
12
|
-
{%- if forloop.first -%}
|
|
13
|
-
{%- assign alldocs = site.documents |
|
|
14
|
-
where_exp: "item", "item.collection == col" -%}
|
|
15
|
-
{%- assign showcol = false -%}
|
|
16
|
-
{%- else -%}
|
|
17
|
-
{%- assign docloop = site.documents |
|
|
18
|
-
where_exp: "item", "item.collection == col" -%}
|
|
19
|
-
{%- assign alldocs = alldocs | concat: docloop %}
|
|
20
|
-
{%- assign showcol = true -%}
|
|
21
|
-
{%- endif -%}
|
|
22
|
-
{%- endfor -%}
|
|
23
|
-
{%- else -%}
|
|
24
|
-
{%- assign alldocs = site.documents -%}
|
|
25
|
-
{%- assign showcol = true -%}
|
|
26
|
-
{% endif %}
|
|
27
|
-
|
|
28
|
-
{% assign alldocs = alldocs | sort: 'date' | reverse %}
|
|
29
|
-
{% assign alltags = alldocs | map: 'categories' | join: ',' | split: ',' %}
|
|
30
|
-
|
|
31
|
-
{%- assign single_tags = alltags | uniq -%}
|
|
32
|
-
{% assign count_tags = '' | split: ',' %}
|
|
33
|
-
{% assign n_tags = single_tags | size | minus: 1 %}
|
|
34
|
-
|
|
35
|
-
{%- for i in (0..n_tags) %}
|
|
36
|
-
{% assign count_this_tag = alltags | where_exp:"item", "item == single_tags[i]" | size %}
|
|
37
|
-
{% assign count_tags = count_tags | push: count_this_tag %}
|
|
38
|
-
{%- endfor -%}
|
|
39
|
-
|
|
40
|
-
{% assign items_max = count_tags | sort | last %}
|
|
41
|
-
{% assign sorted_tags = '' | split: ',' %}
|
|
42
|
-
{% assign sorted_count_tags = '' | split: ',' %}
|
|
43
|
-
|
|
44
|
-
{% for i in (1..items_max) reversed %}
|
|
45
|
-
{% for j in (0..n_tags) %}
|
|
46
|
-
{% if count_tags[j] == i %}
|
|
47
|
-
{% assign sorted_tags = sorted_tags | push: single_tags[j] %}
|
|
48
|
-
{% assign sorted_count_tags = sorted_count_tags | push: i %}
|
|
49
|
-
{% endif %}
|
|
50
|
-
{% endfor %}
|
|
51
|
-
{% endfor %}
|
|
52
|
-
|
|
53
|
-
{% assign sorted_tags= sorted_tags | uniq %}
|
|
54
|
-
|
|
55
|
-
{%- assign sizemax = sorted_count_tags | first -%}
|
|
56
|
-
{% assign mid = sorted_count_tags | last | plus: sizemax | divided_by: 2 %}
|
|
57
|
-
|
|
58
|
-
<div class="row g-0 pt-5" id="categories">
|
|
59
|
-
<div class="col">
|
|
60
|
-
{%- for i in (0..n_tags)-%}
|
|
61
|
-
<a href="#{{- sorted_tags[i] | replace: " ", "-" -}}" class="btn btn-secondary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ sorted_count_tags[i] }}rem - {{ mid }}rem))));"><i class="far fa-folder-open mr-2" aria-hidden="true"></i>{{- sorted_tags[i] -}}<span class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{ sorted_count_tags[i]}}</span></a>
|
|
62
|
-
{%- endfor -%}
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
|
67
|
-
{% for i in (0..n_tags) %}
|
|
68
|
-
<section id="{{- sorted_tags[i] | replace: " ", "-" -}}" class="py-3 chulapa-cloudcategory">
|
|
69
|
-
<div class="d-flex align-items-center border-bottom border-chulapa mt-5">
|
|
70
|
-
<h5 class="my-0"><i class="far fa-folder-open mr-1" aria-hidden="true"></i>{{- sorted_tags[i] -}} </h5>
|
|
71
|
-
<div class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{ sorted_count_tags[i]}}</div>
|
|
72
|
-
</div>
|
|
73
|
-
{% for document in alldocs %}
|
|
74
|
-
{% assign words = document.content | strip_html | number_of_words %}
|
|
75
|
-
{% assign readtime = "< 1’" | escape_once %}
|
|
76
|
-
{% if words > words_per_minute %}
|
|
77
|
-
{% assign readtime = words | divided_by:words_per_minute | append: "’" %}
|
|
78
|
-
{% endif %}
|
|
79
|
-
{% if document.categories contains sorted_tags[i] %}
|
|
80
|
-
<article class="chulapa-links-hover-only my-1 mb-4 row g-0 h-entry">
|
|
81
|
-
<div class="col">
|
|
82
|
-
<h6><a href="{{ document.url | absolute_url }}" class="p-name u-url">{{ document.title }}</a></h6>
|
|
83
|
-
{%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
|
|
84
|
-
<div class="small">
|
|
85
|
-
{% if document.date %}
|
|
86
|
-
{% assign dateformat = document.date | date: "%B %d, %Y" %}
|
|
87
|
-
<i class="far fa-calendar" aria-hidden="true"></i> <time class="dt-published" datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
88
|
-
{% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
|
|
89
|
-
{% endif %}
|
|
90
|
-
<i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
|
|
91
|
-
{%- if showcol -%}
|
|
92
|
-
<span class="ml-2 badge chulapa-pill-bg-body p-category">{{ document.collection }}</span>
|
|
93
|
-
{%- endif -%}
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
{% if document.header_img or document.og_image %}
|
|
97
|
-
<a href="{{ document.url | absolute_url }}" class="col-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')">
|
|
98
|
-
</a>
|
|
99
|
-
{% endif %}
|
|
100
|
-
</article>
|
|
101
|
-
{% endif %}
|
|
102
|
-
{% endfor %}
|
|
103
|
-
<div class="text-right">
|
|
104
|
-
<a href="#categories" 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>
|
|
105
|
-
</div>
|
|
106
|
-
</section>
|
|
107
|
-
{% endfor %}
|
|
8
|
+
{%- include components/collection-documents.html renderer='components/cloud.html' field='categories' -%}
|
data/_layouts/cloudtag.html
CHANGED
|
@@ -1,109 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
+
chulapa_microformats_feed: true
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
{{- content -}}
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{%- if page.include_collection -%}
|
|
11
|
-
{%- assign cols = page.include_collection | split: "," -%}
|
|
12
|
-
{%- for col in cols -%}
|
|
13
|
-
{%- if forloop.first -%}
|
|
14
|
-
{%- assign alldocs = site.documents |
|
|
15
|
-
where_exp: "item", "item.collection == col" -%}
|
|
16
|
-
{%- assign showcol = false -%}
|
|
17
|
-
{%- else -%}
|
|
18
|
-
{%- assign docloop = site.documents |
|
|
19
|
-
where_exp: "item", "item.collection == col" -%}
|
|
20
|
-
{%- assign alldocs = alldocs | concat: docloop %}
|
|
21
|
-
{%- assign showcol = true -%}
|
|
22
|
-
{%- endif -%}
|
|
23
|
-
{%- endfor -%}
|
|
24
|
-
{%- else -%}
|
|
25
|
-
{%- assign alldocs = site.documents -%}
|
|
26
|
-
{%- assign showcol = true -%}
|
|
27
|
-
{% endif %}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{% assign alldocs = alldocs | sort: 'date' | reverse %}
|
|
31
|
-
{% assign alltags = alldocs | map: 'tags' | join: ',' | split: ',' %}
|
|
32
|
-
|
|
33
|
-
{%- assign single_tags = alltags | uniq -%}
|
|
34
|
-
{% assign count_tags = '' | split: ',' %}
|
|
35
|
-
{% assign n_tags = single_tags | size | minus: 1 %}
|
|
36
|
-
|
|
37
|
-
{%- for i in (0..n_tags) %}
|
|
38
|
-
{% assign count_this_tag = alltags | where_exp:"item", "item == single_tags[i]" | size %}
|
|
39
|
-
{% assign count_tags = count_tags | push: count_this_tag %}
|
|
40
|
-
{%- endfor -%}
|
|
41
|
-
|
|
42
|
-
{% assign items_max = count_tags | sort | last %}
|
|
43
|
-
{% assign sorted_tags = '' | split: ',' %}
|
|
44
|
-
{% assign sorted_count_tags = '' | split: ',' %}
|
|
45
|
-
|
|
46
|
-
{% for i in (1..items_max) reversed %}
|
|
47
|
-
{% for j in (0..n_tags) %}
|
|
48
|
-
{% if count_tags[j] == i %}
|
|
49
|
-
{% assign sorted_tags = sorted_tags | push: single_tags[j] %}
|
|
50
|
-
{% assign sorted_count_tags = sorted_count_tags | push: i %}
|
|
51
|
-
{% endif %}
|
|
52
|
-
{% endfor %}
|
|
53
|
-
{% endfor %}
|
|
54
|
-
|
|
55
|
-
{% assign sorted_tags= sorted_tags | uniq %}
|
|
56
|
-
|
|
57
|
-
{%- assign sizemax = sorted_count_tags | first -%}
|
|
58
|
-
{% assign mid = sorted_count_tags | last | plus: sizemax | divided_by: 2 %}
|
|
59
|
-
|
|
60
|
-
<div class="row g-0 pt-5" id="tags">
|
|
61
|
-
<div class="col">
|
|
62
|
-
{%- for i in (0..n_tags)-%}
|
|
63
|
-
<a href="#{{- sorted_tags[i] | replace: " ", "-" -}}" class="btn btn-primary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ sorted_count_tags[i] }}rem - {{ mid }}rem))));"><i class="fa fa-tag mr-2" aria-hidden="true"></i>{{- sorted_tags[i] -}}<span class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{ sorted_count_tags[i]}}</span></a>
|
|
64
|
-
{%- endfor -%}
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
|
|
68
|
-
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
|
69
|
-
{% for i in (0..n_tags) %}
|
|
70
|
-
<section id="{{- sorted_tags[i] | replace: " ", "-" -}}" class="py-3 chulapa-cloudtag">
|
|
71
|
-
<div class="d-flex align-items-center border-bottom border-chulapa mt-5">
|
|
72
|
-
<h5 class="my-0"><i class="fa fa-tag mr-1" aria-hidden="true"></i>{{- sorted_tags[i]-}} </h5>
|
|
73
|
-
<div class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{sorted_count_tags[i]}}</div>
|
|
74
|
-
</div>
|
|
75
|
-
{% for document in alldocs %}
|
|
76
|
-
{% assign words = document.content | strip_html | number_of_words %}
|
|
77
|
-
{% assign readtime = "< 1’" | escape_once %}
|
|
78
|
-
{% if words > words_per_minute %}
|
|
79
|
-
{% assign readtime = words | divided_by:words_per_minute | append: "’" %}
|
|
80
|
-
{% endif %}
|
|
81
|
-
{% if document.tags contains sorted_tags[i] %}
|
|
82
|
-
<article class="chulapa-links-hover-only my-1 mb-4 row g-0">
|
|
83
|
-
<div class="col">
|
|
84
|
-
<h6><a href="{{ document.url | absolute_url }}">{{ document.title }}</a></h6>
|
|
85
|
-
{%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
|
|
86
|
-
<div class="small">
|
|
87
|
-
{% if document.date %}
|
|
88
|
-
{% assign dateformat = document.date | date: "%B %d, %Y" %}
|
|
89
|
-
<i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
90
|
-
{% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
|
|
91
|
-
{% endif %}
|
|
92
|
-
<i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
|
|
93
|
-
{%- if showcol -%}
|
|
94
|
-
<span class="ml-2 badge chulapa-pill-bg-body">{{ document.collection }}</span>
|
|
95
|
-
{%- endif -%}
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
{% if document.header_img or document.og_image %}
|
|
99
|
-
<a href="{{ document.url | absolute_url }}" class="col-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ document.og_image | default: document.header_img | absolute_url }}')">
|
|
100
|
-
</a>
|
|
101
|
-
{% endif %}
|
|
102
|
-
</article>
|
|
103
|
-
{% endif %}
|
|
104
|
-
{% endfor %}
|
|
105
|
-
<div class="text-right">
|
|
106
|
-
<a href="#tags" 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>
|
|
107
|
-
</div>
|
|
108
|
-
</section>
|
|
109
|
-
{% endfor %}
|
|
8
|
+
{%- include components/collection-documents.html renderer='components/cloud.html' field='tags' -%}
|
data/_layouts/compress.html
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
{% capture _LINE_FEED %}
|
|
10
|
-
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{%
|
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% assign _content = content %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% assign _preserve_head_indentation = false %}{% if site.compress_html.blanklines and _content contains "<head>" and _content contains "</head>" %}{% assign _head_prefix = _content | split: "</head>" | first %}{% assign _preserve_head_indentation = true %}{% endif %}{% assign _preserve_footer_indentation = false %}{% if site.compress_html.blanklines and _content contains '<footer class="footer-chulapa' and _content contains "</footer>" %}{% assign _footer_indent = _content | split: '<footer class="footer-chulapa' | first | split: _LINE_FEED | last %}{% assign _footer_indent_text = _footer_indent | strip %}{% if _footer_indent_text != empty %}{% assign _footer_indent = "" %}{% endif %}{% assign _footer_content = _content | split: '<footer class="footer-chulapa' | last | split: "</footer>" | first %}{% assign _preserve_footer_indentation = true %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _preserve_head_indentation %}{% assign _clipped_head_prefix = _content | split: "</head>" | first %}{% assign _content = _content | replace_first: _clipped_head_prefix, _head_prefix %}{% endif %}{% if _preserve_footer_indentation %}{% assign _clipped_footer_content = _content | split: '<footer class="footer-chulapa' | last | split: "</footer>" | first %}{% assign _clipped_footer_indent = _content | split: '<footer class="footer-chulapa' | first | split: _LINE_FEED | last %}{% assign _clipped_footer_indent_text = _clipped_footer_indent | strip %}{% if _clipped_footer_indent_text != empty %}{% assign _clipped_footer_indent = "" %}{% endif %}{% capture _original_footer %}{{ _footer_indent }}<footer class="footer-chulapa{{ _footer_content }}</footer>{% endcapture %}{% capture _clipped_footer %}{{ _clipped_footer_indent }}<footer class="footer-chulapa{{ _clipped_footer_content }}</footer>{% endcapture %}{% assign _content = _content | replace_first: _clipped_footer, _original_footer %}{% endif %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/default.html
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: minimal
|
|
3
|
+
header_in_content: true
|
|
3
4
|
---
|
|
5
|
+
{%- assign is_feed = false -%}
|
|
6
|
+
{%- if layout.chulapa_microformats_feed == true -%}
|
|
7
|
+
{%- assign is_feed = true -%}
|
|
8
|
+
{%- endif -%}
|
|
9
|
+
<div class="{% if is_feed %}h-feed{% else %}h-entry{% endif %} d-flex flex-column flex-fill">
|
|
10
|
+
{% include snippets/microformats-url.html %}
|
|
11
|
+
<main class="d-flex flex-column flex-fill">
|
|
4
12
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
5
|
-
<
|
|
13
|
+
<div class="container-lg pb-3 flex-fill">
|
|
6
14
|
{% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
|
|
7
15
|
{%- include components/breadcrumbdatesocial.html -%}
|
|
8
16
|
{% endif %}
|
|
9
17
|
<div class="row pt-2">
|
|
10
|
-
<aside class="col-lg-2 mt-lg-3 small">
|
|
18
|
+
<{% if page.show_author %}aside{% else %}div{% endif %} class="col-lg-2 mt-lg-3 small">
|
|
11
19
|
{%- if page.show_author -%}
|
|
12
20
|
{% include components/author.html %}
|
|
13
21
|
{%- endif -%}
|
|
14
|
-
</aside>
|
|
15
|
-
<article id="maincontent" class="col-lg-8 mt-3
|
|
22
|
+
</{% if page.show_author %}aside{% else %}div{% endif %}>
|
|
23
|
+
<{% if is_feed %}div{% else %}article{% endif %} id="maincontent" class="col-lg-8 mt-3">
|
|
16
24
|
{% if page.show_sidetoc %}
|
|
17
25
|
|
|
18
26
|
{% include components/sidetoc.html %}
|
|
@@ -25,13 +33,12 @@ layout: minimal
|
|
|
25
33
|
{% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skip_no_ids=true id="toc" class="chulapa-toc-wrapper.list-group.mb-5.mx-3.mx-lg-5" item_class="list-group-item.font-weight-bold.py-1.pr-0.mr-0.chulapa-toc-reset" %}
|
|
26
34
|
</nav>
|
|
27
35
|
{% endif %}
|
|
36
|
+
{% unless is_feed %}<div class="e-content">{% endunless %}
|
|
28
37
|
{{- content -}}
|
|
29
|
-
|
|
30
|
-
{% if
|
|
31
|
-
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
|
|
32
|
-
{% endif %}
|
|
33
|
-
</article>
|
|
38
|
+
{% unless is_feed %}</div>{% endunless %}
|
|
39
|
+
</{% if is_feed %}div{% else %}article{% endif %}>
|
|
34
40
|
</div>
|
|
41
|
+
</div>
|
|
35
42
|
</main>
|
|
36
43
|
{%- if page.show_bottomnavs -%}
|
|
37
44
|
{%- include components/navbeforeafter.html -%}
|
|
@@ -51,3 +58,7 @@ layout: minimal
|
|
|
51
58
|
{%- if page.show_related -%}
|
|
52
59
|
{%- include components/related.html -%}
|
|
53
60
|
{%- endif -%}
|
|
61
|
+
{%- if page.show_random -%}
|
|
62
|
+
{%- include components/random.html -%}
|
|
63
|
+
{%- endif -%}
|
|
64
|
+
</div>
|
data/_layouts/indexcategory.html
CHANGED
|
@@ -1,36 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
+
chulapa_microformats_feed: true
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
{{- content -}}
|
|
6
7
|
|
|
7
|
-
{%-
|
|
8
|
-
{%- assign cols = page.include_collection | split: "," -%}
|
|
9
|
-
{%- for col in cols -%}
|
|
10
|
-
{%- if forloop.first -%}
|
|
11
|
-
{%- assign alldocs = site.documents |
|
|
12
|
-
where_exp: "item", "item.collection == col" -%}
|
|
13
|
-
{%- assign showcol = false -%}
|
|
14
|
-
{%- else -%}
|
|
15
|
-
{%- assign docloop = site.documents |
|
|
16
|
-
where_exp: "item", "item.collection == col" -%}
|
|
17
|
-
{%- assign alldocs = alldocs | concat: docloop %}
|
|
18
|
-
{%- assign showcol = true -%}
|
|
19
|
-
{%- endif -%}
|
|
20
|
-
{%- endfor -%}
|
|
21
|
-
{%- else -%}
|
|
22
|
-
{%- assign alldocs = site.documents -%}
|
|
23
|
-
{%- assign showcol = true -%}
|
|
24
|
-
{% endif %}
|
|
25
|
-
|
|
26
|
-
{% assign sort = page.index_sort | default: 'name' %}
|
|
27
|
-
|
|
28
|
-
{% if page.index_sort_asc %}
|
|
29
|
-
{% assign alldocs = alldocs | sort: "{{sort}}" %}
|
|
30
|
-
{% else %}
|
|
31
|
-
{% assign alldocs = alldocs | sort: "{{sort}}" | reverse %}
|
|
32
|
-
{% endif %}
|
|
33
|
-
|
|
34
|
-
{% assign end = page.index_items | default: 10 %}
|
|
35
|
-
|
|
36
|
-
{% include_cached components/indexcards.html cacheddocs=alldocs cachedlimit=end %}
|
|
8
|
+
{%- include components/collection-documents.html renderer='components/indexcategory-documents.html' -%}
|
data/_layouts/landingpage.html
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: minimal
|
|
3
|
+
header_in_content: true
|
|
3
4
|
---
|
|
5
|
+
<div class="h-entry d-flex flex-column flex-fill">
|
|
6
|
+
{% include snippets/microformats-url.html %}
|
|
4
7
|
<div class="chulapa-bg-landingpage">
|
|
5
8
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
6
9
|
</div>
|
|
@@ -10,11 +13,11 @@ layout: minimal
|
|
|
10
13
|
{%- include components/breadcrumbdatesocial.html -%}
|
|
11
14
|
{% endif %}
|
|
12
15
|
<div class="row pt-2">
|
|
13
|
-
<aside class="col-lg-2 mt-lg-3 small">
|
|
16
|
+
<{% if page.show_author %}aside{% else %}div{% endif %} class="col-lg-2 mt-lg-3 small">
|
|
14
17
|
{%- if page.show_author -%}
|
|
15
18
|
{% include components/author.html %}
|
|
16
19
|
{%- endif -%}
|
|
17
|
-
</aside>
|
|
20
|
+
</{% if page.show_author %}aside{% else %}div{% endif %}>
|
|
18
21
|
<article id="maincontent" class="col-lg-8 mt-3 e-content">
|
|
19
22
|
|
|
20
23
|
{% if page.show_sidetoc %}
|
|
@@ -31,10 +34,6 @@ layout: minimal
|
|
|
31
34
|
</nav>
|
|
32
35
|
{% endif %}
|
|
33
36
|
{{- content -}}
|
|
34
|
-
|
|
35
|
-
{% if page.show_applause %}
|
|
36
|
-
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
|
|
37
|
-
{% endif %}
|
|
38
37
|
</article>
|
|
39
38
|
</div>
|
|
40
39
|
</main>
|
|
@@ -66,4 +65,10 @@ layout: minimal
|
|
|
66
65
|
<div class="chulapa-landingpage-related">
|
|
67
66
|
{%- include components/related.html -%}
|
|
68
67
|
</div>
|
|
69
|
-
{%- endif -%}
|
|
68
|
+
{%- endif -%}
|
|
69
|
+
{%- if page.show_random -%}
|
|
70
|
+
<div class="chulapa-landingpage-related">
|
|
71
|
+
{%- include components/random.html -%}
|
|
72
|
+
</div>
|
|
73
|
+
{%- endif -%}
|
|
74
|
+
</div>
|
data/_layouts/minimal.html
CHANGED
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: compress
|
|
3
3
|
---
|
|
4
|
+
{%- include snippets/page-language.html -%}
|
|
4
5
|
<!doctype html>
|
|
5
|
-
<html lang="{{
|
|
6
|
-
{
|
|
7
|
-
{%-
|
|
8
|
-
<body class="d-flex flex-column
|
|
9
|
-
<a class="
|
|
6
|
+
<html lang="{{ page_language | escape }}">
|
|
7
|
+
{% include head.html theme_script=true %}
|
|
8
|
+
{%- include snippets/canonical-url.html url=page.url canonical=page.canonical_url -%}
|
|
9
|
+
<body {% if page.mermaid == true %}data-mermaid="true" {% endif %}class="d-flex flex-column" id="body">
|
|
10
|
+
<a class="sr-only sr-only-focusable chulapa-skip-link" href="#chulapa-content">Skip to content</a>
|
|
10
11
|
{% include_cached navbar.html pageurl=page.url %}
|
|
12
|
+
{% if page.show_header == true %}
|
|
13
|
+
{% unless layout.header_in_content %}
|
|
14
|
+
{% include components/headers.html headertype=page.header_type imghero=page.header_img projects=page.project_links %}
|
|
15
|
+
{% endunless %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
<div id="chulapa-content" tabindex="-1"></div>
|
|
11
18
|
{{- content -}}
|
|
12
19
|
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id pagetitle = page.title -%}
|
|
13
20
|
<!-- JS, Popper.js, and jQuery -->
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<script src="
|
|
17
|
-
|
|
21
|
+
{% include components/scripts.html theme=true %}
|
|
22
|
+
{% if page.mermaid == true %}
|
|
23
|
+
<script type="module" src="{{ "/assets/js/chulapa_mermaid.js" | relative_url }}"></script>
|
|
24
|
+
{% endif %}
|
|
25
|
+
{% if content contains 'data-photoswipe-gallery="' %}
|
|
26
|
+
<script type="module" src="{{ '/assets/js/chulapa_photoswipe.js' | relative_url }}"></script>
|
|
27
|
+
{% endif %}
|
|
18
28
|
{% include custom/custom_bottomscripts.html %}
|
|
19
29
|
</body>
|
|
20
30
|
</html>
|
data/_layouts/search.html
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
+
{%- include snippets/page-language.html -%}
|
|
1
2
|
<!doctype html>
|
|
2
|
-
<html lang="{{
|
|
3
|
-
|
|
3
|
+
<html lang="{{ page_language | escape }}">
|
|
4
|
+
{% include head.html %}
|
|
4
5
|
<body class="d-flex flex-column">
|
|
5
|
-
{%- if site.search.provider == "lunr" -%}
|
|
6
|
-
<style>
|
|
7
|
-
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300&display=swap');
|
|
8
|
-
|
|
9
|
-
.lunr{
|
|
10
|
-
font-family: 'Heebo', sans-serif;
|
|
11
|
-
background-color: black;
|
|
12
|
-
color: white;
|
|
13
|
-
}
|
|
14
|
-
</style>
|
|
15
|
-
{% endif %}
|
|
16
6
|
{% include_cached navbar.html pageurl=page.url %}
|
|
17
7
|
<header class="text-center header-chulapa">
|
|
18
8
|
<div class="container-lg pt-4">
|
|
@@ -32,6 +22,10 @@
|
|
|
32
22
|
{%- include search/google.html -%}
|
|
33
23
|
{% elsif site.search.provider == "algolia" %}
|
|
34
24
|
{%- include search/algolia.html -%}
|
|
25
|
+
{% elsif site.search.provider == "simplesearch" %}
|
|
26
|
+
{%- include search/simplesearch.html -%}
|
|
27
|
+
{% elsif site.search.provider == "fusejs" %}
|
|
28
|
+
{%- include search/fusejs.html -%}
|
|
35
29
|
{%- else -%}
|
|
36
30
|
<h2 class="mt-5 pt-5 display-4"> N/A </h2>
|
|
37
31
|
{%- endif -%}
|
|
@@ -39,19 +33,25 @@
|
|
|
39
33
|
</div>
|
|
40
34
|
</main>
|
|
41
35
|
{%- include_cached footer.html -%}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
{% include components/scripts.html %}
|
|
37
|
+
{% if site.search.provider == "lunr" or site.search.provider == "fusejs" %}
|
|
38
|
+
<script src="{{ '/assets/js/chulapa_search.js' | relative_url }}"></script>
|
|
39
|
+
{% endif %}
|
|
45
40
|
{%- if site.search.provider == "lunr" -%}
|
|
46
41
|
<script src="https://unpkg.com/lunr/lunr.min.js"></script>
|
|
47
42
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
|
48
|
-
<script src="{{ '/assets/js/lunr/lunr-search.js' | absolute_url }}"></script>
|
|
43
|
+
<script src="{{ '/assets/js/lunr/lunr-search.min.js' | absolute_url }}"></script>
|
|
49
44
|
{% endif %}
|
|
50
45
|
{%- if site.search.provider == "algolia" -%}
|
|
51
46
|
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@4/dist/algoliasearch-lite.umd.js"></script>
|
|
52
47
|
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
|
|
53
48
|
<script src="{{ '/assets/js/algolia/algolia-search.js' | absolute_url }}"></script>
|
|
54
49
|
{% endif %}
|
|
50
|
+
{%- if site.search.provider == "fusejs" -%}
|
|
51
|
+
<script src="https://cdn.jsdelivr.net/npm/fuse.js@7.1.0/dist/fuse.min.js"></script>
|
|
52
|
+
<script src="{{ '/assets/js/fusejs/fusejs-store.js' | absolute_url }}"></script>
|
|
53
|
+
<script src="{{ '/assets/js/fusejs/fusejs-search.min.js' | absolute_url }}"></script>
|
|
54
|
+
{% endif %}
|
|
55
55
|
{%- if site.search.provider == "google" -%}
|
|
56
56
|
<script src="{{ '/assets/js/google/google-search.js' | absolute_url }}"></script>
|
|
57
57
|
{% endif %}
|
|
@@ -43,7 +43,7 @@ $orange: #fd7e14 !default;
|
|
|
43
43
|
$yellow: #ffc107 !default;
|
|
44
44
|
$green: #28a745 !default;
|
|
45
45
|
$teal: #20c997 !default;
|
|
46
|
-
$cyan: #
|
|
46
|
+
$cyan: #20a6bb !default;
|
|
47
47
|
|
|
48
48
|
$colors: () !default;
|
|
49
49
|
// stylelint-disable-next-line scss/dollar-variable-default
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Chulapa - Bootstrap Autothemer
|
|
3
|
+
* Copyright 2020 Chulapa Jekyll Skin Author
|
|
4
|
+
* Licensed under MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
$primary: #007bff !default;
|
|
8
|
+
$yiq-contrasted-threshold: 117 !default;
|
|
9
|
+
$white: mix(#fff, $primary, 95%) !default;
|
|
10
|
+
$gray-100: mix(#f8f9fa, $primary, 85%) !default;
|
|
11
|
+
$gray-200: mix(#e9ecef, $primary, 85%) !default;
|
|
12
|
+
$gray-300: mix(#dee2e6, $primary, 85%) !default;
|
|
13
|
+
$gray-400: mix(#ced4da, $primary, 85%) !default;
|
|
14
|
+
$gray-500: mix(#adb5bd, $primary, 85%) !default;
|
|
15
|
+
$gray-600: mix(#6c757d, $primary, 85%) !default;
|
|
16
|
+
$gray-700: mix(#495057, $primary, 85%) !default;
|
|
17
|
+
$gray-800: mix(#343a40, $primary, 85%) !default;
|
|
18
|
+
$gray-900: mix(#212529, $primary, 85%) !default;
|
|
19
|
+
$black: mix(#000, $primary, 95%) !default;
|
|
20
|
+
|
|
21
|
+
$secondary: $gray-600 !default;
|
|
22
|
+
$success: mix(#28a745, $primary, 75%) !default;
|
|
23
|
+
$info: mix(#17a2b8, $primary, 75%) !default;
|
|
24
|
+
$warning: mix(#ffc107, $primary, 75%) !default;
|
|
25
|
+
$danger: mix(#dc3545, $primary, 75%) !default;
|
|
26
|
+
$light: mix(white, $primary, 75%) !default;
|
|
27
|
+
$dark: mix(black, $primary, 75%) !default;
|
|
28
|
+
|
|
29
|
+
$carousel-control-color: $dark !default;
|
|
30
|
+
$carousel-indicator-active-bg: $dark !default;
|
|
31
|
+
$code-color: #E80E61 !default;
|