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 @@
|
|
1
|
+
<!-- Include the script from https://giscus.app/ -->
|
@@ -0,0 +1,129 @@
|
|
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 == 'wandoo' -%}
|
22
|
+
{%- assign name = 'Wandoo' - %}
|
23
|
+
{%- assign author = 'Tophat' - %}
|
24
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %}
|
25
|
+
{%- elsif site.chulapa-skin.skin == 'sketchy' -%}
|
26
|
+
{%- assign name = 'Sketchy' - %}
|
27
|
+
{%- assign author = 'Bootswatch' - %}
|
28
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
29
|
+
{%- elsif site.chulapa-skin.skin == 'lux' -%}
|
30
|
+
{%- assign name = 'Lux' - %}
|
31
|
+
{%- assign author = 'Bootswatch' - %}
|
32
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
33
|
+
{%- elsif site.chulapa-skin.skin == 'journal' -%}
|
34
|
+
{%- assign name = 'Journal' - %}
|
35
|
+
{%- assign author = 'Bootswatch' - %}
|
36
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
37
|
+
{%- elsif site.chulapa-skin.skin == 'minty' -%}
|
38
|
+
{%- assign name = 'Minty' - %}
|
39
|
+
{%- assign author = 'Bootswatch' - %}
|
40
|
+
{%- assign url = 'https://bootswatch.com/' - %}
|
41
|
+
{%- elsif site.chulapa-skin.skin == 'twitter' -%}
|
42
|
+
{%- assign name = 'Twitter' - %}
|
43
|
+
{%- assign author = 'dieghernan' - %}
|
44
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
45
|
+
{%- elsif site.chulapa-skin.skin == 'twitter-dim' -%}
|
46
|
+
{%- assign name = 'TwitterDim' - %}
|
47
|
+
{%- assign author = 'dieghernan' - %}
|
48
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
49
|
+
{%- elsif site.chulapa-skin.skin == 'twitter-lights-out' -%}
|
50
|
+
{%- assign name = 'TwitterLightsOut' - %}
|
51
|
+
{%- assign author = 'dieghernan' - %}
|
52
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
53
|
+
{%- elsif site.chulapa-skin.skin == 'chulapa' -%}
|
54
|
+
{%- assign name = 'Chulapa' - %}
|
55
|
+
{%- assign author = 'dieghernan' - %}
|
56
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
57
|
+
{%- elsif site.chulapa-skin.skin == 'pear' -%}
|
58
|
+
{%- assign name = 'Pear' - %}
|
59
|
+
{%- assign author = 'dieghernan' - %}
|
60
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
61
|
+
{%- elsif site.chulapa-skin.skin == 'academia' -%}
|
62
|
+
{%- assign name = 'Academia' - %}
|
63
|
+
{%- assign author = 'dieghernan' - %}
|
64
|
+
{%- assign url = 'https://github.com/dieghernan' - %}
|
65
|
+
{%- elsif site.chulapa-skin.skin == 'universal' -%}
|
66
|
+
{%- assign name = 'Universal' - %}
|
67
|
+
{%- assign author = 'Bootstrapious' - %}
|
68
|
+
{%- assign url = 'https://bootstrapious.com/' - %}
|
69
|
+
{%- elsif site.chulapa-skin.skin == 'sunset' -%}
|
70
|
+
{%- assign name = 'Sunset' - %}
|
71
|
+
{%- assign author = 'Tophat' - %}
|
72
|
+
{%- assign url = 'https://themesguide.github.io/top-hat/dist/' - %} {%- else -%}
|
73
|
+
{%- endif -%}
|
74
|
+
<!-- Footer -->
|
75
|
+
<footer class="footer-chulapa text-center mt-0 pt-3">
|
76
|
+
{% if include.show_comments -%}
|
77
|
+
{% if site.comments.provider == 'disqus' %}
|
78
|
+
{% include components/disqus.html pageid=include.pageid pageurl=include.pageurl %}
|
79
|
+
{%- elsif site.comments.provider == 'giscus' -%}
|
80
|
+
<div class="container">
|
81
|
+
<div class="row">
|
82
|
+
<div class="col-lg-8 offset-lg-2">
|
83
|
+
{% include custom/giscus.html %}
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
{%- endif %}
|
88
|
+
{%- endif %}
|
89
|
+
<div class="container">
|
90
|
+
<div class="row">
|
91
|
+
<div class="col-xl-10 offset-xl-1">
|
92
|
+
{%- if site.footer.links -%}
|
93
|
+
<div role="navigation" class="d-flex flex-wrap justify-content-center">
|
94
|
+
{%- for social in site.footer.links -%}
|
95
|
+
{%- if social.url contains "@" -%}
|
96
|
+
<a href="mailto:{{- social.url -}}?subject={{ site.title | append: ' web contact' | strip_html | uri_escape }}" title="footer{{ social.label }}" class="chulapa-footer-sociallink lead">
|
97
|
+
|
98
|
+
{%- else -%}
|
99
|
+
<a href="{{ social.url | absolute_url }}" title="footer{{ social.label }}" class="chulapa-footer-sociallink lead"> {%- endif -%}
|
100
|
+
<span class="fa-stack fa-lg" aria-hidden="true">
|
101
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
102
|
+
<i class="{{ social.icon }} fa-stack-1x fa-inverse"></i>
|
103
|
+
</span><span class="sr-only">{{ social.label }}</span>
|
104
|
+
</a>
|
105
|
+
{%- endfor -%}
|
106
|
+
</div>
|
107
|
+
{%- endif -%}
|
108
|
+
<p class="mt-2 mb-3">
|
109
|
+
{%- if site.footer.copyright -%}
|
110
|
+
|
111
|
+
{{ site.footer.copyright }}
|
112
|
+
|
113
|
+
{%- else -%}
|
114
|
+
|
115
|
+
© {{ site.time | date: '%Y' }} {{ site.author.name | default: site.github.owner_name }}
|
116
|
+
|
117
|
+
{%- endif -%}
|
118
|
+
</p>
|
119
|
+
<!-- Do not remove this in order to give attributions -->
|
120
|
+
{%- if name -%}
|
121
|
+
<p class="small"><b>{{- name -}}</b> skin by <a href="{{ url }}">{{ author }}</a></p>
|
122
|
+
{%- endif -%}
|
123
|
+
<p class="small">Powered by <a href="https://dieghernan.github.io/chulapa"> <span class="chulapa">Chulapa</span> Jekyll Theme</a></p>
|
124
|
+
<!-- End attributions -->
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
</footer>
|
129
|
+
<!-- Footer -->
|
data/_includes/head.html
ADDED
@@ -0,0 +1,309 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<!-- Chulapa Jekyll Theme - v1.0.0 -->
|
4
|
+
<!-- MIT License-->
|
5
|
+
<!-- Docs: https://dieghernan.github.io/chulapa -->
|
6
|
+
<!-- Repo: https://github.com/dieghernan/chulapa -->
|
7
|
+
<!-- Page build {{ site.time }} -->
|
8
|
+
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url | uri_escape -%}
|
9
|
+
{%- assign home_url = "index.html" | absolute_url | replace: "index.html", "" | uri_escape -%}
|
10
|
+
{%- assign metatitle1 = page.title | default: site.title | default: site.github.repository_name | strip_html -%}
|
11
|
+
{%- assign metatitle2 = site.title | default: site.github.repository_name | strip_html -%}
|
12
|
+
{%- assign strippedurl = page.url | replace: "index.html", "" -%}
|
13
|
+
{%- if strippedurl == "/" -%}
|
14
|
+
{%- assign metatitle1 = site.title | default: site.github.repository_name -%}
|
15
|
+
{%- assign metatitle2 = site.subtitle | default: site.github.project_tagline -%}
|
16
|
+
{%- endif -%}
|
17
|
+
{%- capture metatitle -%}{{ metatitle1 | strip_html }} {{ site.title_separator | default: "|" }} {{ metatitle2 | strip_html }}{%- endcapture -%}
|
18
|
+
{%- assign mainname = site.title | default: site.github.repository_name -%}
|
19
|
+
{%- assign mainsub = site.subtitle | default: site.github.project_tagline -%}
|
20
|
+
{%- capture sitename -%}{{ mainname | strip_html }} {{ site.title_separator | default: "|" }} {{ mainsub | strip_html }}{%- endcapture -%}
|
21
|
+
{%- assign ogimage = page.og_image | default: page.header_img | default: site.og_image | default: site.author.avatar | default: site.github.owner_gravatar_url | absolute_url -%}
|
22
|
+
{%- assign descfallback = page.content |
|
23
|
+
markdownify | newline_to_br |
|
24
|
+
replace:"<br />", ",.," |
|
25
|
+
replace:"{{", ",.," |
|
26
|
+
replace:"{%", ",.," |
|
27
|
+
split: ",.," | first -%}
|
28
|
+
{%- assign ogdesc = page.excerpt | default: descfallback |
|
29
|
+
strip_html | escape_once -%}
|
30
|
+
{%- if page.subtitle -%}
|
31
|
+
{%- assign ogdesc = page.subtitle | append: " - " | append: ogdesc | strip_html | escape_once -%}
|
32
|
+
{%- endif -%}
|
33
|
+
{%- assign links = page.author.links | default: site.author.links -%}
|
34
|
+
{%- for item in links -%}
|
35
|
+
{%- if item.url contains "twitter.com/" -%}
|
36
|
+
{%- assign twitterauthor = item.url | split: "/" | last -%}
|
37
|
+
{%- break -%}
|
38
|
+
{%- endif -%}
|
39
|
+
{%- endfor %}
|
40
|
+
{%- assign authorlink = links | where_exp: "item", "item.url contains 'http'" %}
|
41
|
+
<!--Google Structured Data-->
|
42
|
+
<script type="application/ld+json">
|
43
|
+
{
|
44
|
+
"@context": "https://schema.org",
|
45
|
+
{% if page.collection == "posts" %}
|
46
|
+
"@type": "BlogPosting",
|
47
|
+
{% else %}
|
48
|
+
"@type": "Article",
|
49
|
+
{% endif %}
|
50
|
+
"mainEntityOfPage": {
|
51
|
+
"@type": "WebPage",
|
52
|
+
"@id": "{{ canonical_url }}"
|
53
|
+
},
|
54
|
+
"headline": "{{ metatitle1 | strip_html }}",
|
55
|
+
"image": "{{ ogimage }}",
|
56
|
+
"datePublished": "{{ page.date | default: site.time | date_to_xmlschema }}",
|
57
|
+
"dateModified": "{{ page.last_modified_at | default: page.date | default: site.time | date_to_xmlschema }}",
|
58
|
+
"author": {
|
59
|
+
"@type": "Person",
|
60
|
+
"name": "{{ page.author.name | default: site.author.name | default: site.github.owner_name }}"
|
61
|
+
{% if authorlink %}
|
62
|
+
{% for item in authorlink %}
|
63
|
+
{% if forloop.first %}
|
64
|
+
, "url": "{{ item.url }}"
|
65
|
+
{% else %}
|
66
|
+
{% if forloop.index == 2 %}
|
67
|
+
, "sameAs" : [
|
68
|
+
{% endif %}
|
69
|
+
"{{ item.url }}"
|
70
|
+
{%- if forloop.last %}
|
71
|
+
]
|
72
|
+
{% else %}
|
73
|
+
,
|
74
|
+
{% endif %}
|
75
|
+
{% endif %}
|
76
|
+
{% endfor %}
|
77
|
+
{% endif %}
|
78
|
+
},
|
79
|
+
"publisher": {
|
80
|
+
"@type": "Organization",
|
81
|
+
"name": "{{ site.author.name | default: site.github.owner_name }}",
|
82
|
+
"url": "{{ home_url }}",
|
83
|
+
"logo": {
|
84
|
+
"@type": "ImageObject",
|
85
|
+
"url": "{{ site.og_image | default: site.author.avatar | default: site.github.owner_gravatar_url | absolute_url }}"
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
</script>
|
90
|
+
{% if page.breadcrumb_list %}
|
91
|
+
<script type="application/ld+json">
|
92
|
+
{
|
93
|
+
"@context": "https://schema.org",
|
94
|
+
"@type": "BreadcrumbList",
|
95
|
+
"itemListElement": [
|
96
|
+
{% for item in page.breadcrumb_list %}
|
97
|
+
{
|
98
|
+
"@type": "ListItem",
|
99
|
+
"position": {{ forloop.index }},
|
100
|
+
"name": "{{ item.label | strip_html }}",
|
101
|
+
"item": "{{ item.url | absolute_url }}"
|
102
|
+
},
|
103
|
+
{% if forloop.last %}
|
104
|
+
{% assign loopplus1 = forloop.index | plus: 1 %}
|
105
|
+
{% endif %}
|
106
|
+
{% endfor %}
|
107
|
+
{
|
108
|
+
"@type": "ListItem",
|
109
|
+
"position": {{ loopplus1 }},
|
110
|
+
"name": "{{ page.title | strip_html }}"
|
111
|
+
}]
|
112
|
+
}
|
113
|
+
</script>
|
114
|
+
{% else %}
|
115
|
+
<script type="application/ld+json">
|
116
|
+
{
|
117
|
+
"@context": "https://schema.org",
|
118
|
+
"@type": "BreadcrumbList",
|
119
|
+
"itemListElement": [{
|
120
|
+
"@type": "ListItem",
|
121
|
+
"position": 1,
|
122
|
+
"name": "{{ site.navbar.brand.title | default: site.title | default: site.github.repository_name | strip_html }}",
|
123
|
+
"item": "{{ "/" | absolute_url }}"
|
124
|
+
},{
|
125
|
+
"@type": "ListItem",
|
126
|
+
"position": 2,
|
127
|
+
"name": "{{ page.title | strip_html }}"
|
128
|
+
}]
|
129
|
+
}
|
130
|
+
</script>
|
131
|
+
{% endif %}
|
132
|
+
|
133
|
+
<script type="application/ld+json">
|
134
|
+
{
|
135
|
+
"@context": "http://schema.org",
|
136
|
+
"@type": "WebPage",
|
137
|
+
"name": "{{ metatitle1 | strip_html }}",
|
138
|
+
"description": "{{ ogdesc }}"
|
139
|
+
}
|
140
|
+
}
|
141
|
+
</script>
|
142
|
+
{%- assign sitelink = site.author.links |
|
143
|
+
where_exp: "item", "item.url contains 'http'"
|
144
|
+
-%}
|
145
|
+
<script type="application/ld+json">
|
146
|
+
{
|
147
|
+
"@context" : "https://schema.org",
|
148
|
+
"@type" : "Person",
|
149
|
+
{% if site.author.avatar %}
|
150
|
+
"image": "{{ site.author.avatar | absolute_url }}",
|
151
|
+
{% endif %}
|
152
|
+
{% if site.author.location %}
|
153
|
+
"homeLocation": {
|
154
|
+
"@type": "Place",
|
155
|
+
"name": "{{ site.author.location }}"
|
156
|
+
},
|
157
|
+
{% endif %}
|
158
|
+
"description": "Publisher",
|
159
|
+
"name" : "{{ site.author.name | default: site.github.owner_name }}",
|
160
|
+
"url" : "{{ "/" | absolute_url }}"
|
161
|
+
{% if sitelink %}
|
162
|
+
, "sameAs" : [
|
163
|
+
{% for item in sitelink %}
|
164
|
+
"{{ item.url }}"{%- if forloop.last %}{% else %},{% endif %}
|
165
|
+
{% endfor %}
|
166
|
+
]
|
167
|
+
{% endif %}
|
168
|
+
}
|
169
|
+
</script>
|
170
|
+
{% if page.author %}
|
171
|
+
{%- assign pagelink = page.author.links |
|
172
|
+
where_exp: "item", "item.url contains 'http'"
|
173
|
+
-%}
|
174
|
+
<script type="application/ld+json">
|
175
|
+
{
|
176
|
+
"@context" : "https://schema.org",
|
177
|
+
"@type" : "Person",
|
178
|
+
{% if page.author.avatar %}
|
179
|
+
"image": "{{ page.author.avatar | absolute_url }}",
|
180
|
+
{% endif %}
|
181
|
+
{% if page.author.location %}
|
182
|
+
"homeLocation": {
|
183
|
+
"@type": "Place",
|
184
|
+
"name": "{{ page.author.location }}"
|
185
|
+
},
|
186
|
+
{% endif %}
|
187
|
+
"description": "Collaborator",
|
188
|
+
"name" : "{{ page.author.name }}"
|
189
|
+
{% if pagelink %}
|
190
|
+
{% for item in pagelink %}
|
191
|
+
{% if forloop.first %}
|
192
|
+
, "url": "{{ item.url }}"
|
193
|
+
{% else %}
|
194
|
+
{% if forloop.index == 2 %}
|
195
|
+
, "sameAs" : [
|
196
|
+
{% endif %}
|
197
|
+
"{{ item.url }}"
|
198
|
+
{%- if forloop.last %}
|
199
|
+
]
|
200
|
+
{% else %}
|
201
|
+
,
|
202
|
+
{% endif %}
|
203
|
+
{% endif %}
|
204
|
+
{% endfor %}
|
205
|
+
{% endif %}
|
206
|
+
}
|
207
|
+
</script>
|
208
|
+
{% endif %}
|
209
|
+
<title>{{ metatitle | strip_html }}</title>
|
210
|
+
<link rel="canonical" href="{{ canonical_url }}">
|
211
|
+
<!-- Atom feed -->
|
212
|
+
<link href="{{ './atom.xml' | absolute_url }}" type="application/atom+xml" rel="alternate" title="Atom feed {{ site.title }}" />
|
213
|
+
<!-- RSS 2.0 feed -->
|
214
|
+
<link href="{{ './rss.xml' | absolute_url }}" type="application/rss+xml" rel="alternate" title="RSS 2.0 feed {{ site.title }}" />
|
215
|
+
<!-- Meta tags -->
|
216
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
217
|
+
<meta name="author" content="{{ page.author.name | default: site.author.name | default: site.github.owner_name }}" />
|
218
|
+
<meta name="copyright" content="{{ site.author.name | default: site.github.owner_name }}" />
|
219
|
+
<meta name="description" content="{{- ogdesc | truncate: 160 -}}"/>
|
220
|
+
<meta name="thumbnail" content="{{ ogimage }}" />
|
221
|
+
<meta name="robots" content="index, follow">
|
222
|
+
{%- assign: keyword = site.github.public_repositories |
|
223
|
+
where_exp:"item", "item.name == site.github.repository_name " |
|
224
|
+
map: "topics" -%}
|
225
|
+
{% if keyword -%}
|
226
|
+
<meta name="keywords" content="{{- keyword - | join: ','}}"/>
|
227
|
+
{%- endif %}
|
228
|
+
{% if site.chulapa-skin.vars.primary -%}
|
229
|
+
<!-- Chrome, Firefox OS and Opera -->
|
230
|
+
<meta name="theme-color" content="{{ site.chulapa-skin.vars.primary }}">
|
231
|
+
{%- endif %}
|
232
|
+
<!-- OpenGraph -->
|
233
|
+
<meta property="og:title" content="{{ metatitle | strip_html }}" />
|
234
|
+
<meta property="og:site_name" content="{{ sitename | strip_html }}" />
|
235
|
+
<meta property="og:url" content="{{ canonical_url }}" />
|
236
|
+
<meta property="og:type" content="website" />
|
237
|
+
<meta property="og:description" content="{{ ogdesc | truncatewords: 20 }}" />
|
238
|
+
<meta property="og:locale" content="{{- site.locale | default: 'en-US' -}}" />
|
239
|
+
<meta property="og:image" content="{{- ogimage -}}" />
|
240
|
+
<!-- Twitter Cards -->
|
241
|
+
<meta name="twitter:card" content="summary_large_image">
|
242
|
+
{%- if site.twitter_site %}
|
243
|
+
<meta name="twitter:site" content="@{{- site.twitter_site -}}" />
|
244
|
+
{% endif -%}
|
245
|
+
{%- if twitterauthor %}
|
246
|
+
<meta name="twitter:creator" content="@{{- twitterauthor -}}" />
|
247
|
+
{% endif -%}
|
248
|
+
|
249
|
+
{%- include custom/custom_head_before_css.html -%}
|
250
|
+
|
251
|
+
<!-- CSS -->
|
252
|
+
<!-- Preconnect with Google Fonts -->
|
253
|
+
<link rel="preconnect" href="https://fonts.gstatic.com">
|
254
|
+
{% for font in site.googlefonts -%}
|
255
|
+
{% if font.url -%}
|
256
|
+
<link href="{{ font.url }}" rel="stylesheet">
|
257
|
+
{%- endif %}
|
258
|
+
{%- endfor %}
|
259
|
+
<!-- Fontawesome-->
|
260
|
+
<!-- v5.13 -->
|
261
|
+
{% assign fakit = site.fa5_kit_code | default: fa_kit_code %}
|
262
|
+
{% if fakit -%}
|
263
|
+
<script src="https://kit.fontawesome.com/{{ fakit }}.js" crossorigin="anonymous"></script>
|
264
|
+
{%- else -%}
|
265
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@{{ site.fa_version | default: 6 }}/css/all.min.css">
|
266
|
+
{%- endif %}
|
267
|
+
{% if site.fa_v4_support -%}
|
268
|
+
<!-- Compatibility with FontAwesome 4 -->
|
269
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/v4-shims.css">
|
270
|
+
{%- endif %}
|
271
|
+
<!-- Theme css (Bootstrap included) -->
|
272
|
+
<link rel="stylesheet" href="{{- "assets/css/main.css " | absolute_url -}}" />
|
273
|
+
<!-- Highlighter -->
|
274
|
+
<link id="csshigh" rel="stylesheet" href="{{- "assets/css/highlighter.css " | absolute_url -}}" />
|
275
|
+
<!-- Custom css -->
|
276
|
+
<link rel="stylesheet" href="{{- "assets/css/custom.css " | absolute_url -}}" />
|
277
|
+
<!-- Chulape Deferred (lazy) loading of YouTube videos, to improve page speed -->
|
278
|
+
<script src="{{- "assets/js/ch_ytdefer/ch_ytdefer.min.js" | absolute_url -}}"></script>
|
279
|
+
{% if page.mathjax -%}
|
280
|
+
<script async
|
281
|
+
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
|
282
|
+
</script>
|
283
|
+
{%- endif %}
|
284
|
+
{%- if site.gtag_id %}
|
285
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
286
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{- site.gtag_id -}}"></script>
|
287
|
+
<script>
|
288
|
+
window.dataLayer = window.dataLayer || [];
|
289
|
+
function gtag(){dataLayer.push(arguments);}
|
290
|
+
gtag('js', new Date());
|
291
|
+
|
292
|
+
gtag('config', '{{- site.gtag_id -}}');
|
293
|
+
</script>
|
294
|
+
{% endif -%}
|
295
|
+
{%- if site.analytics_id %}
|
296
|
+
<!-- Google Analytics -->
|
297
|
+
<script>
|
298
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
299
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
300
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
301
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
302
|
+
|
303
|
+
ga('create', '{{- site.analytics_id -}}', 'auto');
|
304
|
+
ga('send', 'pageview');
|
305
|
+
</script>
|
306
|
+
<!-- End Google Analytics -->
|
307
|
+
{% endif -%}
|
308
|
+
{%- include custom/custom_head.html -%}
|
309
|
+
</head>
|