chulapa-jekyll 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +27 -0
- data/LICENSE +21 -0
- data/README.md +126 -0
- data/_includes/components/author.html +40 -0
- data/_includes/components/breadcrumbdatesocial.html +63 -0
- data/_includes/components/categories.html +15 -0
- data/_includes/components/disqus.html +24 -0
- data/_includes/components/headers.html +124 -0
- data/_includes/components/indexcards.html +48 -0
- data/_includes/components/navbeforeafter.html +22 -0
- data/_includes/components/tags.html +15 -0
- data/_includes/components/toc.html +112 -0
- data/_includes/custom/custom_bottomscripts.html +5 -0
- data/_includes/custom/custom_head.html +8 -0
- data/_includes/custom/custom_head_before_css.html +5 -0
- data/_includes/custom/giscus.html +1 -0
- data/_includes/footer.html +129 -0
- data/_includes/head.html +309 -0
- data/_includes/navbar.html +205 -0
- data/_includes/search/algolia.html +3 -0
- data/_includes/search/google.html +11 -0
- data/_includes/search/lunr.html +7 -0
- data/_includes/snippets/bootstrapdemo.html +1390 -0
- data/_includes/snippets/carousel.html +61 -0
- data/_includes/snippets/datetranslate.html +48 -0
- data/_includes/snippets/masonry.html +23 -0
- data/_includes/snippets/video.html +26 -0
- data/_includes/snippets/youtube.html +6 -0
- data/_layouts/archive.html +82 -0
- data/_layouts/cloudcategory.html +89 -0
- data/_layouts/cloudtag.html +86 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +39 -0
- data/_layouts/indexcategory.html +36 -0
- data/_layouts/landingpage.html +51 -0
- data/_layouts/minimal.html +21 -0
- data/_layouts/search.html +59 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +54 -0
- data/_sass/bootstrap/_breadcrumb.scss +44 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +142 -0
- data/_sass/bootstrap/_card.scss +282 -0
- data/_sass/bootstrap/_carousel.scss +197 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_code.scss +48 -0
- data/_sass/bootstrap/_custom-forms.scss +522 -0
- data/_sass/bootstrap/_dropdown.scss +192 -0
- data/_sass/bootstrap/_forms.scss +347 -0
- data/_sass/bootstrap/_functions.scss +141 -0
- data/_sass/bootstrap/_grid.scss +77 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +192 -0
- data/_sass/bootstrap/_jumbotron.scss +17 -0
- data/_sass/bootstrap/_list-group.scss +154 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +47 -0
- data/_sass/bootstrap/_modal.scss +241 -0
- data/_sass/bootstrap/_nav.scss +121 -0
- data/_sass/bootstrap/_navbar.scss +324 -0
- data/_sass/bootstrap/_pagination.scss +74 -0
- data/_sass/bootstrap/_popover.scss +170 -0
- data/_sass/bootstrap/_print.scss +141 -0
- data/_sass/bootstrap/_progress.scss +47 -0
- data/_sass/bootstrap/_reboot.scss +480 -0
- data/_sass/bootstrap/_root.scss +20 -0
- data/_sass/bootstrap/_spinners.scss +56 -0
- data/_sass/bootstrap/_tables.scss +185 -0
- data/_sass/bootstrap/_toasts.scss +44 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +20 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +18 -0
- data/_sass/bootstrap/_variables.scss +1147 -0
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
- data/_sass/bootstrap/mixins/_badge.scss +17 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +110 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_float.scss +14 -0
- data/_sass/bootstrap/mixins/_forms.scss +177 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +69 -0
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
- data/_sass/bootstrap/mixins/_size.scss +7 -0
- data/_sass/bootstrap/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_visibility.scss +8 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +75 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +26 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +11 -0
- data/_sass/bootstrap/utilities/_interactions.scss +5 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
- data/_sass/bootstrap/utilities/_text.scss +71 -0
- data/_sass/bootstrap/utilities/_visibility.scss +13 -0
- data/_sass/bootstrap/vendor/_rfs.scss +204 -0
- data/_sass/bootstrapv5-migration.scss +79 -0
- data/_sass/chulapa-classes.scss +844 -0
- data/_sass/chulapa-master.scss +11 -0
- data/_sass/chulapa-misc.scss +105 -0
- data/_sass/chulapa-mixins.scss +77 -0
- data/_sass/chulapa-vars.scss +48 -0
- data/_sass/highlight/README.md +23 -0
- data/_sass/highlight/UNLICENSE.txt +24 -0
- data/_sass/highlight/autumn.scss +58 -0
- data/_sass/highlight/borland.scss +46 -0
- data/_sass/highlight/bw.scss +34 -0
- data/_sass/highlight/colorful.scss +61 -0
- data/_sass/highlight/cran.scss +169 -0
- data/_sass/highlight/default.scss +61 -0
- data/_sass/highlight/dracula.scss +169 -0
- data/_sass/highlight/emacs.scss +61 -0
- data/_sass/highlight/friendly.scss +61 -0
- data/_sass/highlight/fruity.scss +70 -0
- data/_sass/highlight/github.scss +61 -0
- data/_sass/highlight/gruvbox.light.scss +84 -0
- data/_sass/highlight/manni.scss +61 -0
- data/_sass/highlight/monokai.scss +65 -0
- data/_sass/highlight/murphy.scss +61 -0
- data/_sass/highlight/native.scss +70 -0
- data/_sass/highlight/pastie.scss +60 -0
- data/_sass/highlight/perldoc.scss +58 -0
- data/_sass/highlight/skeletor.scss +140 -0
- data/_sass/highlight/tango.scss +69 -0
- data/_sass/highlight/thankful_eyes.scss +173 -0
- data/_sass/highlight/trac.scss +59 -0
- data/_sass/highlight/vim.scss +70 -0
- data/_sass/highlight/vs.scss +33 -0
- data/_sass/highlight/zenburn.scss +136 -0
- data/_sass/reset-algolia.scss +24 -0
- data/_sass/skins/academia.scss +26 -0
- data/_sass/skins/auto.scss +26 -0
- data/_sass/skins/chulapa.scss +52 -0
- data/_sass/skins/deeply.scss +89 -0
- data/_sass/skins/graymor.scss +26 -0
- data/_sass/skins/hootstrap.scss +17 -0
- data/_sass/skins/journal.scss +142 -0
- data/_sass/skins/lux.scss +377 -0
- data/_sass/skins/lymcha.scss +14 -0
- data/_sass/skins/minty.scss +165 -0
- data/_sass/skins/none.scss +2 -0
- data/_sass/skins/pear.scss +21 -0
- data/_sass/skins/preptor.scss +19 -0
- data/_sass/skins/sketchy.scss +745 -0
- data/_sass/skins/sunset.scss +14 -0
- data/_sass/skins/twitter-dim.scss +30 -0
- data/_sass/skins/twitter-lights-out.scss +31 -0
- data/_sass/skins/twitter.scss +30 -0
- data/_sass/skins/universal.scss +24 -0
- data/_sass/skins/wandoo.scss +15 -0
- data/assets/atom.xml +72 -0
- data/assets/css/custom.scss +4 -0
- data/assets/css/highlighter.scss +5 -0
- data/assets/css/main.scss +35 -0
- data/assets/fonts/Chulapa/Chulapa-Bold.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.1.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.2.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_vmod.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Light.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
- data/assets/fonts/Chulapa/LICENCIA DE USO.txt +2 -0
- data/assets/fonts/Ferpal/Ferpal-Regular.otf +0 -0
- data/assets/js/algolia/algolia-search.js +148 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +81 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.min.js +1 -0
- data/assets/js/clipboardrouge.js +95 -0
- data/assets/js/google/google-search.js +24 -0
- data/assets/js/lunr/lunr-search.js +122 -0
- data/assets/js/lunr/lunr-store.js +35 -0
- data/assets/rss.xml +65 -0
- metadata +356 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
{%- if include.internal -%}
|
2
|
+
{% assign sort = include.index_sort | default: 'modified_time' %}
|
3
|
+
{%- assign bricks = site.static_files | where: "image_col", include.internal -%}
|
4
|
+
{% if include.index_sort_asc %}
|
5
|
+
{%- assign bricks = bricks | sort: "{{sort}}" | map: "path" -%}
|
6
|
+
{% else %}
|
7
|
+
{%- assign bricks = bricks | sort: "{{sort}}" | reverse | map: "path" -%}
|
8
|
+
{% endif %}
|
9
|
+
{%- elsif include.external -%}
|
10
|
+
{%- assign bricks = include.external | strip_newlines | replace: " " , "" |split: "," -%}
|
11
|
+
{%- endif -%}
|
12
|
+
{%- assign interval = include.interval | default: 5000 -%}
|
13
|
+
{%- assign end = include.index_items | default: 100 -%}
|
14
|
+
|
15
|
+
{%- if bricks -%}
|
16
|
+
{% if include.random %}
|
17
|
+
{%- assign bricks = bricks | sample: bricks.size -%}
|
18
|
+
{%- endif -%}
|
19
|
+
{% assign id = bricks | join: ""| size %}
|
20
|
+
{% if include.indicators %}
|
21
|
+
{% assign id = id | times: 3 %}
|
22
|
+
{% endif %}
|
23
|
+
{% if include.indicators %}
|
24
|
+
{% assign id = id | times: 7 %}
|
25
|
+
{% endif %}
|
26
|
+
{% assign id = "Carousel" | append: id %}
|
27
|
+
<div id="{{ id }}" class="carousel slide" data-ride="carousel" data-interval="{{- interval -}}">
|
28
|
+
{% if include.indicators %}
|
29
|
+
<ol class="carousel-indicators">
|
30
|
+
{%- for brick in bricks limit: end -%}
|
31
|
+
{% if forloop.first == true %}
|
32
|
+
<li data-target="#{{ id }}" data-slide-to="{{ forloop.index0 }}" class="active"></li>
|
33
|
+
{% else %}
|
34
|
+
<li data-target="#{{ id }}" data-slide-to="{{ forloop.index0 }}"></li>
|
35
|
+
{% endif %}
|
36
|
+
{%- endfor -%}
|
37
|
+
</ol>
|
38
|
+
{% endif %}
|
39
|
+
<div class="carousel-inner">
|
40
|
+
{%- for brick in bricks limit: end -%}
|
41
|
+
{% if forloop.first == true %}
|
42
|
+
<div class="carousel-item active">
|
43
|
+
{% else %}
|
44
|
+
<div class="carousel-item">
|
45
|
+
{% endif %}
|
46
|
+
<img class="d-block mw-100 chulapa-carousel" src="{{- brick | absolute_url -}}" alt="Carousel Item #{{- forloop.index -}}">
|
47
|
+
</div>
|
48
|
+
{%- endfor -%}
|
49
|
+
</div>
|
50
|
+
{% if include.controls %}
|
51
|
+
<a class="carousel-control-prev" href="#{{ id }}" role="button" data-slide="prev">
|
52
|
+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
53
|
+
<span class="sr-only">Previous</span>
|
54
|
+
</a>
|
55
|
+
<a class="carousel-control-next" href="#{{ id }}" role="button" data-slide="next">
|
56
|
+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
57
|
+
<span class="sr-only">Next</span>
|
58
|
+
</a>
|
59
|
+
{%- endif -%}
|
60
|
+
</div>
|
61
|
+
{%- endif -%}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{%- assign dateloc = include.date | downcase -%}
|
2
|
+
{%- assign langlocale = include.lang | default: site.locale | default: "en" | downcase | slice: 0,2 -%}
|
3
|
+
{%- assign supported = "es,fr,de" | split: "," -%}
|
4
|
+
|
5
|
+
{%- assign finallang = "en" -%}
|
6
|
+
{%- for lang in supported -%}
|
7
|
+
{%- if lang == langlocale -%}
|
8
|
+
{%- assign finallang = lang -%}
|
9
|
+
{%- endif -%}
|
10
|
+
{%- endfor -%}
|
11
|
+
|
12
|
+
{%- if finallang == "en" -%}
|
13
|
+
{%- assign dateloc = dateloc -%}
|
14
|
+
{%- else -%}
|
15
|
+
{%- assign en-days = 'monday,tuesday,wednesday,thursday,friday,saturday,sunday'
|
16
|
+
| split:',' -%}
|
17
|
+
{%- assign en-months = 'january,february,march,april,may,june,july,august,september,october,november,december' | split:',' -%}
|
18
|
+
{%- if finallang == "es" -%}
|
19
|
+
{%- assign days = 'lunes,martes,miércoles,jueves,viernes,sábado,domingo'
|
20
|
+
| split:',' -%}
|
21
|
+
{%- assign months = 'enero,febrero,marzo,abril,mayo,junio,julio,agosto,septiembre,octubre,noviembre,diciembre' | split:',' -%}
|
22
|
+
{%- endif -%}
|
23
|
+
{%- if finallang == "fr" -%}
|
24
|
+
{%- assign days = 'lundi,mardi,mercredi,jeudi,vendredi,samedi,dimanche'
|
25
|
+
| split:',' -%}
|
26
|
+
{%- assign months = 'janvier,février,mars,avril,mai,juin,juillet,août,septembre,octobre,novembre,décembre'
|
27
|
+
| split:',' -%}
|
28
|
+
{%- endif -%}
|
29
|
+
{%- if finallang == "de" -%}
|
30
|
+
{%- assign days = 'montag,dienstag,mittwoch,donnerstag,freitag,samstag,sonntag'
|
31
|
+
| split:',' -%}
|
32
|
+
{%- assign months = 'januar,februar,märz,april,mai,juni,juli,august,september,oktober,november,dezember'
|
33
|
+
| split:',' -%}
|
34
|
+
{%- endif -%}
|
35
|
+
|
36
|
+
{%- for i in (0..11) -%}
|
37
|
+
{%- assign sm = en-months[i] | slice: 0,3 -%}
|
38
|
+
{%- assign sml = months[i] | slice: 0,3 -%}
|
39
|
+
{%- if i < 7 -%}
|
40
|
+
{%- assign sd = en-days[i] | slice: 0,3 -%}
|
41
|
+
{%- assign sdl = days[i] | slice: 0,3 -%}
|
42
|
+
{%- endif -%}
|
43
|
+
{%- assign dateloc = dateloc | replace: en-days[i], days[i] |
|
44
|
+
replace: en-months[i], months[i] |
|
45
|
+
replace: sm, sml | replace: sd, sdl -%}
|
46
|
+
{%- endfor -%}
|
47
|
+
{%- endif -%}
|
48
|
+
{{ dateloc }}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{%- if include.internal -%}
|
2
|
+
{% assign sort = include.index_sort | default: 'modified_time' %}
|
3
|
+
{%- assign bricks = site.static_files | where: "image_col", include.internal -%}
|
4
|
+
{% if include.index_sort_asc %}
|
5
|
+
{%- assign bricks = bricks | sort: "{{sort}}" | map: "path" -%}
|
6
|
+
{% else %}
|
7
|
+
{%- assign bricks = bricks | sort: "{{sort}}" | reverse | map: "path" -%}
|
8
|
+
{% endif %}
|
9
|
+
{%- elsif include.external -%}
|
10
|
+
{%- assign bricks =include.external | strip_newlines | replace: " " , "" |split: "," -%}
|
11
|
+
{%- endif -%}
|
12
|
+
{%- assign end = include.index_items | default: 100 -%}
|
13
|
+
{%- if bricks -%}
|
14
|
+
{% if include.random %}
|
15
|
+
{%- assign bricks = bricks | sample: bricks.size -%}
|
16
|
+
{%- endif -%}
|
17
|
+
<div class="chulapa-masonry mx-2 mt-2">
|
18
|
+
{%- for brick in bricks limit: end -%}
|
19
|
+
<img loading="lazy" class="chulapa-masonry-brick" src="{{- brick | absolute_url -}}"
|
20
|
+
alt="Masonry Item #{{- forloop.index -}}">
|
21
|
+
{%- endfor -%}
|
22
|
+
</div>
|
23
|
+
{%- endif -%}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{%- if include.fileurl -%}
|
2
|
+
<div class="embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg">
|
3
|
+
<video src="{{ include.fileurl | absolute_url }}#t=0.1" class="embed-responsive-item" controls>
|
4
|
+
Your browser does not support the video tag.
|
5
|
+
</video>
|
6
|
+
</div>
|
7
|
+
{%- else -%}
|
8
|
+
{% assign video_id = include.id %}
|
9
|
+
{% assign video_provider = include.provider %}
|
10
|
+
<!-- Thanks to Minimal Mistakes -->
|
11
|
+
<!-- https://embedresponsively.com/ -->
|
12
|
+
<div class="embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg">
|
13
|
+
{%- if video_provider == "vimeo" -%}
|
14
|
+
<iframe loading="lazy" class="embed-responsive-item" src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
15
|
+
{%- elsif video_provider == "youtube" -%}
|
16
|
+
<iframe loading="lazy" class="embed-responsive-item" src="https://www.youtube-nocookie.com/embed/{{ video_id }}" allowfullscreen></iframe>
|
17
|
+
{%- elsif video_provider == "google-drive" -%}
|
18
|
+
<iframe loading="lazy" class="embed-responsive-item" src="https://drive.google.com/file/d/{{ video_id }}/preview" allowfullscreen></iframe>
|
19
|
+
{%- elsif video_provider == "bilibili" -%}
|
20
|
+
<iframe loading="lazy" class="embed-responsive-item" src="https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" framespacing="0" allowfullscreen="true"></iframe>
|
21
|
+
{%- elsif video_provider == "dailymotion" -%}
|
22
|
+
<iframe loading="lazy" class="embed-responsive-item" src="https://www.dailymotion.com/embed/video/{{ video_id }}" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
23
|
+
|
24
|
+
{% endif %}
|
25
|
+
</div>
|
26
|
+
{% endif %}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
{% assign video_id = include.id %}
|
2
|
+
<!-- Thanks to alfurka,groupboard -->
|
3
|
+
<!-- Based on https://github.com/alfurka/jekyll-embed-youtube-lazy-load -->
|
4
|
+
<div data-src="{{ video_id }}" class="ch_ytdefer embed-responsive embed-responsive-16by9 my-2 chulapa-rounded-lg" style="background-image: url(https://img.youtube.com/vi/{{ video_id }}/maxresdefault.jpg); background-position: center; background-size: cover;">
|
5
|
+
<button class="ch_ytdefer_btn" aria-label="Play" style="background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDY4IDQ4IiB3aWR0aD0iMTAwJSI+PHBhdGggY2xhc3M9Inl0cC1sYXJnZS1wbGF5LWJ1dHRvbi1iZyIgZD0iTTY2LjUyLDcuNzRjLTAuNzgtMi45My0yLjQ5LTUuNDEtNS40Mi02LjE5QzU1Ljc5LC4xMywzNCwwLDM0LDBTMTIuMjEsLjEzLDYuOSwxLjU1IEMzLjk3LDIuMzMsMi4yNyw0LjgxLDEuNDgsNy43NEMwLjA2LDEzLjA1LDAsMjQsMCwyNHMwLjA2LDEwLjk1LDEuNDgsMTYuMjZjMC43OCwyLjkzLDIuNDksNS40MSw1LjQyLDYuMTkgQzEyLjIxLDQ3Ljg3LDM0LDQ4LDM0LDQ4czIxLjc5LTAuMTMsMjcuMS0xLjU1YzIuOTMtMC43OCw0LjY0LTMuMjYsNS40Mi02LjE5QzY3Ljk0LDM0Ljk1LDY4LDI0LDY4LDI0UzY3Ljk0LDEzLjA1LDY2LjUyLDcuNzR6IiBmaWxsPSIjMjEyMTIxIiBmaWxsLW9wYWNpdHk9IjAuOCI+PC9wYXRoPjxwYXRoIGQ9Ik0gNDUsMjQgMjcsMTQgMjcsMzQiIGZpbGw9IiNmZmYiPjwvcGF0aD48L3N2Zz4="); position: absolute; border: 0px; background-color: transparent; left: calc(50% - 73px/2); top: calc(50% - 52px/2); width: 73px; height: 52px; pointer-events: none;"></button>
|
6
|
+
</div>
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{- content -}}
|
6
|
+
|
7
|
+
|
8
|
+
{%- if page.include_collection -%}
|
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 %}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{- content -}}
|
6
|
+
|
7
|
+
|
8
|
+
{%- if page.include_collection -%}
|
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
|
+
{% assign groupcategory = alldocs | map: 'categories' | join: ',' | split: ',' | group_by: category | sort: 'size' | reverse %}
|
29
|
+
|
30
|
+
|
31
|
+
{%- for category in groupcategory -%}
|
32
|
+
{%- if forloop.first -%}
|
33
|
+
{%- assign sizemax = category.size -%}
|
34
|
+
{%- elsif forloop.last -%}
|
35
|
+
{% assign mid = category.size | plus: sizemax | divided_by: 2 %}
|
36
|
+
{%- endif -%}
|
37
|
+
{%- endfor -%}
|
38
|
+
|
39
|
+
|
40
|
+
<div class="row g-0 pt-5" id="categories">
|
41
|
+
<div class="col">
|
42
|
+
{%- for category in groupcategory -%}
|
43
|
+
<a href="#{{- category.name | replace: " ", "-" -}}" class="btn btn-secondary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ category.size }}rem - {{ mid }}rem))));"><i class="far fa-folder-open mr-2" aria-hidden="true"></i>{{- category.name -}}<span class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{category.size}}</span></a>
|
44
|
+
{%- endfor -%}
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
49
|
+
{% for category in groupcategory %}
|
50
|
+
<section id="{{- category.name | replace: " ", "-" -}}" class="py-3 chulapa-cloudcategory">
|
51
|
+
<div class="d-flex align-items-center border-bottom border-chulapa mt-5">
|
52
|
+
<h5 class="my-0"><i class="far fa-folder-open mr-1" aria-hidden="true"></i>{{- category.name -}} </h5>
|
53
|
+
<div class="badge rounded-pill chulapa-pill-bg-secondary ml-2">{{category.size}}</div>
|
54
|
+
</div>
|
55
|
+
{% for document in alldocs %}
|
56
|
+
{% assign words = document.content | strip_html | number_of_words %}
|
57
|
+
{% assign readtime = "< 1’" | escape_once %}
|
58
|
+
{% if words > words_per_minute %}
|
59
|
+
{% assign readtime = words | divided_by:words_per_minute | append: "’" %}
|
60
|
+
{% endif %}
|
61
|
+
{% if document.categories contains category.name %}
|
62
|
+
<article class="chulapa-links-hover-only my-1 mb-4 row g-0">
|
63
|
+
<div class="col">
|
64
|
+
<h6><a href="{{ document.url | absolute_url }}">{{ document.title }}</a></h6>
|
65
|
+
{%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
|
66
|
+
<div class="small">
|
67
|
+
{% if document.date %}
|
68
|
+
{% assign dateformat = document.date | date: "%B %d, %Y" %}
|
69
|
+
<i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
70
|
+
{% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
|
71
|
+
{% endif %}
|
72
|
+
<i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
|
73
|
+
{%- if showcol -%}
|
74
|
+
<span class="ml-2 badge chulapa-pill-bg-body">{{ document.collection }}</span>
|
75
|
+
{%- endif -%}
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
{% if document.header_img or document.og_image %}
|
79
|
+
<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 }}')">
|
80
|
+
</a>
|
81
|
+
{% endif %}
|
82
|
+
</article>
|
83
|
+
{% endif %}
|
84
|
+
{% endfor %}
|
85
|
+
<div class="text-right">
|
86
|
+
<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>
|
87
|
+
</div>
|
88
|
+
</section>
|
89
|
+
{% endfor %}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{- content -}}
|
6
|
+
|
7
|
+
{%- if page.include_collection -%}
|
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
|
+
|
27
|
+
{% assign alldocs = alldocs | sort: 'date' | reverse %}
|
28
|
+
{% assign grouptag = alldocs | map: 'tags' | join: ',' | split: ',' | group_by: tag | sort: 'size' | reverse %}
|
29
|
+
{%- for tag in grouptag -%}
|
30
|
+
{%- if forloop.first -%}
|
31
|
+
{%- assign sizemax = tag.size -%}
|
32
|
+
{%- elsif forloop.last -%}
|
33
|
+
{% assign mid = tag.size | plus: sizemax | divided_by: 2 %}
|
34
|
+
{%- endif -%}
|
35
|
+
{%- endfor -%}
|
36
|
+
|
37
|
+
<div class="row g-0 pt-5" id="tags">
|
38
|
+
<div class="col">
|
39
|
+
{%- for tag in grouptag -%}
|
40
|
+
<a href="#{{- tag.name | replace: " ", "-" -}}" class="btn btn-primary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ tag.size }}rem - {{ mid }}rem))));"><i class="fa fa-tag mr-2" aria-hidden="true"></i>{{- tag.name -}}<span class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag.size}}</span></a>
|
41
|
+
{%- endfor -%}
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
46
|
+
{% for tag in grouptag %}
|
47
|
+
<section id="{{- tag.name | replace: " ", "-" -}}" class="py-3 chulapa-cloudtag">
|
48
|
+
<div class="d-flex align-items-center border-bottom border-chulapa mt-5">
|
49
|
+
<h5 class="my-0"><i class="fa fa-tag mr-1" aria-hidden="true"></i>{{- tag.name -}} </h5>
|
50
|
+
<div class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag.size}}</div>
|
51
|
+
</div>
|
52
|
+
{% for document in alldocs %}
|
53
|
+
{% assign words = document.content | strip_html | number_of_words %}
|
54
|
+
{% assign readtime = "< 1’" | escape_once %}
|
55
|
+
{% if words > words_per_minute %}
|
56
|
+
{% assign readtime = words | divided_by:words_per_minute | append: "’" %}
|
57
|
+
{% endif %}
|
58
|
+
{% if document.tags contains tag.name %}
|
59
|
+
<article class="chulapa-links-hover-only my-1 mb-4 row g-0">
|
60
|
+
<div class="col">
|
61
|
+
<h6><a href="{{ document.url | absolute_url }}">{{ document.title }}</a></h6>
|
62
|
+
{%- if document.subtitle -%}<p>{{- document.subtitle -}}</p> {%- endif -%}
|
63
|
+
<div class="small">
|
64
|
+
{% if document.date %}
|
65
|
+
{% assign dateformat = document.date | date: "%B %d, %Y" %}
|
66
|
+
<i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{- document.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
67
|
+
{% if document.last_modified_at %} <i class="fa fa-redo" aria-hidden="true"></i>{% endif %} |
|
68
|
+
{% endif %}
|
69
|
+
<i class="far fa-clock" aria-hidden="true"></i> {{ readtime }}
|
70
|
+
{%- if showcol -%}
|
71
|
+
<span class="ml-2 badge chulapa-pill-bg-body">{{ document.collection }}</span>
|
72
|
+
{%- endif -%}
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
{% if document.header_img or document.og_image %}
|
76
|
+
<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 }}')">
|
77
|
+
</a>
|
78
|
+
{% endif %}
|
79
|
+
</article>
|
80
|
+
{% endif %}
|
81
|
+
{% endfor %}
|
82
|
+
<div class="text-right">
|
83
|
+
<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>
|
84
|
+
</div>
|
85
|
+
</section>
|
86
|
+
{% endfor %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.1
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp 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 %}{% assign _lastchar = _pres.last | split: "" | last %}{% assign _outerloop = forloop %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if forloop.last and _lastchar == _LINE_FEED %}{% unless _outerloop.last %}{{ _LINE_FEED }}{% endunless %}{% continue %}{% endif %}{% 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 %}{% 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 _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 %}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: minimal
|
3
|
+
---
|
4
|
+
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
5
|
+
<main class="container-lg pb-3 flex-fill">
|
6
|
+
{% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
|
7
|
+
{%- include components/breadcrumbdatesocial.html -%}
|
8
|
+
{% endif %}
|
9
|
+
<div class="row pt-2">
|
10
|
+
<aside class="col-lg-2 mt-lg-3 small">
|
11
|
+
{%- if page.show_author -%}
|
12
|
+
{% include components/author.html %}
|
13
|
+
{%- endif -%}
|
14
|
+
</aside>
|
15
|
+
<article class="col-lg-8 mt-3">
|
16
|
+
{% if page.show_toc %}
|
17
|
+
{% assign h_min = page.h_min | default: 2 %}
|
18
|
+
{% assign h_max = page.h_max | default: 4 %}
|
19
|
+
{% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skipNoIDs=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" %}
|
20
|
+
{% endif %}
|
21
|
+
{{- content -}}
|
22
|
+
</article>
|
23
|
+
</div>
|
24
|
+
</main>
|
25
|
+
{%- if page.show_bottomnavs -%}
|
26
|
+
{%- include components/navbeforeafter.html -%}
|
27
|
+
{%- endif -%}
|
28
|
+
{%- if page.show_categories -%}
|
29
|
+
{% assign size = page.categories | size %}
|
30
|
+
{% if size > 0 %}
|
31
|
+
{%- include components/categories.html-%}
|
32
|
+
{% endif %}
|
33
|
+
{%- endif -%}
|
34
|
+
{%- if page.show_tags -%}
|
35
|
+
{% assign size = page.tags | size %}
|
36
|
+
{% if size > 0 %}
|
37
|
+
{%- include components/tags.html-%}
|
38
|
+
{% endif %}
|
39
|
+
{%- endif -%}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{- content -}}
|
6
|
+
|
7
|
+
{%- if page.include_collection -%}
|
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 %}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
layout: minimal
|
3
|
+
---
|
4
|
+
<div class="chulapa-bg-landingpage">
|
5
|
+
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
6
|
+
</div>
|
7
|
+
<div class="chulapa-bg-landingpage flex-fill">
|
8
|
+
<main class="container-lg pb-3 chulapa-landingpage-color chulapa-bg-landingpage">
|
9
|
+
{% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
|
10
|
+
{%- include components/breadcrumbdatesocial.html -%}
|
11
|
+
{% endif %}
|
12
|
+
<div class="row pt-2">
|
13
|
+
<aside class="col-lg-2 mt-lg-3 small">
|
14
|
+
{%- if page.show_author -%}
|
15
|
+
{% include components/author.html %}
|
16
|
+
{%- endif -%}
|
17
|
+
</aside>
|
18
|
+
<article class="col-lg-8 mt-3">
|
19
|
+
{% if page.show_toc %}
|
20
|
+
{% assign h_min = page.h_min | default: 2 %}
|
21
|
+
{% assign h_max = page.h_max | default: 4 %}
|
22
|
+
{% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skipNoIDs=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" %}
|
23
|
+
{% endif %}
|
24
|
+
{{- content -}}
|
25
|
+
</article>
|
26
|
+
</div>
|
27
|
+
</main>
|
28
|
+
</div>
|
29
|
+
<div class="chulapa-bg-landingpage">
|
30
|
+
{%- if page.show_bottomnavs -%}
|
31
|
+
<div class="chulapa-landingpage-color">
|
32
|
+
{%- include components/navbeforeafter.html -%}
|
33
|
+
</div>
|
34
|
+
{%- endif -%}
|
35
|
+
{%- if page.show_categories -%}
|
36
|
+
{% assign size = page.categories | size %}
|
37
|
+
{% if size > 0 %}
|
38
|
+
<div class="chulapa-landingpage-badges">
|
39
|
+
{%- include components/categories.html-%}
|
40
|
+
</div>
|
41
|
+
{% endif %}
|
42
|
+
{%- endif -%}
|
43
|
+
{%- if page.show_tags -%}
|
44
|
+
{% assign size = page.tags | size %}
|
45
|
+
{% if size > 0 %}
|
46
|
+
<div class="chulapa-landingpage-badges chulapa-landingpage-tag">
|
47
|
+
{%- include components/tags.html-%}
|
48
|
+
</div>
|
49
|
+
{% endif %}
|
50
|
+
{%- endif -%}
|
51
|
+
</div>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
<!doctype html>
|
5
|
+
<html lang="{{- site.locale | default: 'en-US' -}}">
|
6
|
+
{%- include head.html -%}
|
7
|
+
<body class="d-flex flex-column">
|
8
|
+
{% include_cached navbar.html pageurl=page.url %}
|
9
|
+
{{- content -}}
|
10
|
+
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id -%}
|
11
|
+
<!-- JS, Popper.js, and jQuery -->
|
12
|
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
14
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
|
16
|
+
<script src="{{ './assets/js/clipboardrouge.js' | absolute_url }}"></script>
|
17
|
+
<!-- Chulape Deferred (lazy) loading of YouTube videos, to improve page speed -->
|
18
|
+
<script>window.addEventListener('load', ch_ytdefer_setup);</script>
|
19
|
+
{% include custom/custom_bottomscripts.html %}
|
20
|
+
</body>
|
21
|
+
</html>
|