jekyll-theme-chirpy 7.3.1 → 7.4.1

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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/_data/locales/da-DK.yml +86 -0
  3. data/_data/locales/dv/342/200/221MV.yml +90 -0
  4. data/_data/locales/{fa-IR.yaml → fa-IR.yml} +8 -8
  5. data/_data/locales/ku-IQ.yml +91 -0
  6. data/_data/locales/ps/342/200/221AF.yml +90 -0
  7. data/_data/locales/ur-PK.yml +90 -0
  8. data/_data/origin/cors.yml +8 -8
  9. data/_includes/embed/audio.html +1 -1
  10. data/_includes/embed/spotify.html +22 -0
  11. data/_includes/favicons.html +3 -8
  12. data/_includes/head.html +1 -1
  13. data/_includes/pageviews/goatcounter.html +1 -1
  14. data/_includes/post-summary.html +39 -0
  15. data/_includes/refactor-content.html +1 -1
  16. data/_includes/related-posts.html +1 -1
  17. data/_includes/sidebar.html +9 -1
  18. data/_layouts/default.html +1 -1
  19. data/_layouts/home.html +28 -10
  20. data/_layouts/post.html +0 -1
  21. data/_sass/base/_base.scss +10 -3
  22. data/_sass/base/_syntax.scss +2 -3
  23. data/_sass/base/_typography.scss +2 -4
  24. data/_sass/components/_popups.scss +1 -1
  25. data/_sass/pages/_home.scss +1 -4
  26. data/_sass/themes/_dark.scss +46 -46
  27. data/_sass/themes/_light.scss +21 -25
  28. data/_sass/vendors/_bootstrap.scss +2 -2
  29. data/assets/feed.xml +1 -1
  30. data/assets/img/favicons/apple-touch-icon.png +0 -0
  31. data/assets/img/favicons/favicon-96x96.png +0 -0
  32. data/assets/img/favicons/favicon.ico +0 -0
  33. data/assets/img/favicons/favicon.svg +3 -0
  34. data/assets/img/favicons/site.webmanifest +6 -4
  35. data/assets/img/favicons/web-app-manifest-192x192.png +0 -0
  36. data/assets/img/favicons/web-app-manifest-512x512.png +0 -0
  37. data/assets/js/data/search.json +2 -1
  38. data/assets/js/dist/app.min.js +2 -2
  39. data/assets/js/dist/categories.min.js +2 -2
  40. data/assets/js/dist/commons.min.js +2 -2
  41. data/assets/js/dist/home.min.js +2 -2
  42. data/assets/js/dist/misc.min.js +2 -2
  43. data/assets/js/dist/page.min.js +2 -2
  44. data/assets/js/dist/post.min.js +2 -2
  45. data/assets/js/dist/sw.min.js +1 -1
  46. data/assets/js/dist/theme.min.js +1 -1
  47. metadata +14 -10
  48. data/_includes/post-description.html +0 -30
  49. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  50. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  51. data/assets/img/favicons/browserconfig.xml +0 -13
  52. data/assets/img/favicons/favicon-16x16.png +0 -0
  53. data/assets/img/favicons/favicon-32x32.png +0 -0
  54. data/assets/img/favicons/mstile-150x150.png +0 -0
@@ -2,6 +2,6 @@
2
2
  permalink: /:basename
3
3
  ---
4
4
  /*!
5
- * jekyll-theme-chirpy v7.3.1 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
5
+ * jekyll-theme-chirpy v7.4.1 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
6
6
  */
7
7
  !function(){"use strict";importScripts("./assets/js/data/swconf.js");const e=swconf.purge,t=swconf.interceptor;self.addEventListener("install",t=>{e||t.waitUntil(caches.open(swconf.cacheName).then(e=>e.addAll(swconf.resources)))}),self.addEventListener("activate",t=>{t.waitUntil(caches.keys().then(t=>Promise.all(t.map(t=>e||t!==swconf.cacheName?caches.delete(t):void 0))))}),self.addEventListener("message",e=>{"SKIP_WAITING"===e.data&&self.skipWaiting()}),self.addEventListener("fetch",s=>{s.request.headers.has("range")||s.respondWith(caches.match(s.request).then(n=>n||fetch(s.request).then(n=>{const r=s.request.url;if(e||"GET"!==s.request.method||!function(e){const s=new URL(e),n=s.pathname;if(!s.protocol.startsWith("http"))return!1;for(const e of t.urlPrefixes)if(s.href.startsWith(e))return!1;for(const e of t.paths)if(n.startsWith(e))return!1;return!0}(r))return n;let a=n.clone();return caches.open(swconf.cacheName).then(e=>{e.put(s.request,a)}),n})))})}();
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * jekyll-theme-chirpy v7.3.1 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
2
+ * jekyll-theme-chirpy v7.4.1 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
3
3
  */
4
4
  var Theme=function(){"use strict";function t(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}function e(e,i,s){return s(t(e,i))}var i;class s{static get DARK(){return"dark"}static get LIGHT(){return"light"}static get ID(){return"theme-mode"}static get visualState(){return e(s,this,o)?e(s,this,n):e(s,this,h)?this.DARK:this.LIGHT}static getThemeMapper(t,e){return{[this.LIGHT]:t,[this.DARK]:e}}static init(){this.switchable&&(t(s,this,b)._.addEventListener("change",()=>{const i=e(s,this,n);t(s,this,a).call(this),i!==this.visualState&&t(s,this,l).call(this)}),e(s,this,o)&&(e(s,this,r)?t(s,this,u).call(this):t(s,this,c).call(this)))}static flip(){e(s,this,o)?t(s,this,a).call(this):e(s,this,h)?t(s,this,c).call(this):t(s,this,u).call(this),t(s,this,l).call(this)}}function n(e){return sessionStorage.getItem(t(i,e,g)._)||document.documentElement.getAttribute(t(i,e,v)._)}function r(t){return e(i,t,n)===t.DARK}function o(t){return null!==e(i,t,n)}function h(e){return t(i,e,b)._.matches}function u(){document.documentElement.setAttribute(t(i,this,v)._,this.DARK),sessionStorage.setItem(t(i,this,g)._,this.DARK)}function c(){document.documentElement.setAttribute(t(i,this,v)._,this.LIGHT),sessionStorage.setItem(t(i,this,g)._,this.LIGHT)}function a(){document.documentElement.removeAttribute(t(i,this,v)._),sessionStorage.removeItem(t(i,this,g)._)}function l(){window.postMessage({id:this.ID},"*")}i=s;var m,f,d,g={_:"mode"},v={_:"data-mode"},b={_:window.matchMedia("(prefers-color-scheme: dark)")};return m=s,f="switchable",d=!document.documentElement.hasAttribute(t(i,i,v)._),(f=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e);if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(f))in m?Object.defineProperty(m,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):m[f]=d,s.init(),s}();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-chirpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.1
4
+ version: 7.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cotes Chung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-26 00:00:00.000000000 Z
11
+ date: 2025-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -107,11 +107,13 @@ files:
107
107
  - _data/locales/bg-BG.yml
108
108
  - _data/locales/ca-ES.yml
109
109
  - _data/locales/cs-CZ.yml
110
+ - _data/locales/da-DK.yml
110
111
  - _data/locales/de-DE.yml
112
+ - _data/locales/dv‑MV.yml
111
113
  - _data/locales/el-GR.yml
112
114
  - _data/locales/en.yml
113
115
  - _data/locales/es-ES.yml
114
- - _data/locales/fa-IR.yaml
116
+ - _data/locales/fa-IR.yml
115
117
  - _data/locales/fi-FI.yml
116
118
  - _data/locales/fr-FR.yml
117
119
  - _data/locales/hu-HU.yml
@@ -119,8 +121,10 @@ files:
119
121
  - _data/locales/it-IT.yml
120
122
  - _data/locales/ja-JP.yml
121
123
  - _data/locales/ko-KR.yml
124
+ - _data/locales/ku-IQ.yml
122
125
  - _data/locales/my-MM.yml
123
126
  - _data/locales/nl-NL.yml
127
+ - _data/locales/ps‑AF.yml
124
128
  - _data/locales/pt-BR.yml
125
129
  - _data/locales/ru-RU.yml
126
130
  - _data/locales/sl-SI.yml
@@ -128,6 +132,7 @@ files:
128
132
  - _data/locales/th.yml
129
133
  - _data/locales/tr-TR.yml
130
134
  - _data/locales/uk-UA.yml
135
+ - _data/locales/ur-PK.yml
131
136
  - _data/locales/vi-VN.yml
132
137
  - _data/locales/zh-CN.yml
133
138
  - _data/locales/zh-TW.yml
@@ -146,6 +151,7 @@ files:
146
151
  - _includes/datetime.html
147
152
  - _includes/embed/audio.html
148
153
  - _includes/embed/bilibili.html
154
+ - _includes/embed/spotify.html
149
155
  - _includes/embed/twitch.html
150
156
  - _includes/embed/video.html
151
157
  - _includes/embed/youtube.html
@@ -161,10 +167,10 @@ files:
161
167
  - _includes/notification.html
162
168
  - _includes/origin-type.html
163
169
  - _includes/pageviews/goatcounter.html
164
- - _includes/post-description.html
165
170
  - _includes/post-nav.html
166
171
  - _includes/post-paginator.html
167
172
  - _includes/post-sharing.html
173
+ - _includes/post-summary.html
168
174
  - _includes/read-time.html
169
175
  - _includes/refactor-content.html
170
176
  - _includes/related-posts.html
@@ -220,15 +226,13 @@ files:
220
226
  - assets/404.html
221
227
  - assets/css/jekyll-theme-chirpy.scss
222
228
  - assets/feed.xml
223
- - assets/img/favicons/android-chrome-192x192.png
224
- - assets/img/favicons/android-chrome-512x512.png
225
229
  - assets/img/favicons/apple-touch-icon.png
226
- - assets/img/favicons/browserconfig.xml
227
- - assets/img/favicons/favicon-16x16.png
228
- - assets/img/favicons/favicon-32x32.png
230
+ - assets/img/favicons/favicon-96x96.png
229
231
  - assets/img/favicons/favicon.ico
230
- - assets/img/favicons/mstile-150x150.png
232
+ - assets/img/favicons/favicon.svg
231
233
  - assets/img/favicons/site.webmanifest
234
+ - assets/img/favicons/web-app-manifest-192x192.png
235
+ - assets/img/favicons/web-app-manifest-512x512.png
232
236
  - assets/js/data/mathjax.js
233
237
  - assets/js/data/search.json
234
238
  - assets/js/data/swconf.js
@@ -1,30 +0,0 @@
1
- {%- comment -%}
2
- Get post description or generate it from the post content.
3
- {%- endcomment -%}
4
-
5
- {%- capture description -%}
6
- {%- if post.description -%}
7
- {{- post.description -}}
8
- {%- else -%}
9
- {% comment %}
10
- Remove the line number of the code snippet.
11
- {% endcomment %}
12
- {%- assign content = post.content -%}
13
-
14
- {%- if content contains '<td class="rouge-gutter gl"><pre class="lineno">' -%}
15
- {%- assign content = content | replace: '<td class="rouge-gutter gl"><pre class="lineno">', '<!-- <td class="rouge-gutter gl"><pre class="lineno">' -%}
16
- {%- assign content = content | replace: '</td><td class="rouge-code">', '</td> --><td class="rouge-code">' -%}
17
- {%- endif -%}
18
-
19
- {{- content | strip_html | newline_to_br | replace: '<br />', ' ' | strip_newlines -}}
20
- {%- endif -%}
21
- {%- endcapture -%}
22
-
23
- {%- if include.json -%}
24
- {%- assign description = description | jsonify -%}
25
- {%- else -%}
26
- {%- assign max_length = include.max_length | default: 200 -%}
27
- {%- assign description = description | strip | truncate: max_length -%}
28
- {%- endif -%}
29
-
30
- {{- description -}}
@@ -1,13 +0,0 @@
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>
Binary file
Binary file
Binary file