jekyll-theme-chirpy-birdly 6.0.2 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +34 -34
- data/_includes/head.html +1 -1
- data/_includes/post-paginator.html +1 -1
- data/_includes/search-results.html +1 -1
- data/_layouts/category.html +1 -1
- data/_layouts/default.html +3 -3
- data/_layouts/home.html +3 -12
- data/_layouts/page.html +8 -4
- data/_layouts/post.html +1 -1
- data/_layouts/tag.html +1 -1
- data/_sass/addon/commons.scss +13 -16
- data/_sass/addon/syntax.scss +1 -1
- data/_sass/jekyll-theme-chirpy-birdly.scss +1 -1
- data/_sass/layout/archives.scss +1 -1
- data/_sass/layout/category-tag.scss +1 -1
- data/_sass/layout/home.scss +4 -4
- data/_sass/layout/post.scss +3 -3
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5b7326cc61aec502c3f5d200183c489b961cbf9575b23b3a3f537ac95a21a87
|
4
|
+
data.tar.gz: 413f0f40bae808adcda5f95d35876f0f372b19c2240e966a06d36b507a51df52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549462ff965c7777b7ef72b2df2620d1f7275660e5b7ad1edd2442c7408118858ad176dfa68d09c3cab10deb7560f40fe116c7f1a50c8b0ebfeec922364c926e
|
7
|
+
data.tar.gz: c1b9c1313498f8cc9f8fcfdbd0c994b07c94147aa596012cf5f3aeb7c775bffd257149be3e61354cd63103e0d8493c80e136eb55e7c53868ced71775d8d907ba
|
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
<div align="center">
|
2
2
|
|
3
|
-
|
3
|
+
# Chirpy-Birdly Jekyll Theme
|
4
4
|
|
5
|
-
|
5
|
+
A minimal, responsive and feature-rich Jekyll theme for technical writing.
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy-birdly?color=brightgreen)](https://rubygems.org/gems/jekyll-theme-chirpy-birdly)
|
8
|
+
[![CI](https://github.com/jelilio/jekyll-theme-chirpy-birdly/actions/workflows/ci.yml/badge.svg)](https://github.com/jelilio/jekyll-theme-chirpy/actions/workflows/ci.yml)
|
9
|
+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e556876a3c54d5e8f2d2857c4f43894)](https://www.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jelilio/jekyll-theme-chirpy-birldy&utm_campaign=Badge_Grade)
|
10
|
+
[![GitHub license](https://img.shields.io/github/license/jelilio/jekyll-theme-chirpy-birdly.svg)](https://github.com/jelilio/jekyll-theme-chirpy-birdly/blob/master/LICENSE)
|
11
|
+
[![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
|
12
12
|
|
13
|
-
|
13
|
+
[**Live Demo →**][demo]
|
14
14
|
|
15
|
-
|
15
|
+
[![Devices Mockup](https://chirpy-img.netlify.app/commons/devices-mockup.png)][demo]
|
16
16
|
|
17
17
|
</div>
|
18
18
|
|
@@ -24,24 +24,24 @@
|
|
24
24
|
</summary>
|
25
25
|
<p>
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
27
|
+
- Dark / Light Theme Mode
|
28
|
+
- Localized UI language
|
29
|
+
- Pinned Posts
|
30
|
+
- Hierarchical Categories
|
31
|
+
- Trending Tags
|
32
|
+
- Table of Contents
|
33
|
+
- Last Modified Date of Posts
|
34
|
+
- Syntax Highlighting
|
35
|
+
- Mathematical Expressions
|
36
|
+
- Mermaid Diagram & Flowchart
|
37
|
+
- Dark / Light Mode Images
|
38
|
+
- Embed Videos
|
39
|
+
- Disqus / Utterances / Giscus Comments
|
40
|
+
- Search
|
41
|
+
- Atom Feeds
|
42
|
+
- Google Analytics
|
43
|
+
- Page Views Reporting
|
44
|
+
- SEO & Performance Optimization
|
45
45
|
|
46
46
|
</p>
|
47
47
|
</details>
|
@@ -85,11 +85,11 @@ This work is published under [MIT][mit] License.
|
|
85
85
|
[bootstrap]: https://getbootstrap.com/
|
86
86
|
[icons]: https://fontawesome.com/
|
87
87
|
[image]: https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/
|
88
|
-
[demo]: https://
|
89
|
-
[wiki]: https://github.com/
|
90
|
-
[contribute-guide]: https://github.com/
|
91
|
-
[contributors]: https://github.com/
|
92
|
-
[lib]: https://github.com/
|
93
|
-
[jetbrains]: https://www.jetbrains.com/?from=jekyll-theme-chirpy
|
88
|
+
[demo]: https://jelilio.github.io/chirpy-birdly-demo/
|
89
|
+
[wiki]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/wiki
|
90
|
+
[contribute-guide]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/blob/master/.github/CONTRIBUTING.md
|
91
|
+
[contributors]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/graphs/contributors
|
92
|
+
[lib]: https://github.com/jelilio/chirpy-static-assets
|
93
|
+
[jetbrains]: https://www.jetbrains.com/?from=jekyll-theme-chirpy-birdly
|
94
94
|
[donation]: https://sponsor.cotes.page/
|
95
|
-
[mit]: https://github.com/
|
95
|
+
[mit]: https://github.com/jelilio/jekyll-theme-chirpy/blob/master/LICENSE
|
data/_includes/head.html
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
{{ site.title }}
|
46
46
|
</title>
|
47
47
|
|
48
|
-
{%
|
48
|
+
{% include_cached favicons.html %}
|
49
49
|
|
50
50
|
{% if site.resources.ignore_env != jekyll.environment and site.resources.self_hosted %}
|
51
51
|
<link href="{{ site.data.origin[type].webfonts | relative_url }}" rel="stylesheet">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- The paginator for post list on HomgPage. -->
|
2
2
|
|
3
|
-
<ul class="pagination align-items-center mt-4 mb-
|
3
|
+
<ul class="pagination align-items-center mt-4 mb-1 ps-lg-2">
|
4
4
|
<!-- left arrow -->
|
5
5
|
{% if paginator.previous_page %}
|
6
6
|
{% assign prev_url = paginator.previous_page_path | relative_url %}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div id="search-result-wrapper" class="d-flex justify-content-center unloaded">
|
4
4
|
<div class="col-11 post-content">
|
5
5
|
<div id="search-hints">
|
6
|
-
{%
|
6
|
+
{% include_cached trending-tags.html %}
|
7
7
|
</div>
|
8
8
|
<div id="search-results" class="d-flex flex-wrap justify-content-center text-muted mt-3"></div>
|
9
9
|
</div>
|
data/_layouts/category.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -26,11 +26,11 @@ layout: compress
|
|
26
26
|
<div id="main" class="container px-xxl-5">
|
27
27
|
{% include topbar.html lang=lang %}
|
28
28
|
{{ content }}
|
29
|
-
{%
|
29
|
+
{% include_cached search-results.html lang=lang %}
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
|
33
|
-
{%
|
33
|
+
{% include_cached footer.html lang=lang %}
|
34
34
|
|
35
35
|
<div id="mask"></div>
|
36
36
|
|
@@ -71,6 +71,6 @@ layout: compress
|
|
71
71
|
{% include mermaid.html %}
|
72
72
|
{% endif %}
|
73
73
|
|
74
|
-
{%
|
74
|
+
{% include_cached search-loader.html %}
|
75
75
|
</body>
|
76
76
|
</html>
|
data/_layouts/home.html
CHANGED
@@ -40,16 +40,7 @@ refactor: true
|
|
40
40
|
{% endfor %}
|
41
41
|
{% endif %}
|
42
42
|
|
43
|
-
|
44
|
-
{% assign has_paginator = true %}
|
45
|
-
{% endif %}
|
46
|
-
|
47
|
-
<div
|
48
|
-
id="post-list"
|
49
|
-
{% unless has_paginator %}
|
50
|
-
class="mb-5"
|
51
|
-
{% endunless %}
|
52
|
-
>
|
43
|
+
<div id="post-list">
|
53
44
|
{% for post in posts %}
|
54
45
|
<a href="{{ post.url | relative_url }}" class="card-wrapper">
|
55
46
|
<div class="card post-preview flex-md-row-reverse">
|
@@ -63,7 +54,7 @@ refactor: true
|
|
63
54
|
{% assign src = post.img_path | append: '/' | append: src | replace: '//', '/' %}
|
64
55
|
{% endunless %}
|
65
56
|
|
66
|
-
{% assign alt = post.image.alt | default: 'Preview Image' %}
|
57
|
+
{% assign alt = post.image.alt | xml_escape | default: 'Preview Image' %}
|
67
58
|
|
68
59
|
<img src="{{ src }}" w="17" h="10" alt="{{ alt }}" {{ lqip }}>
|
69
60
|
{% endif %}
|
@@ -114,6 +105,6 @@ refactor: true
|
|
114
105
|
</div>
|
115
106
|
<!-- #post-list -->
|
116
107
|
|
117
|
-
{% if
|
108
|
+
{% if paginator.total_pages > 1 %}
|
118
109
|
{% include post-paginator.html %}
|
119
110
|
{% endif %}
|
data/_layouts/page.html
CHANGED
@@ -5,7 +5,11 @@ layout: default
|
|
5
5
|
{% include lang.html %}
|
6
6
|
{% include origin-type.html %}
|
7
7
|
|
8
|
-
|
8
|
+
{% if layout.tail_includes %}
|
9
|
+
{% assign has_tail = true %}
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<div class="row{% unless has_tail %} mb-5{% endunless %}">
|
9
13
|
<!-- core -->
|
10
14
|
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pe-xl-4">
|
11
15
|
{% capture padding %}
|
@@ -40,8 +44,8 @@ layout: default
|
|
40
44
|
<!-- panel -->
|
41
45
|
<div id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
|
42
46
|
<div class="access">
|
43
|
-
{%
|
44
|
-
{%
|
47
|
+
{% include_cached update-list.html lang=lang %}
|
48
|
+
{% include_cached trending-tags.html lang=lang %}
|
45
49
|
</div>
|
46
50
|
|
47
51
|
{% for _include in layout.panel_includes %}
|
@@ -52,7 +56,7 @@ layout: default
|
|
52
56
|
</div>
|
53
57
|
|
54
58
|
<!-- tail -->
|
55
|
-
{% if
|
59
|
+
{% if has_tail %}
|
56
60
|
<div class="row">
|
57
61
|
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 px-3 pe-xl-4 mt-5">
|
58
62
|
{% for _include in layout.tail_includes %}
|
data/_layouts/post.html
CHANGED
@@ -31,7 +31,7 @@ tail_includes:
|
|
31
31
|
{% if page.image %}
|
32
32
|
{% capture src %}src="{{ page.image.path | default: page.image }}"{% endcapture %}
|
33
33
|
{% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %}
|
34
|
-
{% capture alt %}alt="{{ page.image.alt | default: "Preview Image" }}"{% endcapture %}
|
34
|
+
{% capture alt %}alt="{{ page.image.alt | xml_escape | default: "Preview Image" }}"{% endcapture %}
|
35
35
|
|
36
36
|
{% capture lqip %}
|
37
37
|
{% if page.image.lqip %}
|
data/_layouts/tag.html
CHANGED
data/_sass/addon/commons.scss
CHANGED
@@ -957,8 +957,9 @@ $btn-mb: 0.5rem;
|
|
957
957
|
/* 'Cancel' link */
|
958
958
|
#search-cancel {
|
959
959
|
color: var(--link-color);
|
960
|
-
margin-left:
|
960
|
+
margin-left: 0.75rem;
|
961
961
|
display: none;
|
962
|
+
white-space: nowrap;
|
962
963
|
|
963
964
|
@extend %cursor-pointer;
|
964
965
|
}
|
@@ -1207,16 +1208,12 @@ $btn-mb: 0.5rem;
|
|
1207
1208
|
|
1208
1209
|
*/
|
1209
1210
|
|
1210
|
-
@media all and (width
|
1211
|
+
@media all and (max-width: 576px) {
|
1211
1212
|
#main-wrapper {
|
1212
1213
|
min-height: calc(100vh - #{$footer-height-mobile});
|
1213
1214
|
}
|
1214
1215
|
|
1215
1216
|
#core-wrapper {
|
1216
|
-
min-height: calc(
|
1217
|
-
100vh - #{$topbar-height} - #{$footer-height-mobile}
|
1218
|
-
) !important;
|
1219
|
-
|
1220
1217
|
.post-content {
|
1221
1218
|
> blockquote[class^='prompt-'] {
|
1222
1219
|
@include ml-mr(-1.25rem);
|
@@ -1233,7 +1230,7 @@ $btn-mb: 0.5rem;
|
|
1233
1230
|
}
|
1234
1231
|
}
|
1235
1232
|
|
1236
|
-
@media all and (width
|
1233
|
+
@media all and (max-width: 768px) {
|
1237
1234
|
%full-width {
|
1238
1235
|
max-width: 100%;
|
1239
1236
|
}
|
@@ -1249,7 +1246,7 @@ $btn-mb: 0.5rem;
|
|
1249
1246
|
}
|
1250
1247
|
|
1251
1248
|
/* hide sidebar and panel */
|
1252
|
-
@media all and (width
|
1249
|
+
@media all and (max-width: 849px) {
|
1253
1250
|
@mixin slide($append: null) {
|
1254
1251
|
$basic: transform 0.4s ease;
|
1255
1252
|
|
@@ -1353,14 +1350,14 @@ $btn-mb: 0.5rem;
|
|
1353
1350
|
} /* max-width: 849px */
|
1354
1351
|
|
1355
1352
|
/* Phone & Pad */
|
1356
|
-
@media all and (width
|
1353
|
+
@media all and (min-width: 577px) and (max-width: 1199px) {
|
1357
1354
|
footer .d-flex > div {
|
1358
1355
|
width: 312px;
|
1359
1356
|
}
|
1360
1357
|
}
|
1361
1358
|
|
1362
1359
|
/* Sidebar is visible */
|
1363
|
-
@media all and (width
|
1360
|
+
@media all and (min-width: 850px) {
|
1364
1361
|
/* Solved jumping scrollbar */
|
1365
1362
|
html {
|
1366
1363
|
overflow-y: scroll;
|
@@ -1429,7 +1426,7 @@ $btn-mb: 0.5rem;
|
|
1429
1426
|
}
|
1430
1427
|
|
1431
1428
|
/* Pad horizontal */
|
1432
|
-
@media all and (width
|
1429
|
+
@media all and (min-width: 992px) and (max-width: 1199px) {
|
1433
1430
|
#main .col-lg-11 {
|
1434
1431
|
flex: 0 0 96%;
|
1435
1432
|
max-width: 96%;
|
@@ -1437,7 +1434,7 @@ $btn-mb: 0.5rem;
|
|
1437
1434
|
}
|
1438
1435
|
|
1439
1436
|
/* Compact icons in sidebar & panel hidden */
|
1440
|
-
@media all and (width
|
1437
|
+
@media all and (min-width: 850px) and (max-width: 1199px) {
|
1441
1438
|
#search-results > div {
|
1442
1439
|
max-width: 700px;
|
1443
1440
|
}
|
@@ -1452,7 +1449,7 @@ $btn-mb: 0.5rem;
|
|
1452
1449
|
}
|
1453
1450
|
|
1454
1451
|
/* panel hidden */
|
1455
|
-
@media all and (width
|
1452
|
+
@media all and (max-width: 1199px) {
|
1456
1453
|
#panel-wrapper {
|
1457
1454
|
display: none;
|
1458
1455
|
}
|
@@ -1464,7 +1461,7 @@ $btn-mb: 0.5rem;
|
|
1464
1461
|
|
1465
1462
|
/* --- desktop mode, both sidebar and panel are visible --- */
|
1466
1463
|
|
1467
|
-
@media all and (width
|
1464
|
+
@media all and (min-width: 1200px) {
|
1468
1465
|
#back-to-top {
|
1469
1466
|
bottom: 6.5rem;
|
1470
1467
|
}
|
@@ -1505,13 +1502,13 @@ $btn-mb: 0.5rem;
|
|
1505
1502
|
}
|
1506
1503
|
}
|
1507
1504
|
|
1508
|
-
@media all and (width
|
1505
|
+
@media all and (min-width: 1400px) {
|
1509
1506
|
#back-to-top {
|
1510
1507
|
right: calc((100vw - #{$sidebar-width} - 1140px) / 2 + 3rem);
|
1511
1508
|
}
|
1512
1509
|
}
|
1513
1510
|
|
1514
|
-
@media all and (width
|
1511
|
+
@media all and (min-width: 1650px) {
|
1515
1512
|
$icon-gap: 1rem;
|
1516
1513
|
|
1517
1514
|
#main-wrapper,
|
data/_sass/addon/syntax.scss
CHANGED
data/_sass/layout/archives.scss
CHANGED
data/_sass/layout/home.scss
CHANGED
@@ -139,7 +139,7 @@
|
|
139
139
|
} /* .pagination */
|
140
140
|
|
141
141
|
/* Tablet */
|
142
|
-
@media all and (width
|
142
|
+
@media all and (min-width: 768px) {
|
143
143
|
#post-list {
|
144
144
|
%img-radius {
|
145
145
|
border-radius: 0 $base-radius $base-radius 0;
|
@@ -173,7 +173,7 @@
|
|
173
173
|
}
|
174
174
|
|
175
175
|
/* Hide SideBar and TOC */
|
176
|
-
@media all and (width
|
176
|
+
@media all and (max-width: 830px) {
|
177
177
|
.pagination {
|
178
178
|
justify-content: space-evenly;
|
179
179
|
|
@@ -186,7 +186,7 @@
|
|
186
186
|
}
|
187
187
|
|
188
188
|
/* Sidebar is visible */
|
189
|
-
@media all and (width
|
189
|
+
@media all and (min-width: 831px) {
|
190
190
|
#post-list {
|
191
191
|
margin-top: 2.5rem;
|
192
192
|
}
|
@@ -212,7 +212,7 @@
|
|
212
212
|
}
|
213
213
|
|
214
214
|
/* Panel is visible */
|
215
|
-
@media all and (width
|
215
|
+
@media all and (min-width: 1200px) {
|
216
216
|
#post-list {
|
217
217
|
padding-right: 0.5rem;
|
218
218
|
}
|
data/_sass/layout/post.scss
CHANGED
@@ -380,7 +380,7 @@ h1 + .post-meta {
|
|
380
380
|
}
|
381
381
|
}
|
382
382
|
|
383
|
-
@media all and (width
|
383
|
+
@media all and (max-width: 576px) {
|
384
384
|
.preview-img[data-src] {
|
385
385
|
margin-top: 2.2rem;
|
386
386
|
}
|
@@ -395,14 +395,14 @@ h1 + .post-meta {
|
|
395
395
|
}
|
396
396
|
}
|
397
397
|
|
398
|
-
@media all and (width
|
398
|
+
@media all and (max-width: 768px) {
|
399
399
|
.post-content > p > img {
|
400
400
|
max-width: calc(100% + 1rem);
|
401
401
|
}
|
402
402
|
}
|
403
403
|
|
404
404
|
/* Hide SideBar and TOC */
|
405
|
-
@media all and (width
|
405
|
+
@media all and (max-width: 849px) {
|
406
406
|
.post-navigation {
|
407
407
|
padding-left: 0;
|
408
408
|
padding-right: 0;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-chirpy-birdly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jelili Adesina
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: jekyll-include-cache
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.2'
|
97
111
|
description:
|
98
112
|
email:
|
99
113
|
- jelilio.adesina@gmail.com
|