chulapa-jekyll 1.0.1 → 2.0.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 +68 -9
- data/README.md +106 -66
- data/_data/version.yml +2 -0
- data/_data/welcomments/01_install/01H35P308R2G2YMW849CK7V1VP.json +9 -0
- data/_data/welcomments/02_config/01GMBNMYVQS6NCQ45S7KP1TK80.json +10 -0
- data/_data/welcomments/02_config/01GMBNP7RB0CBQNKKXKWG5CHJN.json +10 -0
- data/_data/welcomments/02_config/01GMBNX1CNV06WN12XR72CNN8D.json +11 -0
- data/_data/welcomments/02_config/01GME95BGP5HDQWAWFXT49FDB5.json +10 -0
- data/_data/welcomments/02_config/01GME9BZ4N0K0RT3WEPM397VP1.json +10 -0
- data/_data/welcomments/02_config/01HAH50GMY2SEESXQNR9D3V44R.json +9 -0
- data/_data/welcomments/welcome/01GMDMF77D4VZ7VQX9JAK0RMT5.json +10 -0
- data/_data/welcomments/welcome/01H1QVV3C210ND4XY30H0BZHQP.json +9 -0
- data/_includes/components/author.html +12 -7
- data/_includes/components/breadcrumbdatesocial.html +27 -12
- data/_includes/components/cactus.html +18 -0
- data/_includes/components/categories.html +1 -1
- data/_includes/components/cusdis.html +18 -0
- data/_includes/components/disqus.html +1 -1
- data/_includes/components/headers.html +10 -10
- data/_includes/components/indexcards.html +1 -1
- data/_includes/components/navbeforeafter.html +23 -4
- data/_includes/components/related.html +72 -0
- data/_includes/components/sidetoc.html +15 -0
- data/_includes/components/tags.html +1 -1
- data/_includes/components/toc.html +120 -50
- data/_includes/components/welcomments.html +10 -0
- data/_includes/footer.html +63 -17
- data/_includes/head.html +41 -31
- data/_includes/navbar.html +4 -4
- data/_includes/snippets/bootstrapdemo.html +3 -0
- data/_includes/snippets/carousel.html +3 -3
- data/_includes/snippets/masonry.html +3 -1
- data/_includes/snippets/video.html +20 -10
- data/_includes/snippets/youtube.html +10 -1
- data/_includes/welcomments/comment_form.html +26 -0
- data/_includes/welcomments/comments.html +109 -0
- data/_includes/welcomments/single_comment.html +57 -0
- data/_includes/welcomments/template.html +46 -0
- data/_layouts/cloudcategory.html +4 -4
- data/_layouts/cloudcategory2.html +89 -0
- data/_layouts/cloudtag2.html +86 -0
- data/_layouts/compress.html +2 -2
- data/_layouts/default.html +17 -3
- data/_layouts/landingpage.html +21 -3
- data/_layouts/minimal.html +5 -6
- data/_layouts/search.html +8 -7
- data/_sass/chulapa/_classes.scss +1270 -0
- data/_sass/{chulapa-misc.scss → chulapa/_reboot.scss} +24 -4
- data/_sass/{chulapa-vars.scss → chulapa/_variables.scss} +25 -5
- data/_sass/chulapa-master.scss +5 -5
- data/_sass/highlight/monokai.scss +1 -1
- data/_sass/reset-algolia.scss +1 -1
- data/_sass/skins/academia.scss +24 -18
- data/_sass/skins/auto.scss +2 -1
- data/_sass/skins/chulapa.scss +14 -12
- data/_sass/skins/dark-bg.scss +62 -0
- data/_sass/skins/deeply.scss +4 -3
- data/_sass/skins/electro.scss +20 -0
- data/_sass/skins/focal.scss +52 -0
- data/_sass/skins/gitdev-dark.scss +97 -0
- data/_sass/skins/gitdev.scss +86 -0
- data/_sass/skins/graymor.scss +17 -18
- data/_sass/skins/hootstrap.scss +12 -12
- data/_sass/skins/journal.scss +6 -5
- data/_sass/skins/lux.scss +9 -10
- data/_sass/skins/lymcha.scss +10 -10
- data/_sass/skins/media.scss +54 -0
- data/_sass/skins/mickie.scss +13 -0
- data/_sass/skins/minco.scss +12 -0
- data/_sass/skins/minty.scss +14 -11
- data/_sass/skins/monotone.scss +14 -0
- data/_sass/skins/pear.scss +19 -20
- data/_sass/skins/preptor.scss +13 -14
- data/_sass/skins/skeeblu.scss +20 -0
- data/_sass/skins/sketchy.scss +5 -4
- data/_sass/skins/sunset.scss +10 -10
- data/_sass/skins/towards.scss +21 -0
- data/_sass/skins/twitter-dim.scss +38 -28
- data/_sass/skins/twitter-lights-out.scss +38 -30
- data/_sass/skins/twitter.scss +25 -25
- data/_sass/skins/universal.scss +79 -21
- data/_sass/skins/wandoo.scss +12 -13
- data/assets/css/main.scss +1 -1
- data/assets/css/welcomments.scss +572 -0
- data/assets/fonts/Hubot-Sans/Hubot-Sans.woff2 +0 -0
- data/assets/fonts/Hubot-Sans/LICENSE.txt +93 -0
- data/assets/fonts/Mona-Sans/LICENSE.txt +93 -0
- data/assets/fonts/Mona-Sans/Mona-Sans.woff2 +0 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +3 -1
- data/assets/js/chulapa_script.js +175 -0
- data/assets/js/clipboard/chulapa_clipboard.js +109 -0
- data/assets/js/cusdis/chulapa_cusdis.js +1 -0
- data/assets/js/google/google-search.js +0 -1
- metadata +75 -15
- data/_sass/chulapa-classes.scss +0 -844
- 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-Light.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.min.js +0 -1
- data/assets/js/clipboardrouge.js +0 -95
- /data/_sass/{bootstrapv5-migration.scss → chulapa/_bootstrapv5.scss} +0 -0
- /data/_sass/{chulapa-mixins.scss → chulapa/_mixins.scss} +0 -0
@@ -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 tag_count = alldocs | map: 'tags' | count_by_item %}
|
29
|
+
{%- for tag in tag_count -%}
|
30
|
+
{%- if forloop.first -%}
|
31
|
+
{%- assign sizemax = tag[1] -%}
|
32
|
+
{%- elsif forloop.last -%}
|
33
|
+
{% assign mid = tag[1] | 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 tag_count -%}
|
40
|
+
<a href="#{{- tag[0] | replace: " ", "-" -}}" class="btn btn-primary m-1" role="button" style="font-size: min(1.2rem , max(0.8rem , calc(1rem + 0.025*({{ tag[1] }}rem - {{ mid }}rem))));"><i class="fa fa-tag mr-2" aria-hidden="true"></i>{{- tag[0] -}}<span class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag[1]}}</span></a>
|
41
|
+
{%- endfor -%}
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
46
|
+
{% for tag in tag_count %}
|
47
|
+
<section id="{{- tag[0] | 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[0] -}} </h5>
|
50
|
+
<div class="badge rounded-pill chulapa-pill-bg-primary ml-2">{{tag[1]}}</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[0] %}
|
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 %}
|
data/_layouts/compress.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
---
|
2
2
|
# Jekyll layout that compresses HTML
|
3
|
-
# v3.0
|
3
|
+
# v3.1.0
|
4
4
|
# http://jch.penibelst.de/
|
5
5
|
# © 2014–2015 Anatol Broder
|
6
6
|
# MIT License
|
7
7
|
---
|
8
8
|
|
9
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
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ 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 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: " " | join: " " %}{% 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 %}
|
data/_layouts/default.html
CHANGED
@@ -12,13 +12,24 @@ layout: minimal
|
|
12
12
|
{% include components/author.html %}
|
13
13
|
{%- endif -%}
|
14
14
|
</aside>
|
15
|
-
<article class="col-lg-8 mt-3">
|
15
|
+
<article id="maincontent" class="col-lg-8 mt-3 e-content">
|
16
|
+
{% if page.show_sidetoc %}
|
17
|
+
|
18
|
+
{% include components/sidetoc.html %}
|
19
|
+
|
20
|
+
{% endif %}
|
16
21
|
{% if page.show_toc %}
|
17
22
|
{% assign h_min = page.h_min | default: 2 %}
|
18
23
|
{% assign h_max = page.h_max | default: 4 %}
|
19
|
-
|
24
|
+
<nav aria-label="table-of-contents">
|
25
|
+
{% 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
|
+
</nav>
|
20
27
|
{% endif %}
|
21
28
|
{{- content -}}
|
29
|
+
|
30
|
+
{% if page.show_applause %}
|
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 %}
|
22
33
|
</article>
|
23
34
|
</div>
|
24
35
|
</main>
|
@@ -36,4 +47,7 @@ layout: minimal
|
|
36
47
|
{% if size > 0 %}
|
37
48
|
{%- include components/tags.html-%}
|
38
49
|
{% endif %}
|
39
|
-
{%- endif -%}
|
50
|
+
{%- endif -%}
|
51
|
+
{%- if page.show_related -%}
|
52
|
+
{%- include components/related.html -%}
|
53
|
+
{%- endif -%}
|
data/_layouts/landingpage.html
CHANGED
@@ -15,13 +15,26 @@ layout: minimal
|
|
15
15
|
{% include components/author.html %}
|
16
16
|
{%- endif -%}
|
17
17
|
</aside>
|
18
|
-
<article class="col-lg-8 mt-3">
|
18
|
+
<article id="maincontent" class="col-lg-8 mt-3 e-content">
|
19
|
+
|
20
|
+
{% if page.show_sidetoc %}
|
21
|
+
|
22
|
+
{% include components/sidetoc.html %}
|
23
|
+
|
24
|
+
{% endif %}
|
25
|
+
|
19
26
|
{% if page.show_toc %}
|
20
27
|
{% assign h_min = page.h_min | default: 2 %}
|
21
28
|
{% assign h_max = page.h_max | default: 4 %}
|
22
|
-
|
29
|
+
<nav aria-label="table-of-contents">
|
30
|
+
{% 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" %}
|
31
|
+
</nav>
|
23
32
|
{% endif %}
|
24
33
|
{{- 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 %}
|
25
38
|
</article>
|
26
39
|
</div>
|
27
40
|
</main>
|
@@ -48,4 +61,9 @@ layout: minimal
|
|
48
61
|
</div>
|
49
62
|
{% endif %}
|
50
63
|
{%- endif -%}
|
51
|
-
</div>
|
64
|
+
</div>
|
65
|
+
{%- if page.show_related -%}
|
66
|
+
<div class="chulapa-landingpage-related">
|
67
|
+
{%- include components/related.html -%}
|
68
|
+
</div>
|
69
|
+
{%- endif -%}
|
data/_layouts/minimal.html
CHANGED
@@ -4,18 +4,17 @@ layout: compress
|
|
4
4
|
<!doctype html>
|
5
5
|
<html lang="{{- site.locale | default: 'en-US' -}}">
|
6
6
|
{%- include head.html -%}
|
7
|
-
|
7
|
+
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url | uri_escape -%}
|
8
|
+
<body class="d-flex flex-column h-entry" id="body">
|
9
|
+
<a class="u-url d-none" href="{{ canonical_url }}">Invisible link to canonical for Microformats</a>
|
8
10
|
{% include_cached navbar.html pageurl=page.url %}
|
9
11
|
{{- content -}}
|
10
|
-
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id -%}
|
12
|
+
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id pagetitle = page.title -%}
|
11
13
|
<!-- JS, Popper.js, and jQuery -->
|
12
14
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
13
15
|
<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
16
|
<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/
|
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>
|
17
|
+
<script src="https://cdn.jsdelivr.net/gh/dieghernan/chulapa@master/assets/js/chulapa_script.js"></script>
|
19
18
|
{% include custom/custom_bottomscripts.html %}
|
20
19
|
</body>
|
21
20
|
</html>
|
data/_layouts/search.html
CHANGED
@@ -14,13 +14,14 @@
|
|
14
14
|
</style>
|
15
15
|
{% endif %}
|
16
16
|
{% include_cached navbar.html pageurl=page.url %}
|
17
|
-
<header class="text-center header-chulapa"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
<header class="text-center header-chulapa">
|
18
|
+
<div class="container-lg pt-4">
|
19
|
+
<div class="row">
|
20
|
+
<div class="col-lg-8 offset-lg-2">
|
21
|
+
<h1>{{ page.title }} <i class="fa fa-search" aria-hidden="true"></i></h1>
|
22
|
+
</div>
|
23
23
|
</div>
|
24
|
+
</div>
|
24
25
|
</header>
|
25
26
|
<main class="container-lg pt-2 pb-5 flex-fill">
|
26
27
|
<div class="row">
|
@@ -42,7 +43,7 @@
|
|
42
43
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
43
44
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
44
45
|
{%- if site.search.provider == "lunr" -%}
|
45
|
-
<script src="https://unpkg.com/lunr/lunr.js"></script>
|
46
|
+
<script src="https://unpkg.com/lunr/lunr.min.js"></script>
|
46
47
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
47
48
|
<script src="{{ '/assets/js/lunr/lunr-search.js' | absolute_url }}"></script>
|
48
49
|
{% endif %}
|