chulapa-jekyll 2.1.0 → 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 +116 -0
- data/README.md +189 -204
- 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 +1 -1
- 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 +5 -5
- 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 +7 -4
- data/_includes/components/navigation-fallback.html +19 -0
- data/_includes/components/random.html +1 -103
- data/_includes/components/recommendations.html +97 -0
- data/_includes/components/related.html +1 -96
- data/_includes/components/scripts.html +9 -0
- data/_includes/components/sidetoc.html +5 -4
- data/_includes/components/simplelist.html +6 -6
- data/_includes/components/skin-attribution.html +169 -0
- data/_includes/components/theme-selector.html +14 -0
- data/_includes/footer.html +14 -217
- data/_includes/head.html +265 -257
- data/_includes/navbar.html +33 -77
- data/_includes/search/fusejs.html +3 -19
- data/_includes/search/google.html +3 -3
- data/_includes/search/lunr.html +3 -11
- data/_includes/search/simplesearch.html +6 -6
- data/_includes/snippets/bootstrapdemo.html +28 -10
- data/_includes/snippets/carousel.html +16 -12
- data/_includes/snippets/dark-skin-enabled.html +14 -0
- data/_includes/snippets/masonry.html +6 -4
- data/_includes/snippets/microformats-url.html +2 -0
- data/_includes/snippets/publisher.html +15 -18
- data/_includes/snippets/video.html +6 -6
- data/_includes/snippets/youtube.html +10 -4
- data/_includes/theme-styles.html +201 -0
- data/_includes/welcomments/comment_form.html +5 -4
- data/_includes/welcomments/comments.html +5 -5
- 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 +17 -6
- data/_layouts/indexcategory.html +2 -30
- data/_layouts/landingpage.html +6 -4
- data/_layouts/minimal.html +12 -8
- data/_layouts/search.html +6 -5
- 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 +137 -9
- data/_sass/chulapa/_mixins.scss +42 -1
- data/_sass/chulapa/_theme-selector.scss +1 -0
- 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/skins/academia.scss +28 -0
- data/_sass/skins/auto.scss +23 -28
- data/_sass/skins/butterfly-dark.scss +22 -3
- data/_sass/skins/butterfly-dim.scss +32 -5
- data/_sass/skins/butterfly.scss +35 -3
- data/_sass/skins/cerulean.scss +120 -0
- data/_sass/skins/chulapa.scss +23 -3
- data/_sass/skins/cyborg.scss +3 -512
- data/_sass/skins/darkly.scss +3 -424
- data/_sass/skins/deeply.scss +10 -279
- data/_sass/skins/electro.scss +4 -25
- data/_sass/skins/flatly.scss +3 -386
- data/_sass/skins/focal.scss +33 -2
- data/_sass/skins/gitdev-dark.scss +19 -8
- data/_sass/skins/gitdev.scss +2 -2
- data/_sass/skins/graymor.scss +7 -30
- data/_sass/skins/hootstrap.scss +5 -19
- data/_sass/skins/journal.scss +3 -131
- data/_sass/skins/listen.scss +35 -3
- data/_sass/skins/litera.scss +281 -0
- data/_sass/skins/lux.scss +3 -310
- data/_sass/skins/lymcha.scss +4 -17
- data/_sass/skins/materia.scss +3 -889
- data/_sass/skins/media.scss +11 -1
- data/_sass/skins/mickie.scss +7 -26
- data/_sass/skins/minco.scss +10 -29
- data/_sass/skins/minty.scss +3 -309
- data/_sass/skins/monotone.scss +6 -24
- data/_sass/skins/navi.scss +29 -1
- data/_sass/skins/none.scss +24 -2
- data/_sass/skins/pear.scss +34 -1
- data/_sass/skins/preptor.scss +6 -16
- data/_sass/skins/pulse.scss +158 -0
- data/_sass/skins/skeeblu.scss +6 -17
- data/_sass/skins/sketchy.scss +3 -735
- data/_sass/skins/slate.scss +3 -719
- data/_sass/skins/solar.scss +3 -425
- data/_sass/skins/sunset.scss +6 -26
- data/_sass/skins/towards.scss +26 -1
- data/_sass/skins/twitter-dim.scss +43 -5
- data/_sass/skins/twitter-lights-out.scss +25 -3
- data/_sass/skins/twitter.scss +32 -3
- data/_sass/skins/united.scss +3 -57
- data/_sass/skins/universal.scss +17 -0
- data/_sass/skins/wandoo.scss +6 -12
- data/_sass/skins/yeti.scss +3 -673
- 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/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 +31 -38
- data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -82
- 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 +198 -76
- 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 +5 -140
- data/assets/js/fusejs/fusejs-search.min.js +4 -4
- data/assets/js/lunr/lunr-search.js +7 -130
- data/assets/js/lunr/lunr-search.min.js +1 -1
- metadata +141 -2
|
@@ -1,96 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
{%- if page.tags -%}
|
|
4
|
-
{%- assign all_docs = site.documents | where_exp: "item", "item.url != page.url" -%}
|
|
5
|
-
|
|
6
|
-
{%- for tag in page.tags -%}
|
|
7
|
-
{%- if forloop.first -%}
|
|
8
|
-
{%- assign related_docs = all_docs | where_exp: "item", "item.tags contains tag" | map: 'id' | join: ',' | split: ',' -%}
|
|
9
|
-
{%- else -%}
|
|
10
|
-
{%- assign doc_loop = all_docs | where_exp: "item", "item.tags contains tag" | map: 'id' | join: ',' | split: ',' -%}
|
|
11
|
-
{%- assign related_docs = related_docs | concat: doc_loop -%}
|
|
12
|
-
{%- endif -%}
|
|
13
|
-
{%- endfor -%}
|
|
14
|
-
|
|
15
|
-
{%- assign this_col = all_docs | where_exp: "item", "item.collection == page.collection" | map: 'id' | join: ',' | split: ',' -%}
|
|
16
|
-
{%- assign all_tags = related_docs | concat: this_col -%}
|
|
17
|
-
{%- assign unique_tags = all_tags | uniq -%}
|
|
18
|
-
{% assign tag_counts = '' | split: ',' %}
|
|
19
|
-
{% assign num_tags = unique_tags | size | minus: 1 %}
|
|
20
|
-
|
|
21
|
-
{%- for i in (0..num_tags) -%}
|
|
22
|
-
{% assign tag_count = all_tags | where_exp: "item", "item == unique_tags[i]" | size %}
|
|
23
|
-
{% assign tag_counts = tag_counts | push: tag_count %}
|
|
24
|
-
{%- endfor -%}
|
|
25
|
-
|
|
26
|
-
{% assign max_items = tag_counts | sort | last %}
|
|
27
|
-
{% assign sorted_tag_counts = '' | split: ',' %}
|
|
28
|
-
{% assign sorted_docs = '' | split: ',' %}
|
|
29
|
-
|
|
30
|
-
{% for i in (1..max_items) reversed %}
|
|
31
|
-
{% if i > 2 %}
|
|
32
|
-
{% assign sorted_docs_loop = '' | split: ',' %}
|
|
33
|
-
{% for j in (0..num_tags) %}
|
|
34
|
-
{% if tag_counts[j] == i %}
|
|
35
|
-
{% assign sorted_tag_counts = sorted_tag_counts | push: i %}
|
|
36
|
-
{% assign id = unique_tags[j] %}
|
|
37
|
-
{% assign related_doc = all_docs | where_exp: "item", "item.id == id" %}
|
|
38
|
-
{% assign sorted_docs_loop = sorted_docs_loop | concat: related_doc | sort: 'date' | reverse %}
|
|
39
|
-
{% endif %}
|
|
40
|
-
{% endfor %}
|
|
41
|
-
{% assign sorted_docs = sorted_docs | concat: sorted_docs_loop %}
|
|
42
|
-
{% endif %}
|
|
43
|
-
{% endfor %}
|
|
44
|
-
|
|
45
|
-
{%- if sorted_docs -%}
|
|
46
|
-
{% for document in sorted_docs limit: 3 %}
|
|
47
|
-
{% assign margin_class = "ml-sm-1" %}
|
|
48
|
-
{%- if forloop.first -%}
|
|
49
|
-
{% assign margin_class = "" %}
|
|
50
|
-
<div class="container-lg mt-1 mb-2">
|
|
51
|
-
<div class="row">
|
|
52
|
-
<div class="col-lg-8 offset-lg-2">
|
|
53
|
-
<hr>
|
|
54
|
-
{% if page.related_label %}
|
|
55
|
-
{{ page.related_label }}
|
|
56
|
-
{% endif %}
|
|
57
|
-
<nav class="card-group" aria-label="related-articles">
|
|
58
|
-
{%- endif -%}
|
|
59
|
-
<div class="card {{ margin_class }} border chulapa-related">
|
|
60
|
-
<div class="card-body">
|
|
61
|
-
<p class="card-title chulapa-headingfont">
|
|
62
|
-
<a href="{{ document.url | absolute_url }}" class="chulapa-text-body-color">
|
|
63
|
-
{{ document.title | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip }}
|
|
64
|
-
</a>
|
|
65
|
-
</p>
|
|
66
|
-
{% if document.subtitle %}
|
|
67
|
-
<p class="card-text">
|
|
68
|
-
<small>{{- document.subtitle | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip -}}</small>
|
|
69
|
-
</p>
|
|
70
|
-
{%- endif -%}
|
|
71
|
-
</div>
|
|
72
|
-
<div class="card-footer bg-transparent">
|
|
73
|
-
{% if document.date %}
|
|
74
|
-
{% assign date_format = document.date | date: "%B %d, %Y" %}
|
|
75
|
-
<small>
|
|
76
|
-
<i class="far fa-calendar" aria-hidden="true"></i>
|
|
77
|
-
<time datetime="{{- document.date | date_to_xmlschema -}}">
|
|
78
|
-
{% include_cached snippets/datetranslate.html date=date_format %}
|
|
79
|
-
</time>
|
|
80
|
-
</small>
|
|
81
|
-
{% else %}
|
|
82
|
-
<small>-</small>
|
|
83
|
-
{% endif %}
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
{%- if forloop.last -%}
|
|
87
|
-
</nav>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
{%- endif -%}
|
|
92
|
-
{%- endfor -%}
|
|
93
|
-
{%- endif -%}
|
|
94
|
-
{%- endif -%}
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
{%- include components/recommendations.html mode='related' -%}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
2
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
3
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
|
4
|
+
{% if site.navbar.style == "fab" or site.navbar.style == "dual" %}
|
|
5
|
+
<script src="{{ '/assets/js/chulapa_navigation.js' | relative_url }}"></script>
|
|
6
|
+
{% endif %}
|
|
7
|
+
{% if include.theme %}
|
|
8
|
+
<script src="{{ '/assets/js/chulapa_script.js' | relative_url }}"></script>
|
|
9
|
+
{% endif %}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{% assign h_min = page.h_min | default: 2 %}
|
|
2
2
|
{% assign h_max = page.h_max | default: 4 %}
|
|
3
|
-
<button class="btn btn-primary btn-sm rounded-right position-fixed chulapa-btn-sidebar bs-canvas-anim chulapa-btn-nofocus chulapa-fa-static" id='
|
|
3
|
+
<button type="button" class="btn btn-primary btn-sm rounded-right position-fixed chulapa-btn-sidebar bs-canvas-anim chulapa-btn-nofocus chulapa-fa-static" id='chulapa-sidetoc-toggle' onclick="openSideBar()" aria-label="Open Sidebar" aria-expanded="false" aria-controls="sideBar">
|
|
4
4
|
<i class="fa-solid fa-plus"></i><span class="sr-only">Open Sidebar</span>
|
|
5
5
|
</button>
|
|
6
|
-
<div class="bs-canvas bs-canvas-anim bs-canvas-left position-fixed navbar-chulapa h-100" id='sideBar'>
|
|
6
|
+
<div class="bs-canvas bs-canvas-anim bs-canvas-left position-fixed navbar-chulapa h-100" id='sideBar' aria-hidden="true" inert>
|
|
7
7
|
<p class="pt-2 pb-1 px-3">
|
|
8
8
|
<button type="button" class="navbar-text close chulapa-btn-nofocus chulapa-fa-static" aria-label="Close" onclick="closeSideBar()">
|
|
9
9
|
<i class="fa-solid fa-times"></i><span class="sr-only">Close Sidebar</span>
|
|
10
10
|
</button>
|
|
11
11
|
</p>
|
|
12
|
-
<nav class="navbar-nav px-3 my-auto"
|
|
12
|
+
<nav class="navbar-nav px-3 my-auto" aria-label="Sidebar table of contents">
|
|
13
|
+
<p class="mb-2"><a class="nav-link font-weight-bold lead" href="#">{{ page.title }}</a></p>
|
|
13
14
|
{% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skip_no_ids=true id="sidetoc" class="nav.flex-column" item_class="nav-item.nav.d-block" anchor_class="nav-link" %}
|
|
14
15
|
</nav>
|
|
15
|
-
</div>
|
|
16
|
+
</div>
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
{% for post in alldocs limit: include.cachedlimit %}
|
|
3
3
|
<div class="ml-2 my-1">
|
|
4
4
|
<div class="row g-0">
|
|
5
|
-
<article class="col">
|
|
6
|
-
<
|
|
5
|
+
<article class="col h-entry">
|
|
6
|
+
<h2 class="h6 my-2"><a href="{{- post.url | absolute_url -}}" class="chulapa-text-body-color p-name u-url">{{ post.title | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | strip }}</a></h2>
|
|
7
7
|
<p class="small mb-1">
|
|
8
8
|
{% if post.date %}
|
|
9
9
|
{% assign dateformat = post.date | date: "%A, %d, %B %Y" %}
|
|
10
|
-
<time datetime="{{- post.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
10
|
+
<time class="dt-published" datetime="{{- post.date | date_to_xmlschema -}}">{% include_cached snippets/datetranslate.html date=dateformat %}</time>
|
|
11
11
|
{% if post.last_modified_at %} <i class="fa fa-redo fa-sm" aria-hidden="true"></i>{% endif %}
|
|
12
12
|
{% endif %}
|
|
13
|
-
<span class="mx-1 my-1 badge chulapa-pill-bg-body">{{ post.collection }}</span>
|
|
13
|
+
<span class="mx-1 my-1 badge chulapa-pill-bg-body p-category">{{ post.collection }}</span>
|
|
14
14
|
</p>
|
|
15
15
|
</article>
|
|
16
16
|
{%- if post.header_img or post.og_image -%}
|
|
17
|
-
<a href="{{- post.url | absolute_url -}}" class="col-2 ml-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ post.og_image | default: post.header_img | absolute_url }}')"></a>
|
|
17
|
+
<a href="{{- post.url | absolute_url -}}" aria-label="{{ post.title | default: 'Read article' | markdownify | strip_html | strip | escape_once }}" class="col-2 ml-2 btn chulapa-overlay-img chulapa-gradient" style="background-image: url('{{ post.og_image | default: post.header_img | absolute_url }}')"></a>
|
|
18
18
|
{%- endif -%}
|
|
19
19
|
</div>
|
|
20
20
|
{% unless forloop.last -%}
|
|
21
|
-
<hr class="w-25 m-0"
|
|
21
|
+
<hr class="w-25 m-0">
|
|
22
22
|
{% endunless -%}
|
|
23
23
|
|
|
24
24
|
</div>
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
{%- assign name = nil -%}
|
|
2
|
+
{%- assign author = nil -%}
|
|
3
|
+
{%- assign url = nil -%}
|
|
4
|
+
{%- if include.skin == 'preptor' -%}
|
|
5
|
+
{%- assign name = 'Preptor' - %}
|
|
6
|
+
{%- assign author = 'Tophat' - %}
|
|
7
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
8
|
+
{%- elsif include.skin == 'lymcha' -%}
|
|
9
|
+
{%- assign name = 'Lymcha' - %}
|
|
10
|
+
{%- assign author = 'Tophat' - %}
|
|
11
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
12
|
+
{%- elsif include.skin == 'hootstrap' -%}
|
|
13
|
+
{%- assign name = 'Hootstrap' - %}
|
|
14
|
+
{%- assign author = 'Tophat' - %}
|
|
15
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
16
|
+
{%- elsif include.skin == 'deeply' -%}
|
|
17
|
+
{%- assign name = 'Deeply' - %}
|
|
18
|
+
{%- assign author = 'Tophat' - %}
|
|
19
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
20
|
+
{%- elsif include.skin == 'graymor' -%}
|
|
21
|
+
{%- assign name = 'Graymor' - %}
|
|
22
|
+
{%- assign author = 'Tophat' - %}
|
|
23
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
24
|
+
{%- elsif include.skin == 'electro' -%}
|
|
25
|
+
{%- assign name = 'Electro' - %}
|
|
26
|
+
{%- assign author = 'Tophat' - %}
|
|
27
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
28
|
+
{%- elsif include.skin == 'wandoo' -%}
|
|
29
|
+
{%- assign name = 'Wandoo' - %}
|
|
30
|
+
{%- assign author = 'Tophat' - %}
|
|
31
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
32
|
+
{%- elsif include.skin == 'skeeblu' -%}
|
|
33
|
+
{%- assign name = 'Skeeblu' - %}
|
|
34
|
+
{%- assign author = 'Tophat' - %}
|
|
35
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
36
|
+
{%- elsif include.skin == 'mickie' -%}
|
|
37
|
+
{%- assign name = 'Mickie' - %}
|
|
38
|
+
{%- assign author = 'Tophat' - %}
|
|
39
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
40
|
+
{%- elsif include.skin == 'sketchy' -%}
|
|
41
|
+
{%- assign name = 'Sketchy' - %}
|
|
42
|
+
{%- assign author = 'Bootswatch' - %}
|
|
43
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
44
|
+
{%- elsif include.skin == 'cyborg' -%}
|
|
45
|
+
{%- assign name = 'Cyborg' - %}
|
|
46
|
+
{%- assign author = 'Bootswatch' - %}
|
|
47
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
48
|
+
{%- elsif include.skin == 'darkly' -%}
|
|
49
|
+
{%- assign name = 'Darkly' - %}
|
|
50
|
+
{%- assign author = 'Bootswatch' - %}
|
|
51
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
52
|
+
{%- elsif include.skin == 'flatly' -%}
|
|
53
|
+
{%- assign name = 'Flatly' - %}
|
|
54
|
+
{%- assign author = 'Bootswatch' - %}
|
|
55
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
56
|
+
{%- elsif include.skin == 'materia' -%}
|
|
57
|
+
{%- assign name = 'Materia' - %}
|
|
58
|
+
{%- assign author = 'Bootswatch' - %}
|
|
59
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
60
|
+
{%- elsif include.skin == 'slate' -%}
|
|
61
|
+
{%- assign name = 'Slate' - %}
|
|
62
|
+
{%- assign author = 'Bootswatch' - %}
|
|
63
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
64
|
+
{%- elsif include.skin == 'solar' -%}
|
|
65
|
+
{%- assign name = 'Slate' - %}
|
|
66
|
+
{%- assign author = 'Bootswatch' - %}
|
|
67
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
68
|
+
{%- elsif include.skin == 'lux' -%}
|
|
69
|
+
{%- assign name = 'Lux' - %}
|
|
70
|
+
{%- assign author = 'Bootswatch' - %}
|
|
71
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
72
|
+
{%- elsif include.skin == 'journal' -%}
|
|
73
|
+
{%- assign name = 'Journal' - %}
|
|
74
|
+
{%- assign author = 'Bootswatch' - %}
|
|
75
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
76
|
+
{%- elsif include.skin == 'minty' -%}
|
|
77
|
+
{%- assign name = 'Minty' - %}
|
|
78
|
+
{%- assign author = 'Bootswatch' - %}
|
|
79
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
80
|
+
{%- elsif include.skin == 'yeti' -%}
|
|
81
|
+
{%- assign name = 'Yeti' - %}
|
|
82
|
+
{%- assign author = 'Bootswatch' - %}
|
|
83
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
84
|
+
{%- elsif include.skin == 'united' -%}
|
|
85
|
+
{%- assign name = 'United' - %}
|
|
86
|
+
{%- assign author = 'Bootswatch' - %}
|
|
87
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
|
88
|
+
{%- elsif include.skin == 'towards' -%}
|
|
89
|
+
{%- assign name = 'Towards' - %}
|
|
90
|
+
{%- assign author = 'dieghernan' - %}
|
|
91
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
92
|
+
{%- elsif include.skin == 'twitter' -%}
|
|
93
|
+
{%- assign name = 'Twitter' - %}
|
|
94
|
+
{%- assign author = 'dieghernan' - %}
|
|
95
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
96
|
+
{%- elsif include.skin == 'twitter-dim' -%}
|
|
97
|
+
{%- assign name = 'Twitter Dim' - %}
|
|
98
|
+
{%- assign author = 'dieghernan' - %}
|
|
99
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
100
|
+
{%- elsif include.skin == 'listen' -%}
|
|
101
|
+
{%- assign name = 'Listen' - %}
|
|
102
|
+
{%- assign author = 'dieghernan' - %}
|
|
103
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
104
|
+
{%- elsif include.skin == 'navi' -%}
|
|
105
|
+
{%- assign name = 'Navi' - %}
|
|
106
|
+
{%- assign author = 'dieghernan' - %}
|
|
107
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
108
|
+
{%- elsif include.skin == 'twitter-lights-out' -%}
|
|
109
|
+
{%- assign name = 'Twitter Lights Out' - %}
|
|
110
|
+
{%- assign author = 'dieghernan' - %}
|
|
111
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
112
|
+
{%- elsif include.skin == 'chulapa' -%}
|
|
113
|
+
{%- assign name = 'Chulapa' - %}
|
|
114
|
+
{%- assign author = 'dieghernan' - %}
|
|
115
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
116
|
+
{%- elsif include.skin == 'gitdev' -%}
|
|
117
|
+
{%- assign name = 'GitDev' - %}
|
|
118
|
+
{%- assign author = 'dieghernan' - %}
|
|
119
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
120
|
+
{%- elsif include.skin == 'gitdev-dark' -%}
|
|
121
|
+
{%- assign name = 'GitDev Dark' - %}
|
|
122
|
+
{%- assign author = 'dieghernan' - %}
|
|
123
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
124
|
+
{%- elsif include.skin == 'pear' -%}
|
|
125
|
+
{%- assign name = 'Pear' - %}
|
|
126
|
+
{%- assign author = 'dieghernan' - %}
|
|
127
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
128
|
+
{%- elsif include.skin == 'academia' -%}
|
|
129
|
+
{%- assign name = 'Academia' - %}
|
|
130
|
+
{%- assign author = 'dieghernan' - %}
|
|
131
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
132
|
+
{%- elsif include.skin == 'focal' -%}
|
|
133
|
+
{%- assign name = 'Focal' - %}
|
|
134
|
+
{%- assign author = 'dieghernan' - %}
|
|
135
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
136
|
+
{%- elsif include.skin == 'media' -%}
|
|
137
|
+
{%- assign name = 'Media' - %}
|
|
138
|
+
{%- assign author = 'dieghernan' - %}
|
|
139
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
140
|
+
{%- elsif include.skin == 'butterfly' -%}
|
|
141
|
+
{%- assign name = 'Butterfly' - %}
|
|
142
|
+
{%- assign author = 'dieghernan' - %}
|
|
143
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
144
|
+
{%- elsif include.skin == 'butterfly-dim' -%}
|
|
145
|
+
{%- assign name = 'Butterfly Dim' - %}
|
|
146
|
+
{%- assign author = 'dieghernan' - %}
|
|
147
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
148
|
+
{%- elsif include.skin == 'butterfly-dark' -%}
|
|
149
|
+
{%- assign name = 'Butterfly Dark' - %}
|
|
150
|
+
{%- assign author = 'dieghernan' - %}
|
|
151
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
152
|
+
{%- elsif include.skin == 'universal' -%}
|
|
153
|
+
{%- assign name = 'Universal' - %}
|
|
154
|
+
{%- assign author = 'Bootstrapious' - %}
|
|
155
|
+
{%- assign url = 'https://bootstrapious.com/' - %}
|
|
156
|
+
{%- elsif include.skin == 'monotone' -%}
|
|
157
|
+
{%- assign name = 'Monotone' - %}
|
|
158
|
+
{%- assign author = 'Tophat' - %}
|
|
159
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
160
|
+
{%- elsif include.skin == 'minco' -%}
|
|
161
|
+
{%- assign name = 'Minco' - %}
|
|
162
|
+
{%- assign author = 'Tophat' - %}
|
|
163
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
164
|
+
{%- elsif include.skin == 'sunset' -%}
|
|
165
|
+
{%- assign name = 'Sunset' - %}
|
|
166
|
+
{%- assign author = 'Tophat' - %}
|
|
167
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %} {%- else -%}
|
|
168
|
+
{%- endif %}
|
|
169
|
+
{%- if name -%}<br><b>{{- name -}}</b> skin by <a href="{{ url }}">{{ author }}</a>{%- endif -%}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{%- include snippets/dark-skin-enabled.html -%}
|
|
2
|
+
{% if dark_skin_enabled %}
|
|
3
|
+
<li class="nav-item dropdown chulapa-theme-selector" hidden>
|
|
4
|
+
<button type="button" class="nav-link dropdown-toggle chulapa-theme-toggle" id="chulapa-theme-{{ include.selector_id | default: 'classic' }}" data-toggle="dropdown" aria-expanded="false" aria-label="Color theme: Light" title="Color theme: Light">
|
|
5
|
+
<i class="fas fa-sun" aria-hidden="true"></i>
|
|
6
|
+
<span class="chulapa-theme-label">Light</span>
|
|
7
|
+
</button>
|
|
8
|
+
<div class="dropdown-menu dropdown-menu-right" role="group" aria-labelledby="chulapa-theme-{{ include.selector_id | default: 'classic' }}">
|
|
9
|
+
<button type="button" class="dropdown-item" data-theme-mode="light" aria-pressed="true"><i class="fas fa-sun mr-2" aria-hidden="true"></i>Light</button>
|
|
10
|
+
<button type="button" class="dropdown-item" data-theme-mode="dark" aria-pressed="false"><i class="fas fa-moon mr-2" aria-hidden="true"></i>Dark</button>
|
|
11
|
+
<button type="button" class="dropdown-item" data-theme-mode="auto" aria-pressed="false"><i class="fa fa-adjust mr-2" aria-hidden="true"></i>Auto</button>
|
|
12
|
+
</div>
|
|
13
|
+
</li>
|
|
14
|
+
{% endif %}
|
data/_includes/footer.html
CHANGED
|
@@ -1,227 +1,24 @@
|
|
|
1
|
-
{%- if site.chulapa-skin.skin == 'preptor' -%}
|
|
2
|
-
{%- assign name = 'Preptor' - %}
|
|
3
|
-
{%- assign author = 'Tophat' - %}
|
|
4
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
5
|
-
{%- elsif site.chulapa-skin.skin == 'lymcha' -%}
|
|
6
|
-
{%- assign name = 'Lymcha' - %}
|
|
7
|
-
{%- assign author = 'Tophat' - %}
|
|
8
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
9
|
-
{%- elsif site.chulapa-skin.skin == 'hootstrap' -%}
|
|
10
|
-
{%- assign name = 'Hootstrap' - %}
|
|
11
|
-
{%- assign author = 'Tophat' - %}
|
|
12
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
13
|
-
{%- elsif site.chulapa-skin.skin == 'deeply' -%}
|
|
14
|
-
{%- assign name = 'Deeply' - %}
|
|
15
|
-
{%- assign author = 'Tophat' - %}
|
|
16
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
17
|
-
{%- elsif site.chulapa-skin.skin == 'graymor' -%}
|
|
18
|
-
{%- assign name = 'Graymor' - %}
|
|
19
|
-
{%- assign author = 'Tophat' - %}
|
|
20
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
21
|
-
{%- elsif site.chulapa-skin.skin == 'electro' -%}
|
|
22
|
-
{%- assign name = 'Electro' - %}
|
|
23
|
-
{%- assign author = 'Tophat' - %}
|
|
24
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
25
|
-
{%- elsif site.chulapa-skin.skin == 'wandoo' -%}
|
|
26
|
-
{%- assign name = 'Wandoo' - %}
|
|
27
|
-
{%- assign author = 'Tophat' - %}
|
|
28
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
29
|
-
{%- elsif site.chulapa-skin.skin == 'skeeblu' -%}
|
|
30
|
-
{%- assign name = 'Skeeblu' - %}
|
|
31
|
-
{%- assign author = 'Tophat' - %}
|
|
32
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
33
|
-
{%- elsif site.chulapa-skin.skin == 'mickie' -%}
|
|
34
|
-
{%- assign name = 'Mickie' - %}
|
|
35
|
-
{%- assign author = 'Tophat' - %}
|
|
36
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
37
|
-
{%- elsif site.chulapa-skin.skin == 'sketchy' -%}
|
|
38
|
-
{%- assign name = 'Sketchy' - %}
|
|
39
|
-
{%- assign author = 'Bootswatch' - %}
|
|
40
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
41
|
-
{%- elsif site.chulapa-skin.skin == 'cyborg' -%}
|
|
42
|
-
{%- assign name = 'Cyborg' - %}
|
|
43
|
-
{%- assign author = 'Bootswatch' - %}
|
|
44
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
45
|
-
{%- elsif site.chulapa-skin.skin == 'darkly' -%}
|
|
46
|
-
{%- assign name = 'Darkly' - %}
|
|
47
|
-
{%- assign author = 'Bootswatch' - %}
|
|
48
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
49
|
-
{%- elsif site.chulapa-skin.skin == 'flatly' -%}
|
|
50
|
-
{%- assign name = 'Flatly' - %}
|
|
51
|
-
{%- assign author = 'Bootswatch' - %}
|
|
52
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
53
|
-
{%- elsif site.chulapa-skin.skin == 'materia' -%}
|
|
54
|
-
{%- assign name = 'Materia' - %}
|
|
55
|
-
{%- assign author = 'Bootswatch' - %}
|
|
56
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
57
|
-
{%- elsif site.chulapa-skin.skin == 'slate' -%}
|
|
58
|
-
{%- assign name = 'Slate' - %}
|
|
59
|
-
{%- assign author = 'Bootswatch' - %}
|
|
60
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
61
|
-
{%- elsif site.chulapa-skin.skin == 'solar' -%}
|
|
62
|
-
{%- assign name = 'Slate' - %}
|
|
63
|
-
{%- assign author = 'Bootswatch' - %}
|
|
64
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
65
|
-
{%- elsif site.chulapa-skin.skin == 'lux' -%}
|
|
66
|
-
{%- assign name = 'Lux' - %}
|
|
67
|
-
{%- assign author = 'Bootswatch' - %}
|
|
68
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
69
|
-
{%- elsif site.chulapa-skin.skin == 'journal' -%}
|
|
70
|
-
{%- assign name = 'Journal' - %}
|
|
71
|
-
{%- assign author = 'Bootswatch' - %}
|
|
72
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
73
|
-
{%- elsif site.chulapa-skin.skin == 'minty' -%}
|
|
74
|
-
{%- assign name = 'Minty' - %}
|
|
75
|
-
{%- assign author = 'Bootswatch' - %}
|
|
76
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
77
|
-
{%- elsif site.chulapa-skin.skin == 'yeti' -%}
|
|
78
|
-
{%- assign name = 'Yeti' - %}
|
|
79
|
-
{%- assign author = 'Bootswatch' - %}
|
|
80
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
81
|
-
{%- elsif site.chulapa-skin.skin == 'united' -%}
|
|
82
|
-
{%- assign name = 'United' - %}
|
|
83
|
-
{%- assign author = 'Bootswatch' - %}
|
|
84
|
-
{%- assign url = 'https://bootswatch.com/' - %}
|
|
85
|
-
{%- elsif site.chulapa-skin.skin == 'towards' -%}
|
|
86
|
-
{%- assign name = 'Towards' - %}
|
|
87
|
-
{%- assign author = 'dieghernan' - %}
|
|
88
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
89
|
-
{%- elsif site.chulapa-skin.skin == 'twitter' -%}
|
|
90
|
-
{%- assign name = 'Twitter' - %}
|
|
91
|
-
{%- assign author = 'dieghernan' - %}
|
|
92
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
93
|
-
{%- elsif site.chulapa-skin.skin == 'twitter-dim' -%}
|
|
94
|
-
{%- assign name = 'Twitter Dim' - %}
|
|
95
|
-
{%- assign author = 'dieghernan' - %}
|
|
96
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
97
|
-
{%- elsif site.chulapa-skin.skin == 'listen' -%}
|
|
98
|
-
{%- assign name = 'Listen' - %}
|
|
99
|
-
{%- assign author = 'dieghernan' - %}
|
|
100
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
101
|
-
{%- elsif site.chulapa-skin.skin == 'navi' -%}
|
|
102
|
-
{%- assign name = 'Navi' - %}
|
|
103
|
-
{%- assign author = 'dieghernan' - %}
|
|
104
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
105
|
-
{%- elsif site.chulapa-skin.skin == 'twitter-lights-out' -%}
|
|
106
|
-
{%- assign name = 'Twitter Lights Out' - %}
|
|
107
|
-
{%- assign author = 'dieghernan' - %}
|
|
108
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
109
|
-
{%- elsif site.chulapa-skin.skin == 'chulapa' -%}
|
|
110
|
-
{%- assign name = 'Chulapa' - %}
|
|
111
|
-
{%- assign author = 'dieghernan' - %}
|
|
112
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
113
|
-
{%- elsif site.chulapa-skin.skin == 'gitdev' -%}
|
|
114
|
-
{%- assign name = 'GitDev' - %}
|
|
115
|
-
{%- assign author = 'dieghernan' - %}
|
|
116
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
117
|
-
{%- elsif site.chulapa-skin.skin == 'gitdev-dark' -%}
|
|
118
|
-
{%- assign name = 'GitDev Dark' - %}
|
|
119
|
-
{%- assign author = 'dieghernan' - %}
|
|
120
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
121
|
-
{%- elsif site.chulapa-skin.skin == 'pear' -%}
|
|
122
|
-
{%- assign name = 'Pear' - %}
|
|
123
|
-
{%- assign author = 'dieghernan' - %}
|
|
124
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
125
|
-
{%- elsif site.chulapa-skin.skin == 'academia' -%}
|
|
126
|
-
{%- assign name = 'Academia' - %}
|
|
127
|
-
{%- assign author = 'dieghernan' - %}
|
|
128
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
129
|
-
{%- elsif site.chulapa-skin.skin == 'focal' -%}
|
|
130
|
-
{%- assign name = 'Focal' - %}
|
|
131
|
-
{%- assign author = 'dieghernan' - %}
|
|
132
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
133
|
-
{%- elsif site.chulapa-skin.skin == 'media' -%}
|
|
134
|
-
{%- assign name = 'Media' - %}
|
|
135
|
-
{%- assign author = 'dieghernan' - %}
|
|
136
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
137
|
-
{%- elsif site.chulapa-skin.skin == 'butterfly' -%}
|
|
138
|
-
{%- assign name = 'Butterfly' - %}
|
|
139
|
-
{%- assign author = 'dieghernan' - %}
|
|
140
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
141
|
-
{%- elsif site.chulapa-skin.skin == 'butterfly-dim' -%}
|
|
142
|
-
{%- assign name = 'Butterfly Dim' - %}
|
|
143
|
-
{%- assign author = 'dieghernan' - %}
|
|
144
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
145
|
-
{%- elsif site.chulapa-skin.skin == 'butterfly-dark' -%}
|
|
146
|
-
{%- assign name = 'Butterfly Dark' - %}
|
|
147
|
-
{%- assign author = 'dieghernan' - %}
|
|
148
|
-
{%- assign url = 'https://github.com/dieghernan' - %}
|
|
149
|
-
{%- elsif site.chulapa-skin.skin == 'universal' -%}
|
|
150
|
-
{%- assign name = 'Universal' - %}
|
|
151
|
-
{%- assign author = 'Bootstrapious' - %}
|
|
152
|
-
{%- assign url = 'https://bootstrapious.com/' - %}
|
|
153
|
-
{%- elsif site.chulapa-skin.skin == 'monotone' -%}
|
|
154
|
-
{%- assign name = 'Monotone' - %}
|
|
155
|
-
{%- assign author = 'Tophat' - %}
|
|
156
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
157
|
-
{%- elsif site.chulapa-skin.skin == 'minco' -%}
|
|
158
|
-
{%- assign name = 'Minco' - %}
|
|
159
|
-
{%- assign author = 'Tophat' - %}
|
|
160
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
|
161
|
-
{%- elsif site.chulapa-skin.skin == 'sunset' -%}
|
|
162
|
-
{%- assign name = 'Sunset' - %}
|
|
163
|
-
{%- assign author = 'Tophat' - %}
|
|
164
|
-
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %} {%- else -%}
|
|
165
|
-
{%- endif -%}
|
|
166
1
|
<!-- Footer -->
|
|
167
2
|
<footer class="footer-chulapa text-center mt-0 pt-3">
|
|
168
|
-
{% if include.show_comments
|
|
3
|
+
{% if include.show_comments %}
|
|
169
4
|
{% if site.comments.provider == 'disqus' %}
|
|
170
5
|
{% include components/disqus.html pageid=include.pageid pageurl=include.pageurl %}
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
|
|
175
|
-
{
|
|
176
|
-
|
|
177
|
-
{
|
|
6
|
+
{% elsif site.comments.provider == 'cactus' %}
|
|
7
|
+
{% include components/cactus.html pageurl=include.pageurl %}
|
|
8
|
+
{% elsif site.comments.provider == 'cusdis' %}
|
|
9
|
+
{% include components/cusdis.html pageid=include.pageid pageurl=include.pageurl pagetitle=include.pagetitle %}
|
|
10
|
+
{% elsif site.comments.provider == 'welcomments' %}
|
|
11
|
+
{% include components/welcomments.html %}
|
|
12
|
+
{% elsif site.comments.provider == 'giscus' %}
|
|
178
13
|
<div class="container">
|
|
179
14
|
<div class="row">
|
|
180
15
|
<div class="col-lg-8 offset-lg-2">
|
|
181
|
-
|
|
16
|
+
{% include custom/giscus.html %}
|
|
182
17
|
</div>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
{%- endif %}
|
|
186
|
-
{%- endif %}
|
|
187
|
-
<div class="container">
|
|
188
|
-
<div class="row">
|
|
189
|
-
<div class="col-xl-10 offset-xl-1">
|
|
190
|
-
{%- if site.footer.links -%}
|
|
191
|
-
<div role="navigation" class="d-flex flex-wrap justify-content-center">
|
|
192
|
-
{%- for social in site.footer.links -%}
|
|
193
|
-
{%- assign urlslice = social.url | slice: 0,4 -%}
|
|
194
|
-
{%- if urlslice == "http" -%}
|
|
195
|
-
<a href="{{ social.url | absolute_url }}" title="footer{{ social.label }}" class="chulapa-footer-sociallink lead">
|
|
196
|
-
{%- elsif social.url contains "@" -%}
|
|
197
|
-
<a href="mailto:{{- social.url -}}?subject={{ site.title | append: ' web contact' | strip_html | uri_escape }}" title="footer{{ social.label }}" class="chulapa-footer-sociallink lead">
|
|
198
|
-
{%- else -%}
|
|
199
|
-
<a href="{{ social.url | absolute_url }}" title="footer{{ social.label }}" class="chulapa-footer-sociallink lead">
|
|
200
|
-
{%- endif -%}
|
|
201
|
-
<span class="fa-stack fa-lg" aria-hidden="true">
|
|
202
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
|
203
|
-
<i class="{{ social.icon }} fa-stack-1x fa-inverse"></i>
|
|
204
|
-
</span><span class="sr-only">{{ social.label }}</span>
|
|
205
|
-
</a>
|
|
206
|
-
{%- endfor -%}
|
|
207
18
|
</div>
|
|
208
|
-
{%- endif -%}
|
|
209
|
-
<p class="mt-2 mb-3">
|
|
210
|
-
{%- if site.footer.copyright -%}
|
|
211
|
-
|
|
212
|
-
{{ site.footer.copyright }}
|
|
213
|
-
|
|
214
|
-
{%- else -%}
|
|
215
|
-
|
|
216
|
-
© {{ site.time | date: '%Y' }} {{ site.author.name | default: site.github.owner_name }}
|
|
217
|
-
|
|
218
|
-
{%- endif -%}
|
|
219
|
-
</p>
|
|
220
|
-
<!-- Do not remove this in order to give attributions -->
|
|
221
|
-
<p class="chulapa-footer-brand">Powered by <a href="https://dieghernan.github.io/chulapa"> <span class="chulapa">Chulapa</span> Jekyll Theme</a>{%- if name -%}<br><b>{{- name -}}</b> skin by <a href="{{ url }}">{{ author }}</a>{%- endif -%}</p>
|
|
222
|
-
<!-- End attributions -->
|
|
223
19
|
</div>
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% include_cached components/footer-content.html %}
|
|
23
|
+
</footer>
|
|
24
|
+
<!-- Footer -->
|