From d9428918eda59f796d89fb3bd9af07c0f901f55d Mon Sep 17 00:00:00 2001 From: Travis-CI Date: Tue, 25 Oct 2022 13:31:31 +0000 Subject: [PATCH] Update critical file(s) according to Chirpy v5.3.1 --- .editorconfig | 5 ++++- .github/workflows/pages-deploy.yml | 5 ++--- .gitignore | 1 + Gemfile | 2 +- _config.yml | 13 ++++++------- _data/assets/cross_origin.yml | 4 ++-- _data/assets/self_host.yml | 2 +- _data/locales/en.yml | 10 ++++++++++ _data/locales/hu-HU.yml | 4 ++-- _data/locales/ko-KR.yml | 7 +++++++ _data/locales/pt-BR.yml | 2 +- _data/locales/zh-CN.yml | 9 ++++++++- _tabs/archives.md | 1 - 13 files changed, 45 insertions(+), 20 deletions(-) diff --git a/.editorconfig b/.editorconfig index cdded46..8dccd84 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,10 +2,13 @@ root = true [*] charset = utf-8 -# 2 space indentation indent_style = space indent_size = 2 trim_trailing_whitespace = true # Unix-style newlines with a newline ending every file end_of_line = lf insert_final_newline = true + + +[*.js] +indent_size = 4 diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 821a08b..b2da8d9 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -1,4 +1,4 @@ -name: "Build and deploy" +name: "Build and Deploy" on: push: branches: @@ -8,7 +8,7 @@ on: - .gitignore - README.md - LICENSE - + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -60,7 +60,6 @@ jobs: path: "_site${{ steps.pages.outputs.base_path }}" deploy: - name: "Deploy site" environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.gitignore b/.gitignore index 7b9e168..52a3277 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !.husky !.commitlintrc.json !.versionrc.json +!.stylelintrc.json # bundler cache _site diff --git a/Gemfile b/Gemfile index c81c07d..6ba7a12 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.0" +gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.1" group :test do gem "html-proofer", "~> 3.18" diff --git a/_config.yml b/_config.yml index d0a1023..f3a1229 100644 --- a/_config.yml +++ b/_config.yml @@ -12,8 +12,6 @@ baseurl: '' # otherwise, the layout language will use the default value of 'en'. lang: en -# Additional parameters for datetime localization, optional. › https://github.com/iamkun/dayjs/tree/dev/src/locale -prefer_datetime_locale: # Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone timezone: @@ -41,7 +39,7 @@ social: # Change to your full name. # It will be displayed as the default author of the posts and the copyright owner in the Footer name: your_full_name - email: example@doamin.com # change to your email address + email: example@domain.com # change to your email address links: # The first element serves as the copyright owner's link - https://twitter.com/username # change to your twitter homepage @@ -99,13 +97,14 @@ comments: issue_term: # < url | pathname | title | ...> # Giscus options › https://giscus.app giscus: - repo: # / + repo: # / repo_id: category: category_id: - mapping: # optional, default to 'pathname' - input_position: # optional, default to 'bottom' - lang: # optional, default to the value of `site.lang` + mapping: # optional, default to 'pathname' + input_position: # optional, default to 'bottom' + lang: # optional, default to the value of `site.lang` + reactions_enabled: # optional, default to the value of `1` # Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets assets: diff --git a/_data/assets/cross_origin.yml b/_data/assets/cross_origin.yml index 13e37cf..317354a 100644 --- a/_data/assets/cross_origin.yml +++ b/_data/assets/cross_origin.yml @@ -33,7 +33,7 @@ search: js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js mermaid: - js: https://cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js + js: https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.min.js dayjs: js: @@ -53,7 +53,7 @@ lozad: js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js clipboard: - js: https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js + js: https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js polyfill: js: https://polyfill.io/v3/polyfill.min.js?features=es6 diff --git a/_data/assets/self_host.yml b/_data/assets/self_host.yml index ae5a399..4649b56 100644 --- a/_data/assets/self_host.yml +++ b/_data/assets/self_host.yml @@ -22,7 +22,7 @@ search: js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js mermaid: - js: /assets/lib/mermaid-8.13.10/mermaid.min.js + js: /assets/lib/mermaid-9.1.7/mermaid.min.js dayjs: js: diff --git a/_data/locales/en.yml b/_data/locales/en.yml index 14394a6..79b42e1 100644 --- a/_data/locales/en.yml +++ b/_data/locales/en.yml @@ -73,6 +73,16 @@ post: # pinned prompt of posts list on homepage pin_prompt: Pinned +# Date time format. +# See: , +df: + post: + strftime: '%b %e, %Y' + dayjs: 'll' + archives: + strftime: '%b' + dayjs: 'MMM' + # categories page categories: category_measure: diff --git a/_data/locales/hu-HU.yml b/_data/locales/hu-HU.yml index 395a809..f24b8c5 100644 --- a/_data/locales/hu-HU.yml +++ b/_data/locales/hu-HU.yml @@ -38,8 +38,8 @@ copyright: # Displayed in the footer brief: Néhány jog fenntartva. verbose: >- - Az oldalon található tartalmak - Creative Commons Attribution 4.0 International (CC BY 4.0) licenccel rendelkeznek, + Az oldalon található tartalmak + Creative Commons Attribution 4.0 International (CC BY 4.0) licenccel rendelkeznek, hacsak másképp nincs jelezve. meta: Készítve :PLATFORM motorral :THEME témával. diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml index 2fb9391..73e1ded 100644 --- a/_data/locales/ko-KR.yml +++ b/_data/locales/ko-KR.yml @@ -73,6 +73,13 @@ post: # pinned prompt of posts list on homepage pin_prompt: 핀 +# Date time format. +# See: , +df: + post: + strftime: '%Y/%m/%d' + dayjs: 'YYYY/MM/DD' + # categories page categories: category_measure: 카테고리 diff --git a/_data/locales/pt-BR.yml b/_data/locales/pt-BR.yml index 59209ae..831e6d3 100644 --- a/_data/locales/pt-BR.yml +++ b/_data/locales/pt-BR.yml @@ -37,7 +37,7 @@ copyright: # Displayed in the footer brief: Alguns direitos reservados. verbose: >- - Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a + Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor. meta: Feito com :PLATFORM usando o tema :THEME. diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml index 42fcfbc..1463e95 100644 --- a/_data/locales/zh-CN.yml +++ b/_data/locales/zh-CN.yml @@ -67,11 +67,18 @@ post: copy_code: succeed: 已复制! share_link: - title: 分享链接 + title: 分享链接 succeed: 链接已复制! # pinned prompt of posts list on homepage pin_prompt: 顶置 +# Date time format. +# See: , +df: + post: + strftime: '%Y/%m/%d' + dayjs: 'YYYY/MM/DD' + # categories page categories: category_measure: 个分类 diff --git a/_tabs/archives.md b/_tabs/archives.md index 1b42e95..c3abc59 100644 --- a/_tabs/archives.md +++ b/_tabs/archives.md @@ -3,4 +3,3 @@ layout: archives icon: fas fa-archive order: 3 --- -