Skip to content

Commit

Permalink
Update critical file(s) according to Chirpy v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscibot committed Jan 2, 2022
1 parent 23942a9 commit bf93d13
Show file tree
Hide file tree
Showing 7 changed files with 127 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.4"
gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.0"

group :test do
gem "html-proofer", "~> 3.18"
Expand Down
14 changes: 9 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,15 @@ avatar:
# boolean type, the global switch for ToC in posts.
toc: true

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

paginate: 10

Expand All @@ -111,7 +117,6 @@ collections:
output: true
sort_by: order


defaults:
-
scope:
Expand All @@ -136,7 +141,6 @@ defaults:
values:
layout: page
permalink: /:title/
dynamic_title: true # Hide title in mobile screens.

sass:
style: compressed
Expand Down
3 changes: 2 additions & 1 deletion _data/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ not_found:
# ----- Posts related labels -----

post:
published: 'on'
written_by: By
posted: Posted
updated: Updated
timeago:
day: days ago
Expand Down
3 changes: 2 additions & 1 deletion _data/locales/id-ID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ not_found:
# ----- Posts related labels -----

post:
published: "pada"
written_by: Oleh
posted: Diterbitkan
updated: Diperbarui
timeago:
day: hari yang lalu
Expand Down
91 changes: 91 additions & 0 deletions _data/locales/ko-KR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# The layout text of site

# ----- Commons label -----

layout:
post: 포스트
category: 카테고리
tag: 태그

# The tabs of sidebar
tabs:
# format: <filename_without_extension>: <value>
home:
categories: 카테고리
tags: 태그
archives: 아카이브
about: 정보

# the text displayed in the search bar & search results
search:
hint: 검색
cancel: 취소
no_results: 검색 결과가 없습니다.

panel:
lastmod: 최근 업데이트
trending_tags: 인기 태그
toc: 바로가기

# The liquid date format › http://strftime.net/
date_format:
tooltip: '%F, %R %z'
post:
long: '%Y년 %m월 %d일'
short: '%m월 %d일'
archive_month: '%b월'

copyright:
# Shown at the bottom of the post
license:
template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다.
name: CC BY 4.0
link: https://creativecommons.org/licenses/by/4.0/

# Displayed in the footer
brief: 일부 권리 보유
verbose: >-
명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의
Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다.
meta: Powered by :PLATFORM with :THEME theme.

not_found:
statment: 해당 URL은 존재하지 않습니다.
hint_template: :HEAD_BAK을 눌러 다시 찾거나 :ARCHIVES_PAGE에서 검색해 주세요.
head_back: 홈으로 돌아가기
archives_page: 아카이브 페이지

# ----- Posts related labels -----

post:
written_by: By
posted: 게시
updated: 업데이트
timeago:
day: 일 전
hour: 시간 전
minute: 분 전
just_now: 방금
words: 단어
pageview_measure: 조회
read_time:
unit:
prompt: 읽는 시간
relate_posts: 관련된 글
share: 공유하기
button:
next: 다음 글
previous: 이전 글
copy_code:
succeed: 복사되었습니다!
share_link:
title: 링크 복사하기
succeed: 링크가 복사되었습니다!
# pinned prompt of posts list on homepage
pin_prompt:

# categories page
categories:
category_measure: 카테고리
post_measure: 포스트
3 changes: 2 additions & 1 deletion _data/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ not_found:
# ----- Posts related labels -----

post:
published: 发表于
written_by: 作者
posted: 发表于
updated: 更新于
timeago:
day: 天前
Expand Down
39 changes: 20 additions & 19 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ flush() {

shopt -s dotglob nullglob
mv "$_backup_dir"/* .
[[ -f ".nojekyll" ]] || echo "" >".nojekyll"
}

deploy() {
Expand Down Expand Up @@ -134,25 +135,25 @@ main() {
while (($#)); do
opt="$1"
case $opt in
-c | --config)
_config="$2"
shift
shift
;;
--dry-run)
# build & test, but not deploy
_opt_dry_run=true
shift
;;
-h | --help)
help
exit 0
;;
*)
# unknown option
help
exit 1
;;
-c | --config)
_config="$2"
shift
shift
;;
--dry-run)
# build & test, but not deploy
_opt_dry_run=true
shift
;;
-h | --help)
help
exit 0
;;
*)
# unknown option
help
exit 1
;;
esac
done

Expand Down

0 comments on commit bf93d13

Please sign in to comment.