jekyll-theme-chirpy 5.0.2 → 6.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +64 -74
- data/_data/locales/ar.yml +91 -0
- data/_data/locales/bg-BG.yml +81 -0
- data/_data/locales/cs-CZ.yml +89 -0
- data/_data/locales/de-DE.yml +80 -0
- data/_data/locales/el-GR.yml +91 -0
- data/_data/locales/en.yml +23 -23
- data/_data/locales/es-ES.yml +77 -0
- data/_data/locales/fi-FI.yml +90 -0
- data/_data/locales/fr-FR.yml +77 -0
- data/_data/locales/hu-HU.yml +79 -0
- data/_data/locales/id-ID.yml +5 -19
- data/_data/locales/it-IT.yml +90 -0
- data/_data/locales/ko-KR.yml +12 -19
- data/_data/locales/my-MM.yml +77 -0
- data/_data/locales/pt-BR.yml +77 -0
- data/_data/locales/ru-RU.yml +77 -0
- data/_data/locales/sl-SI.yml +91 -0
- data/_data/locales/sv-SE.yml +91 -0
- data/_data/locales/th.yml +91 -0
- data/_data/locales/tr-TR.yml +77 -0
- data/_data/locales/uk-UA.yml +77 -0
- data/_data/locales/vi-VN.yml +76 -0
- data/_data/locales/zh-CN.yml +13 -20
- data/_data/locales/zh-TW.yml +83 -0
- data/_data/origin/basic.yml +48 -0
- data/_data/origin/cors.yml +59 -0
- data/_includes/comments/disqus.html +27 -31
- data/_includes/comments/giscus.html +64 -0
- data/_includes/comments/utterances.html +2 -2
- data/_includes/datetime.html +20 -0
- data/_includes/embed/twitch.html +4 -0
- data/_includes/embed/youtube.html +6 -0
- data/_includes/footer.html +31 -32
- data/_includes/head.html +66 -46
- data/_includes/js-selector.html +83 -45
- data/_includes/jsdelivr-combine.html +26 -0
- data/_includes/lang.html +1 -1
- data/_includes/mermaid.html +30 -29
- data/_includes/metadata-hook.html +1 -0
- data/_includes/mode-toggle.html +66 -51
- data/_includes/notification.html +24 -0
- data/_includes/origin-type.html +13 -0
- data/_includes/post-nav.html +26 -22
- data/_includes/post-paginator.html +79 -76
- data/_includes/post-sharing.html +27 -16
- data/_includes/read-time.html +17 -10
- data/_includes/refactor-content.html +129 -73
- data/_includes/related-posts.html +48 -58
- data/_includes/search-loader.html +32 -31
- data/_includes/search-results.html +4 -5
- data/_includes/sidebar.html +79 -67
- data/_includes/toc.html +4 -7
- data/_includes/topbar.html +62 -56
- data/_includes/trending-tags.html +15 -19
- data/_includes/update-list.html +14 -15
- data/_layouts/archives.html +25 -29
- data/_layouts/categories.html +97 -58
- data/_layouts/category.html +8 -10
- data/_layouts/default.html +67 -31
- data/_layouts/home.html +67 -56
- data/_layouts/page.html +20 -58
- data/_layouts/post.html +85 -94
- data/_layouts/tag.html +8 -10
- data/_layouts/tags.html +6 -5
- data/_sass/addon/commons.scss +679 -878
- data/_sass/addon/module.scss +70 -23
- data/_sass/addon/syntax.scss +127 -110
- data/_sass/addon/variables.scss +16 -18
- data/_sass/colors/syntax-dark.scss +138 -0
- data/_sass/colors/syntax-light.scss +179 -0
- data/_sass/colors/{dark-typography.scss → typography-dark.scss} +58 -56
- data/_sass/colors/typography-light.scss +110 -0
- data/_sass/layout/archives.scss +86 -89
- data/_sass/layout/categories.scss +29 -13
- data/_sass/layout/category-tag.scss +9 -10
- data/_sass/layout/home.scss +132 -114
- data/_sass/layout/post.scss +213 -173
- data/_sass/layout/tags.scss +1 -1
- data/_sass/main.scss +13 -0
- data/assets/404.html +1 -20
- data/assets/css/jekyll-theme-chirpy.scss +6 -0
- data/assets/feed.xml +2 -2
- data/assets/js/data/search.json +8 -5
- data/assets/js/data/swcache.js +14 -29
- data/assets/js/dist/categories.min.js +2 -4
- data/assets/js/dist/commons.min.js +2 -4
- data/assets/js/dist/home.min.js +2 -4
- data/assets/js/dist/misc.min.js +4 -0
- data/assets/js/dist/page.min.js +2 -4
- data/assets/js/dist/post.min.js +2 -4
- data/assets/js/pwa/app.js +42 -4
- data/assets/js/pwa/sw.js +46 -44
- data/assets/js/pwa/unregister.js +12 -0
- metadata +64 -32
- data/_config.yml +0 -175
- data/_data/contact.yml +0 -30
- data/_data/share.yml +0 -27
- data/_includes/css-selector.html +0 -15
- data/_includes/no-zero-date.html +0 -13
- data/_includes/timeago.html +0 -26
- data/_plugins/posts-lastmod-hook.rb +0 -14
- data/_sass/colors/dark-syntax.scss +0 -87
- data/_sass/colors/light-syntax.scss +0 -79
- data/_sass/colors/light-typography.scss +0 -81
- data/_sass/jekyll-theme-chirpy.scss +0 -24
- data/_tabs/about.md +0 -8
- data/_tabs/archives.md +0 -7
- data/_tabs/categories.md +0 -6
- data/_tabs/tags.md +0 -6
- data/assets/css/style.scss +0 -12
- data/assets/js/dist/pvreport.min.js +0 -6
- data/index.html +0 -4
@@ -1,81 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* The syntax light mode typography colors
|
3
|
-
*/
|
4
|
-
|
5
|
-
@mixin light-scheme {
|
6
|
-
/* Framework color */
|
7
|
-
--body-bg: #fafafa;
|
8
|
-
--mask-bg: #c1c3c5;
|
9
|
-
--main-wrapper-bg: white;
|
10
|
-
--main-border-color: #f3f3f3;
|
11
|
-
|
12
|
-
/* Common color */
|
13
|
-
--text-color: #34343c;
|
14
|
-
--text-muted-color: gray;
|
15
|
-
--heading-color: black;
|
16
|
-
--blockquote-border-color: #eee;
|
17
|
-
--blockquote-text-color: #9a9a9a;
|
18
|
-
--link-color: #2a408e;
|
19
|
-
--link-underline-color: #dee2e6;
|
20
|
-
--button-bg: #fff;
|
21
|
-
--btn-border-color: #e9ecef;
|
22
|
-
--btn-backtotop-color: #686868;
|
23
|
-
--btn-backtotop-border-color: #f1f1f1;
|
24
|
-
--btn-box-shadow: #eaeaea;
|
25
|
-
--checkbox-color: #c5c5c5;
|
26
|
-
--checkbox-checked-color: #07a8f7;
|
27
|
-
|
28
|
-
/* Sidebar */
|
29
|
-
--sidebar-bg: #eeeeee;
|
30
|
-
--sidebar-muted-color: #a2a19f;
|
31
|
-
--sidebar-active-color: #424242;
|
32
|
-
--nav-cursor-color: #757575;
|
33
|
-
--sidebar-btn-bg: white;
|
34
|
-
|
35
|
-
/* Topbar */
|
36
|
-
--topbar-text-color: rgb(78, 78, 78);
|
37
|
-
--topbar-wrapper-bg: white;
|
38
|
-
--search-wrapper-bg: rgb(245 245 245 / 50%);
|
39
|
-
--search-wrapper-border-color: rgb(245 245 245);
|
40
|
-
--search-tag-bg: #f8f9fa;
|
41
|
-
--search-icon-color: #c2c6cc;
|
42
|
-
--input-focus-border-color: var(--btn-border-color);
|
43
|
-
|
44
|
-
/* Home page */
|
45
|
-
--post-list-text-color: dimgray;
|
46
|
-
--btn-patinator-text-color: #555555;
|
47
|
-
--btn-paginator-hover-color: var(--sidebar-bg);
|
48
|
-
--btn-paginator-border-color: var(--sidebar-bg);
|
49
|
-
--btn-text-color: #676666;
|
50
|
-
--pin-bg: #f5f5f5;
|
51
|
-
--pin-color: #999fa4;
|
52
|
-
|
53
|
-
/* Posts */
|
54
|
-
--btn-share-hover-color: var(--link-color);
|
55
|
-
--card-border-color: #f1f1f1;
|
56
|
-
--card-box-shadow: rgba(234, 234, 234, 0.7686274509803922);
|
57
|
-
--label-color: #616161;
|
58
|
-
--relate-post-date: rgba(30, 55, 70, 0.4);
|
59
|
-
--footnote-target-bg: lightcyan;
|
60
|
-
--tag-bg: rgba(0, 0, 0, 0.075);
|
61
|
-
--tag-border: #dee2e6;
|
62
|
-
--tag-shadow: var(--btn-border-color);
|
63
|
-
--tag-hover: rgb(222, 226, 230);
|
64
|
-
--tb-odd-bg: #fbfcfd;
|
65
|
-
--tb-border-color: #eaeaea;
|
66
|
-
--dash-color: silver;
|
67
|
-
--preview-img-bg: radial-gradient(circle, rgb(255 255 255) 0%, rgb(249 249 249) 100%);
|
68
|
-
--kbd-wrap-color: #bdbdbd;
|
69
|
-
--kbd-text-color: var(--text-color);
|
70
|
-
--kbd-bg-color: white;
|
71
|
-
|
72
|
-
/* Categories */
|
73
|
-
--categories-hover-bg: var(--btn-border-color);
|
74
|
-
--categories-icon-hover-color: darkslategray;
|
75
|
-
|
76
|
-
/* Archive */
|
77
|
-
--timeline-color: rgba(0, 0, 0, 0.075);
|
78
|
-
--timeline-node-bg: #c2c6cc;
|
79
|
-
--timeline-year-dot-color: #ffffff;
|
80
|
-
|
81
|
-
} // light-scheme
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* The styles for Jekyll theme Chirpy
|
3
|
-
*
|
4
|
-
* Chirpy v5.0.2 (https://github.com/cotes2020/jekyll-theme-chirpy)
|
5
|
-
* © 2019 Cotes Chung
|
6
|
-
* MIT Licensed
|
7
|
-
*/
|
8
|
-
|
9
|
-
@import
|
10
|
-
"colors/light-typography",
|
11
|
-
"colors/dark-typography",
|
12
|
-
|
13
|
-
"addon/module",
|
14
|
-
"addon/variables",
|
15
|
-
"variables-hook",
|
16
|
-
"addon/syntax",
|
17
|
-
"addon/commons",
|
18
|
-
|
19
|
-
"layout/home",
|
20
|
-
"layout/post",
|
21
|
-
"layout/tags",
|
22
|
-
"layout/archives",
|
23
|
-
"layout/categories",
|
24
|
-
"layout/category-tag";
|
data/_tabs/about.md
DELETED
data/_tabs/archives.md
DELETED
data/_tabs/categories.md
DELETED
data/_tabs/tags.md
DELETED
data/assets/css/style.scss
DELETED
@@ -1,12 +0,0 @@
|
|
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,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Chirpy v5.0.2 (https://github.com/cotes2020/jekyll-theme-chirpy/)
|
3
|
-
* © 2019 Cotes Chung
|
4
|
-
* MIT Licensed
|
5
|
-
*/
|
6
|
-
const getInitStatus=function(){let t=!1;return()=>{var e=t;return t=t||!0,e}}(),PvOpts=function(){function t(e){return $(e).attr("content")}function e(e){e=t(e);return void 0!==e&&!1!==e}return{getProxyMeta(){return t("meta[name=pv-proxy-endpoint]")},getLocalMeta(){return t("meta[name=pv-cache-path]")},hasProxyMeta(){return e("meta[name=pv-proxy-endpoint]")},hasLocalMeta(){return e("meta[name=pv-cache-path]")}}}(),PvStorage=function(){const a={KEY_PV:"pv",KEY_PV_SRC:"pv_src",KEY_CREATION:"pv_created_date"},t={LOCAL:"same-origin",PROXY:"cors"};function r(e){return localStorage.getItem(e)}function o(e,t){localStorage.setItem(e,t)}function n(e,t){o(a.KEY_PV,e),o(a.KEY_PV_SRC,t),o(a.KEY_CREATION,(new Date).toJSON())}return{keysCount(){return Object.keys(a).length},hasCache(){return null!==localStorage.getItem(a.KEY_PV)},getCache(){return JSON.parse(localStorage.getItem(a.KEY_PV))},saveLocalCache(e){n(e,t.LOCAL)},saveProxyCache(e){n(e,t.PROXY)},isExpired(){let e=new Date(r(a.KEY_CREATION));return e.setHours(e.getHours()+1),Date.now()>=e.getTime()},isFromLocal(){return r(a.KEY_PV_SRC)===t.LOCAL},isFromProxy(){return r(a.KEY_PV_SRC)===t.PROXY},newerThan(e){return PvStorage.getCache().totalsForAllResults["ga:pageviews"]>e.totalsForAllResults["ga:pageviews"]},inspectKeys(){if(localStorage.length===PvStorage.keysCount())for(let e=0;e<localStorage.length;e++)switch(localStorage.key(e)){case a.KEY_PV:case a.KEY_PV_SRC:case a.KEY_CREATION:break;default:return void localStorage.clear()}else localStorage.clear()}}}();function countUp(t,a,r){if(t<a){let e=new CountUp(r,t,a);e.error?console.error(e.error):e.start()}}function countPV(t,a){let r=0;if(void 0!==a)for(let e=0;e<a.length;++e)if(a[parseInt(e,10)][0]===t){r+=parseInt(a[parseInt(e,10)][1],10);break}return r}function tacklePV(e,t,a,r){let o=countPV(t,e);o=0===o?1:o,r?(r=parseInt(a.text().replace(/,/g,""),10),o>r&&countUp(r,o,a.attr("id"))):a.text((new Intl.NumberFormat).format(o))}function displayPageviews(e){if(void 0!==e){let t=getInitStatus();const a=e.rows;0<$("#post-list").length?$(".post-preview").each(function(){var e=$(this).find("a").attr("href");tacklePV(a,e,$(this).find(".pageviews"),t)}):0<$(".post").length&&(e=window.location.pathname,tacklePV(a,e,$("#pv"),t))}}function fetchProxyPageviews(){PvOpts.hasProxyMeta()&&$.ajax({type:"GET",url:PvOpts.getProxyMeta(),dataType:"jsonp",jsonpCallback:"displayPageviews",success:e=>{PvStorage.saveProxyCache(JSON.stringify(e))},error:(e,t,a)=>{console.log("Failed to load pageviews from proxy server: "+a)}})}function fetchLocalPageviews(t=!1){return fetch(PvOpts.getLocalMeta()).then(e=>e.json()).then(e=>{t&&PvStorage.isFromProxy()&&PvStorage.newerThan(e)||(displayPageviews(e),PvStorage.saveLocalCache(JSON.stringify(e)))})}$(function(){$(".pageviews").length<=0||(PvStorage.inspectKeys(),PvStorage.hasCache()?(displayPageviews(PvStorage.getCache()),PvStorage.isExpired()?PvOpts.hasLocalMeta()?fetchLocalPageviews(!0).then(fetchProxyPageviews):fetchProxyPageviews():PvStorage.isFromLocal()&&fetchProxyPageviews()):PvOpts.hasLocalMeta()?fetchLocalPageviews().then(fetchProxyPageviews):fetchProxyPageviews())});
|
data/index.html
DELETED