Skip to content

Commit 5218e3b

Browse files
committed
chore: upgrade Chirpy theme version from 7.3.1 to 7.4.0
Features: - add support for embed spotify ([#2615](cotes2020/jekyll-theme-chirpy#2515)) Bug Fixes: - avoid unconfigured social options in sidebar ([#2507](cotes2020/jekyll-theme-chirpy#2507)) - correct GoatCounter pageviews extraction ([#2420](cotes2020/jekyll-theme-chirpy#2420)) - resolve discrepancy in lqip between post and main page ([#2453](cotes2020/jekyll-theme-chirpy#2453)) - restore blurry animation for homepage LQIP ([#2551](cotes2020/jekyll-theme-chirpy#2551)) - **search**: restore full-text search for posts with description ([#2557](cotes2020/jekyll-theme-chirpy#2557))
1 parent e6ba253 commit 5218e3b

File tree

14 files changed

+39
-22
lines changed

14 files changed

+39
-22
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
gem "jekyll-theme-chirpy", "~> 7.3", ">= 7.3.1"
5+
gem "jekyll-theme-chirpy", "~> 7.4"
66

77
gem "html-proofer", "~> 5.0", group: :test
88

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ theme: jekyll-theme-chirpy
88
# otherwise, the layout language will use the default value of 'en'.
99
lang: en
1010

11-
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
11+
# Change to your timezone › https://zones.arilyn.cc
1212
timezone: Asia/Seoul
1313

1414
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md

_data/origin/cors.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ toc:
2525
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/tocbot.min.js
2626

2727
fontawesome:
28-
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/css/all.min.css
28+
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.1.0/css/all.min.css
2929

3030
search:
3131
js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js
3232

3333
mermaid:
34-
js: https://cdn.jsdelivr.net/npm/mermaid@11.9.0/dist/mermaid.min.js
34+
js: https://cdn.jsdelivr.net/npm/mermaid@11.12.0/dist/mermaid.min.js
3535

3636
dayjs:
3737
js:
38-
common: https://cdn.jsdelivr.net/npm/[email protected].13/dayjs.min.js
39-
locale: https://cdn.jsdelivr.net/npm/[email protected].13/locale/:LOCALE.js
40-
relativeTime: https://cdn.jsdelivr.net/npm/[email protected].13/plugin/relativeTime.js
41-
localizedFormat: https://cdn.jsdelivr.net/npm/[email protected].13/plugin/localizedFormat.js
38+
common: https://cdn.jsdelivr.net/npm/[email protected].18/dayjs.min.js
39+
locale: https://cdn.jsdelivr.net/npm/[email protected].18/locale/:LOCALE.js
40+
relativeTime: https://cdn.jsdelivr.net/npm/[email protected].18/plugin/relativeTime.js
41+
localizedFormat: https://cdn.jsdelivr.net/npm/[email protected].18/plugin/localizedFormat.js
4242

4343
glightbox:
4444
css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/glightbox.min.css

_includes/favicons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png" />
99
<link rel="icon" type="image/png" href="{{ favicon_path }}/favicon-96x96.png" sizes="96x96" />
1010
<link rel="icon" type="image/svg+xml" href="{{ favicon_path }}/favicon.svg" />
11+
<link rel="shortcut icon" href="{{ favicon_path }}/favicon.ico" />
1112
{% if site.pwa.enabled %}
1213
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest" />
1314
{% endif %}
14-
<link rel="shortcut icon" href="{{ favicon_path }}/favicon.ico" />
1515
<meta name="apple-mobile-web-app-title" content="{{ site.title }}" />
1616
<meta name="application-name" content="{{ site.title }}" />
1717
<meta name="theme-color" content="#ffffff" />

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121

122122
<!-- Bootstrap -->
123123
{% unless jekyll.environment == 'production' -%}
124-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].6/dist/css/bootstrap.min.css">
124+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].8/dist/css/bootstrap.min.css">
125125
{%- endunless %}
126126

127127
<!-- Theme style -->

_includes/refactor-content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270

271271
{% if page.layout == 'home' %}
272272
<!-- create the image wrapper -->
273-
{% assign _wrapper_start = '<div class="preview-img ' | append: _class | append: '">' %}
273+
{% assign _wrapper_start = '<div class="preview-img ' | append: _wrapper_class | append: '">' %}
274274

275275
{% assign _img_content = _img_content | append: _wrapper_start %}
276276
{% assign _right = _right | prepend: '></div' %}

_includes/sidebar.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,20 @@
5757
{% endunless %}
5858

5959
{% for entry in site.data.contact %}
60+
{%- assign url = null -%}
61+
6062
{% case entry.type %}
6163
{% when 'github', 'twitter' %}
64+
{%- unless site[entry.type].username -%}
65+
{%- continue -%}
66+
{%- endunless -%}
6267
{%- capture url -%}
6368
https://{{ entry.type }}.com/{{ site[entry.type].username }}
6469
{%- endcapture -%}
6570
{% when 'email' %}
71+
{%- unless site.social.email -%}
72+
{%- continue -%}
73+
{%- endunless -%}
6674
{% assign obfs_email = site.social.email | encode_email | split: '@' %}
6775
{%- capture url -%}
6876
javascript:location.href = 'mailto:' + ['{{ obfs_email[0] }}','{{ obfs_email[1] }}'].join('@')

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<h1 class="card-title my-2 mt-md-0">{{ post.title }}</h1>
8888

8989
<div class="card-text content mt-0 mb-3">
90-
<p>{% include post-description.html %}</p>
90+
<p>{% include post-summary.html %}</p>
9191
</div>
9292

9393
<div class="post-meta flex-grow-1 d-flex align-items-end">

_sass/base/_base.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,14 @@ main {
314314

315315
.embed-audio {
316316
width: 100%;
317-
display: block;
317+
318+
&.file {
319+
display: block;
320+
}
321+
322+
&.spotify {
323+
border-radius: 14px;
324+
}
318325

319326
@extend %img-caption;
320327
}

_sass/base/_syntax.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
margin-bottom: 0;
2525
font-size: v.$code-font-size;
2626
line-height: 1.4rem;
27-
word-wrap: normal; /* Fixed Safari overflow-x */
2827
}
2928

3029
table {

0 commit comments

Comments
 (0)