From 1d16d381fdd5e00e26f77961c5dbd047dd7eb076 Mon Sep 17 00:00:00 2001 From: Travis-CI Date: Wed, 21 Jul 2021 16:54:21 +0000 Subject: [PATCH] Update critical file(s) according to Chirpy v4.1.0 --- Gemfile | 2 +- _config.yml | 20 ++++++++-- _data/date_format.yml | 7 ---- _data/label.yml | 19 --------- _data/locales/en.yml | 87 +++++++++++++++++++++++++++++++++++++++++ _data/locales/zh-CN.yml | 86 ++++++++++++++++++++++++++++++++++++++++ _data/rights.yml | 11 ------ 7 files changed, 190 insertions(+), 42 deletions(-) delete mode 100644 _data/date_format.yml delete mode 100644 _data/label.yml create mode 100644 _data/locales/en.yml create mode 100644 _data/locales/zh-CN.yml delete mode 100644 _data/rights.yml diff --git a/Gemfile b/Gemfile index d70f910..07ffab1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.2" +gem "jekyll-theme-chirpy", "~> 4.1", ">= 4.1.0" group :jekyll_plugins do # If you have any plugins, put them here! diff --git a/_config.yml b/_config.yml index 6608f19..6354c7a 100644 --- a/_config.yml +++ b/_config.yml @@ -7,14 +7,21 @@ theme: jekyll-theme-chirpy # change below value to '/projectname'. baseurl: '' -# the HTML language tag › https://www.w3.org/International/questions/qa-choosing-language-tags -lang: en-US +# The language of the site layout › http://www.lingoes.net/en/translator/langcode.htm +# Go to folder '_data/locales' to check the available language options +lang: en + +# The lang attribute of HTML › http://www.lingoes.net/en/translator/langcode.htm +# We can specify a language different from the layout of the content. +# If it is not assigned, the site will use the value of 'lang' instead. +content_lang: '' # Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone timezone: Asia/Shanghai # jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md -# -------------------------- +# ↓ -------------------------- + title: Chirpy # the main title tagline: A text-focused Jekyll theme # it will display as the sub-title @@ -47,7 +54,9 @@ social: # - https://www.linkedin.com/in/username google_site_verification: google_meta_tag_verification # change to your verification string -# -------------------------- + +# ↑ -------------------------- + google_analytics: id: '' # fill in your Google Analytics ID @@ -164,3 +173,6 @@ jekyll-archives: permalinks: tag: /tags/:name/ category: /categories/:name/ + +# Outdated configuration warning +outdated: '-- Missing configuration options! --' diff --git a/_data/date_format.yml b/_data/date_format.yml deleted file mode 100644 index 3c7bc79..0000000 --- a/_data/date_format.yml +++ /dev/null @@ -1,7 +0,0 @@ -# The date format - -tooltip: "%a, %b %e, %Y, %l:%M %p %z" - -post: - long: "%b %e, %Y" - short: "%b %e" diff --git a/_data/label.yml b/_data/label.yml deleted file mode 100644 index 11cccf4..0000000 --- a/_data/label.yml +++ /dev/null @@ -1,19 +0,0 @@ -# The label text of site. - -panel: - lastmod: Recent Update - trending_tags: Trending Tags - toc: Contents - -post: - relate_posts: Further Reading - share: Share - button: - next: Newer - previous: Older - -search_hint: Search # text show on search bar - -pin_prompt: Pinned # pinned prompt - -read_time_unit: min # see posts' time to read diff --git a/_data/locales/en.yml b/_data/locales/en.yml new file mode 100644 index 0000000..d20e2f6 --- /dev/null +++ b/_data/locales/en.yml @@ -0,0 +1,87 @@ +# The layout text of site + +# ----- Commons label ----- + +layout: + post: Post + category: Category + tag: Tag + +# The tabs of sidebar +tabs: + # format: : + home: Home + categories: Categories + tags: Tags + archives: Archives + about: About + +# text displayed in the search bar +search: + hint: search + cancel: Cancel + +panel: + lastmod: Recent Update + trending_tags: Trending Tags + toc: Contents + +# The liquid date format › http://strftime.net/ +date_format: + tooltip: '%a, %b %e, %Y, %l:%M %p %z' + post: + long: '%b %e, %Y' + short: '%b %e' + archive_month: '%b' + +copyright: + # Shown at the bottom of the post + license: + template: This post is licensed under :LICENSE_NAME by the author. + name: CC BY 4.0 + link: https://creativecommons.org/licenses/by/4.0/ + + # Displayed in the footer + brief: Some rights reserved. + verbose: >- + Except where otherwise noted, the blog posts on this site are licensed + under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author. + +meta: Powered by :PLATFORM with :THEME theme. + +not_found: + statment: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. + hint_template: :HEAD_BAK to try finding it again, or search for it on the :ARCHIVES_PAGE. + head_back: Head back Home + archives_page: Archives page + +# ----- Posts related labels ----- + +post: + published: 'on' + updated: Updated + timeago: + day: d ago + hour: hr ago + minute: min ago + just_now: just now + words: words + pageview_measure: views + read_time: + unit: min + prompt: read + relate_posts: Further Reading + share: Share + button: + next: Newer + previous: Older + copy: + title: Copy link + succeed: Link copied successfully! + # pinned prompt of posts list on homepage + pin_prompt: Pinned + +# categories page +categories: + category_measure: categories + post_measure: posts diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml new file mode 100644 index 0000000..0f896d6 --- /dev/null +++ b/_data/locales/zh-CN.yml @@ -0,0 +1,86 @@ +# The layout text of site + +# ----- Commons label ----- + +layout: + post: 文章 + category: 分类 + tag: 标签 + +# The tabs of sidebar +tabs: + # format: : + home: 首页 + categories: 分类 + tags: 标签 + archives: 归档 + about: 关于 + +# text displayed in the search bar +search: + hint: 搜索 + cancel: 取消 + +panel: + lastmod: 最近更新 + trending_tags: 热门标签 + toc: 目录 + +# The liquid date format › http://strftime.net/ +date_format: + tooltip: '%a, %F, %R %z' + post: + long: '%F' + short: '%m-%d' + archive_month: '%m月' + +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: >- + 除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。 + +meta: 本站由 :PLATFORM 生成,采用 :THEME 主题。 + +not_found: + statment: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。 + hint_template: :HEAD_BAK尝试再次查找它,或在:ARCHIVES_PAGE上搜索它。 + head_back: 返回主页 + archives_page: 归档页面 + +# ----- Posts related labels ----- + +post: + published: 发表于 + updated: 更新于 + timeago: + day: 天前 + hour: 小时前 + minute: 分钟前 + just_now: 刚刚 + words: 字 + pageview_measure: 次浏览 + read_time: + unit: 分钟 + prompt: 阅读 + relate_posts: 相关文章 + share: 分享 + button: + next: 下一篇 + previous: 上一篇 + copy: + title: 分享链接 + succeed: 链接已复制! + # pinned prompt of posts list on homepage + pin_prompt: 顶置 + +# categories page +categories: + category_measure: 个分类 + post_measure: 篇文章 diff --git a/_data/rights.yml b/_data/rights.yml deleted file mode 100644 index f6fdd42..0000000 --- a/_data/rights.yml +++ /dev/null @@ -1,11 +0,0 @@ -# License data - -license: - name: CC BY 4.0 - link: "https://creativecommons.org/licenses/by/4.0/" - -brief: Some rights reserved. - -verbose: >- - Except where otherwise noted, the blog posts on this site are licensed - under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author.