Skip to content

Commit bf93d13

Browse files
committed
Update critical file(s) according to Chirpy v5.0.0
1 parent 23942a9 commit bf93d13

File tree

7 files changed

+127
-28
lines changed

7 files changed

+127
-28
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", "~> 4.3", ">= 4.3.4"
5+
gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.0"
66

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

_config.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,15 @@ avatar:
8787
# boolean type, the global switch for ToC in posts.
8888
toc: true
8989

90-
disqus:
91-
comments: false # boolean type, the global switch for posts comments.
92-
shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
90+
comments:
91+
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
92+
# The active options are as follows:
93+
disqus:
94+
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
95+
# utterances settings › https://utteranc.es/
96+
utterances:
97+
repo: # <gh-username>/<repo>
98+
issue_term: # < url | pathname | title | ...>
9399

94100
paginate: 10
95101

@@ -111,7 +117,6 @@ collections:
111117
output: true
112118
sort_by: order
113119

114-
115120
defaults:
116121
-
117122
scope:
@@ -136,7 +141,6 @@ defaults:
136141
values:
137142
layout: page
138143
permalink: /:title/
139-
dynamic_title: true # Hide title in mobile screens.
140144

141145
sass:
142146
style: compressed

_data/locales/en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ not_found:
5959
# ----- Posts related labels -----
6060

6161
post:
62-
published: 'on'
62+
written_by: By
63+
posted: Posted
6364
updated: Updated
6465
timeago:
6566
day: days ago

_data/locales/id-ID.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ not_found:
5959
# ----- Posts related labels -----
6060

6161
post:
62-
published: "pada"
62+
written_by: Oleh
63+
posted: Diterbitkan
6364
updated: Diperbarui
6465
timeago:
6566
day: hari yang lalu

_data/locales/ko-KR.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# The layout text of site
2+
3+
# ----- Commons label -----
4+
5+
layout:
6+
post: 포스트
7+
category: 카테고리
8+
tag: 태그
9+
10+
# The tabs of sidebar
11+
tabs:
12+
# format: <filename_without_extension>: <value>
13+
home:
14+
categories: 카테고리
15+
tags: 태그
16+
archives: 아카이브
17+
about: 정보
18+
19+
# the text displayed in the search bar & search results
20+
search:
21+
hint: 검색
22+
cancel: 취소
23+
no_results: 검색 결과가 없습니다.
24+
25+
panel:
26+
lastmod: 최근 업데이트
27+
trending_tags: 인기 태그
28+
toc: 바로가기
29+
30+
# The liquid date format › http://strftime.net/
31+
date_format:
32+
tooltip: '%F, %R %z'
33+
post:
34+
long: '%Y년 %m월 %d일'
35+
short: '%m월 %d일'
36+
archive_month: '%b월'
37+
38+
copyright:
39+
# Shown at the bottom of the post
40+
license:
41+
template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다.
42+
name: CC BY 4.0
43+
link: https://creativecommons.org/licenses/by/4.0/
44+
45+
# Displayed in the footer
46+
brief: 일부 권리 보유
47+
verbose: >-
48+
명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의
49+
Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다.
50+
51+
meta: Powered by :PLATFORM with :THEME theme.
52+
53+
not_found:
54+
statment: 해당 URL은 존재하지 않습니다.
55+
hint_template: :HEAD_BAK을 눌러 다시 찾거나 :ARCHIVES_PAGE에서 검색해 주세요.
56+
head_back: 홈으로 돌아가기
57+
archives_page: 아카이브 페이지
58+
59+
# ----- Posts related labels -----
60+
61+
post:
62+
written_by: By
63+
posted: 게시
64+
updated: 업데이트
65+
timeago:
66+
day: 일 전
67+
hour: 시간 전
68+
minute: 분 전
69+
just_now: 방금
70+
words: 단어
71+
pageview_measure: 조회
72+
read_time:
73+
unit:
74+
prompt: 읽는 시간
75+
relate_posts: 관련된 글
76+
share: 공유하기
77+
button:
78+
next: 다음 글
79+
previous: 이전 글
80+
copy_code:
81+
succeed: 복사되었습니다!
82+
share_link:
83+
title: 링크 복사하기
84+
succeed: 링크가 복사되었습니다!
85+
# pinned prompt of posts list on homepage
86+
pin_prompt:
87+
88+
# categories page
89+
categories:
90+
category_measure: 카테고리
91+
post_measure: 포스트

_data/locales/zh-CN.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ not_found:
5858
# ----- Posts related labels -----
5959

6060
post:
61-
published: 发表于
61+
written_by: 作者
62+
posted: 发表于
6263
updated: 更新于
6364
timeago:
6465
day: 天前

tools/deploy.sh

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ flush() {
9898

9999
shopt -s dotglob nullglob
100100
mv "$_backup_dir"/* .
101+
[[ -f ".nojekyll" ]] || echo "" >".nojekyll"
101102
}
102103

103104
deploy() {
@@ -134,25 +135,25 @@ main() {
134135
while (($#)); do
135136
opt="$1"
136137
case $opt in
137-
-c | --config)
138-
_config="$2"
139-
shift
140-
shift
141-
;;
142-
--dry-run)
143-
# build & test, but not deploy
144-
_opt_dry_run=true
145-
shift
146-
;;
147-
-h | --help)
148-
help
149-
exit 0
150-
;;
151-
*)
152-
# unknown option
153-
help
154-
exit 1
155-
;;
138+
-c | --config)
139+
_config="$2"
140+
shift
141+
shift
142+
;;
143+
--dry-run)
144+
# build & test, but not deploy
145+
_opt_dry_run=true
146+
shift
147+
;;
148+
-h | --help)
149+
help
150+
exit 0
151+
;;
152+
*)
153+
# unknown option
154+
help
155+
exit 1
156+
;;
156157
esac
157158
done
158159

0 commit comments

Comments
 (0)