Update critical file(s) according to Chirpy v5.3.1

This commit is contained in:
Travis-CI 2022-10-25 13:31:31 +00:00
parent 1b74cf9a36
commit d9428918ed
13 changed files with 45 additions and 20 deletions

View File

@ -2,10 +2,13 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
# 2 space indentation
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
trim_trailing_whitespace = true trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file # Unix-style newlines with a newline ending every file
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
[*.js]
indent_size = 4

View File

@ -1,4 +1,4 @@
name: "Build and deploy" name: "Build and Deploy"
on: on:
push: push:
branches: branches:
@ -60,7 +60,6 @@ jobs:
path: "_site${{ steps.pages.outputs.base_path }}" path: "_site${{ steps.pages.outputs.base_path }}"
deploy: deploy:
name: "Deploy site"
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
!.husky !.husky
!.commitlintrc.json !.commitlintrc.json
!.versionrc.json !.versionrc.json
!.stylelintrc.json
# bundler cache # bundler cache
_site _site

View File

@ -2,7 +2,7 @@
source "https://rubygems.org" 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 group :test do
gem "html-proofer", "~> 3.18" gem "html-proofer", "~> 3.18"

View File

@ -12,8 +12,6 @@ baseurl: ''
# otherwise, the layout language will use the default value of 'en'. # otherwise, the layout language will use the default value of 'en'.
lang: 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 # Change to your timezone http://www.timezoneconverter.com/cgi-bin/findzone/findzone
timezone: timezone:
@ -41,7 +39,7 @@ social:
# Change to your full name. # Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer # It will be displayed as the default author of the posts and the copyright owner in the Footer
name: your_full_name name: your_full_name
email: example@doamin.com # change to your email address email: example@domain.com # change to your email address
links: links:
# The first element serves as the copyright owner's link # The first element serves as the copyright owner's link
- https://twitter.com/username # change to your twitter homepage - https://twitter.com/username # change to your twitter homepage
@ -99,13 +97,14 @@ comments:
issue_term: # < url | pathname | title | ...> issue_term: # < url | pathname | title | ...>
# Giscus options https://giscus.app # Giscus options https://giscus.app
giscus: giscus:
repo: # <gh-username>/<repo> repo: # <gh-username>/<repo>
repo_id: repo_id:
category: category:
category_id: category_id:
mapping: # optional, default to 'pathname' mapping: # optional, default to 'pathname'
input_position: # optional, default to 'bottom' input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang` 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 # Self-hosted static assets, optional https://github.com/cotes2020/chirpy-static-assets
assets: assets:

View File

@ -33,7 +33,7 @@ search:
js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js
mermaid: 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: dayjs:
js: js:
@ -53,7 +53,7 @@ lozad:
js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js
clipboard: 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: polyfill:
js: https://polyfill.io/v3/polyfill.min.js?features=es6 js: https://polyfill.io/v3/polyfill.min.js?features=es6

View File

@ -22,7 +22,7 @@ search:
js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js
mermaid: mermaid:
js: /assets/lib/mermaid-8.13.10/mermaid.min.js js: /assets/lib/mermaid-9.1.7/mermaid.min.js
dayjs: dayjs:
js: js:

View File

@ -73,6 +73,16 @@ post:
# pinned prompt of posts list on homepage # pinned prompt of posts list on homepage
pin_prompt: Pinned pin_prompt: Pinned
# Date time format.
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
df:
post:
strftime: '%b %e, %Y'
dayjs: 'll'
archives:
strftime: '%b'
dayjs: 'MMM'
# categories page # categories page
categories: categories:
category_measure: category_measure:

View File

@ -73,6 +73,13 @@ post:
# pinned prompt of posts list on homepage # pinned prompt of posts list on homepage
pin_prompt: pin_prompt:
# Date time format.
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
df:
post:
strftime: '%Y/%m/%d'
dayjs: 'YYYY/MM/DD'
# categories page # categories page
categories: categories:
category_measure: 카테고리 category_measure: 카테고리

View File

@ -67,11 +67,18 @@ post:
copy_code: copy_code:
succeed: 已复制! succeed: 已复制!
share_link: share_link:
title: 分享链接 title: 分享链接
succeed: 链接已复制! succeed: 链接已复制!
# pinned prompt of posts list on homepage # pinned prompt of posts list on homepage
pin_prompt: 顶置 pin_prompt: 顶置
# Date time format.
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
df:
post:
strftime: '%Y/%m/%d'
dayjs: 'YYYY/MM/DD'
# categories page # categories page
categories: categories:
category_measure: 个分类 category_measure: 个分类

View File

@ -3,4 +3,3 @@ layout: archives
icon: fas fa-archive icon: fas fa-archive
order: 3 order: 3
--- ---