jekyll-theme-abd3lraouf 5.2.5 → 5.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +105 -105
- data/_config.yml +1 -1
- data/_data/assets/cross_origin.yml +62 -62
- data/_data/assets/self_host.yml +51 -51
- data/_data/authors.yml +17 -17
- data/_data/contact.yml +30 -30
- data/_data/locales/bg-BG.yml +83 -83
- data/_data/locales/en.yml +83 -83
- data/_data/locales/es-ES.yml +79 -79
- data/_data/locales/fr-FR.yml +79 -79
- data/_data/locales/hu-HU.yml +81 -81
- data/_data/locales/id-ID.yml +79 -79
- data/_data/locales/ko-KR.yml +79 -79
- data/_data/locales/my-MM.yml +79 -79
- data/_data/locales/pt-BR.yml +79 -79
- data/_data/locales/ru-RU.yml +79 -79
- data/_data/locales/tr-TR.yml +79 -79
- data/_data/locales/uk-UA.yml +79 -79
- data/_data/locales/vi-VN.yml +77 -77
- data/_data/locales/zh-CN.yml +78 -78
- data/_data/share.yml +27 -27
- data/_includes/assets-origin.html +12 -12
- data/_includes/comments/disqus.html +54 -54
- data/_includes/comments/giscus.html +56 -56
- data/_includes/comments/utterances.html +51 -51
- data/_includes/comments.html +5 -5
- data/_includes/datetime.html +21 -21
- data/_includes/favicons.html +17 -17
- data/_includes/footer.html +17 -36
- data/_includes/google-analytics.html +14 -14
- data/_includes/head.html +116 -116
- data/_includes/js-selector.html +104 -104
- data/_includes/jsdelivr-combine.html +32 -32
- data/_includes/lang.html +8 -8
- data/_includes/language-alias.html +70 -70
- data/_includes/mermaid.html +57 -57
- data/_includes/mode-toggle.html +129 -129
- data/_includes/no-linenos.html +10 -10
- data/_includes/post-nav.html +30 -30
- data/_includes/post-paginator.html +88 -88
- data/_includes/post-sharing.html +27 -27
- data/_includes/read-time.html +30 -30
- data/_includes/refactor-content.html +282 -282
- data/_includes/related-posts.html +103 -103
- data/_includes/search-loader.html +46 -46
- data/_includes/search-results.html +11 -11
- data/_includes/sidebar.html +93 -93
- data/_includes/toc.html +16 -16
- data/_includes/topbar.html +70 -70
- data/_includes/trending-tags.html +50 -50
- data/_includes/update-list.html +40 -40
- data/_layouts/archives.html +48 -48
- data/_layouts/categories.html +120 -120
- data/_layouts/category.html +24 -24
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +74 -74
- data/_layouts/home.html +103 -103
- data/_layouts/page.html +64 -64
- data/_layouts/post.html +159 -159
- data/_layouts/tag.html +23 -23
- data/_layouts/tags.html +23 -23
- data/_plugins/posts-lastmod-hook.rb +14 -14
- data/_sass/addon/commons.scss +1678 -1680
- data/_sass/addon/module.scss +151 -151
- data/_sass/addon/syntax.scss +289 -289
- data/_sass/addon/variables.scss +34 -34
- data/_sass/colors/dark-syntax.scss +88 -88
- data/_sass/colors/dark-typography.scss +157 -157
- data/_sass/colors/light-syntax.scss +84 -84
- data/_sass/colors/light-typography.scss +94 -94
- data/_sass/jekyll-theme-abd3lraouf.scss +1 -1
- data/_sass/layout/archives.scss +147 -147
- data/_sass/layout/categories.scss +67 -67
- data/_sass/layout/category-tag.scss +73 -73
- data/_sass/layout/home.scss +184 -184
- data/_sass/layout/post.scss +369 -369
- data/_sass/layout/tags.scss +19 -19
- data/_sass/variables-hook.scss +3 -3
- data/_tabs/about.md +8 -8
- data/_tabs/archives.md +7 -7
- data/_tabs/categories.md +6 -6
- data/_tabs/tags.md +6 -6
- data/assets/404.html +71 -16
- data/assets/css/style.scss +12 -12
- data/assets/feed.xml +61 -61
- data/assets/img/404.png +0 -0
- data/assets/img/favicons/browserconfig.xml +13 -13
- data/assets/img/favicons/site.webmanifest +26 -26
- data/assets/js/data/search.json +18 -18
- data/assets/js/data/swcache.js +55 -55
- data/assets/js/dist/categories.min.js +1 -1
- data/assets/js/dist/commons.min.js +1 -1
- data/assets/js/dist/home.min.js +1 -1
- data/assets/js/dist/misc.min.js +1 -1
- data/assets/js/dist/page.min.js +1 -1
- data/assets/js/dist/post.min.js +1 -1
- data/assets/js/dist/pvreport.min.js +1 -1
- data/assets/js/pwa/app.js +47 -47
- data/assets/js/pwa/sw.js +89 -89
- data/assets/js/pwa/unregister.js +12 -12
- data/assets/robots.txt +10 -10
- data/index.html +4 -4
- metadata +8 -7
data/_sass/layout/tags.scss
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
/*
|
2
|
-
Styles for Tab Tags
|
3
|
-
*/
|
4
|
-
|
5
|
-
.tag {
|
6
|
-
border-radius: 0.7em;
|
7
|
-
padding: 6px 8px 7px;
|
8
|
-
margin-right: 0.8rem;
|
9
|
-
line-height: 3rem;
|
10
|
-
letter-spacing: 0;
|
11
|
-
border: 1px solid var(--tag-border) !important;
|
12
|
-
box-shadow: 0 0 3px 0 var(--tag-shadow);
|
13
|
-
|
14
|
-
span {
|
15
|
-
margin-left: 0.6em;
|
16
|
-
font-size: 0.7em;
|
17
|
-
font-family: 'Oswald', sans-serif;
|
18
|
-
}
|
19
|
-
}
|
1
|
+
/*
|
2
|
+
Styles for Tab Tags
|
3
|
+
*/
|
4
|
+
|
5
|
+
.tag {
|
6
|
+
border-radius: 0.7em;
|
7
|
+
padding: 6px 8px 7px;
|
8
|
+
margin-right: 0.8rem;
|
9
|
+
line-height: 3rem;
|
10
|
+
letter-spacing: 0;
|
11
|
+
border: 1px solid var(--tag-border) !important;
|
12
|
+
box-shadow: 0 0 3px 0 var(--tag-shadow);
|
13
|
+
|
14
|
+
span {
|
15
|
+
margin-left: 0.6em;
|
16
|
+
font-size: 0.7em;
|
17
|
+
font-family: 'Oswald', sans-serif;
|
18
|
+
}
|
19
|
+
}
|
data/_sass/variables-hook.scss
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
/*
|
2
|
-
Appending custom SCSS variables will override the default ones in `_sass/addon/variables.scsss`
|
3
|
-
*/
|
1
|
+
/*
|
2
|
+
Appending custom SCSS variables will override the default ones in `_sass/addon/variables.scsss`
|
3
|
+
*/
|
data/_tabs/about.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
---
|
2
|
-
title: About
|
3
|
-
icon: fas fa-info-circle
|
4
|
-
order: 4
|
5
|
-
---
|
6
|
-
|
7
|
-
> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
|
8
|
-
{: .prompt-tip }
|
1
|
+
---
|
2
|
+
title: About
|
3
|
+
icon: fas fa-info-circle
|
4
|
+
order: 4
|
5
|
+
---
|
6
|
+
|
7
|
+
> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
|
8
|
+
{: .prompt-tip }
|
data/_tabs/archives.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
layout: archives
|
3
|
-
title: Archives
|
4
|
-
icon: fas fa-archive
|
5
|
-
order: 3
|
6
|
-
---
|
7
|
-
|
1
|
+
---
|
2
|
+
layout: archives
|
3
|
+
title: Archives
|
4
|
+
icon: fas fa-archive
|
5
|
+
order: 3
|
6
|
+
---
|
7
|
+
|
data/_tabs/categories.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
---
|
2
|
-
layout: categories
|
3
|
-
title: Categories
|
4
|
-
icon: fas fa-stream
|
5
|
-
order: 1
|
6
|
-
---
|
1
|
+
---
|
2
|
+
layout: categories
|
3
|
+
title: Categories
|
4
|
+
icon: fas fa-stream
|
5
|
+
order: 1
|
6
|
+
---
|
data/_tabs/tags.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
---
|
2
|
-
layout: tags
|
3
|
-
title: Tags
|
4
|
-
icon: fas fa-tag
|
5
|
-
order: 2
|
6
|
-
---
|
1
|
+
---
|
2
|
+
layout: tags
|
3
|
+
title: Tags
|
4
|
+
icon: fas fa-tag
|
5
|
+
order: 2
|
6
|
+
---
|
data/assets/404.html
CHANGED
@@ -1,16 +1,71 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: "404:
|
4
|
-
permalink: /404.html
|
5
|
-
|
6
|
-
redirect_from:
|
7
|
-
- /norobots/
|
8
|
-
- /assets/
|
9
|
-
- /posts/
|
10
|
-
---
|
11
|
-
|
12
|
-
{% include lang.html %}
|
13
|
-
|
14
|
-
<div class="lead">
|
15
|
-
<
|
16
|
-
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: "404: We lost the banana"
|
4
|
+
permalink: /404.html
|
5
|
+
|
6
|
+
redirect_from:
|
7
|
+
- /norobots/
|
8
|
+
- /assets/
|
9
|
+
- /posts/
|
10
|
+
---
|
11
|
+
|
12
|
+
{% include lang.html %}
|
13
|
+
|
14
|
+
<div class="lead">
|
15
|
+
<img src="" alt="{{site.data.locales[lang].not_found.statment}}">
|
16
|
+
<section class="Main-content" data-content-field="main-content" id="yui_3_17_2_1_1659129469787_77">
|
17
|
+
<div class="sqs-layout sqs-grid-12 columns-12" data-type="page" data-updated-on="1540834294265" id="page-57a11993b3db2b02a17609d9">
|
18
|
+
<div class="row sqs-row" id="yui_3_17_2_1_1659129469787_76">
|
19
|
+
<div class="col sqs-col-12 span-12" id="yui_3_17_2_1_1659129469787_75">
|
20
|
+
<div class="row sqs-row" id="yui_3_17_2_1_1659129469787_74">
|
21
|
+
<div class="col sqs-col-4 span-4" id="yui_3_17_2_1_1659129469787_73">
|
22
|
+
<div class="sqs-block image-block sqs-block-image sqs-text-ready" data-block-type="5" id="block-yui_3_17_2_5_1470175355201_9379">
|
23
|
+
<div class="sqs-block-content" id="yui_3_17_2_1_1659129469787_72">
|
24
|
+
<div class="
|
25
|
+
image-block-outer-wrapper
|
26
|
+
layout-caption-below
|
27
|
+
design-layout-inline
|
28
|
+
combination-animation-none
|
29
|
+
individual-animation-none
|
30
|
+
individual-text-animation-none
|
31
|
+
" data-test="image-block-inline-outer-wrapper" id="yui_3_17_2_1_1659129469787_71">
|
32
|
+
<figure class="
|
33
|
+
sqs-block-image-figure
|
34
|
+
intrinsic
|
35
|
+
" style="max-width:1500px;" id="yui_3_17_2_1_1659129469787_70">
|
36
|
+
<div class="image-block-wrapper" data-animation-role="image" id="yui_3_17_2_1_1659129469787_69">
|
37
|
+
<div class="sqs-image-shape-container-element
|
38
|
+
has-aspect-ratio
|
39
|
+
" style="
|
40
|
+
position: relative;
|
41
|
+
padding-bottom:135%;
|
42
|
+
overflow: hidden;
|
43
|
+
" id="yui_3_17_2_1_1659129469787_68">
|
44
|
+
<noscript><img src="/assets/img/404.png" alt="" /></noscript>
|
45
|
+
<img class="thumb-image loaded" data-src="/assets/img/404.png" data-image="/assets/img/404.png" data-image-dimensions="1500x2025" data-image-focal-point="0.5,0.5" alt="" data-load="false" data-image-id="57a119e3f5e23161e8daf73d" data-type="image" style="left: -0.00358192%; top: 0%; width: 100.007%; height: 100%; position: absolute;" data-image-resolution="750w" src="/assets/img/404.png">
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</figure>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="col sqs-col-8 span-8">
|
54
|
+
<div class="sqs-block spacer-block sqs-block-spacer" data-aspect-ratio="11.11111111111111" data-block-type="21" id="block-yui_3_17_2_7_1474913903083_6419">
|
55
|
+
<div class="sqs-block-content sqs-intrinsic" id="yui_3_17_2_1_1659129469787_97" style="padding-bottom: 11.1111%;"> </div>
|
56
|
+
</div>
|
57
|
+
<div class="sqs-block html-block sqs-block-html" data-block-type="2" id="block-396ef71ce5d4fd132f64">
|
58
|
+
<div class="sqs-block-content">
|
59
|
+
<h1 style="text-align: center; white-space: pre-wrap;">Awww... Someone stole our banana.</h1>
|
60
|
+
<p style="text-align: center; white-space: pre-wrap;">Try searching home for the <br>Banana<br></p>
|
61
|
+
<div class="display: center; white-space: pre-wrap;"><a style="display: block; width: 50%; margin: 0 auto; border-bottom: none;" href="/" tabindex="-1"><style data-emotion-ltr="bp7x77">.ltr-bp7x77{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:4px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;opacity:1;padding:0.8rem;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:background-color,color;word-break:break-word;white-space:nowrap;}.ltr-bp7x77.color-primary{background-color:white;color:black;}.ltr-bp7x77.color-primary:not(:disabled):hover{background-color:rgba(255,255,255,0.75);}.ltr-bp7x77.color-primary:not(:disabled):active{background-color:rgba(255,255,255,0.5);color:rgba(0,0,0,0.7);}.ltr-bp7x77.color-primary:disabled{background-color:rgba(255,255,255,0.25);color:rgba(0,0,0,0.4);}.ltr-bp7x77.color-secondary{background-color:rgba(109,109,110,0.7);color:white;}.ltr-bp7x77.color-secondary:not(:disabled):hover{background-color:rgba(109,109,110,0.4);}.ltr-bp7x77.color-secondary:not(:disabled):active{background-color:rgba(109,109,110,0.4);color:rgba(255,255,255,0.7);}.ltr-bp7x77.color-secondary:disabled{background-color:rgba(109,109,110,0.4);color:rgba(255,255,255,0.4);}.ltr-bp7x77.color-tertiary{background-color:transparent;color:white;}.ltr-bp7x77.color-tertiary:not(:disabled):hover{background-color:rgba(255,255,255,0.1);}.ltr-bp7x77.color-tertiary:not(:disabled):active{background-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.7);}.ltr-bp7x77.color-tertiary:disabled{color:rgba(255,255,255,0.4);}.ltr-bp7x77.color-quarternary{background-color:rgb(229,9,20);color:white;}.ltr-bp7x77.color-quarternary:not(:disabled):hover{background-color:rgba(229,9,20,0.75);}.ltr-bp7x77.color-quarternary:not(:disabled):active{background-color:rgba(229,9,20,0.1);color:rgba(229,9,20,0.7);}.ltr-bp7x77.color-quarternary:disabled{color:rgba(229,9,20,0.4);}.ltr-bp7x77.hasLabel{padding-left:2.4rem;padding-right:2.4rem;}.ltr-bp7x77.hasIcon{padding-left:1.6rem;padding-right:1.6rem;}.ltr-bp7x77.hasLabel.hasIcon{padding-left:2rem;padding-right:2.4rem;}.ltr-bp7x77:disabled{cursor:default;}.ltr-bp7x77:not(:disabled):focus{outline:none;}.ltr-bp7x77:not(:disabled):focus::before{box-sizing:content-box;content:'';display:block;height:100%;width:100%;border:2px solid white;border-radius:8px;padding:2px;position:absolute;left:-4px;top:-4px;}.ltr-bp7x77::-moz-focus-inner{border:none;}</style><button style="margin: 0 auto;" class="color-primary hasLabel ltr-bp7x77" type="button"><style data-emotion-ltr="hhicvq">.ltr-hhicvq{display:block;font-size:1.6rem;font-weight:bold;line-height:2.4rem;}</style><style data-emotion-ltr="zd4xih">.ltr-zd4xih{font-family:'Netflix Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block;font-size:1.6rem;font-weight:bold;line-height:2.4rem;}</style><span class="ltr-zd4xih">Home</span></button></a></div>
|
62
|
+
<p style="white-space: pre-wrap;"> </p>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</section>
|
71
|
+
</div>
|
data/assets/css/style.scss
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
/*
|
5
|
-
If the number of TAB files has changed, the following variable is required.
|
6
|
-
And it must be defined before `@import`.
|
7
|
-
*/
|
8
|
-
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
9
|
-
|
10
|
-
@import "{{ site.theme }}";
|
11
|
-
|
12
|
-
/* append your custom style below */
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
/*
|
5
|
+
If the number of TAB files has changed, the following variable is required.
|
6
|
+
And it must be defined before `@import`.
|
7
|
+
*/
|
8
|
+
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
9
|
+
|
10
|
+
@import "{{ site.theme }}";
|
11
|
+
|
12
|
+
/* append your custom style below */
|
data/assets/feed.xml
CHANGED
@@ -1,61 +1,61 @@
|
|
1
|
-
---
|
2
|
-
layout: compress
|
3
|
-
permalink: /feed.xml
|
4
|
-
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
|
5
|
-
---
|
6
|
-
|
7
|
-
{% capture source %}
|
8
|
-
<feed xmlns="http://www.w3.org/2005/Atom">
|
9
|
-
<id>{{ "/" | absolute_url }}</id>
|
10
|
-
<title>{{ site.title }}</title>
|
11
|
-
<subtitle>{{ site.description }}</subtitle>
|
12
|
-
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
13
|
-
<author>
|
14
|
-
<name>{{ site.social.name }}</name>
|
15
|
-
<uri>{{ "/" | absolute_url }}</uri>
|
16
|
-
</author>
|
17
|
-
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/>
|
18
|
-
<link rel="alternate" type="text/html" hreflang="{{ site.lang }}"
|
19
|
-
href="{{ '/' | absolute_url }}"/>
|
20
|
-
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
|
21
|
-
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights>
|
22
|
-
<icon>{{ site.baseurl }}/assets/img/favicons/favicon.ico</icon>
|
23
|
-
<logo>{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png</logo>
|
24
|
-
|
25
|
-
{% for post in site.posts limit: 5 %}
|
26
|
-
{% assign post_absolute_url = post.url | absolute_url %}
|
27
|
-
<entry>
|
28
|
-
<title>{{ post.title }}</title>
|
29
|
-
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
|
30
|
-
<published>{{ post.date | date_to_xmlschema }}</published>
|
31
|
-
{% if post.last_modified_at %}
|
32
|
-
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
|
33
|
-
{% else %}
|
34
|
-
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
35
|
-
{% endif %}
|
36
|
-
<id>{{ post_absolute_url }}</id>
|
37
|
-
<content src="{{ post_absolute_url }}" />
|
38
|
-
<author>
|
39
|
-
<name>{{ post.author | default: site.social.name }}</name>
|
40
|
-
</author>
|
41
|
-
|
42
|
-
{% if post.categories %}
|
43
|
-
{% for category in post.categories %}
|
44
|
-
<category term="{{ category }}" />
|
45
|
-
{% endfor %}
|
46
|
-
{% endif %}
|
47
|
-
|
48
|
-
{% if post.summary %}
|
49
|
-
<summary>{{ post.summary | strip }}</summary>
|
50
|
-
{% else %}
|
51
|
-
<summary>
|
52
|
-
{% include no-linenos.html content=post.content %}
|
53
|
-
{{ content | strip_html | truncate: 400 }}
|
54
|
-
</summary>
|
55
|
-
{% endif %}
|
56
|
-
|
57
|
-
</entry>
|
58
|
-
{% endfor %}
|
59
|
-
</feed>
|
60
|
-
{% endcapture %}
|
61
|
-
{{ source | replace: '&', '&' }}
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
permalink: /feed.xml
|
4
|
+
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
|
5
|
+
---
|
6
|
+
|
7
|
+
{% capture source %}
|
8
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
9
|
+
<id>{{ "/" | absolute_url }}</id>
|
10
|
+
<title>{{ site.title }}</title>
|
11
|
+
<subtitle>{{ site.description }}</subtitle>
|
12
|
+
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
13
|
+
<author>
|
14
|
+
<name>{{ site.social.name }}</name>
|
15
|
+
<uri>{{ "/" | absolute_url }}</uri>
|
16
|
+
</author>
|
17
|
+
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/>
|
18
|
+
<link rel="alternate" type="text/html" hreflang="{{ site.lang }}"
|
19
|
+
href="{{ '/' | absolute_url }}"/>
|
20
|
+
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
|
21
|
+
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights>
|
22
|
+
<icon>{{ site.baseurl }}/assets/img/favicons/favicon.ico</icon>
|
23
|
+
<logo>{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png</logo>
|
24
|
+
|
25
|
+
{% for post in site.posts limit: 5 %}
|
26
|
+
{% assign post_absolute_url = post.url | absolute_url %}
|
27
|
+
<entry>
|
28
|
+
<title>{{ post.title }}</title>
|
29
|
+
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
|
30
|
+
<published>{{ post.date | date_to_xmlschema }}</published>
|
31
|
+
{% if post.last_modified_at %}
|
32
|
+
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
|
33
|
+
{% else %}
|
34
|
+
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
35
|
+
{% endif %}
|
36
|
+
<id>{{ post_absolute_url }}</id>
|
37
|
+
<content src="{{ post_absolute_url }}" />
|
38
|
+
<author>
|
39
|
+
<name>{{ post.author | default: site.social.name }}</name>
|
40
|
+
</author>
|
41
|
+
|
42
|
+
{% if post.categories %}
|
43
|
+
{% for category in post.categories %}
|
44
|
+
<category term="{{ category }}" />
|
45
|
+
{% endfor %}
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{% if post.summary %}
|
49
|
+
<summary>{{ post.summary | strip }}</summary>
|
50
|
+
{% else %}
|
51
|
+
<summary>
|
52
|
+
{% include no-linenos.html content=post.content %}
|
53
|
+
{{ content | strip_html | truncate: 400 }}
|
54
|
+
</summary>
|
55
|
+
{% endif %}
|
56
|
+
|
57
|
+
</entry>
|
58
|
+
{% endfor %}
|
59
|
+
</feed>
|
60
|
+
{% endcapture %}
|
61
|
+
{{ source | replace: '&', '&' }}
|
data/assets/img/404.png
ADDED
Binary file
|
@@ -1,13 +1,13 @@
|
|
1
|
-
---
|
2
|
-
layout: compress
|
3
|
-
---
|
4
|
-
|
5
|
-
<?xml version="1.0" encoding="utf-8"?>
|
6
|
-
<browserconfig>
|
7
|
-
<msapplication>
|
8
|
-
<tile>
|
9
|
-
<square150x150logo src="{{ '/assets/img/favicons/mstile-150x150.png' | relative_url }}" />
|
10
|
-
<TileColor>#da532c</TileColor>
|
11
|
-
</tile>
|
12
|
-
</msapplication>
|
13
|
-
</browserconfig>
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<?xml version="1.0" encoding="utf-8"?>
|
6
|
+
<browserconfig>
|
7
|
+
<msapplication>
|
8
|
+
<tile>
|
9
|
+
<square150x150logo src="{{ '/assets/img/favicons/mstile-150x150.png' | relative_url }}" />
|
10
|
+
<TileColor>#da532c</TileColor>
|
11
|
+
</tile>
|
12
|
+
</msapplication>
|
13
|
+
</browserconfig>
|
@@ -1,26 +1,26 @@
|
|
1
|
-
---
|
2
|
-
layout: compress
|
3
|
-
---
|
4
|
-
|
5
|
-
{% assign favicon_path = "/assets/img/favicons" | relative_url %}
|
6
|
-
|
7
|
-
{
|
8
|
-
"name": "{{ site.title }}",
|
9
|
-
"short_name": "{{ site.title }}",
|
10
|
-
"description": "{{ site.description }}",
|
11
|
-
"icons": [
|
12
|
-
{
|
13
|
-
"src": "{{ favicon_path }}/android-chrome-192x192.png",
|
14
|
-
"sizes": "192x192",
|
15
|
-
"type": "image/png"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"src": "{{ favicon_path }}/android-chrome-512x512.png",
|
19
|
-
"sizes": "512x512",
|
20
|
-
"type": "image/png"
|
21
|
-
}],
|
22
|
-
"start_url": "{{ '/index.html' | relative_url }}",
|
23
|
-
"theme_color": "#2a1e6b",
|
24
|
-
"background_color": "#ffffff",
|
25
|
-
"display": "fullscreen"
|
26
|
-
}
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign favicon_path = "/assets/img/favicons" | relative_url %}
|
6
|
+
|
7
|
+
{
|
8
|
+
"name": "{{ site.title }}",
|
9
|
+
"short_name": "{{ site.title }}",
|
10
|
+
"description": "{{ site.description }}",
|
11
|
+
"icons": [
|
12
|
+
{
|
13
|
+
"src": "{{ favicon_path }}/android-chrome-192x192.png",
|
14
|
+
"sizes": "192x192",
|
15
|
+
"type": "image/png"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"src": "{{ favicon_path }}/android-chrome-512x512.png",
|
19
|
+
"sizes": "512x512",
|
20
|
+
"type": "image/png"
|
21
|
+
}],
|
22
|
+
"start_url": "{{ '/index.html' | relative_url }}",
|
23
|
+
"theme_color": "#2a1e6b",
|
24
|
+
"background_color": "#ffffff",
|
25
|
+
"display": "fullscreen"
|
26
|
+
}
|
data/assets/js/data/search.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
---
|
2
|
-
layout: compress
|
3
|
-
swcache: true
|
4
|
-
---
|
5
|
-
|
6
|
-
[
|
7
|
-
{% for post in site.posts %}
|
8
|
-
{
|
9
|
-
"title": {{ post.title | jsonify }},
|
10
|
-
"url": {{ post.url | relative_url | jsonify }},
|
11
|
-
"categories": {{ post.categories | join: ', ' | jsonify }},
|
12
|
-
"tags": {{ post.tags | join: ', ' | jsonify }},
|
13
|
-
"date": "{{ post.date }}",
|
14
|
-
{% include no-linenos.html content=post.content %}
|
15
|
-
"snippet": {{ content | strip_html | strip_newlines | jsonify }}
|
16
|
-
}{% unless forloop.last %},{% endunless %}
|
17
|
-
{% endfor %}
|
18
|
-
]
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
swcache: true
|
4
|
+
---
|
5
|
+
|
6
|
+
[
|
7
|
+
{% for post in site.posts %}
|
8
|
+
{
|
9
|
+
"title": {{ post.title | jsonify }},
|
10
|
+
"url": {{ post.url | relative_url | jsonify }},
|
11
|
+
"categories": {{ post.categories | join: ', ' | jsonify }},
|
12
|
+
"tags": {{ post.tags | join: ', ' | jsonify }},
|
13
|
+
"date": "{{ post.date }}",
|
14
|
+
{% include no-linenos.html content=post.content %}
|
15
|
+
"snippet": {{ content | strip_html | strip_newlines | jsonify }}
|
16
|
+
}{% unless forloop.last %},{% endunless %}
|
17
|
+
{% endfor %}
|
18
|
+
]
|
data/assets/js/data/swcache.js
CHANGED
@@ -1,55 +1,55 @@
|
|
1
|
-
---
|
2
|
-
layout: compress
|
3
|
-
|
4
|
-
# The list to be cached by PWA
|
5
|
-
---
|
6
|
-
|
7
|
-
const resource = [
|
8
|
-
|
9
|
-
/* --- CSS --- */
|
10
|
-
'{{ "/assets/css/style.css" | relative_url }}',
|
11
|
-
|
12
|
-
/* --- PWA --- */
|
13
|
-
'{{ "/app.js" | relative_url }}',
|
14
|
-
'{{ "/sw.js" | relative_url }}',
|
15
|
-
|
16
|
-
/* --- HTML --- */
|
17
|
-
'{{ "/index.html" | relative_url }}',
|
18
|
-
'{{ "/404.html" | relative_url }}',
|
19
|
-
{% for tab in site.tabs %}
|
20
|
-
'{{ tab.url | relative_url }}',
|
21
|
-
{% endfor %}
|
22
|
-
|
23
|
-
/* --- Favicons & compressed JS --- */
|
24
|
-
{% assign cache_list = site.static_files | where: 'swcache', true %}
|
25
|
-
{% for file in cache_list %}
|
26
|
-
'{{ file.path | relative_url }}'{%- unless forloop.last -%},{%- endunless -%}
|
27
|
-
{% endfor %}
|
28
|
-
|
29
|
-
];
|
30
|
-
|
31
|
-
/* The request url with below domain will be cached */
|
32
|
-
const allowedDomains = [
|
33
|
-
{% if site.google_analytics.id != empty and site.google_analytics.id %}
|
34
|
-
'www.googletagmanager.com',
|
35
|
-
'www.google-analytics.com',
|
36
|
-
{% endif %}
|
37
|
-
|
38
|
-
'{{ site.url | split: "//" | last }}',
|
39
|
-
|
40
|
-
{% if site.img_cdn contains '//' and site.img_cdn %}
|
41
|
-
'{{ site.img_cdn | split: '//' | last | split: '/' | first }}',
|
42
|
-
{% endif %}
|
43
|
-
|
44
|
-
'fonts.gstatic.com',
|
45
|
-
'fonts.googleapis.com',
|
46
|
-
'cdn.jsdelivr.net',
|
47
|
-
'polyfill.io'
|
48
|
-
];
|
49
|
-
|
50
|
-
/* Requests that include the following path will be banned */
|
51
|
-
const denyUrls = [
|
52
|
-
{% if site.google_analytics.pv.cache_path %}
|
53
|
-
'{{ site.google_analytics.pv.cache_path | absolute_url }}'
|
54
|
-
{% endif %}
|
55
|
-
];
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
|
4
|
+
# The list to be cached by PWA
|
5
|
+
---
|
6
|
+
|
7
|
+
const resource = [
|
8
|
+
|
9
|
+
/* --- CSS --- */
|
10
|
+
'{{ "/assets/css/style.css" | relative_url }}',
|
11
|
+
|
12
|
+
/* --- PWA --- */
|
13
|
+
'{{ "/app.js" | relative_url }}',
|
14
|
+
'{{ "/sw.js" | relative_url }}',
|
15
|
+
|
16
|
+
/* --- HTML --- */
|
17
|
+
'{{ "/index.html" | relative_url }}',
|
18
|
+
'{{ "/404.html" | relative_url }}',
|
19
|
+
{% for tab in site.tabs %}
|
20
|
+
'{{ tab.url | relative_url }}',
|
21
|
+
{% endfor %}
|
22
|
+
|
23
|
+
/* --- Favicons & compressed JS --- */
|
24
|
+
{% assign cache_list = site.static_files | where: 'swcache', true %}
|
25
|
+
{% for file in cache_list %}
|
26
|
+
'{{ file.path | relative_url }}'{%- unless forloop.last -%},{%- endunless -%}
|
27
|
+
{% endfor %}
|
28
|
+
|
29
|
+
];
|
30
|
+
|
31
|
+
/* The request url with below domain will be cached */
|
32
|
+
const allowedDomains = [
|
33
|
+
{% if site.google_analytics.id != empty and site.google_analytics.id %}
|
34
|
+
'www.googletagmanager.com',
|
35
|
+
'www.google-analytics.com',
|
36
|
+
{% endif %}
|
37
|
+
|
38
|
+
'{{ site.url | split: "//" | last }}',
|
39
|
+
|
40
|
+
{% if site.img_cdn contains '//' and site.img_cdn %}
|
41
|
+
'{{ site.img_cdn | split: '//' | last | split: '/' | first }}',
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
'fonts.gstatic.com',
|
45
|
+
'fonts.googleapis.com',
|
46
|
+
'cdn.jsdelivr.net',
|
47
|
+
'polyfill.io'
|
48
|
+
];
|
49
|
+
|
50
|
+
/* Requests that include the following path will be banned */
|
51
|
+
const denyUrls = [
|
52
|
+
{% if site.google_analytics.pv.cache_path %}
|
53
|
+
'{{ site.google_analytics.pv.cache_path | absolute_url }}'
|
54
|
+
{% endif %}
|
55
|
+
];
|
data/assets/js/dist/home.min.js
CHANGED
data/assets/js/dist/misc.min.js
CHANGED
data/assets/js/dist/page.min.js
CHANGED
data/assets/js/dist/post.min.js
CHANGED