From 32cd3112ba34a8bad9906633a26519a8694a4b0f Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Tue, 26 Jan 2021 05:13:40 +0800
Subject: [PATCH 01/64] Init commit
---
.editorconfig | 11 ++
.gitattributes | 16 +++
.github/workflows/pages-deploy.yml | 68 ++++++++++
.gitignore | 14 ++
404.html | 20 +++
Gemfile | 22 +++
LICENSE | 21 +++
README.md | 88 ++++++++++++
_config.yml | 207 +++++++++++++++++++++++++++++
_data/contact.yml | 30 +++++
_data/date_format.yml | 7 +
_data/label.yml | 19 +++
_data/rights.yml | 11 ++
_data/share.yml | 27 ++++
_plugins/posts-lastmod-hook.rb | 14 ++
_posts/.placeholder | 1 +
_tabs/about.md | 8 ++
_tabs/archives.md | 7 +
_tabs/categories.md | 6 +
_tabs/tags.md | 6 +
app.js | 8 ++
feed.xml | 60 +++++++++
index.html | 4 +
robots.txt | 10 ++
sw.js | 61 +++++++++
tools/deploy.sh | 73 ++++++++++
tools/test.sh | 67 ++++++++++
27 files changed, 886 insertions(+)
create mode 100644 .editorconfig
create mode 100644 .gitattributes
create mode 100644 .github/workflows/pages-deploy.yml
create mode 100644 .gitignore
create mode 100644 404.html
create mode 100644 Gemfile
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 _config.yml
create mode 100644 _data/contact.yml
create mode 100644 _data/date_format.yml
create mode 100644 _data/label.yml
create mode 100644 _data/rights.yml
create mode 100644 _data/share.yml
create mode 100644 _plugins/posts-lastmod-hook.rb
create mode 100644 _posts/.placeholder
create mode 100644 _tabs/about.md
create mode 100644 _tabs/archives.md
create mode 100644 _tabs/categories.md
create mode 100644 _tabs/tags.md
create mode 100644 app.js
create mode 100644 feed.xml
create mode 100644 index.html
create mode 100644 robots.txt
create mode 100644 sw.js
create mode 100755 tools/deploy.sh
create mode 100755 tools/test.sh
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..cdded46
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+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
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..262d6bd
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,16 @@
+# Set default behavior to automatically normalize line endings.
+* text=auto
+
+# Force bash scripts to always use LF line endings so that if a repo is accessed
+# in Unix via a file share from Windows, the scripts will work.
+*.sh text eol=lf
+
+# Force batch scripts to always use CRLF line endings so that if a repo is accessed
+# in Windows via a file share from Linux, the scripts will work.
+*.{cmd,[cC][mM][dD]} text eol=crlf
+*.{bat,[bB][aA][tT]} text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.ico binary
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
new file mode 100644
index 0000000..2e02375
--- /dev/null
+++ b/.github/workflows/pages-deploy.yml
@@ -0,0 +1,68 @@
+name: 'Automatic build'
+on:
+ push:
+ branches:
+ - main
+ paths-ignore:
+ - .gitignore
+ - README.md
+ - LICENSE
+
+jobs:
+ continuous-delivery:
+
+ runs-on: ubuntu-latest
+
+ env:
+ GEMS_PATH: ~/vendor/bundle
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0 # for posts's lastmod
+
+ - name: Setup Ruby
+ uses: actions/setup-ruby@v1
+ with:
+ ruby-version: 2.7
+
+ - name: Bundle Caching
+ uses: actions/cache@v2
+ with:
+ path: ${{ env.GEMS_PATH }}
+ key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-gems-
+
+ - name: Bundle Install
+ run: |
+ bundle config path ${{ env.GEMS_PATH }}
+ bundle install --jobs 4 --retry 3
+
+ - name: Check baseurl
+ run: |
+ baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")"
+ if [[ -n $baseurl ]]; then
+ echo "BASE_URL=$baseurl" >> $GITHUB_ENV
+ fi
+
+ - name: Build Site
+ env:
+ JEKYLL_ENV: production
+ run: |
+ bundle exec jekyll b -d "_site$BASE_URL"
+
+ - name: Test Site
+ run: |
+ bash tools/test.sh
+
+ - name: Deploy
+ run: |
+ if [[ -n $BASE_URL ]]; then
+ mv _site$BASE_URL _site-rename
+ rm -rf _site
+ mv _site-rename _site
+ fi
+
+ bash tools/deploy.sh
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..de35908
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,14 @@
+# hidden files
+.*
+!.github
+
+# jekyll cache
+_site
+vendor
+
+# rubygem
+*.gem
+
+# npm dependencies
+node_modules
+package-lock.json
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..fd9ff20
--- /dev/null
+++ b/404.html
@@ -0,0 +1,20 @@
+---
+layout: page
+title: "404: Page not found"
+permalink: /404.html
+
+redirect_from:
+ - /norobots/
+ - /assets/
+ - /tabs/
+ - /categories/
+ - /tags/
+ - /posts/
+
+dynamic_title: true
+---
+
+
+
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
+
Head back Home to try finding it again, or search for it on the Archives page.
+
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..78ba91d
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,22 @@
+source "https://rubygems.org"
+
+gem "jekyll-theme-chirpy"
+
+# If you have any plugins, put them here!
+group :jekyll_plugins do
+ # gem "jekyll-xxx", "~> x.y"
+end
+
+group :test do
+ gem "html-proofer", "~> 3.18"
+end
+
+# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
+# and associated library.
+install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
+ gem "tzinfo", "~> 1.2"
+ gem "tzinfo-data"
+end
+
+# # # Performance-booster for watching directories on Windows
+gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..a6f6c9f
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Cotes Chung
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9cb852d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,88 @@
+# Chirpy Starter
+
+The startup template for [**Jekyll Theme Chirpy**][chirpy].
+
+When installing the `jekyll-theme-chirpy` through [RubyGem][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of variables of the file `_config.yml` from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of `jekyll-theme-chirpy`, you also need to copy other files/directories and site variables from the theme's gem to your Jekyll site. This will be boring, so we extract all the other required things of the theme's gem to help you quickly use `jekyll-theme-chirpy`.
+
+[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
+[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
+
+**File Directory Struct**
+
+```shell
+.
+├── .github
+│ └── workflows
+│ └── pages-deploy.yml # the GitHub Actions workflow
+├── Gemfile
+├── LICENSE
+├── README.md # this file
+├── _config.yml # all variables are from the theme's gem, except the option `theme`
+├── _data # from the theme's gem
+├── _plugins # idem
+├── _tabs # idem
+├── app.js # idem
+├── feed.xml # idem
+├── index.html # idem
+├── 404.html # idem
+├── robots.txt # idem
+└── sw.js # idem
+
+```
+
+## Installation
+
+[Use this template][usetemplate] to generate a new repository, and then execute:
+
+[usetemplate]: https://github.com/cotes2020/chirpy-starter/generate
+
+```
+$ bundle
+```
+
+## Usage
+
+### Customing Stylesheet
+
+Creare a new file `/assets/css/style.scss` in your Jekyll site.
+
+And then add the following content:
+
+```scss
+---
+---
+
+@import {{ site.theme }}
+
+// add your style below
+```
+
+### Changing the Number of Tabs
+
+When adding or deleting files in the `_tabs` folder, you need to complete [Custom Stylesheet](#custom-stylesheet) first, and then add a new line before `@import`:
+
+```scss
+$tab-count: {{ site.tabs | size | plus: 1 }};
+```
+
+### Publishing to GitHub Pages
+
+See the `jekyll-theme-chirpy`'s [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment). Note that in order to use GitHub Actions caching to speed up the deployment, you should add the `Gemfile.lock` file to your repository.
+
+### Updating
+
+Please note that files and directories in this project may change as the [`jekyll-theme-chirpy`][chirpy] is updated. When updating, please ensure that the file directory structure of your Jekyll site is the same as that of this project.
+
+And then execute:
+
+```console
+$ bundle update jekyll-theme-chirpy
+```
+
+## Documentation
+
+See the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
+
+## License
+
+This work is published under [MIT](https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE) License.
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 0000000..568d2de
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1,207 @@
+# import theme
+theme: jekyll-theme-chirpy
+
+# The Site Configuration
+
+# 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
+
+description: >- # used by seo meta and the atom feed
+ A minimal, portfolio, sidebar,
+ bootstrap Jekyll theme with responsive web design
+ and focuses on text presentation.
+
+# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
+url: ''
+
+author: your_full_name # change to your full name
+
+github:
+ username: github_username # change to your github username
+
+twitter:
+ username: twitter_username # change to your twitter username
+
+social:
+ name: your_full_name # it will shows as the copyright owner in Footer
+ email: example@doamin.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
+ - https://github.com/username # change to your github homepage
+ # Uncomment below to add more social links
+ # - https://www.facebook.com/username
+ # - https://www.linkedin.com/in/username
+
+google_site_verification: google_meta_tag_verification # change to your verification string
+# --------------------------
+
+
+# Only if your site type is GitHub Project sites and doesn't have a custom domain,
+# change below value to '/projectname'.
+baseurl: ''
+
+# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
+timezone: Asia/Shanghai
+
+google_analytics:
+ id: '' # Fill with your Google Analytics ID
+ pv:
+ # The Google Analytics pageviews switch.
+ # DO NOT enable it unless you know how to deploy the Google Analytics superProxy.
+ enabled: false
+ # the next options only valid when `google_analytics.pv` is enabled.
+ proxy_url: ''
+ proxy_endpoint: ''
+ cache: false # pv data local cache, good for the users from GFW area.
+
+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
+
+
+# Prefer color scheme setting.
+#
+# Note: Keep empty will follow the system prefer color by default,
+# and there will be a toggle to switch the theme between dark and light
+# on the bottom left of the sidebar.
+#
+# Available options:
+#
+# light - Use the light color scheme
+#
+# dark - Use the dark color scheme
+#
+theme_mode: # [light|dark]
+
+# The CDN endpoint for images.
+# Notice that once it is assigned, the CDN url
+# will be added to all image (site avatar & posts' images) paths starting with '/'
+#
+# e.g. 'https://cdn.com'
+img_cdn: ''
+
+# the avatar on sidebar, support local or CORS resources
+avatar: https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/avatar.jpg
+
+# boolean type, the global switch for ToC in posts.
+toc: true
+
+paginate: 10
+
+kramdown:
+ syntax_highlighter: rouge
+ syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
+ css_class: highlight
+ # default_lang: console
+ span:
+ line_numbers: false
+ block:
+ line_numbers: true
+ start_line: 1
+
+# DO NOT change this unless you're a Pro user on Jekyll and Web development,
+# or you think you're smart enough to change other relevant URLs within this template.
+permalink: /posts/:title/
+
+collections:
+ tabs:
+ output: true
+ sort_by: order
+
+
+defaults:
+ -
+ scope:
+ path: '' # An empty string here means all files in the project
+ type: posts
+ values:
+ layout: post
+ comments: true # Enable comments in posts.
+ toc: true # Display TOC column in posts.
+ breadcrumb:
+ -
+ label: Posts
+ url: /
+ -
+ scope:
+ path: _drafts
+ values:
+ comments: false
+ -
+ scope:
+ path: index.html
+ values:
+ breadcrumb:
+ -
+ label: Posts
+ -
+ scope:
+ path: tags
+ values:
+ breadcrumb:
+ -
+ label: Home
+ url: /
+ -
+ label: Tags
+ url: /tabs/tags/
+ -
+ scope:
+ path: categories
+ values:
+ breadcrumb:
+ -
+ label: Home
+ url: /
+ -
+ label: Categories
+ url: /tabs/categories/
+ -
+ scope:
+ path: ''
+ type: tabs # see `site.collections`
+ values:
+ layout: page
+ dynamic_title: true # Hide title in mobile screens.
+ breadcrumb:
+ -
+ label: Home
+ url: /
+
+sass:
+ style: compressed
+
+compress_html:
+ clippings: all
+ comments: all
+ endings: all
+ profile: false
+ blanklines: false
+ ignore:
+ envs: [development]
+
+exclude:
+ - vendor
+ - Gemfile.lock
+ - Gemfile
+ - tools
+ - docs
+ - README.md
+ - LICENSE
+ - gulpfile.js
+ - node_modules
+ - package.json
+ - package-lock.json
+
+jekyll-archives:
+ enabled: [categories, tags]
+ layouts:
+ category: category
+ tag: tag
+ permalinks:
+ tag: /tags/:name/
+ category: /categories/:name/
diff --git a/_data/contact.yml b/_data/contact.yml
new file mode 100644
index 0000000..1cd8496
--- /dev/null
+++ b/_data/contact.yml
@@ -0,0 +1,30 @@
+# The contact options.
+
+-
+ type: github
+ icon: 'fab fa-github-alt'
+-
+ type: twitter
+ icon: 'fab fa-twitter'
+-
+ type: email
+ icon: 'fas fa-envelope'
+ noblank: true # open link in current tab
+-
+ type: rss
+ icon: 'fas fa-rss'
+ noblank: true
+
+# Uncomment and complete the url below to enable more contact options
+# -
+# type: mastodon
+# icon: 'fab fa-mastodon' # icons powered by
+# url: '' # Fill with your mastodon account page
+# -
+# type: linkedin
+# icon: 'fab fa-linkedin' # icons powered by
+# url: '' # Fill with your Linkedin homepage
+# -
+# type: stack-overflow
+# icon: 'fab fa-stack-overflow'
+# url: '' # Fill with your stackoverflow homepage
diff --git a/_data/date_format.yml b/_data/date_format.yml
new file mode 100644
index 0000000..3c7bc79
--- /dev/null
+++ b/_data/date_format.yml
@@ -0,0 +1,7 @@
+# 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
new file mode 100644
index 0000000..11cccf4
--- /dev/null
+++ b/_data/label.yml
@@ -0,0 +1,19 @@
+# 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/rights.yml b/_data/rights.yml
new file mode 100644
index 0000000..f6fdd42
--- /dev/null
+++ b/_data/rights.yml
@@ -0,0 +1,11 @@
+# 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.
diff --git a/_data/share.yml b/_data/share.yml
new file mode 100644
index 0000000..ecd1b0d
--- /dev/null
+++ b/_data/share.yml
@@ -0,0 +1,27 @@
+# Sharing options at the bottom of the post.
+# Icons from
+
+platforms:
+ -
+ type: Twitter
+ icon: "fab fa-twitter"
+ link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
+ -
+ type: Facebook
+ icon: "fab fa-facebook-square"
+ link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
+ -
+ type: Telegram
+ icon: "fab fa-telegram"
+ link: "https://telegram.me/share?text=TITLE&url=URL"
+
+ # Uncomment below if you need to.
+ # -
+ # type: Linkedin
+ # icon: "fab fa-linkedin"
+ # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
+ #
+ # -
+ # type: Weibo
+ # icon: "fab fa-weibo"
+ # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
diff --git a/_plugins/posts-lastmod-hook.rb b/_plugins/posts-lastmod-hook.rb
new file mode 100644
index 0000000..1fd6ecf
--- /dev/null
+++ b/_plugins/posts-lastmod-hook.rb
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+#
+# Check for changed posts
+
+Jekyll::Hooks.register :posts, :post_init do |post|
+
+ commit_num = `git rev-list --count HEAD "#{ post.path }"`
+
+ if commit_num.to_i > 1
+ lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"`
+ post.data['last_modified_at'] = lastmod_date
+ end
+
+end
diff --git a/_posts/.placeholder b/_posts/.placeholder
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/_posts/.placeholder
@@ -0,0 +1 @@
+
diff --git a/_tabs/about.md b/_tabs/about.md
new file mode 100644
index 0000000..a28ea05
--- /dev/null
+++ b/_tabs/about.md
@@ -0,0 +1,8 @@
+---
+title: About
+icon: fas fa-info
+order: 4
+---
+
+
+> **Note**: Add Markdown syntax content to file `_tabs/about.md` and it will show up on this page.
diff --git a/_tabs/archives.md b/_tabs/archives.md
new file mode 100644
index 0000000..f969f92
--- /dev/null
+++ b/_tabs/archives.md
@@ -0,0 +1,7 @@
+---
+layout: archives
+title: Archives
+icon: fas fa-archive
+order: 3
+---
+
diff --git a/_tabs/categories.md b/_tabs/categories.md
new file mode 100644
index 0000000..3a23c29
--- /dev/null
+++ b/_tabs/categories.md
@@ -0,0 +1,6 @@
+---
+layout: categories
+title: Categories
+icon: fas fa-stream
+order: 1
+---
diff --git a/_tabs/tags.md b/_tabs/tags.md
new file mode 100644
index 0000000..53abc94
--- /dev/null
+++ b/_tabs/tags.md
@@ -0,0 +1,6 @@
+---
+layout: tags
+title: Tags
+icon: fas fa-tags
+order: 2
+---
diff --git a/app.js b/app.js
new file mode 100644
index 0000000..b821164
--- /dev/null
+++ b/app.js
@@ -0,0 +1,8 @@
+---
+layout: compress
+---
+
+/* Registering Service Worker */
+if('serviceWorker' in navigator) {
+ navigator.serviceWorker.register('{{ "/sw.js" | relative_url }}');
+};
diff --git a/feed.xml b/feed.xml
new file mode 100644
index 0000000..d75e8fb
--- /dev/null
+++ b/feed.xml
@@ -0,0 +1,60 @@
+---
+layout: compress
+# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
+---
+
+{% capture source %}
+
+ {{ "/" | absolute_url }}
+ {{ site.title }}
+ {{ site.description }}
+ {{ site.time | date_to_xmlschema }}
+
+ {{ site.author }}
+ {{ "/" | absolute_url }}
+
+
+
+ Jekyll
+ © {{ 'now' | date: '%Y' }} {{ site.author }}
+ {{ site.baseurl }}/assets/img/favicons/favicon.ico
+ {{ site.baseurl }}/assets/img/favicons/favicon-96x96.png
+
+{% for post in site.posts limit: 5 %}
+ {% assign post_absolute_url = post.url | absolute_url %}
+
+ {{ post.title }}
+
+ {{ post.date | date_to_xmlschema }}
+ {% if post.last_modified_at %}
+ {{ post.last_modified_at | date_to_xmlschema }}
+ {% else %}
+ {{ post.date | date_to_xmlschema }}
+ {% endif %}
+ {{ post_absolute_url }}
+
+
+ {{ site.author }}
+
+
+ {% if post.categories %}
+ {% for category in post.categories %}
+
+ {% endfor %}
+ {% endif %}
+
+ {% if post.summary %}
+ {{ post.summary | strip }}
+ {% else %}
+
+ {% include no-linenos.html content=post.content %}
+ {{ content | strip_html | truncate: 400 }}
+
+ {% endif %}
+
+
+{% endfor %}
+
+{% endcapture %}
+{{ source | replace: '&', '&' }}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..1357b08
--- /dev/null
+++ b/index.html
@@ -0,0 +1,4 @@
+---
+layout: home
+# Index page
+---
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 0000000..681b4c6
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,10 @@
+---
+permalink: robots.txt
+# The robots rules
+---
+
+User-agent: *
+
+Disallow: /norobots/
+
+Sitemap: {{ '/sitemap.xml' | absolute_url }}
diff --git a/sw.js b/sw.js
new file mode 100644
index 0000000..dee9898
--- /dev/null
+++ b/sw.js
@@ -0,0 +1,61 @@
+---
+layout: compress
+# PWA service worker
+---
+
+self.importScripts('{{ "/assets/js/data/cache-list.js" | relative_url }}');
+
+var cacheName = 'chirpy-{{ "now" | date: "%Y%m%d.%H%M" }}';
+
+
+function isExcluded(url) {
+ const regex = /(^http(s)?|^\/)/; /* the regex for CORS url or relative url */
+ for (const rule of exclude) {
+ if (!regex.test(url) ||
+ url.indexOf(rule) != -1) {
+ return true;
+ }
+ }
+ return false;
+}
+
+
+self.addEventListener('install', (e) => {
+ self.skipWaiting();
+ e.waitUntil(
+ caches.open(cacheName).then((cache) => {
+ return cache.addAll(include);
+ })
+ );
+});
+
+
+self.addEventListener('fetch', (e) => {
+ e.respondWith(
+ caches.match(e.request).then((r) => {
+ /* console.log('[Service Worker] Fetching resource: ' + e.request.url); */
+ return r || fetch(e.request).then((response) => {
+ return caches.open(cacheName).then((cache) => {
+ if (!isExcluded(e.request.url)) {
+ /* console.log('[Service Worker] Caching new resource: ' + e.request.url); */
+ cache.put(e.request, response.clone());
+ }
+ return response;
+ });
+ });
+ })
+ );
+});
+
+
+self.addEventListener('activate', (e) => {
+ e.waitUntil(
+ caches.keys().then((keyList) => {
+ return Promise.all(keyList.map((key) => {
+ if(key !== cacheName) {
+ return caches.delete(key);
+ }
+ }));
+ })
+ );
+});
diff --git a/tools/deploy.sh b/tools/deploy.sh
new file mode 100755
index 0000000..17a490a
--- /dev/null
+++ b/tools/deploy.sh
@@ -0,0 +1,73 @@
+#!/usr/bin/env bash
+#
+# Deploy the content of _site to 'origin/'
+
+set -eu
+
+PAGES_BRANCH="gh-pages"
+
+_no_branch=false
+_backup_dir="$(mktemp -d)"
+
+init() {
+ if [[ -z ${GITHUB_ACTION+x} ]]; then
+ echo "ERROR: This script is not allowed to run outside of GitHub Action."
+ exit -1
+ fi
+
+ # Gemfile could be changed by `bundle install` in actions workflow
+ if [[ -n $(git ls-files | grep Gemfile.lock) && -n \
+ $(git status Gemfile.lock --porcelain) ]]; then
+ git checkout -- Gemfile.lock
+ fi
+
+ if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
+ _no_branch=true
+ git checkout -b "$PAGES_BRANCH"
+ else
+ git checkout "$PAGES_BRANCH"
+ fi
+}
+
+backup() {
+ mv _site/* "$_backup_dir"
+ mv .git "$_backup_dir"
+
+ # When adding custom domain from Github website,
+ # the CANME only exist on `gh-pages` branch
+ if [[ -f CNAME ]]; then
+ mv CNAME "$_backup_dir"
+ fi
+}
+
+flush() {
+ rm -rf ./*
+ rm -rf .[^.] .??*
+
+ shopt -s dotglob nullglob
+ mv "$_backup_dir"/* .
+}
+
+deploy() {
+ git config --global user.name "GitHub Actions"
+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
+
+ git update-ref -d HEAD
+ git add -A
+ git commit -m "[Automation] Site update No.${GITHUB_RUN_NUMBER}"
+
+ if $_no_branch; then
+ git push -u origin "$PAGES_BRANCH"
+ else
+ git push -f
+ fi
+}
+
+main() {
+ init
+ backup
+ flush
+ deploy
+}
+
+main
diff --git a/tools/test.sh b/tools/test.sh
new file mode 100755
index 0000000..0a22ba0
--- /dev/null
+++ b/tools/test.sh
@@ -0,0 +1,67 @@
+#!/usr/bin/env bash
+#
+# Using HTML-proofer to test site.
+#
+# Requirement: https://github.com/gjtorikian/html-proofer
+#
+# Usage: bash /path/to/test.sh [indicated path]
+
+DEST=_site
+URL_IGNORE=cdn.jsdelivr.net
+
+_build=false
+
+help() {
+ echo "Usage:"
+ echo
+ echo " bash ./tools/test.sh [options]"
+ echo
+ echo "Options:"
+ echo " --build Run Jekyll build before test."
+ echo " -d, --dir Specify the test path."
+ echo " -h, --help Print this information."
+}
+
+if [[ -n $1 && -d $1 ]]; then
+ DEST=$1
+fi
+
+while (($#)); do
+ opt="$1"
+ case $opt in
+ --build)
+ _build=true
+ shift
+ ;;
+ -d | --dir)
+ if [[ ! -d $2 ]]; then
+ echo -e "Error: path '$2' doesn't exist\n"
+ help
+ exit 1
+ fi
+ DEST=$2
+ shift
+ shift
+ ;;
+ -h | --help)
+ help
+ exit 0
+ ;;
+ *)
+ # unknown option
+ help
+ exit 1
+ ;;
+ esac
+done
+
+if $_build; then
+ JEKYLL_ENV=production bundle exec jekyll b
+fi
+
+bundle exec htmlproofer "$DEST" \
+ --disable-external \
+ --check-html \
+ --empty_alt_ignore \
+ --allow_hash_href \
+ --url_ignore $URL_IGNORE
From 7a2365cf12c9632a7ae99b3a0d639506b88ed7fd Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Tue, 2 Feb 2021 01:37:35 +0800
Subject: [PATCH 02/64] Update the site config according to the theme (v3.1.0)
---
README.md | 41 +++++++++++-----------------
_config.yml | 77 +++++++++++++++--------------------------------------
2 files changed, 38 insertions(+), 80 deletions(-)
diff --git a/README.md b/README.md
index 9cb852d..607bc22 100644
--- a/README.md
+++ b/README.md
@@ -2,32 +2,20 @@
The startup template for [**Jekyll Theme Chirpy**][chirpy].
-When installing the `jekyll-theme-chirpy` through [RubyGem][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of variables of the file `_config.yml` from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of `jekyll-theme-chirpy`, you also need to copy other files/directories and site variables from the theme's gem to your Jekyll site. This will be boring, so we extract all the other required things of the theme's gem to help you quickly use `jekyll-theme-chirpy`.
-
-[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
-[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
-
-**File Directory Struct**
+When installing the Chirpy through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of Chirpy, you also need to copy other files/directories and config options from the theme's gem to your Jekyll site. So we extract all the required things of the theme's gem to help you quickly use Chirpy.
```shell
-.
-├── .github
-│ └── workflows
-│ └── pages-deploy.yml # the GitHub Actions workflow
-├── Gemfile
-├── LICENSE
-├── README.md # this file
-├── _config.yml # all variables are from the theme's gem, except the option `theme`
-├── _data # from the theme's gem
-├── _plugins # idem
-├── _tabs # idem
-├── app.js # idem
-├── feed.xml # idem
-├── index.html # idem
-├── 404.html # idem
-├── robots.txt # idem
-└── sw.js # idem
-
+# The critical files/directories to run the theme
+├── _data
+├── _plugins
+├── _tabs
+├── _config.yml
+├── app.js
+├── feed.xml
+├── index.html
+├── robots.txt
+├── sw.js
+└── 404.html
```
## Installation
@@ -59,7 +47,7 @@ And then add the following content:
### Changing the Number of Tabs
-When adding or deleting files in the `_tabs` folder, you need to complete [Custom Stylesheet](#custom-stylesheet) first, and then add a new line before `@import`:
+When adding or deleting files in the `_tabs` folder, you need to complete the section [Customing Stylesheet](#customing-stylesheet) first, and then add a new line before `@import`:
```scss
$tab-count: {{ site.tabs | size | plus: 1 }};
@@ -86,3 +74,6 @@ See the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#document
## License
This work is published under [MIT](https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE) License.
+
+[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
+[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
diff --git a/_config.yml b/_config.yml
index 568d2de..e2d307e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,7 +1,17 @@
-# import theme
+# The Site Configuration
+
+# Import the theme
theme: jekyll-theme-chirpy
-# The Site Configuration
+# Only if your site type is GitHub Project sites and doesn't have a custom domain,
+# change below value to '/projectname'.
+baseurl: ''
+
+# the HTML language tag › https://www.w3.org/International/questions/qa-choosing-language-tags
+lang: en-US
+
+# 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
# --------------------------
@@ -39,14 +49,6 @@ social:
google_site_verification: google_meta_tag_verification # change to your verification string
# --------------------------
-
-# Only if your site type is GitHub Project sites and doesn't have a custom domain,
-# change below value to '/projectname'.
-baseurl: ''
-
-# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
-timezone: Asia/Shanghai
-
google_analytics:
id: '' # Fill with your Google Analytics ID
pv:
@@ -58,11 +60,6 @@ google_analytics:
proxy_endpoint: ''
cache: false # pv data local cache, good for the users from GFW area.
-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
-
-
# Prefer color scheme setting.
#
# Note: Keep empty will follow the system prefer color by default,
@@ -72,7 +69,6 @@ disqus:
# Available options:
#
# light - Use the light color scheme
-#
# dark - Use the dark color scheme
#
theme_mode: # [light|dark]
@@ -90,8 +86,14 @@ avatar: https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/avatar.jpg
# 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
+
paginate: 10
+# ------------ The following options are not recommended to be modified ------------------
+
kramdown:
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
@@ -104,7 +106,7 @@ kramdown:
start_line: 1
# DO NOT change this unless you're a Pro user on Jekyll and Web development,
-# or you think you're smart enough to change other relevant URLs within this template.
+# Or you think you're smart enough to change other relevant URLs within this template.
permalink: /posts/:title/
collections:
@@ -122,55 +124,19 @@ defaults:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
- breadcrumb:
- -
- label: Posts
- url: /
-
scope:
path: _drafts
values:
comments: false
- -
- scope:
- path: index.html
- values:
- breadcrumb:
- -
- label: Posts
- -
- scope:
- path: tags
- values:
- breadcrumb:
- -
- label: Home
- url: /
- -
- label: Tags
- url: /tabs/tags/
- -
- scope:
- path: categories
- values:
- breadcrumb:
- -
- label: Home
- url: /
- -
- label: Categories
- url: /tabs/categories/
-
scope:
path: ''
type: tabs # see `site.collections`
values:
layout: page
+ permalink: /:title/
dynamic_title: true # Hide title in mobile screens.
- breadcrumb:
- -
- label: Home
- url: /
sass:
style: compressed
@@ -186,8 +152,9 @@ compress_html:
exclude:
- vendor
- - Gemfile.lock
- Gemfile
+ - Gemfile.lock
+ - jekyll-theme-chirpy.gemspec
- tools
- docs
- README.md
From 4bbd30da309c44e80b9a512a44347d1cdfa63d7b Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Wed, 3 Feb 2021 20:12:23 +0800
Subject: [PATCH 03/64] Update 404.html according to the theme (v3.1.0)
---
404.html | 9 +++++----
README.md | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/404.html b/404.html
index fd9ff20..d19e5c3 100644
--- a/404.html
+++ b/404.html
@@ -6,9 +6,6 @@ permalink: /404.html
redirect_from:
- /norobots/
- /assets/
- - /tabs/
- - /categories/
- - /tags/
- /posts/
dynamic_title: true
@@ -16,5 +13,9 @@ dynamic_title: true
diff --git a/README.md b/README.md
index 607bc22..d8e55ef 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ The startup template for [**Jekyll Theme Chirpy**][chirpy].
When installing the Chirpy through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of Chirpy, you also need to copy other files/directories and config options from the theme's gem to your Jekyll site. So we extract all the required things of the theme's gem to help you quickly use Chirpy.
```shell
-# The critical files/directories to run the theme
+# The critical files/directories to run Chirpy theme
├── _data
├── _plugins
├── _tabs
From 3c4df16c5c3dbb8d30b8a140e7f7500bd877e1ea Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Fri, 5 Feb 2021 22:42:29 +0800
Subject: [PATCH 04/64] Improve the readme
---
README.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index d8e55ef..6b03494 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,11 @@
# Chirpy Starter
+[](https://rubygems.org/gems/jekyll-theme-chirpy)
+[][mit]
+
The startup template for [**Jekyll Theme Chirpy**][chirpy].
-When installing the Chirpy through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of Chirpy, you also need to copy other files/directories and config options from the theme's gem to your Jekyll site. So we extract all the required things of the theme's gem to help you quickly use Chirpy.
+When installing the Chirpy through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of Chirpy, you also need to copy other critical files/directories from the theme's gem to your Jekyll site.
```shell
# The critical files/directories to run Chirpy theme
@@ -18,6 +21,8 @@ When installing the Chirpy through [RubyGems][gem], Jekyll can only read files i
└── 404.html
```
+We extracted all the necessary content of **Chirpy** theme's gem to help you quickly use the theme.
+
## Installation
[Use this template][usetemplate] to generate a new repository, and then execute:
@@ -73,7 +78,8 @@ See the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#document
## License
-This work is published under [MIT](https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE) License.
+This work is published under [MIT](mit) License.
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
+[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
From 31ed013043884262832077ef22179bfb54f75dd3 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Wed, 10 Feb 2021 13:36:18 +0000
Subject: [PATCH 05/64] [Automation] Update critical file(s) according to
Chirpy v3.2.0
---
_config.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/_config.yml b/_config.yml
index e2d307e..5a41f8c 100644
--- a/_config.yml
+++ b/_config.yml
@@ -154,7 +154,8 @@ exclude:
- vendor
- Gemfile
- Gemfile.lock
- - jekyll-theme-chirpy.gemspec
+ - '*.gem'
+ - '*.gemspec'
- tools
- docs
- README.md
From 565ce4422e1ab970cdfaf1fb33e8b079fa6d170d Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Thu, 11 Feb 2021 02:58:14 +0800
Subject: [PATCH 06/64] Fix the license link in readme
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6b03494..28f494c 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,7 @@ See the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#document
## License
-This work is published under [MIT](mit) License.
+This work is published under [MIT][mit] License.
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
From dff8e090898fe5274d6d2ed0baf4fa1d8c1a357d Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Mon, 1 Mar 2021 19:08:40 +0800
Subject: [PATCH 07/64] Update the Gemfile
---
Gemfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Gemfile b/Gemfile
index 78ba91d..5a6116f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,9 +1,9 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy"
+gem "jekyll-theme-chirpy", "~> 3.2"
-# If you have any plugins, put them here!
group :jekyll_plugins do
+ # If you have any plugins, put them here!
# gem "jekyll-xxx", "~> x.y"
end
@@ -18,5 +18,5 @@ install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo-data"
end
-# # # Performance-booster for watching directories on Windows
+# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
From 1d7d7cffacea7553dbca892600181b01a9080495 Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Thu, 1 Apr 2021 04:09:47 +0800
Subject: [PATCH 08/64] Update the ruby setup in gh-actions
---
.github/workflows/pages-deploy.yml | 19 ++-----------------
.gitignore | 3 ++-
README.md | 2 +-
3 files changed, 5 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index 2e02375..b3bab26 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -13,9 +13,6 @@ jobs:
runs-on: ubuntu-latest
- env:
- GEMS_PATH: ~/vendor/bundle
-
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -23,22 +20,10 @@ jobs:
fetch-depth: 0 # for posts's lastmod
- name: Setup Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
-
- - name: Bundle Caching
- uses: actions/cache@v2
- with:
- path: ${{ env.GEMS_PATH }}
- key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
- restore-keys: |
- ${{ runner.os }}-gems-
-
- - name: Bundle Install
- run: |
- bundle config path ${{ env.GEMS_PATH }}
- bundle install --jobs 4 --retry 3
+ bundler-cache: true
- name: Check baseurl
run: |
diff --git a/.gitignore b/.gitignore
index de35908..05db64a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,9 +2,10 @@
.*
!.github
-# jekyll cache
+# bundler cache
_site
vendor
+Gemfile.lock
# rubygem
*.gem
diff --git a/README.md b/README.md
index 28f494c..866b617 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ $tab-count: {{ site.tabs | size | plus: 1 }};
### Publishing to GitHub Pages
-See the `jekyll-theme-chirpy`'s [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment). Note that in order to use GitHub Actions caching to speed up the deployment, you should add the `Gemfile.lock` file to your repository.
+See the [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment) of `jekyll-theme-chirpy`.
### Updating
From 15f6f7160c91a6344f79e9072565e65c77ba6658 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 2 Apr 2021 08:29:15 +0000
Subject: [PATCH 09/64] Update critical file(s) according to Chirpy v3.3.0
---
Gemfile | 2 +-
_config.yml | 6 +++---
feed.xml | 6 +++---
sw.js | 13 ++++++-------
4 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/Gemfile b/Gemfile
index 5a6116f..78ccb94 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 3.2"
+gem "jekyll-theme-chirpy", "~> 3.3"
group :jekyll_plugins do
# If you have any plugins, put them here!
diff --git a/_config.yml b/_config.yml
index 5a41f8c..82854a0 100644
--- a/_config.yml
+++ b/_config.yml
@@ -27,8 +27,6 @@ description: >- # used by seo meta and the atom feed
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
url: ''
-author: your_full_name # change to your full name
-
github:
username: github_username # change to your github username
@@ -36,7 +34,9 @@ twitter:
username: twitter_username # change to your twitter username
social:
- name: your_full_name # it will shows as the copyright owner in Footer
+ # 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
links:
# The first element serves as the copyright owner's link
diff --git a/feed.xml b/feed.xml
index d75e8fb..aca721e 100644
--- a/feed.xml
+++ b/feed.xml
@@ -10,14 +10,14 @@ layout: compress
{{ site.description }}
{{ site.time | date_to_xmlschema }}
- {{ site.author }}
+ {{ site.social.name }}
{{ "/" | absolute_url }}
Jekyll
- © {{ 'now' | date: '%Y' }} {{ site.author }}
+ © {{ 'now' | date: '%Y' }} {{ site.social.name }}
{{ site.baseurl }}/assets/img/favicons/favicon.ico
{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png
@@ -35,7 +35,7 @@ layout: compress
{{ post_absolute_url }}
- {{ site.author }}
+ {{ site.social.name }}
{% if post.categories %}
diff --git a/sw.js b/sw.js
index dee9898..1b07241 100644
--- a/sw.js
+++ b/sw.js
@@ -7,7 +7,6 @@ self.importScripts('{{ "/assets/js/data/cache-list.js" | relative_url }}');
var cacheName = 'chirpy-{{ "now" | date: "%Y%m%d.%H%M" }}';
-
function isExcluded(url) {
const regex = /(^http(s)?|^\/)/; /* the regex for CORS url or relative url */
for (const rule of exclude) {
@@ -19,7 +18,6 @@ function isExcluded(url) {
return false;
}
-
self.addEventListener('install', (e) => {
self.skipWaiting();
e.waitUntil(
@@ -29,25 +27,26 @@ self.addEventListener('install', (e) => {
);
});
-
self.addEventListener('fetch', (e) => {
e.respondWith(
caches.match(e.request).then((r) => {
- /* console.log('[Service Worker] Fetching resource: ' + e.request.url); */
+ /* console.log(`[sw] method: ${e.request.method}, fetching: ${e.request.url}`); */
return r || fetch(e.request).then((response) => {
return caches.open(cacheName).then((cache) => {
if (!isExcluded(e.request.url)) {
- /* console.log('[Service Worker] Caching new resource: ' + e.request.url); */
- cache.put(e.request, response.clone());
+ if (e.request.method === "GET") {
+ /* console.log('[sw] Caching new resource: ' + e.request.url); */
+ cache.put(e.request, response.clone());
+ }
}
return response;
});
+
});
})
);
});
-
self.addEventListener('activate', (e) => {
e.waitUntil(
caches.keys().then((keyList) => {
From e6b807ee6fe508c800d58ceb0c01b4ba6eaf437c Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Fri, 30 Apr 2021 14:08:12 +0800
Subject: [PATCH 10/64] Update README to v4.0.0
---
README.md | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 866b617..8157df5 100644
--- a/README.md
+++ b/README.md
@@ -5,23 +5,20 @@
The startup template for [**Jekyll Theme Chirpy**][chirpy].
-When installing the Chirpy through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem (use the command `bundle info --path jekyll-theme-chirpy` to locate). To fully use all the features of Chirpy, you also need to copy other critical files/directories from the theme's gem to your Jekyll site.
+When installing the **Chirpy** theme through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. (You can find the gem files by using the command `bundle info --path jekyll-theme-chirpy`). To fully use all the features of **Chirpy**, you need to copy the other critical files/directories from the theme's gem to your Jekyll site.
+
+The key files/directories to run/build the **Chirpy** theme are as follows:
```shell
-# The critical files/directories to run Chirpy theme
+.
├── _data
├── _plugins
├── _tabs
├── _config.yml
-├── app.js
-├── feed.xml
-├── index.html
-├── robots.txt
-├── sw.js
-└── 404.html
+└── index.html
```
-We extracted all the necessary content of **Chirpy** theme's gem to help you quickly use the theme.
+So we've extracted all the **Chirpy** gem necessary content here to help you get started quickly.
## Installation
From 67a9ca60de795161ba58e59bd6fc063e9e8d2d8d Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 30 Apr 2021 06:22:50 +0000
Subject: [PATCH 11/64] Update critical file(s) according to Chirpy v4.0.0
---
404.html | 21 -------------------
Gemfile | 2 +-
_config.yml | 25 +++++++---------------
app.js | 8 -------
feed.xml | 60 -----------------------------------------------------
robots.txt | 10 ---------
sw.js | 60 -----------------------------------------------------
7 files changed, 9 insertions(+), 177 deletions(-)
delete mode 100644 404.html
delete mode 100644 app.js
delete mode 100644 feed.xml
delete mode 100644 robots.txt
delete mode 100644 sw.js
diff --git a/404.html b/404.html
deleted file mode 100644
index d19e5c3..0000000
--- a/404.html
+++ /dev/null
@@ -1,21 +0,0 @@
----
-layout: page
-title: "404: Page not found"
-permalink: /404.html
-
-redirect_from:
- - /norobots/
- - /assets/
- - /posts/
-
-dynamic_title: true
----
-
-
-
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
-
- Head back Home
- to try finding it again, or search for it on the
- Archives page.
-
-
diff --git a/Gemfile b/Gemfile
index 78ccb94..e1f2ea3 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 3.3"
+gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.0"
group :jekyll_plugins do
# If you have any plugins, put them here!
diff --git a/_config.yml b/_config.yml
index 82854a0..6608f19 100644
--- a/_config.yml
+++ b/_config.yml
@@ -50,15 +50,11 @@ google_site_verification: google_meta_tag_verification # change to your verifica
# --------------------------
google_analytics:
- id: '' # Fill with your Google Analytics ID
+ id: '' # fill in your Google Analytics ID
+ # Google Analytics pageviews report settings
pv:
- # The Google Analytics pageviews switch.
- # DO NOT enable it unless you know how to deploy the Google Analytics superProxy.
- enabled: false
- # the next options only valid when `google_analytics.pv` is enabled.
- proxy_url: ''
- proxy_endpoint: ''
- cache: false # pv data local cache, good for the users from GFW area.
+ proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
+ cache_path: # the local PV cache data, friendly to visitors from GFW region
# Prefer color scheme setting.
#
@@ -105,10 +101,6 @@ kramdown:
line_numbers: true
start_line: 1
-# DO NOT change this unless you're a Pro user on Jekyll and Web development,
-# Or you think you're smart enough to change other relevant URLs within this template.
-permalink: /posts/:title/
-
collections:
tabs:
output: true
@@ -124,6 +116,9 @@ defaults:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
+ # DO NOT modify the following parameter unless you are confident enough
+ # to update the code of all other post links in this project.
+ permalink: /posts/:title/
-
scope:
path: _drafts
@@ -151,9 +146,6 @@ compress_html:
envs: [development]
exclude:
- - vendor
- - Gemfile
- - Gemfile.lock
- '*.gem'
- '*.gemspec'
- tools
@@ -162,8 +154,7 @@ exclude:
- LICENSE
- gulpfile.js
- node_modules
- - package.json
- - package-lock.json
+ - '*.json'
jekyll-archives:
enabled: [categories, tags]
diff --git a/app.js b/app.js
deleted file mode 100644
index b821164..0000000
--- a/app.js
+++ /dev/null
@@ -1,8 +0,0 @@
----
-layout: compress
----
-
-/* Registering Service Worker */
-if('serviceWorker' in navigator) {
- navigator.serviceWorker.register('{{ "/sw.js" | relative_url }}');
-};
diff --git a/feed.xml b/feed.xml
deleted file mode 100644
index aca721e..0000000
--- a/feed.xml
+++ /dev/null
@@ -1,60 +0,0 @@
----
-layout: compress
-# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
----
-
-{% capture source %}
-
- {{ "/" | absolute_url }}
- {{ site.title }}
- {{ site.description }}
- {{ site.time | date_to_xmlschema }}
-
- {{ site.social.name }}
- {{ "/" | absolute_url }}
-
-
-
- Jekyll
- © {{ 'now' | date: '%Y' }} {{ site.social.name }}
- {{ site.baseurl }}/assets/img/favicons/favicon.ico
- {{ site.baseurl }}/assets/img/favicons/favicon-96x96.png
-
-{% for post in site.posts limit: 5 %}
- {% assign post_absolute_url = post.url | absolute_url %}
-
- {{ post.title }}
-
- {{ post.date | date_to_xmlschema }}
- {% if post.last_modified_at %}
- {{ post.last_modified_at | date_to_xmlschema }}
- {% else %}
- {{ post.date | date_to_xmlschema }}
- {% endif %}
- {{ post_absolute_url }}
-
-
- {{ site.social.name }}
-
-
- {% if post.categories %}
- {% for category in post.categories %}
-
- {% endfor %}
- {% endif %}
-
- {% if post.summary %}
- {{ post.summary | strip }}
- {% else %}
-
- {% include no-linenos.html content=post.content %}
- {{ content | strip_html | truncate: 400 }}
-
- {% endif %}
-
-
-{% endfor %}
-
-{% endcapture %}
-{{ source | replace: '&', '&' }}
diff --git a/robots.txt b/robots.txt
deleted file mode 100644
index 681b4c6..0000000
--- a/robots.txt
+++ /dev/null
@@ -1,10 +0,0 @@
----
-permalink: robots.txt
-# The robots rules
----
-
-User-agent: *
-
-Disallow: /norobots/
-
-Sitemap: {{ '/sitemap.xml' | absolute_url }}
diff --git a/sw.js b/sw.js
deleted file mode 100644
index 1b07241..0000000
--- a/sw.js
+++ /dev/null
@@ -1,60 +0,0 @@
----
-layout: compress
-# PWA service worker
----
-
-self.importScripts('{{ "/assets/js/data/cache-list.js" | relative_url }}');
-
-var cacheName = 'chirpy-{{ "now" | date: "%Y%m%d.%H%M" }}';
-
-function isExcluded(url) {
- const regex = /(^http(s)?|^\/)/; /* the regex for CORS url or relative url */
- for (const rule of exclude) {
- if (!regex.test(url) ||
- url.indexOf(rule) != -1) {
- return true;
- }
- }
- return false;
-}
-
-self.addEventListener('install', (e) => {
- self.skipWaiting();
- e.waitUntil(
- caches.open(cacheName).then((cache) => {
- return cache.addAll(include);
- })
- );
-});
-
-self.addEventListener('fetch', (e) => {
- e.respondWith(
- caches.match(e.request).then((r) => {
- /* console.log(`[sw] method: ${e.request.method}, fetching: ${e.request.url}`); */
- return r || fetch(e.request).then((response) => {
- return caches.open(cacheName).then((cache) => {
- if (!isExcluded(e.request.url)) {
- if (e.request.method === "GET") {
- /* console.log('[sw] Caching new resource: ' + e.request.url); */
- cache.put(e.request, response.clone());
- }
- }
- return response;
- });
-
- });
- })
- );
-});
-
-self.addEventListener('activate', (e) => {
- e.waitUntil(
- caches.keys().then((keyList) => {
- return Promise.all(keyList.map((key) => {
- if(key !== cacheName) {
- return caches.delete(key);
- }
- }));
- })
- );
-});
From c9806df6fade19e6498cfdf83707767d345eb185 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 7 May 2021 19:36:50 +0000
Subject: [PATCH 12/64] Update critical file(s) according to Chirpy v4.0.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index e1f2ea3..73e6a75 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.0"
+gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"
group :jekyll_plugins do
# If you have any plugins, put them here!
From 81cfa313af234ea7674db0249d2e730ca03a29ae Mon Sep 17 00:00:00 2001
From: Chao Xiang
Date: Tue, 11 May 2021 21:46:25 +0800
Subject: [PATCH 13/64] fix usage on Customing Stylesheet
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8157df5..d268677 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ And then add the following content:
---
---
-@import {{ site.theme }}
+@import "{{ site.theme }}";
// add your style below
```
From 53ccb821cbddf68f02abc853e5ba1aae3747d147 Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Fri, 4 Jun 2021 19:42:36 +0800
Subject: [PATCH 14/64] Improve the gitignore
---
.gitignore | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 05db64a..390dad2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
# hidden files
.*
-!.github
+!.git*
+!.editorconfig
+!.nojekyll
# bundler cache
_site
From 14988e3c10e7118b2ab154eb31c414dfe608b414 Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Wed, 23 Jun 2021 23:26:23 +0800
Subject: [PATCH 15/64] Update README
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d268677..c500d27 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ The startup template for [**Jekyll Theme Chirpy**][chirpy].
When installing the **Chirpy** theme through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. (You can find the gem files by using the command `bundle info --path jekyll-theme-chirpy`). To fully use all the features of **Chirpy**, you need to copy the other critical files/directories from the theme's gem to your Jekyll site.
-The key files/directories to run/build the **Chirpy** theme are as follows:
+The critical files/directories to run or build the **Chirpy** theme are as follows:
```shell
.
@@ -59,11 +59,11 @@ $tab-count: {{ site.tabs | size | plus: 1 }};
See the [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment) of `jekyll-theme-chirpy`.
-### Updating
+### Upgrading
-Please note that files and directories in this project may change as the [`jekyll-theme-chirpy`][chirpy] is updated. When updating, please ensure that the file directory structure of your Jekyll site is the same as that of this project.
+First, please modify the target version number of `jekyll-theme-chirpy` in the `Gemfile` (e.g., `gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"`). In addition, if the major version number is updated, you need to update the critical files to keep them the same as this project.
-And then execute:
+After that, execute the following command:
```console
$ bundle update jekyll-theme-chirpy
From d84dd10ca5a92ddfac3fa344e236d1e75e79112c Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Wed, 23 Jun 2021 16:55:07 +0000
Subject: [PATCH 16/64] Update critical file(s) according to Chirpy v4.0.2
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 73e6a75..d70f910 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"
+gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.2"
group :jekyll_plugins do
# If you have any plugins, put them here!
From 1a82b8970f71a57d6a1dbfb65221cd47e9be74d8 Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Wed, 21 Jul 2021 22:33:34 +0800
Subject: [PATCH 17/64] Update README
---
README.md | 39 +++++----------------------------------
1 file changed, 5 insertions(+), 34 deletions(-)
diff --git a/README.md b/README.md
index c500d27..8524228 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
-# Chirpy Starter
+# Chirpy Starter [](https://rubygems.org/gems/jekyll-theme-chirpy) [][mit]
-[](https://rubygems.org/gems/jekyll-theme-chirpy)
-[][mit]
The startup template for [**Jekyll Theme Chirpy**][chirpy].
@@ -32,36 +30,11 @@ $ bundle
## Usage
-### Customing Stylesheet
+Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#usage).
-Creare a new file `/assets/css/style.scss` in your Jekyll site.
+## Upgrading
-And then add the following content:
-
-```scss
----
----
-
-@import "{{ site.theme }}";
-
-// add your style below
-```
-
-### Changing the Number of Tabs
-
-When adding or deleting files in the `_tabs` folder, you need to complete the section [Customing Stylesheet](#customing-stylesheet) first, and then add a new line before `@import`:
-
-```scss
-$tab-count: {{ site.tabs | size | plus: 1 }};
-```
-
-### Publishing to GitHub Pages
-
-See the [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment) of `jekyll-theme-chirpy`.
-
-### Upgrading
-
-First, please modify the target version number of `jekyll-theme-chirpy` in the `Gemfile` (e.g., `gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"`). In addition, if the major version number is updated, you need to update the critical files to keep them the same as this project.
+First, please modify the target version number of `jekyll-theme-chirpy` in the `Gemfile` (e.g., `gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"`).
After that, execute the following command:
@@ -69,9 +42,7 @@ After that, execute the following command:
$ bundle update jekyll-theme-chirpy
```
-## Documentation
-
-See the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
+As the version upgrades, the critical files and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your website files in sync with the latest version of the theme.
## License
From 1d16d381fdd5e00e26f77961c5dbd047dd7eb076 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Wed, 21 Jul 2021 16:54:21 +0000
Subject: [PATCH 18/64] 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.
From 45ff5ba1bff28691f6ceb9baf5c5206eddbc38a7 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Mon, 9 Aug 2021 08:49:14 +0000
Subject: [PATCH 19/64] Update critical file(s) according to Chirpy v4.1.1
---
Gemfile | 2 +-
_config.yml | 8 --------
_data/locales/en.yml | 6 +++---
_data/locales/zh-CN.yml | 4 ++--
4 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/Gemfile b/Gemfile
index 07ffab1..0279675 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.1", ">= 4.1.0"
+gem "jekyll-theme-chirpy", "~> 4.1", ">= 4.1.1"
group :jekyll_plugins do
# If you have any plugins, put them here!
diff --git a/_config.yml b/_config.yml
index 6354c7a..10c213f 100644
--- a/_config.yml
+++ b/_config.yml
@@ -11,11 +11,6 @@ baseurl: ''
# 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
@@ -173,6 +168,3 @@ jekyll-archives:
permalinks:
tag: /tags/:name/
category: /categories/:name/
-
-# Outdated configuration warning
-outdated: '-- Missing configuration options! --'
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index d20e2f6..634dcb6 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -61,9 +61,9 @@ post:
published: 'on'
updated: Updated
timeago:
- day: d ago
- hour: hr ago
- minute: min ago
+ day: days ago
+ hour: hours ago
+ minute: minutes ago
just_now: just now
words: words
pageview_measure: views
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index 0f896d6..c1c1b5c 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -24,11 +24,11 @@ search:
panel:
lastmod: 最近更新
trending_tags: 热门标签
- toc: 目录
+ toc: 文章内容
# The liquid date format › http://strftime.net/
date_format:
- tooltip: '%a, %F, %R %z'
+ tooltip: '%F, %R %z'
post:
long: '%F'
short: '%m-%d'
From 2327ec8d83c41be38ec5fce69629edd694467f83 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Wed, 15 Sep 2021 17:53:28 +0000
Subject: [PATCH 20/64] Update critical file(s) according to Chirpy v4.2.0
---
Gemfile | 2 +-
_config.yml | 5 ++-
_data/locales/en.yml | 7 ++--
_data/locales/id-ID.yml | 86 +++++++++++++++++++++++++++++++++++++++++
_data/locales/zh-CN.yml | 7 ++--
5 files changed, 96 insertions(+), 11 deletions(-)
create mode 100644 _data/locales/id-ID.yml
diff --git a/Gemfile b/Gemfile
index 0279675..7bc0c85 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.1", ">= 4.1.1"
+gem "jekyll-theme-chirpy", "~> 4.2", ">= 4.2.0"
group :jekyll_plugins do
# If you have any plugins, put them here!
diff --git a/_config.yml b/_config.yml
index 10c213f..734598f 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,8 +7,9 @@ theme: jekyll-theme-chirpy
# change below value to '/projectname'.
baseurl: ''
-# 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
+# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
+# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
+# otherwise, the layout language will use the default value of 'en'.
lang: en
# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 634dcb6..6bbe008 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -16,10 +16,11 @@ tabs:
archives: Archives
about: About
-# text displayed in the search bar
+# the text displayed in the search bar & search results
search:
hint: search
cancel: Cancel
+ no_results: Oops! No result founds.
panel:
lastmod: Recent Update
@@ -75,9 +76,7 @@ post:
button:
next: Newer
previous: Older
- copy:
- title: Copy link
- succeed: Link copied successfully!
+ copy: Copied!
# pinned prompt of posts list on homepage
pin_prompt: Pinned
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
new file mode 100644
index 0000000..3dfaf9d
--- /dev/null
+++ b/_data/locales/id-ID.yml
@@ -0,0 +1,86 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Postingan
+ category: Kategori
+ tag: Tagar
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Beranda
+ categories: Kategori
+ tags: Tagar
+ archives: Arsip
+ about: Tentang
+
+# the text displayed in the search bar & search results
+search:
+ hint: Cari
+ cancel: Batal
+ no_results: Ups! Tidak ada hasil yang ditemukan.
+
+panel:
+ lastmod: Postingan Terbaru
+ trending_tags: Tagar Terpopuler
+ toc: Konten
+
+# The liquid date format › http://strftime.net/
+date_format:
+ tooltip: "%a, %e %b, %Y, %l:%M %p"
+ post:
+ long: "%e %b, %Y"
+ short: "%e %b"
+ archive_month: "%b"
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Postingan ini dilisensikan di bawah :LICENSE_NAME oleh penulis.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # Displayed in the footer
+ brief: Sebagian konten dilindungi.
+ verbose: >-
+ Kecuali jika dinyatakan, Postingan blog di situs ini dilisensikan
+ di bawah Lisensi Creative Commons Attribution 4.0 International (CC BY 4.0) oleh penulis.
+
+meta: Didukung oleh :PLATFORM dengan tema :THEME.
+
+not_found:
+ statment: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada.
+ hint_template: :HEAD_BAK untuk mencoba mencari kembali, atau cari di :ARCHIVES_PAGE.
+ head_back: Kembali ke Beranda
+ archives_page: Halaman Arsip
+
+# ----- Posts related labels -----
+
+post:
+ published: "pada"
+ updated: Diperbarui
+ timeago:
+ day: hari yang lalu
+ hour: jam yang lalu
+ minute: menit yang lalu
+ just_now: baru saja
+ words: kata
+ pageview_measure: dilihat
+ read_time:
+ unit: menit
+ prompt: baca
+ relate_posts: Postingan Lainya
+ share: Bagikan
+ button:
+ next: Terbaru
+ previous: Terlama
+ copy: Disalin!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Disematkan
+
+# categories page
+categories:
+ category_measure: kategori
+ post_measure: Postingan
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index c1c1b5c..bfaeb3a 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -16,10 +16,11 @@ tabs:
archives: 归档
about: 关于
-# text displayed in the search bar
+# the text displayed in the search bar & search results
search:
hint: 搜索
cancel: 取消
+ no_results: 搜索结果为空
panel:
lastmod: 最近更新
@@ -74,9 +75,7 @@ post:
button:
next: 下一篇
previous: 上一篇
- copy:
- title: 分享链接
- succeed: 链接已复制!
+ copy: 已复制!
# pinned prompt of posts list on homepage
pin_prompt: 顶置
From 4abf09ed60696ed4fc5239f274dea39a2308ad03 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Thu, 16 Sep 2021 13:22:01 +0000
Subject: [PATCH 21/64] Update critical file(s) according to Chirpy v4.2.1
---
Gemfile | 2 +-
_data/locales/en.yml | 6 +++++-
_data/locales/id-ID.yml | 6 +++++-
_data/locales/zh-CN.yml | 6 +++++-
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/Gemfile b/Gemfile
index 7bc0c85..fcbc76d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.2", ">= 4.2.0"
+gem "jekyll-theme-chirpy", "~> 4.2", ">= 4.2.1"
group :jekyll_plugins do
# If you have any plugins, put them here!
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 6bbe008..65c2df0 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -76,7 +76,11 @@ post:
button:
next: Newer
previous: Older
- copy: Copied!
+ copy_code:
+ succeed: Copied!
+ share_link:
+ title: Copy link
+ succeed: Link copied successfully!
# pinned prompt of posts list on homepage
pin_prompt: Pinned
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
index 3dfaf9d..851d5a9 100644
--- a/_data/locales/id-ID.yml
+++ b/_data/locales/id-ID.yml
@@ -76,7 +76,11 @@ post:
button:
next: Terbaru
previous: Terlama
- copy: Disalin!
+ copy_code:
+ succeed: Disalin!
+ share_link:
+ title: Salin tautan
+ succeed: Tautan berhasil disalin!
# pinned prompt of posts list on homepage
pin_prompt: Disematkan
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index bfaeb3a..0d479a3 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -75,7 +75,11 @@ post:
button:
next: 下一篇
previous: 上一篇
- copy: 已复制!
+ copy_code:
+ succeed: 已复制!
+ share_link:
+ title: 分享链接
+ succeed: 链接已复制!
# pinned prompt of posts list on homepage
pin_prompt: 顶置
From c2a7480e653aa82d1747091154c3307a4676c11c Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Sun, 26 Sep 2021 01:20:50 +0800
Subject: [PATCH 22/64] Update README
---
README.md | 35 ++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)
diff --git a/README.md b/README.md
index 8524228..ad5ef90 100644
--- a/README.md
+++ b/README.md
@@ -1,28 +1,31 @@
# Chirpy Starter [](https://rubygems.org/gems/jekyll-theme-chirpy) [][mit]
+When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
-The startup template for [**Jekyll Theme Chirpy**][chirpy].
+The Jekyll organization claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
-When installing the **Chirpy** theme through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. (You can find the gem files by using the command `bundle info --path jekyll-theme-chirpy`). To fully use all the features of **Chirpy**, you need to copy the other critical files/directories from the theme's gem to your Jekyll site.
-
-The critical files/directories to run or build the **Chirpy** theme are as follows:
+To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your Jekyll site. The following is a list of targets:
```shell
.
+├── _config.yml
├── _data
├── _plugins
├── _tabs
-├── _config.yml
-└── index.html
+└── index.html
```
-So we've extracted all the **Chirpy** gem necessary content here to help you get started quickly.
+In order to save your time, and to prevent you from missing some files when copying, we extract those files/configurations of the latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
+
+## Prerequisites
+
+Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll` and `Bundler`.
## Installation
-[Use this template][usetemplate] to generate a new repository, and then execute:
+[**Use this template**][use-template] to generate a brand new repository and name it `.github.io`, where `GH_USERNAME` represents your GitHub username.
-[usetemplate]: https://github.com/cotes2020/chirpy-starter/generate
+Then clone it to your local machine and run:
```
$ bundle
@@ -32,22 +35,12 @@ $ bundle
Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#usage).
-## Upgrading
-
-First, please modify the target version number of `jekyll-theme-chirpy` in the `Gemfile` (e.g., `gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"`).
-
-After that, execute the following command:
-
-```console
-$ bundle update jekyll-theme-chirpy
-```
-
-As the version upgrades, the critical files and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your website files in sync with the latest version of the theme.
-
## License
This work is published under [MIT][mit] License.
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
+[use-template]: https://github.com/cotes2020/chirpy-starter/generate
+[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
From ff4185924018f32f03880b183bd3dff0997edd13 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Wed, 29 Sep 2021 20:03:26 +0000
Subject: [PATCH 23/64] Update critical file(s) according to Chirpy v4.3.0
---
.github/workflows/pages-deploy.yml | 26 +------
.gitignore | 2 +-
Gemfile | 12 ++--
_config.yml | 6 +-
_data/contact.yml | 2 +-
_tabs/about.md | 2 +-
_tabs/tags.md | 2 +-
tools/deploy.sh | 108 ++++++++++++++++++++++++++---
tools/test.sh | 67 ------------------
9 files changed, 111 insertions(+), 116 deletions(-)
delete mode 100755 tools/test.sh
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index b3bab26..e3efcc8 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -25,29 +25,5 @@ jobs:
ruby-version: 2.7
bundler-cache: true
- - name: Check baseurl
- run: |
- baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")"
- if [[ -n $baseurl ]]; then
- echo "BASE_URL=$baseurl" >> $GITHUB_ENV
- fi
-
- - name: Build Site
- env:
- JEKYLL_ENV: production
- run: |
- bundle exec jekyll b -d "_site$BASE_URL"
-
- - name: Test Site
- run: |
- bash tools/test.sh
-
- name: Deploy
- run: |
- if [[ -n $BASE_URL ]]; then
- mv _site$BASE_URL _site-rename
- rm -rf _site
- mv _site-rename _site
- fi
-
- bash tools/deploy.sh
+ run: bash tools/deploy.sh
diff --git a/.gitignore b/.gitignore
index 390dad2..3a9a8a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,11 +3,11 @@
!.git*
!.editorconfig
!.nojekyll
+!.travis.yml
# bundler cache
_site
vendor
-Gemfile.lock
# rubygem
*.gem
diff --git a/Gemfile b/Gemfile
index fcbc76d..cc90358 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,11 +1,8 @@
+# frozen_string_literal: true
+
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.2", ">= 4.2.1"
-
-group :jekyll_plugins do
- # If you have any plugins, put them here!
- # gem "jekyll-xxx", "~> x.y"
-end
+gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.0"
group :test do
gem "html-proofer", "~> 3.18"
@@ -20,3 +17,6 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
+
+# Jekyll <= 4.2.0 compatibility with Ruby 3.0
+gem "webrick", "~> 1.7"
diff --git a/_config.yml b/_config.yml
index 734598f..f88f2c3 100644
--- a/_config.yml
+++ b/_config.yml
@@ -3,8 +3,8 @@
# Import the theme
theme: jekyll-theme-chirpy
-# Only if your site type is GitHub Project sites and doesn't have a custom domain,
-# change below value to '/projectname'.
+# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
+# and doesn't have a custom domain.
baseurl: ''
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
@@ -82,7 +82,7 @@ theme_mode: # [light|dark]
img_cdn: ''
# the avatar on sidebar, support local or CORS resources
-avatar: https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/avatar.jpg
+avatar: ''
# boolean type, the global switch for ToC in posts.
toc: true
diff --git a/_data/contact.yml b/_data/contact.yml
index 1cd8496..05da2f2 100644
--- a/_data/contact.yml
+++ b/_data/contact.yml
@@ -2,7 +2,7 @@
-
type: github
- icon: 'fab fa-github-alt'
+ icon: 'fab fa-github'
-
type: twitter
icon: 'fab fa-twitter'
diff --git a/_tabs/about.md b/_tabs/about.md
index a28ea05..b511014 100644
--- a/_tabs/about.md
+++ b/_tabs/about.md
@@ -1,6 +1,6 @@
---
title: About
-icon: fas fa-info
+icon: fas fa-info-circle
order: 4
---
diff --git a/_tabs/tags.md b/_tabs/tags.md
index 53abc94..2108d24 100644
--- a/_tabs/tags.md
+++ b/_tabs/tags.md
@@ -1,6 +1,6 @@
---
layout: tags
title: Tags
-icon: fas fa-tags
+icon: fas fa-tag
order: 2
---
diff --git a/tools/deploy.sh b/tools/deploy.sh
index 17a490a..84b2b10 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -1,28 +1,80 @@
#!/usr/bin/env bash
#
-# Deploy the content of _site to 'origin/'
+# Build, test and then deploy the site content to 'origin/'
+#
+# Requirement: html-proofer, jekyll
+#
+# Usage: See help information
set -eu
PAGES_BRANCH="gh-pages"
-_no_branch=false
+SITE_DIR="_site"
+
+_opt_dry_run=false
+
+_config="_config.yml"
+
+_no_pages_branch=false
+
_backup_dir="$(mktemp -d)"
+_baseurl=""
+
+help() {
+ echo "Build, test and then deploy the site content to 'origin/'"
+ echo
+ echo "Usage:"
+ echo
+ echo " bash ./tools/deploy.sh [options]"
+ echo
+ echo "Options:"
+ echo ' -c, --config "" Specify config file(s)'
+ echo " --dry-run Build site and test, but not deploy"
+ echo " -h, --help Print this information."
+}
+
init() {
- if [[ -z ${GITHUB_ACTION+x} ]]; then
- echo "ERROR: This script is not allowed to run outside of GitHub Action."
+ if [[ -z ${GITHUB_ACTION+x} && $_opt_dry_run == 'false' ]]; then
+ echo "ERROR: It is not allowed to deploy outside of the GitHub Action envrionment."
+ echo "Type option '-h' to see the help information."
exit -1
fi
- # Gemfile could be changed by `bundle install` in actions workflow
- if [[ -n $(git ls-files | grep Gemfile.lock) && -n \
- $(git status Gemfile.lock --porcelain) ]]; then
- git checkout -- Gemfile.lock
+ _baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")"
+}
+
+build() {
+ # clean up
+ if [[ -d $SITE_DIR ]]; then
+ rm -rf "$SITE_DIR"
fi
+ # build
+ JEKYLL_ENV=production bundle exec jekyll b -d "$SITE_DIR$_baseurl" --config "$_config"
+}
+
+test() {
+ bundle exec htmlproofer \
+ --disable-external \
+ --check-html \
+ --allow_hash_href \
+ "$SITE_DIR"
+}
+
+resume_site_dir() {
+ if [[ -n $_baseurl ]]; then
+ # Move the site file to the regular directory '_site'
+ mv "$SITE_DIR$_baseurl" "${SITE_DIR}-rename"
+ rm -rf "$SITE_DIR"
+ mv "${SITE_DIR}-rename" "$SITE_DIR"
+ fi
+}
+
+setup_gh() {
if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
- _no_branch=true
+ _no_pages_branch=true
git checkout -b "$PAGES_BRANCH"
else
git checkout "$PAGES_BRANCH"
@@ -30,7 +82,7 @@ init() {
}
backup() {
- mv _site/* "$_backup_dir"
+ mv "$SITE_DIR"/* "$_backup_dir"
mv .git "$_backup_dir"
# When adding custom domain from Github website,
@@ -56,7 +108,7 @@ deploy() {
git add -A
git commit -m "[Automation] Site update No.${GITHUB_RUN_NUMBER}"
- if $_no_branch; then
+ if $_no_pages_branch; then
git push -u origin "$PAGES_BRANCH"
else
git push -f
@@ -65,9 +117,43 @@ deploy() {
main() {
init
+ build
+ test
+ resume_site_dir
+
+ if $_opt_dry_run; then
+ exit 0
+ fi
+
+ setup_gh
backup
flush
deploy
}
+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
+ ;;
+ esac
+done
+
main
diff --git a/tools/test.sh b/tools/test.sh
deleted file mode 100755
index 0a22ba0..0000000
--- a/tools/test.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env bash
-#
-# Using HTML-proofer to test site.
-#
-# Requirement: https://github.com/gjtorikian/html-proofer
-#
-# Usage: bash /path/to/test.sh [indicated path]
-
-DEST=_site
-URL_IGNORE=cdn.jsdelivr.net
-
-_build=false
-
-help() {
- echo "Usage:"
- echo
- echo " bash ./tools/test.sh [options]"
- echo
- echo "Options:"
- echo " --build Run Jekyll build before test."
- echo " -d, --dir Specify the test path."
- echo " -h, --help Print this information."
-}
-
-if [[ -n $1 && -d $1 ]]; then
- DEST=$1
-fi
-
-while (($#)); do
- opt="$1"
- case $opt in
- --build)
- _build=true
- shift
- ;;
- -d | --dir)
- if [[ ! -d $2 ]]; then
- echo -e "Error: path '$2' doesn't exist\n"
- help
- exit 1
- fi
- DEST=$2
- shift
- shift
- ;;
- -h | --help)
- help
- exit 0
- ;;
- *)
- # unknown option
- help
- exit 1
- ;;
- esac
-done
-
-if $_build; then
- JEKYLL_ENV=production bundle exec jekyll b
-fi
-
-bundle exec htmlproofer "$DEST" \
- --disable-external \
- --check-html \
- --empty_alt_ignore \
- --allow_hash_href \
- --url_ignore $URL_IGNORE
From 479cdc35c7879911d80cb63e1ffd5d526ce321e4 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 1 Oct 2021 10:58:50 +0000
Subject: [PATCH 24/64] Update critical file(s) according to Chirpy v4.3.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index cc90358..874dfe5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.0"
+gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.1"
group :test do
gem "html-proofer", "~> 3.18"
From b8446c9b7baabca6357966510febd7989eca2cb5 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Thu, 14 Oct 2021 18:13:57 +0000
Subject: [PATCH 25/64] Update critical file(s) according to Chirpy v4.3.2
---
Gemfile | 2 +-
_config.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Gemfile b/Gemfile
index 874dfe5..b0d11a8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.1"
+gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.2"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index f88f2c3..e3b4886 100644
--- a/_config.yml
+++ b/_config.yml
@@ -79,10 +79,10 @@ theme_mode: # [light|dark]
# will be added to all image (site avatar & posts' images) paths starting with '/'
#
# e.g. 'https://cdn.com'
-img_cdn: ''
+img_cdn:
# the avatar on sidebar, support local or CORS resources
-avatar: ''
+avatar:
# boolean type, the global switch for ToC in posts.
toc: true
From 66a784cb717872dba77830fab476c39013a80867 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Sun, 24 Oct 2021 20:18:05 +0000
Subject: [PATCH 26/64] Update critical file(s) according to Chirpy v4.3.3
---
.nojekyll | 1 +
Gemfile | 2 +-
_config.yml | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
create mode 100644 .nojekyll
diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/.nojekyll
@@ -0,0 +1 @@
+
diff --git a/Gemfile b/Gemfile
index b0d11a8..2d0ebdf 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.2"
+gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.3"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index e3b4886..bd6c390 100644
--- a/_config.yml
+++ b/_config.yml
@@ -159,7 +159,7 @@ exclude:
- LICENSE
- gulpfile.js
- node_modules
- - '*.json'
+ - package.json
jekyll-archives:
enabled: [categories, tags]
From 23942a94b3542d38b53b94421e0cc926ae2fdcc0 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Mon, 29 Nov 2021 12:35:47 +0000
Subject: [PATCH 27/64] Update critical file(s) according to Chirpy v4.3.4
---
Gemfile | 2 +-
_config.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Gemfile b/Gemfile
index 2d0ebdf..eb790c6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.3"
+gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.4"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index bd6c390..75ee843 100644
--- a/_config.yml
+++ b/_config.yml
@@ -159,7 +159,7 @@ exclude:
- LICENSE
- gulpfile.js
- node_modules
- - package.json
+ - package*.json
jekyll-archives:
enabled: [categories, tags]
From bf93d1383d93057ec179714604bafe30f687e539 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Sun, 2 Jan 2022 16:53:02 +0000
Subject: [PATCH 28/64] Update critical file(s) according to Chirpy v5.0.0
---
Gemfile | 2 +-
_config.yml | 14 ++++---
_data/locales/en.yml | 3 +-
_data/locales/id-ID.yml | 3 +-
_data/locales/ko-KR.yml | 91 +++++++++++++++++++++++++++++++++++++++++
_data/locales/zh-CN.yml | 3 +-
tools/deploy.sh | 39 +++++++++---------
7 files changed, 127 insertions(+), 28 deletions(-)
create mode 100644 _data/locales/ko-KR.yml
diff --git a/Gemfile b/Gemfile
index eb790c6..8350a88 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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"
diff --git a/_config.yml b/_config.yml
index 75ee843..0ad2fdd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -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: # /
+ issue_term: # < url | pathname | title | ...>
paginate: 10
@@ -111,7 +117,6 @@ collections:
output: true
sort_by: order
-
defaults:
-
scope:
@@ -136,7 +141,6 @@ defaults:
values:
layout: page
permalink: /:title/
- dynamic_title: true # Hide title in mobile screens.
sass:
style: compressed
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 65c2df0..93e4d15 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -59,7 +59,8 @@ not_found:
# ----- Posts related labels -----
post:
- published: 'on'
+ written_by: By
+ posted: Posted
updated: Updated
timeago:
day: days ago
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
index 851d5a9..4693c5e 100644
--- a/_data/locales/id-ID.yml
+++ b/_data/locales/id-ID.yml
@@ -59,7 +59,8 @@ not_found:
# ----- Posts related labels -----
post:
- published: "pada"
+ written_by: Oleh
+ posted: Diterbitkan
updated: Diperbarui
timeago:
day: hari yang lalu
diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml
new file mode 100644
index 0000000..34d48aa
--- /dev/null
+++ b/_data/locales/ko-KR.yml
@@ -0,0 +1,91 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: 포스트
+ category: 카테고리
+ tag: 태그
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ 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: 포스트
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index 0d479a3..83f2376 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -58,7 +58,8 @@ not_found:
# ----- Posts related labels -----
post:
- published: 发表于
+ written_by: 作者
+ posted: 发表于
updated: 更新于
timeago:
day: 天前
diff --git a/tools/deploy.sh b/tools/deploy.sh
index 84b2b10..14b88eb 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -98,6 +98,7 @@ flush() {
shopt -s dotglob nullglob
mv "$_backup_dir"/* .
+ [[ -f ".nojekyll" ]] || echo "" >".nojekyll"
}
deploy() {
@@ -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
From fc54bc5574dbc26e9dcdb3f07f53eb9287647002 Mon Sep 17 00:00:00 2001
From: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
Date: Tue, 4 Jan 2022 18:58:29 +0800
Subject: [PATCH 29/64] Update the doc's link in README
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ad5ef90..c1b0375 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ $ bundle
## Usage
-Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#usage).
+Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
## License
From a8cd88041dbfddb4a4b6488eb98750bceba7f014 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Tue, 4 Jan 2022 19:50:28 +0000
Subject: [PATCH 30/64] Update critical file(s) according to Chirpy v5.0.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 8350a88..b05aef8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.0"
+gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.1"
group :test do
gem "html-proofer", "~> 3.18"
From 3b07fccfc4e5c07fac7ae40c8a87048298c62406 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 7 Jan 2022 18:52:12 +0000
Subject: [PATCH 31/64] Update critical file(s) according to Chirpy v5.0.2
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index b05aef8..2e86f59 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.1"
+gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.2"
group :test do
gem "html-proofer", "~> 3.18"
From d1ef8d42739913443a0d1ba4e0c436d31840d2b9 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Mon, 14 Feb 2022 17:30:02 +0000
Subject: [PATCH 32/64] Update critical file(s) according to Chirpy v5.1.0
---
.gitmodules | 3 ++
Gemfile | 2 +-
_config.yml | 50 +++++++++++++++-------
_data/assets/cross_origin.yml | 62 ++++++++++++++++++++++++++++
_data/assets/self_host.yml | 51 +++++++++++++++++++++++
_data/locales/en.yml | 15 +------
_data/locales/id-ID.yml | 13 ------
_data/locales/ko-KR.yml | 13 ------
_data/locales/my-MM.yml | 78 +++++++++++++++++++++++++++++++++++
_data/locales/ru-RU.yml | 78 +++++++++++++++++++++++++++++++++++
_data/locales/uk-UA.yml | 78 +++++++++++++++++++++++++++++++++++
_data/locales/zh-CN.yml | 13 ------
_data/share.yml | 2 +-
_tabs/about.md | 4 +-
assets/lib | 1 +
15 files changed, 392 insertions(+), 71 deletions(-)
create mode 100644 .gitmodules
create mode 100644 _data/assets/cross_origin.yml
create mode 100644 _data/assets/self_host.yml
create mode 100644 _data/locales/my-MM.yml
create mode 100644 _data/locales/ru-RU.yml
create mode 100644 _data/locales/uk-UA.yml
create mode 160000 assets/lib
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..58062c5
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "assets/lib"]
+ path = assets/lib
+ url = https://github.com/cotes2020/chirpy-static-assets.git
diff --git a/Gemfile b/Gemfile
index 2e86f59..362cb64 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.2"
+gem "jekyll-theme-chirpy", "~> 5.1", ">= 5.1.0"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index 0ad2fdd..cfe3c78 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,8 +12,11 @@ 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: Asia/Shanghai
+timezone:
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------
@@ -23,9 +26,7 @@ title: Chirpy # the main title
tagline: A text-focused Jekyll theme # it will display as the sub-title
description: >- # used by seo meta and the atom feed
- A minimal, portfolio, sidebar,
- bootstrap Jekyll theme with responsive web design
- and focuses on text presentation.
+ A minimal, responsive, and powerful Jekyll theme for presenting professional writing.
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
url: ''
@@ -49,13 +50,13 @@ social:
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
-google_site_verification: google_meta_tag_verification # change to your verification string
+google_site_verification: # fill in to your verification string
# ↑ --------------------------
-
+# The end of `jekyll-seo-tag` settings
google_analytics:
- id: '' # fill in your Google Analytics ID
+ id: # fill in your Google Analytics ID
# Google Analytics pageviews report settings
pv:
proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
@@ -96,6 +97,23 @@ comments:
utterances:
repo: # /
issue_term: # < url | pathname | title | ...>
+ # Giscus options › https://giscus.app
+ giscus:
+ 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`
+
+# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
+assets:
+ self_host:
+ enabled: # boolean, keep empty means false
+ # specify the Jekyll environment, empty means both
+ # only works if `assets.self_host.enabled` is 'true'
+ env: # [development|production]
paginate: 10
@@ -118,8 +136,7 @@ collections:
sort_by: order
defaults:
- -
- scope:
+ - scope:
path: '' # An empty string here means all files in the project
type: posts
values:
@@ -129,18 +146,24 @@ defaults:
# DO NOT modify the following parameter unless you are confident enough
# to update the code of all other post links in this project.
permalink: /posts/:title/
- -
- scope:
+ - scope:
path: _drafts
values:
comments: false
- -
- scope:
+ - scope:
path: ''
type: tabs # see `site.collections`
values:
layout: page
permalink: /:title/
+ - scope:
+ path: assets/img/favicons
+ values:
+ swcache: true
+ - scope:
+ path: assets/js/dist
+ values:
+ swcache: true
sass:
style: compressed
@@ -158,7 +181,6 @@ exclude:
- '*.gem'
- '*.gemspec'
- tools
- - docs
- README.md
- LICENSE
- gulpfile.js
diff --git a/_data/assets/cross_origin.yml b/_data/assets/cross_origin.yml
new file mode 100644
index 0000000..13e37cf
--- /dev/null
+++ b/_data/assets/cross_origin.yml
@@ -0,0 +1,62 @@
+# CDNs
+
+cdns:
+ # Google Fonts
+ - url: https://fonts.googleapis.com
+ - url: https://fonts.gstatic.com
+ args: crossorigin
+ - url: https://fonts.googleapis.com
+ # jsDelivr CDN
+ - url: https://cdn.jsdelivr.net
+
+# fonts
+
+webfonts: https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:wght@400;600;700;900&display=swap
+
+# Libraries
+
+jquery:
+ js: https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js
+
+bootstrap:
+ css: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css
+ js: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js
+
+bootstrap-toc:
+ css: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css
+ js: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js
+
+fontawesome:
+ css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.11.2/css/all.min.css
+
+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
+
+dayjs:
+ js:
+ common: https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js
+ locale: https://cdn.jsdelivr.net/npm/dayjs@1/locale/:LOCALE.min.js
+ relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.min.js
+ localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/localizedFormat.min.js
+
+countup:
+ js: https://cdn.jsdelivr.net/npm/countup.js@1.9.3/dist/countUp.min.js
+
+magnific-popup:
+ css: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/magnific-popup.min.css
+ js: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/jquery.magnific-popup.min.js
+
+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
+
+polyfill:
+ js: https://polyfill.io/v3/polyfill.min.js?features=es6
+
+mathjax:
+ js: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js
diff --git a/_data/assets/self_host.yml b/_data/assets/self_host.yml
new file mode 100644
index 0000000..ae5a399
--- /dev/null
+++ b/_data/assets/self_host.yml
@@ -0,0 +1,51 @@
+# fonts
+
+webfonts: /assets/lib/fonts/main.css
+
+# Libraries
+
+jquery:
+ js: /assets/lib/jquery-3.6.0/jquery.min.js
+
+bootstrap:
+ css: /assets/lib/bootstrap-4.6.1/bootstrap.min.css
+ js: /assets/lib/bootstrap-4.6.1/bootstrap.bundle.min.js
+
+bootstrap-toc:
+ css: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.css
+ js: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js
+
+fontawesome:
+ css: /assets/lib/fontawesome-free-5.15.4/css/all.min.css
+
+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
+
+dayjs:
+ js:
+ common: /assets/lib/dayjs-1.10.7/dayjs.min.js
+ locale: /assets/lib/dayjs-1.10.7/locale/en.min.js
+ relativeTime: /assets/lib/dayjs-1.10.7/plugin/relativeTime.min.js
+ localizedFormat: /assets/lib/dayjs-1.10.7/plugin/localizedFormat.min.js
+
+countup:
+ js: /assets/lib/countup.js-1.9.3/countUp.min.js
+
+magnific-popup:
+ css: /assets/lib/magnific-popup-1.1.0/magnific-popup.css
+ js: /assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js
+
+lozad:
+ js: /assets/lib/lozad-1.16.0/lozad.min.js
+
+clipboard:
+ js: /assets/lib/clipboard-2.0.9/clipboard.min.js
+
+polyfill:
+ js: /assets/lib/polyfill-v3-es6/polyfill.min.js
+
+mathjax:
+ js: /assets/lib/mathjax-3.2.0/tex-chtml.js
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 93e4d15..1221776 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -23,18 +23,10 @@ search:
no_results: Oops! No result founds.
panel:
- lastmod: Recent Update
+ lastmod: Recently Updated
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:
@@ -62,11 +54,6 @@ post:
written_by: By
posted: Posted
updated: Updated
- timeago:
- day: days ago
- hour: hours ago
- minute: minutes ago
- just_now: just now
words: words
pageview_measure: views
read_time:
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
index 4693c5e..37ad8ea 100644
--- a/_data/locales/id-ID.yml
+++ b/_data/locales/id-ID.yml
@@ -27,14 +27,6 @@ panel:
trending_tags: Tagar Terpopuler
toc: Konten
-# The liquid date format › http://strftime.net/
-date_format:
- tooltip: "%a, %e %b, %Y, %l:%M %p"
- post:
- long: "%e %b, %Y"
- short: "%e %b"
- archive_month: "%b"
-
copyright:
# Shown at the bottom of the post
license:
@@ -62,11 +54,6 @@ post:
written_by: Oleh
posted: Diterbitkan
updated: Diperbarui
- timeago:
- day: hari yang lalu
- hour: jam yang lalu
- minute: menit yang lalu
- just_now: baru saja
words: kata
pageview_measure: dilihat
read_time:
diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml
index 34d48aa..4bfd318 100644
--- a/_data/locales/ko-KR.yml
+++ b/_data/locales/ko-KR.yml
@@ -27,14 +27,6 @@ panel:
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:
@@ -62,11 +54,6 @@ post:
written_by: By
posted: 게시
updated: 업데이트
- timeago:
- day: 일 전
- hour: 시간 전
- minute: 분 전
- just_now: 방금
words: 단어
pageview_measure: 조회
read_time:
diff --git a/_data/locales/my-MM.yml b/_data/locales/my-MM.yml
new file mode 100644
index 0000000..6ad9e28
--- /dev/null
+++ b/_data/locales/my-MM.yml
@@ -0,0 +1,78 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: ပို့စ်
+ category: ကဏ္ဍ
+ tag: နာမ(တက်ဂ်)
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: အဓိကစာမျက်နှာ
+ categories: ကဏ္ဍများ
+ tags: နာမ(တက်ဂ်)များ
+ archives: မှတ်တမ်းတိုက်
+ about: အကြောင်းအရာ
+
+# the text displayed in the search bar & search results
+search:
+ hint: ရှာဖွေမည်
+ cancel: ဖျက်သိမ်းမည်
+ no_results: အိုး! ဘာမှမရှိပါ
+
+panel:
+ lastmod: မကြာသေးမီကမွမ်းမံထားသည်
+ trending_tags: ခေတ်စားနေသည့်တက်ဂ်များ
+ toc: အကြောင်းအရာများ
+
+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: ကရေးသားခဲ့သည်။
+ posted: တင်ထားခဲ့သည်။
+ updated: မွမ်းမံထားခဲ့သည်။
+ 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: ပို့စ်များ
diff --git a/_data/locales/ru-RU.yml b/_data/locales/ru-RU.yml
new file mode 100644
index 0000000..1a538fe
--- /dev/null
+++ b/_data/locales/ru-RU.yml
@@ -0,0 +1,78 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Публикация
+ category: Категория
+ tag: Тег
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Домашняя страница
+ categories: Категории
+ tags: Теги
+ archives: Архив
+ about: О сайте
+
+# the text displayed in the search bar & search results
+search:
+ hint: поиск
+ cancel: Отменить
+ no_results: Ох! Ничего не найдено.
+
+panel:
+ lastmod: Недавно обновлено
+ trending_tags: Популярные теги
+ toc: Содержание
+
+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: Извините, эта ссылка указывает на ресурс который не существует.
+ hint_template: :HEAD_BAK чтобы снова осуществить поиск, или поищите :ARCHIVES_PAGE.
+ head_back: Вернитесь на домашнюю страницу
+ archives_page: архиве
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Автор
+ posted: Время публикации
+ updated: Обновлено
+ 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: публикации
diff --git a/_data/locales/uk-UA.yml b/_data/locales/uk-UA.yml
new file mode 100644
index 0000000..c06faaf
--- /dev/null
+++ b/_data/locales/uk-UA.yml
@@ -0,0 +1,78 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Публікація
+ category: Категорія
+ tag: Тег
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Домашня сторінка
+ categories: Категорії
+ tags: Теги
+ archives: Архів
+ about: Про сайт
+
+# the text displayed in the search bar & search results
+search:
+ hint: пошук
+ cancel: Скасувати
+ no_results: Ох! Нічого не знайдено.
+
+panel:
+ lastmod: Нещодавно оновлено
+ trending_tags: Популярні теги
+ toc: Зміст
+
+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: Вибачте, це посилання вказує на ресурс, що не існує.
+ hint_template: :HEAD_BAK аби здійснити пошук, або пошукайте в :ARCHIVES_PAGE.
+ head_back: Поверніться на домашню сторінку
+ archives_page: архіві
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Автор
+ posted: Час публікації
+ updated: Оновлено
+ 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: публікації
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index 83f2376..880a47e 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -27,14 +27,6 @@ panel:
trending_tags: 热门标签
toc: 文章内容
-# The liquid date format › http://strftime.net/
-date_format:
- tooltip: '%F, %R %z'
- post:
- long: '%F'
- short: '%m-%d'
- archive_month: '%m月'
-
copyright:
# Shown at the bottom of the post
license:
@@ -61,11 +53,6 @@ post:
written_by: 作者
posted: 发表于
updated: 更新于
- timeago:
- day: 天前
- hour: 小时前
- minute: 分钟前
- just_now: 刚刚
words: 字
pageview_measure: 次浏览
read_time:
diff --git a/_data/share.yml b/_data/share.yml
index ecd1b0d..1206f4d 100644
--- a/_data/share.yml
+++ b/_data/share.yml
@@ -13,7 +13,7 @@ platforms:
-
type: Telegram
icon: "fab fa-telegram"
- link: "https://telegram.me/share?text=TITLE&url=URL"
+ link: "https://t.me/share/url?url=URL&text=TITLE"
# Uncomment below if you need to.
# -
diff --git a/_tabs/about.md b/_tabs/about.md
index b511014..9f0b95f 100644
--- a/_tabs/about.md
+++ b/_tabs/about.md
@@ -4,5 +4,5 @@ icon: fas fa-info-circle
order: 4
---
-
-> **Note**: Add Markdown syntax content to file `_tabs/about.md` and it will show up on this page.
+> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
+{: .prompt-tip }
diff --git a/assets/lib b/assets/lib
new file mode 160000
index 0000000..d1d2ec1
--- /dev/null
+++ b/assets/lib
@@ -0,0 +1 @@
+Subproject commit d1d2ec17c88176753d4dd2a1296620021dcc22fd
From 6c8b7ca51f03d99a6e16dc86494ab2fcedfb941a Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Thu, 9 Jun 2022 10:06:34 +0000
Subject: [PATCH 33/64] Update critical file(s) according to Chirpy v5.2.0
---
.gitignore | 3 ++
Gemfile | 2 +-
_config.yml | 3 ++
_data/locales/en.yml | 17 +++++----
_data/locales/es-ES.yml | 79 +++++++++++++++++++++++++++++++++++++++++
_data/locales/fr-FR.yml | 79 +++++++++++++++++++++++++++++++++++++++++
_data/locales/id-ID.yml | 7 ++--
_data/locales/ko-KR.yml | 7 ++--
_data/locales/my-MM.yml | 7 ++--
_data/locales/pt-BR.yml | 79 +++++++++++++++++++++++++++++++++++++++++
_data/locales/ru-RU.yml | 7 ++--
_data/locales/uk-UA.yml | 7 ++--
_data/locales/vi-VN.yml | 77 +++++++++++++++++++++++++++++++++++++++
_data/locales/zh-CN.yml | 7 ++--
tools/deploy.sh | 2 +-
15 files changed, 357 insertions(+), 26 deletions(-)
create mode 100644 _data/locales/es-ES.yml
create mode 100644 _data/locales/fr-FR.yml
create mode 100644 _data/locales/pt-BR.yml
create mode 100644 _data/locales/vi-VN.yml
diff --git a/.gitignore b/.gitignore
index 3a9a8a6..7b9e168 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,9 @@
!.editorconfig
!.nojekyll
!.travis.yml
+!.husky
+!.commitlintrc.json
+!.versionrc.json
# bundler cache
_site
diff --git a/Gemfile b/Gemfile
index 362cb64..e2160e5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.1", ">= 5.1.0"
+gem "jekyll-theme-chirpy", "~> 5.2", ">= 5.2.0"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index cfe3c78..5e124ca 100644
--- a/_config.yml
+++ b/_config.yml
@@ -115,6 +115,9 @@ assets:
# only works if `assets.self_host.enabled` is 'true'
env: # [development|production]
+pwa:
+ enabled: true # the option for PWA feature
+
paginate: 10
# ------------ The following options are not recommended to be modified ------------------
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 1221776..14394a6 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -20,7 +20,7 @@ tabs:
search:
hint: search
cancel: Cancel
- no_results: Oops! No result founds.
+ no_results: Oops! No results found.
panel:
lastmod: Recently Updated
@@ -44,9 +44,10 @@ 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
+
+notification:
+ update_found: A new version of content is available.
+ update: Update
# ----- Posts related labels -----
@@ -74,5 +75,9 @@ post:
# categories page
categories:
- category_measure: categories
- post_measure: posts
+ category_measure:
+ singular: category
+ plural: categories
+ post_measure:
+ singular: post
+ plural: posts
diff --git a/_data/locales/es-ES.yml b/_data/locales/es-ES.yml
new file mode 100644
index 0000000..ee3a20f
--- /dev/null
+++ b/_data/locales/es-ES.yml
@@ -0,0 +1,79 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Entrada
+ category: Categoría
+ tag: Etiqueta
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Inicio
+ categories: Categorías
+ tags: Etiquetas
+ archives: Archivo
+ about: Acerca de
+
+# the text displayed in the search bar & search results
+search:
+ hint: Buscar
+ cancel: Cancelar
+ no_results: ¡Oops! No se encuentran resultados.
+
+panel:
+ lastmod: Actualizado recientemente
+ trending_tags: Etiquetas populares
+ toc: Contenido
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Esta entrada está licenciada bajo :LICENSE_NAME por el autor.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # Displayed in the footer
+ brief: Algunos derechos reservados.
+ verbose: >-
+ Salvo que se indique explícitamente, las entradas de este blog están licenciadas
+ bajo la Creative Commons Attribution 4.0 International (CC BY 4.0) License por el autor.
+
+meta: Hecho con :PLATFORM usando el tema :THEME.
+
+not_found:
+ statment: Lo sentimos, hemos perdido esa URL o apunta a algo que no existe.
+
+notification:
+ update_found: Hay una nueva versión de contenido disponible.
+ update: Actualizar
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Por
+ posted: Publicado
+ updated: Actualizado
+ words: palabras
+ pageview_measure: visitas
+ read_time:
+ unit: min
+ prompt: ' de lectura'
+ relate_posts: Lecturas adicionales
+ share: Compartir
+ button:
+ next: Nuevo
+ previous: Anterior
+ copy_code:
+ succeed: ¡Copiado!
+ share_link:
+ title: Copiar enlace
+ succeed: ¡Enlace copiado!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Fijado
+
+# categories page
+categories:
+ category_measure: categorias
+ post_measure: entradas
diff --git a/_data/locales/fr-FR.yml b/_data/locales/fr-FR.yml
new file mode 100644
index 0000000..0d29a87
--- /dev/null
+++ b/_data/locales/fr-FR.yml
@@ -0,0 +1,79 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Post
+ category: Catégorie
+ tag: Tag
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Accueil
+ categories: Catégories
+ tags: Tags
+ archives: Archives
+ about: A propos de
+
+# the text displayed in the search bar & search results
+search:
+ hint: recherche
+ cancel: Annuler
+ no_results: Oups ! Aucun résultat trouvé.
+
+panel:
+ lastmod: Récemment mis à jour
+ trending_tags: Tags tendance
+ toc: Contenu
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Cet article est sous licence :LICENSE_NAME par l'auteur.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # Displayed in the footer
+ brief: Certains droits réservés.
+ verbose: >-
+ Sauf mention contraire, les articles de ce site sont publiés sous licence
+ sous la licence Creative Commons Attribution 4.0 International (CC BY 4.0) par l'auteur.
+
+meta: Propulsé par :PLATFORM avec le thème :THEME
+
+not_found:
+ statment: Désolé, nous avons égaré cette URL ou elle pointe vers quelque chose qui n'existe pas.
+
+notification:
+ update_found: Une nouvelle version du contenu est disponible.
+ update: Mise à jour
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Par
+ posted: Posté
+ updated: Mis à jour
+ words: mots
+ pageview_measure: vues
+ read_time:
+ unit: min
+ prompt: lire
+ relate_posts: Autres lectures
+ share: Partager
+ button:
+ next: Plus récent
+ previous: Plus ancien
+ copy_code:
+ succeed: Copié !
+ share_link:
+ title: Copier le lien
+ succeed: Lien copié avec succès !
+ # pinned prompt of posts list on homepage
+ pin_prompt: Épinglé
+
+# categories page
+categories:
+ category_measure: catégories
+ post_measure: posts
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
index 37ad8ea..59ec661 100644
--- a/_data/locales/id-ID.yml
+++ b/_data/locales/id-ID.yml
@@ -44,9 +44,10 @@ meta: Didukung oleh :PLATFORM dengan tema :THEME.
not_found:
statment: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada.
- hint_template: :HEAD_BAK untuk mencoba mencari kembali, atau cari di :ARCHIVES_PAGE.
- head_back: Kembali ke Beranda
- archives_page: Halaman Arsip
+
+notification:
+ update_found: Versi konten baru tersedia.
+ update: Perbarui
# ----- Posts related labels -----
diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml
index 4bfd318..2fb9391 100644
--- a/_data/locales/ko-KR.yml
+++ b/_data/locales/ko-KR.yml
@@ -44,9 +44,10 @@ meta: Powered by :PLATFORM with :THEME theme.
not_found:
statment: 해당 URL은 존재하지 않습니다.
- hint_template: :HEAD_BAK을 눌러 다시 찾거나 :ARCHIVES_PAGE에서 검색해 주세요.
- head_back: 홈으로 돌아가기
- archives_page: 아카이브 페이지
+
+notification:
+ update_found: 새 버전의 콘텐츠를 사용할 수 있습니다.
+ update: 업데이트
# ----- Posts related labels -----
diff --git a/_data/locales/my-MM.yml b/_data/locales/my-MM.yml
index 6ad9e28..9990c76 100644
--- a/_data/locales/my-MM.yml
+++ b/_data/locales/my-MM.yml
@@ -44,9 +44,10 @@ meta: Powered by :PLATFORM with :THEME theme.
not_found:
statment: ဝမ်းနည်းပါသည်၊ ကျွန်ုပ်တို့သည် အဆိုပါ URL ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။
- hint_template: ၎င်းကို ထပ်မံရှာဖွေရန် :HEAD_BAK , သို့မဟုတ် :ARCHIVES_PAGE တွင်ရှာပါ။
- head_back: အဓိကစာမျက်နှာသို့ပြန်သွားပါ။
- archives_page: မှတ်တမ်းတိုက် စာမျက်နှာ။
+
+notification:
+ update_found: အကြောင်းအရာဗားရှင်းအသစ်ကို ရနိုင်ပါပြီ။
+ update: အပ်ဒိတ်
# ----- Posts related labels -----
diff --git a/_data/locales/pt-BR.yml b/_data/locales/pt-BR.yml
new file mode 100644
index 0000000..59209ae
--- /dev/null
+++ b/_data/locales/pt-BR.yml
@@ -0,0 +1,79 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Post
+ category: Categoria
+ tag: Tag
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Home
+ categories: Categorias
+ tags: Tags
+ archives: Arquivos
+ about: Sobre
+
+# the text displayed in the search bar & search results
+search:
+ hint: Buscar
+ cancel: Cancelar
+ no_results: Oops! Nenhum resultado encontrado.
+
+panel:
+ lastmod: Atualizados recentemente
+ trending_tags: Trending Tags
+ toc: Conteúdo
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Esta postagem está licenciada sob :LICENSE_NAME pelo autor.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # 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
+ Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor.
+
+meta: Feito com :PLATFORM usando o tema :THEME.
+
+not_found:
+ statment: Desculpe, a página não foi encontrada.
+
+notification:
+ update_found: Uma nova versão do conteúdo está disponível.
+ update: atualização
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Por
+ posted: Postado em
+ updated: Atualizado
+ words: palavras
+ pageview_measure: visualizações
+ read_time:
+ unit: min
+ prompt: " de leitura"
+ relate_posts: Leia também
+ share: Compartilhar
+ button:
+ next: Próximo
+ previous: Anterior
+ copy_code:
+ succeed: Copiado!
+ share_link:
+ title: Copie o link
+ succeed: Link copiado com sucesso!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Fixado
+
+# categories page
+categories:
+ category_measure: categorias
+ post_measure: posts
diff --git a/_data/locales/ru-RU.yml b/_data/locales/ru-RU.yml
index 1a538fe..3cd937c 100644
--- a/_data/locales/ru-RU.yml
+++ b/_data/locales/ru-RU.yml
@@ -44,9 +44,10 @@ meta: Powered by :PLATFORM with :THEME theme.
not_found:
statment: Извините, эта ссылка указывает на ресурс который не существует.
- hint_template: :HEAD_BAK чтобы снова осуществить поиск, или поищите :ARCHIVES_PAGE.
- head_back: Вернитесь на домашнюю страницу
- archives_page: архиве
+
+notification:
+ update_found: Доступна новая версия контента.
+ update: Обновлять
# ----- Posts related labels -----
diff --git a/_data/locales/uk-UA.yml b/_data/locales/uk-UA.yml
index c06faaf..6925e42 100644
--- a/_data/locales/uk-UA.yml
+++ b/_data/locales/uk-UA.yml
@@ -44,9 +44,10 @@ meta: Powered by :PLATFORM with :THEME theme.
not_found:
statment: Вибачте, це посилання вказує на ресурс, що не існує.
- hint_template: :HEAD_BAK аби здійснити пошук, або пошукайте в :ARCHIVES_PAGE.
- head_back: Поверніться на домашню сторінку
- archives_page: архіві
+
+notification:
+ update_found: Доступна нова версія вмісту.
+ update: Оновлення
# ----- Posts related labels -----
diff --git a/_data/locales/vi-VN.yml b/_data/locales/vi-VN.yml
new file mode 100644
index 0000000..592000d
--- /dev/null
+++ b/_data/locales/vi-VN.yml
@@ -0,0 +1,77 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Bài viết
+ category: Danh mục
+ tag: Thẻ
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Trang chủ
+ categories: Các danh mục
+ tags: Các thẻ
+ archives: Lưu trữ
+ about: Giới thiệu
+
+# the text displayed in the search bar & search results
+search:
+ hint: tìm kiếm
+ cancel: Hủy
+ no_results: Không có kết quả tìm kiếm.
+
+panel:
+ lastmod: Mới cập nhật
+ trending_tags: Các thẻ thịnh hành
+ toc: Mục lục
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Bài viết này được cấp phép bởi tác giả theo giấy phép :LICENSE_NAME.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # Displayed in the footer
+ brief: Một số quyền được bảo lưu.
+ verbose: >-
+ Trừ khi có ghi chú khác, các bài viết đăng trên trang này được cấp phép bởi tác giả theo giấy phép Creative Commons Attribution 4.0 International (CC BY 4.0).
+meta: Trang web này được tạo bởi :PLATFORM với chủ đề :THEME.
+
+not_found:
+ statment: Xin lỗi, chúng tôi đã đặt nhầm URL hoặc đường dẫn trỏ đến một trang nào đó không tồn tại.
+
+notification:
+ update_found: Đã có phiên bản mới của nội dung.
+ update: Cập nhật
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Viết bởi
+ posted: Đăng lúc
+ updated: Cập nhật lúc
+ words: từ
+ pageview_measure: lượt xem
+ read_time:
+ unit: phút
+ prompt: đọc
+ relate_posts: Bài viết liên quan
+ share: Chia sẻ
+ button:
+ next: Mới hơn
+ previous: Cũ hơn
+ copy_code:
+ succeed: Đã sao chép!
+ share_link:
+ title: Sao chép đường dẫn
+ succeed: Đã sao chép đường dẫn thành công!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Bài ghim
+
+# categories page
+categories:
+ category_measure: danh mục
+ post_measure: bài viết
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
index 880a47e..42fcfbc 100644
--- a/_data/locales/zh-CN.yml
+++ b/_data/locales/zh-CN.yml
@@ -43,9 +43,10 @@ meta: 本站由 :PLATFORM 生成,采用 :THEME 主题。
not_found:
statment: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。
- hint_template: :HEAD_BAK尝试再次查找它,或在:ARCHIVES_PAGE上搜索它。
- head_back: 返回主页
- archives_page: 归档页面
+
+notification:
+ update_found: 发现新版本的内容。
+ update: 更新
# ----- Posts related labels -----
diff --git a/tools/deploy.sh b/tools/deploy.sh
index 14b88eb..5baba00 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -77,7 +77,7 @@ setup_gh() {
_no_pages_branch=true
git checkout -b "$PAGES_BRANCH"
else
- git checkout "$PAGES_BRANCH"
+ git checkout -f "$PAGES_BRANCH"
fi
}
From e6a207db1613c309f319f1b74eacef6e53300238 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 17 Jun 2022 16:17:19 +0000
Subject: [PATCH 34/64] Update critical file(s) according to Chirpy v5.2.1
---
Gemfile | 2 +-
_config.yml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index e2160e5..0e7eae0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.2", ">= 5.2.0"
+gem "jekyll-theme-chirpy", "~> 5.2", ">= 5.2.1"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index 5e124ca..d0a1023 100644
--- a/_config.yml
+++ b/_config.yml
@@ -185,6 +185,7 @@ exclude:
- '*.gemspec'
- tools
- README.md
+ - CHANGELOG.md
- LICENSE
- gulpfile.js
- node_modules
From 1b74cf9a365666bb017ea0db2e3511db5b56e913 Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Fri, 23 Sep 2022 13:58:58 +0000
Subject: [PATCH 35/64] Update critical file(s) according to Chirpy v5.3.0
---
.github/workflows/pages-deploy.yml | 59 +++++++++--
Gemfile | 2 +-
_data/locales/bg-BG.yml | 83 +++++++++++++++
_data/locales/de-DE.yml | 82 +++++++++++++++
_data/locales/hu-HU.yml | 81 +++++++++++++++
_data/locales/tr-TR.yml | 79 ++++++++++++++
_tabs/about.md | 2 +-
_tabs/archives.md | 1 -
_tabs/categories.md | 1 -
_tabs/tags.md | 1 -
tools/deploy.sh | 160 -----------------------------
11 files changed, 378 insertions(+), 173 deletions(-)
create mode 100644 _data/locales/bg-BG.yml
create mode 100644 _data/locales/de-DE.yml
create mode 100644 _data/locales/hu-HU.yml
create mode 100644 _data/locales/tr-TR.yml
delete mode 100755 tools/deploy.sh
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index e3efcc8..821a08b 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -1,29 +1,72 @@
-name: 'Automatic build'
+name: "Build and deploy"
on:
push:
branches:
- main
+ - master
paths-ignore:
- .gitignore
- README.md
- LICENSE
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+# Allow one concurrent deployment
+concurrency:
+ group: "pages"
+ cancel-in-progress: true
jobs:
- continuous-delivery:
-
+ build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
- fetch-depth: 0 # for posts's lastmod
+ fetch-depth: 0
+ # submodules: true
+ # If using the 'assets' git submodule from Chirpy Starter, uncomment above
+ # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
+
+ - name: Setup Pages
+ id: pages
+ uses: actions/configure-pages@v1
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7
+ ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
bundler-cache: true
- - name: Deploy
- run: bash tools/deploy.sh
+ - name: Build site
+ run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
+ env:
+ JEKYLL_ENV: "production"
+
+ - name: Test site
+ run: |
+ bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href
+
+ - name: Upload site artifact
+ uses: actions/upload-pages-artifact@v1
+ with:
+ path: "_site${{ steps.pages.outputs.base_path }}"
+
+ deploy:
+ name: "Deploy site"
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v1
diff --git a/Gemfile b/Gemfile
index 0e7eae0..c81c07d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.2", ">= 5.2.1"
+gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.0"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_data/locales/bg-BG.yml b/_data/locales/bg-BG.yml
new file mode 100644
index 0000000..fe601bb
--- /dev/null
+++ b/_data/locales/bg-BG.yml
@@ -0,0 +1,83 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Публикация
+ category: Категория
+ tag: Тагове
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Начало
+ categories: Категории
+ tags: Тагове
+ archives: Архив
+ about: За мен
+
+# the text displayed in the search bar & search results
+search:
+ hint: търси
+ cancel: Отмени
+ no_results: Упс! Не са намерени резултати.
+
+panel:
+ lastmod: Наскоро обновени
+ trending_tags: Популярни тагове
+ toc: Съдържание
+
+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 (CC BY 4.0) от автора.
+
+meta: Създадено чрез :PLATFORM и :THEME тема.
+
+not_found:
+ statment: Съжалявам, но този на този URL адрес няма налично съдържание.
+
+notification:
+ update_found: Налична е нова версия на съдържанието.
+ update: Обнови
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Автор
+ posted: Публикувана
+ updated: Обновена
+ 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:
+ singular: категория
+ plural: категории
+ post_measure:
+ singular: публикация
+ plural: публикации
diff --git a/_data/locales/de-DE.yml b/_data/locales/de-DE.yml
new file mode 100644
index 0000000..3088a3c
--- /dev/null
+++ b/_data/locales/de-DE.yml
@@ -0,0 +1,82 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Eintrag
+ category: Kategorie
+ tag: Tag
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Startseite
+ categories: Kategorien
+ tags: Tags
+ archives: Archiv
+ about: Über
+
+# the text displayed in the search bar & search results
+search:
+ hint: Suche
+ cancel: Abbrechen
+ no_results: Ups! Keine Einträge gefunden.
+
+panel:
+ lastmod: Kürzlich aktualisiert
+ trending_tags: Beliebte Tags
+ toc: Inhalt
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Dieser Eintrag ist vom Autor unter :LICENSE_NAME lizensiert.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # Displayed in the footer
+ brief: Einige Rechte vorbehalten.
+ verbose: >-
+ Alle Einträge auf dieser Seite stehen, soweit nicht anders angegeben, unter der Lizenz Creative Commons Attribution 4.0 (CC BY 4.0).
+
+meta: Powered by :PLATFORM with :THEME theme.
+
+not_found:
+ statment: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource.
+
+notification:
+ update_found: Eine neue Version ist verfügbar.
+ update: Neue Version
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Von
+ posted: Veröffentlicht
+ updated: Aktualisiert
+ words: Wörter
+ pageview_measure: Aufrufe
+ read_time:
+ unit: Minuten
+ prompt: lesen
+ relate_posts: Weiterlesen
+ share: Teilen
+ button:
+ next: Nächster Eintrag
+ previous: Eintrag vorher
+ copy_code:
+ succeed: Kopiert!
+ share_link:
+ title: Link kopieren
+ succeed: Link erfolgreich kopiert!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Angepinnt
+
+# categories page
+categories:
+ category_measure:
+ singular: Kategorie
+ plural: Kategorien
+ post_measure:
+ singular: Eintrag
+ plural: Einträge
diff --git a/_data/locales/hu-HU.yml b/_data/locales/hu-HU.yml
new file mode 100644
index 0000000..395a809
--- /dev/null
+++ b/_data/locales/hu-HU.yml
@@ -0,0 +1,81 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Bejegyzés
+ category: Kategória
+ tag: Címke
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Kezdőlap
+ categories: Kategóriák
+ tags: Címkék
+ archives: Archívum
+ about: Rólam
+
+# the text displayed in the search bar & search results
+search:
+ hint: keresés
+ cancel: Mégse
+ no_results: Oops! Nincs találat a keresésre.
+
+panel:
+ lastmod: Legutóbb frissítve
+ trending_tags: Népszerű Címkék
+ toc: Tartalom
+ links: Blog linkek
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: A bejegyzés :LICENSE_NAME licenccel rendelkezik.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/
+
+ # 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,
+ hacsak másképp nincs jelezve.
+
+meta: Készítve :PLATFORM motorral :THEME témával.
+
+not_found:
+ statment: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.
+
+notification:
+ update_found: Elérhető a tartalom új verziója.
+ update: Frissítés
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Szerző
+ posted: Létrehozva
+ updated: Frissítve
+ words: szó
+ pageview_measure: látogató
+ read_time:
+ unit: perc
+ prompt: elolvasni
+ relate_posts: További olvasnivaló
+ share: Megosztás
+ button:
+ next: Újabb
+ previous: Régebbi
+ copy_code:
+ succeed: Másolva!
+ share_link:
+ title: Link másolása
+ succeed: Link sikeresen másolva!
+ # pinned prompt of posts list on homepage
+ pin_prompt: Kitűzve
+
+# categories page
+categories:
+ category_measure: kategória
+ post_measure: bejegyzés
diff --git a/_data/locales/tr-TR.yml b/_data/locales/tr-TR.yml
new file mode 100644
index 0000000..f7c2567
--- /dev/null
+++ b/_data/locales/tr-TR.yml
@@ -0,0 +1,79 @@
+# The layout text of site
+
+# ----- Commons label -----
+
+layout:
+ post: Gönderi
+ category: Kategori
+ tag: Etiket
+
+# The tabs of sidebar
+tabs:
+ # format: :
+ home: Ana Sayfa
+ categories: Kategoriler
+ tags: Etiketler
+ archives: Arşiv
+ about: Hakkında
+
+# the text displayed in the search bar & search results
+search:
+ hint: Ara...
+ cancel: İptal
+ no_results: Hop! Öyle bir şey bulamadım.
+
+panel:
+ lastmod: Yeni Güncellendi
+ trending_tags: Yükselen Etiketler
+ toc: İçindekiler
+
+copyright:
+ # Shown at the bottom of the post
+ license:
+ template: Bu gönderi :LICENSE_NAME lisansı altındadır.
+ name: CC BY 4.0
+ link: https://creativecommons.org/licenses/by/4.0/deed.tr
+
+ # Displayed in the footer
+ brief: Bazı hakları saklıdır.
+ verbose: >-
+ Aksi belirtilmediği sürece, bu sitedeki gönderiler Creative Commons Atıf 4.0 Uluslararası (CC BY 4.0) Lisansı altındadır.
+ Kısaca sayfa linkini de vererek paylaşabilir veya düzenleyip paylaşabilirsin.
+
+meta: :PLATFORM ve :THEME teması.
+
+not_found:
+ statment: Üzgünüz, bu linki yanlış yerleştirdik veya var olmayan bir şeye işaret ediyor.
+
+notification:
+ update_found: İçeriğin yeni bir sürümü mevcut.
+ update: Güncelle
+
+# ----- Posts related labels -----
+
+post:
+ written_by: Yazan
+ posted: Gönderilme Tarihi
+ updated: Güncellenme Tarihi
+ words: sözcük
+ pageview_measure: görüntülenme
+ read_time:
+ unit: dakikada
+ prompt: okunabilir
+ relate_posts: Benzer Gönderiler
+ share: Paylaş
+ button:
+ next: İleri
+ previous: Geri
+ copy_code:
+ succeed: Kopyalandı.
+ share_link:
+ title: Linki kopyala
+ succeed: Link kopyalandı.
+ # pinned prompt of posts list on homepage
+ pin_prompt: Sabitlendi
+
+# categories page
+categories:
+ category_measure: kategori
+ post_measure: gönderi
diff --git a/_tabs/about.md b/_tabs/about.md
index 9f0b95f..ddb2bc4 100644
--- a/_tabs/about.md
+++ b/_tabs/about.md
@@ -1,5 +1,5 @@
---
-title: About
+# the default layout is 'page'
icon: fas fa-info-circle
order: 4
---
diff --git a/_tabs/archives.md b/_tabs/archives.md
index f969f92..1b42e95 100644
--- a/_tabs/archives.md
+++ b/_tabs/archives.md
@@ -1,6 +1,5 @@
---
layout: archives
-title: Archives
icon: fas fa-archive
order: 3
---
diff --git a/_tabs/categories.md b/_tabs/categories.md
index 3a23c29..2d241be 100644
--- a/_tabs/categories.md
+++ b/_tabs/categories.md
@@ -1,6 +1,5 @@
---
layout: categories
-title: Categories
icon: fas fa-stream
order: 1
---
diff --git a/_tabs/tags.md b/_tabs/tags.md
index 2108d24..c8e213a 100644
--- a/_tabs/tags.md
+++ b/_tabs/tags.md
@@ -1,6 +1,5 @@
---
layout: tags
-title: Tags
icon: fas fa-tag
order: 2
---
diff --git a/tools/deploy.sh b/tools/deploy.sh
deleted file mode 100755
index 5baba00..0000000
--- a/tools/deploy.sh
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/usr/bin/env bash
-#
-# Build, test and then deploy the site content to 'origin/'
-#
-# Requirement: html-proofer, jekyll
-#
-# Usage: See help information
-
-set -eu
-
-PAGES_BRANCH="gh-pages"
-
-SITE_DIR="_site"
-
-_opt_dry_run=false
-
-_config="_config.yml"
-
-_no_pages_branch=false
-
-_backup_dir="$(mktemp -d)"
-
-_baseurl=""
-
-help() {
- echo "Build, test and then deploy the site content to 'origin/'"
- echo
- echo "Usage:"
- echo
- echo " bash ./tools/deploy.sh [options]"
- echo
- echo "Options:"
- echo ' -c, --config "" Specify config file(s)'
- echo " --dry-run Build site and test, but not deploy"
- echo " -h, --help Print this information."
-}
-
-init() {
- if [[ -z ${GITHUB_ACTION+x} && $_opt_dry_run == 'false' ]]; then
- echo "ERROR: It is not allowed to deploy outside of the GitHub Action envrionment."
- echo "Type option '-h' to see the help information."
- exit -1
- fi
-
- _baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")"
-}
-
-build() {
- # clean up
- if [[ -d $SITE_DIR ]]; then
- rm -rf "$SITE_DIR"
- fi
-
- # build
- JEKYLL_ENV=production bundle exec jekyll b -d "$SITE_DIR$_baseurl" --config "$_config"
-}
-
-test() {
- bundle exec htmlproofer \
- --disable-external \
- --check-html \
- --allow_hash_href \
- "$SITE_DIR"
-}
-
-resume_site_dir() {
- if [[ -n $_baseurl ]]; then
- # Move the site file to the regular directory '_site'
- mv "$SITE_DIR$_baseurl" "${SITE_DIR}-rename"
- rm -rf "$SITE_DIR"
- mv "${SITE_DIR}-rename" "$SITE_DIR"
- fi
-}
-
-setup_gh() {
- if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
- _no_pages_branch=true
- git checkout -b "$PAGES_BRANCH"
- else
- git checkout -f "$PAGES_BRANCH"
- fi
-}
-
-backup() {
- mv "$SITE_DIR"/* "$_backup_dir"
- mv .git "$_backup_dir"
-
- # When adding custom domain from Github website,
- # the CANME only exist on `gh-pages` branch
- if [[ -f CNAME ]]; then
- mv CNAME "$_backup_dir"
- fi
-}
-
-flush() {
- rm -rf ./*
- rm -rf .[^.] .??*
-
- shopt -s dotglob nullglob
- mv "$_backup_dir"/* .
- [[ -f ".nojekyll" ]] || echo "" >".nojekyll"
-}
-
-deploy() {
- git config --global user.name "GitHub Actions"
- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
-
- git update-ref -d HEAD
- git add -A
- git commit -m "[Automation] Site update No.${GITHUB_RUN_NUMBER}"
-
- if $_no_pages_branch; then
- git push -u origin "$PAGES_BRANCH"
- else
- git push -f
- fi
-}
-
-main() {
- init
- build
- test
- resume_site_dir
-
- if $_opt_dry_run; then
- exit 0
- fi
-
- setup_gh
- backup
- flush
- deploy
-}
-
-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
- ;;
- esac
-done
-
-main
From d9428918eda59f796d89fb3bd9af07c0f901f55d Mon Sep 17 00:00:00 2001
From: Travis-CI
Date: Tue, 25 Oct 2022 13:31:31 +0000
Subject: [PATCH 36/64] 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
---
-
From 9b2c9badce3f4f669d41006433d8067f60803aef Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Fri, 25 Nov 2022 15:03:09 +0000
Subject: [PATCH 37/64] Update critical file(s) according to Chirpy v5.3.2
---
Gemfile | 2 +-
_data/assets/cross_origin.yml | 2 +-
_data/assets/self_host.yml | 2 +-
assets/lib | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Gemfile b/Gemfile
index 6ba7a12..2c06e0a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.1"
+gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.2"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_data/assets/cross_origin.yml b/_data/assets/cross_origin.yml
index 317354a..a7d024e 100644
--- a/_data/assets/cross_origin.yml
+++ b/_data/assets/cross_origin.yml
@@ -27,7 +27,7 @@ bootstrap-toc:
js: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js
fontawesome:
- css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.11.2/css/all.min.css
+ css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css
search:
js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js
diff --git a/_data/assets/self_host.yml b/_data/assets/self_host.yml
index 4649b56..b6410a4 100644
--- a/_data/assets/self_host.yml
+++ b/_data/assets/self_host.yml
@@ -16,7 +16,7 @@ bootstrap-toc:
js: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js
fontawesome:
- css: /assets/lib/fontawesome-free-5.15.4/css/all.min.css
+ css: /assets/lib/fontawesome-free-6.2.1/css/all.min.css
search:
js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js
diff --git a/assets/lib b/assets/lib
index d1d2ec1..5d177b3 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit d1d2ec17c88176753d4dd2a1296620021dcc22fd
+Subproject commit 5d177b3cbbea89e3392eb48c0ee580c6a0ce41d1
From 02a5de7732e340f1ae03d9442479ead5c12cfd50 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Tue, 27 Dec 2022 17:32:37 +0000
Subject: [PATCH 38/64] Update critical file(s) according to Chirpy v5.4.0
---
.github/workflows/pages-deploy.yml | 2 +-
.gitignore | 1 -
Gemfile | 5 +----
_data/assets/cross_origin.yml | 30 +++++++++++++++---------------
_data/assets/self_host.yml | 4 ++--
_data/contact.yml | 2 +-
_data/locales/bg-BG.yml | 6 +++---
_data/locales/en.yml | 2 +-
assets/lib | 2 +-
9 files changed, 25 insertions(+), 29 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index b2da8d9..fed62a9 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
+ ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
bundler-cache: true
- name: Build site
diff --git a/.gitignore b/.gitignore
index 52a3277..a366f10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,6 @@
!.git*
!.editorconfig
!.nojekyll
-!.travis.yml
!.husky
!.commitlintrc.json
!.versionrc.json
diff --git a/Gemfile b/Gemfile
index 2c06e0a..b3ba499 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.3", ">= 5.3.2"
+gem "jekyll-theme-chirpy", "~> 5.4", ">= 5.4.0"
group :test do
gem "html-proofer", "~> 3.18"
@@ -17,6 +17,3 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
-
-# Jekyll <= 4.2.0 compatibility with Ruby 3.0
-gem "webrick", "~> 1.7"
diff --git a/_data/assets/cross_origin.yml b/_data/assets/cross_origin.yml
index a7d024e..a3a8dfb 100644
--- a/_data/assets/cross_origin.yml
+++ b/_data/assets/cross_origin.yml
@@ -16,47 +16,47 @@ webfonts: https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:w
# Libraries
jquery:
- js: https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js
+ js: https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js
bootstrap:
- css: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css
- js: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js
+ css: https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css
+ js: https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js
bootstrap-toc:
css: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css
js: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js
fontawesome:
- css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css
+ css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.1/css/all.min.css
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@9/dist/mermaid.min.js
+ js: https://cdn.jsdelivr.net/npm/mermaid@9.2.2/dist/mermaid.min.js
dayjs:
js:
- common: https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js
- locale: https://cdn.jsdelivr.net/npm/dayjs@1/locale/:LOCALE.min.js
- relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.min.js
- localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/localizedFormat.min.js
+ common: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/dayjs.min.js
+ locale: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/locale/:LOCALE.min.js
+ relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/plugin/relativeTime.min.js
+ localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/plugin/localizedFormat.min.js
countup:
js: https://cdn.jsdelivr.net/npm/countup.js@1.9.3/dist/countUp.min.js
magnific-popup:
- css: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/magnific-popup.min.css
- js: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/jquery.magnific-popup.min.js
+ css: https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/magnific-popup.min.css
+ js: https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/jquery.magnific-popup.min.js
-lozad:
- js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js
+lazysizes:
+ js: https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js
clipboard:
- js: https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js
+ js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
polyfill:
js: https://polyfill.io/v3/polyfill.min.js?features=es6
mathjax:
- js: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js
+ js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js
diff --git a/_data/assets/self_host.yml b/_data/assets/self_host.yml
index b6410a4..817c78e 100644
--- a/_data/assets/self_host.yml
+++ b/_data/assets/self_host.yml
@@ -38,8 +38,8 @@ magnific-popup:
css: /assets/lib/magnific-popup-1.1.0/magnific-popup.css
js: /assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js
-lozad:
- js: /assets/lib/lozad-1.16.0/lozad.min.js
+lazysizes:
+ js: /assets/lib/lazysizes-5.3.2/lazysizes.min.js
clipboard:
js: /assets/lib/clipboard-2.0.9/clipboard.min.js
diff --git a/_data/contact.yml b/_data/contact.yml
index 05da2f2..a94e555 100644
--- a/_data/contact.yml
+++ b/_data/contact.yml
@@ -19,7 +19,7 @@
# -
# type: mastodon
# icon: 'fab fa-mastodon' # icons powered by
-# url: '' # Fill with your mastodon account page
+# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
# -
# type: linkedin
# icon: 'fab fa-linkedin' # icons powered by
diff --git a/_data/locales/bg-BG.yml b/_data/locales/bg-BG.yml
index fe601bb..3e4103c 100644
--- a/_data/locales/bg-BG.yml
+++ b/_data/locales/bg-BG.yml
@@ -5,7 +5,7 @@
layout:
post: Публикация
category: Категория
- tag: Тагове
+ tag: Таг
# The tabs of sidebar
tabs:
@@ -43,7 +43,7 @@ copyright:
meta: Създадено чрез :PLATFORM и :THEME тема.
not_found:
- statment: Съжалявам, но този на този URL адрес няма налично съдържание.
+ statment: Съжалявам, но на този URL адрес няма налично съдържание.
notification:
update_found: Налична е нова версия на съдържанието.
@@ -71,7 +71,7 @@ post:
title: Копирай линк
succeed: Линкът е копиран успешно!
# pinned prompt of posts list on homepage
- pin_prompt: Прикрепен
+ pin_prompt: Прикрепенa
# categories page
categories:
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
index 79b42e1..975f5f0 100644
--- a/_data/locales/en.yml
+++ b/_data/locales/en.yml
@@ -40,7 +40,7 @@ copyright:
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.
+meta: Using the :PLATFORM theme :THEME.
not_found:
statment: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
diff --git a/assets/lib b/assets/lib
index 5d177b3..e372141 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 5d177b3cbbea89e3392eb48c0ee580c6a0ce41d1
+Subproject commit e372141074f370c6f03b68b5264e7663f2b7477c
From 1832a369aaa19bf67a7ea5f7679cc69fc43540ed Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 29 Jan 2023 21:05:40 +0000
Subject: [PATCH 39/64] Update critical file(s) according to Chirpy v5.5.0
---
.editorconfig | 4 +-
.github/workflows/pages-deploy.yml | 2 +-
.gitignore | 1 +
Gemfile | 17 ++++--
README.md | 5 +-
_data/assets/cross_origin.yml | 62 --------------------
_data/assets/self_host.yml | 51 ----------------
_data/contact.yml | 30 ----------
_data/locales/bg-BG.yml | 83 --------------------------
_data/locales/de-DE.yml | 82 --------------------------
_data/locales/en.yml | 93 ------------------------------
_data/locales/es-ES.yml | 79 -------------------------
_data/locales/fr-FR.yml | 79 -------------------------
_data/locales/hu-HU.yml | 81 --------------------------
_data/locales/id-ID.yml | 79 -------------------------
_data/locales/ko-KR.yml | 86 ---------------------------
_data/locales/my-MM.yml | 79 -------------------------
_data/locales/pt-BR.yml | 79 -------------------------
_data/locales/ru-RU.yml | 79 -------------------------
_data/locales/tr-TR.yml | 79 -------------------------
_data/locales/uk-UA.yml | 79 -------------------------
_data/locales/vi-VN.yml | 77 -------------------------
_data/locales/zh-CN.yml | 85 ---------------------------
_data/share.yml | 27 ---------
24 files changed, 20 insertions(+), 1398 deletions(-)
delete mode 100644 _data/assets/cross_origin.yml
delete mode 100644 _data/assets/self_host.yml
delete mode 100644 _data/contact.yml
delete mode 100644 _data/locales/bg-BG.yml
delete mode 100644 _data/locales/de-DE.yml
delete mode 100644 _data/locales/en.yml
delete mode 100644 _data/locales/es-ES.yml
delete mode 100644 _data/locales/fr-FR.yml
delete mode 100644 _data/locales/hu-HU.yml
delete mode 100644 _data/locales/id-ID.yml
delete mode 100644 _data/locales/ko-KR.yml
delete mode 100644 _data/locales/my-MM.yml
delete mode 100644 _data/locales/pt-BR.yml
delete mode 100644 _data/locales/ru-RU.yml
delete mode 100644 _data/locales/tr-TR.yml
delete mode 100644 _data/locales/uk-UA.yml
delete mode 100644 _data/locales/vi-VN.yml
delete mode 100644 _data/locales/zh-CN.yml
delete mode 100644 _data/share.yml
diff --git a/.editorconfig b/.editorconfig
index 8dccd84..f27e9a9 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,6 +9,8 @@ trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
-
[*.js]
indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index fed62a9..356d42a 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
+ ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
bundler-cache: true
- name: Build site
diff --git a/.gitignore b/.gitignore
index a366f10..9735d33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@
# bundler cache
_site
vendor
+Gemfile.lock
# rubygem
*.gem
diff --git a/Gemfile b/Gemfile
index b3ba499..604662d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.4", ">= 5.4.0"
+gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.0"
group :test do
gem "html-proofer", "~> 3.18"
@@ -10,10 +10,19 @@ end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
-install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
- gem "tzinfo", "~> 1.2"
+platforms :mingw, :x64_mingw, :mswin, :jruby do
+ gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
-gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
+gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
+
+# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
+# do not have a Java counterpart.
+gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
+
+# Lock jekyll-sass-converter to 2.x on Linux-musl
+if RUBY_PLATFORM =~ /linux-musl/
+ gem "jekyll-sass-converter", "~> 2.0"
+end
diff --git a/README.md b/README.md
index c1b0375..14aafe8 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,14 @@
# Chirpy Starter [](https://rubygems.org/gems/jekyll-theme-chirpy) [][mit]
-When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
+When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `/_data`, `/_layouts`, `/_includes`, `/_sass` and `/assets`, as well as a small part of options of the `/_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
-The Jekyll organization claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
+The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your Jekyll site. The following is a list of targets:
```shell
.
├── _config.yml
-├── _data
├── _plugins
├── _tabs
└── index.html
diff --git a/_data/assets/cross_origin.yml b/_data/assets/cross_origin.yml
deleted file mode 100644
index a3a8dfb..0000000
--- a/_data/assets/cross_origin.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-# CDNs
-
-cdns:
- # Google Fonts
- - url: https://fonts.googleapis.com
- - url: https://fonts.gstatic.com
- args: crossorigin
- - url: https://fonts.googleapis.com
- # jsDelivr CDN
- - url: https://cdn.jsdelivr.net
-
-# fonts
-
-webfonts: https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:wght@400;600;700;900&display=swap
-
-# Libraries
-
-jquery:
- js: https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js
-
-bootstrap:
- css: https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css
- js: https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js
-
-bootstrap-toc:
- css: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css
- js: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js
-
-fontawesome:
- css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.1/css/all.min.css
-
-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@9.2.2/dist/mermaid.min.js
-
-dayjs:
- js:
- common: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/dayjs.min.js
- locale: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/locale/:LOCALE.min.js
- relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/plugin/relativeTime.min.js
- localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1.11.6/plugin/localizedFormat.min.js
-
-countup:
- js: https://cdn.jsdelivr.net/npm/countup.js@1.9.3/dist/countUp.min.js
-
-magnific-popup:
- css: https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/magnific-popup.min.css
- js: https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/jquery.magnific-popup.min.js
-
-lazysizes:
- js: https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js
-
-clipboard:
- js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
-
-polyfill:
- js: https://polyfill.io/v3/polyfill.min.js?features=es6
-
-mathjax:
- js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js
diff --git a/_data/assets/self_host.yml b/_data/assets/self_host.yml
deleted file mode 100644
index 817c78e..0000000
--- a/_data/assets/self_host.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# fonts
-
-webfonts: /assets/lib/fonts/main.css
-
-# Libraries
-
-jquery:
- js: /assets/lib/jquery-3.6.0/jquery.min.js
-
-bootstrap:
- css: /assets/lib/bootstrap-4.6.1/bootstrap.min.css
- js: /assets/lib/bootstrap-4.6.1/bootstrap.bundle.min.js
-
-bootstrap-toc:
- css: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.css
- js: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js
-
-fontawesome:
- css: /assets/lib/fontawesome-free-6.2.1/css/all.min.css
-
-search:
- js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js
-
-mermaid:
- js: /assets/lib/mermaid-9.1.7/mermaid.min.js
-
-dayjs:
- js:
- common: /assets/lib/dayjs-1.10.7/dayjs.min.js
- locale: /assets/lib/dayjs-1.10.7/locale/en.min.js
- relativeTime: /assets/lib/dayjs-1.10.7/plugin/relativeTime.min.js
- localizedFormat: /assets/lib/dayjs-1.10.7/plugin/localizedFormat.min.js
-
-countup:
- js: /assets/lib/countup.js-1.9.3/countUp.min.js
-
-magnific-popup:
- css: /assets/lib/magnific-popup-1.1.0/magnific-popup.css
- js: /assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js
-
-lazysizes:
- js: /assets/lib/lazysizes-5.3.2/lazysizes.min.js
-
-clipboard:
- js: /assets/lib/clipboard-2.0.9/clipboard.min.js
-
-polyfill:
- js: /assets/lib/polyfill-v3-es6/polyfill.min.js
-
-mathjax:
- js: /assets/lib/mathjax-3.2.0/tex-chtml.js
diff --git a/_data/contact.yml b/_data/contact.yml
deleted file mode 100644
index a94e555..0000000
--- a/_data/contact.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-# The contact options.
-
--
- type: github
- icon: 'fab fa-github'
--
- type: twitter
- icon: 'fab fa-twitter'
--
- type: email
- icon: 'fas fa-envelope'
- noblank: true # open link in current tab
--
- type: rss
- icon: 'fas fa-rss'
- noblank: true
-
-# Uncomment and complete the url below to enable more contact options
-# -
-# type: mastodon
-# icon: 'fab fa-mastodon' # icons powered by
-# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
-# -
-# type: linkedin
-# icon: 'fab fa-linkedin' # icons powered by
-# url: '' # Fill with your Linkedin homepage
-# -
-# type: stack-overflow
-# icon: 'fab fa-stack-overflow'
-# url: '' # Fill with your stackoverflow homepage
diff --git a/_data/locales/bg-BG.yml b/_data/locales/bg-BG.yml
deleted file mode 100644
index 3e4103c..0000000
--- a/_data/locales/bg-BG.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Публикация
- category: Категория
- tag: Таг
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Начало
- categories: Категории
- tags: Тагове
- archives: Архив
- about: За мен
-
-# the text displayed in the search bar & search results
-search:
- hint: търси
- cancel: Отмени
- no_results: Упс! Не са намерени резултати.
-
-panel:
- lastmod: Наскоро обновени
- trending_tags: Популярни тагове
- toc: Съдържание
-
-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 (CC BY 4.0) от автора.
-
-meta: Създадено чрез :PLATFORM и :THEME тема.
-
-not_found:
- statment: Съжалявам, но на този URL адрес няма налично съдържание.
-
-notification:
- update_found: Налична е нова версия на съдържанието.
- update: Обнови
-
-# ----- Posts related labels -----
-
-post:
- written_by: Автор
- posted: Публикувана
- updated: Обновена
- 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: Прикрепенa
-
-# categories page
-categories:
- category_measure:
- singular: категория
- plural: категории
- post_measure:
- singular: публикация
- plural: публикации
diff --git a/_data/locales/de-DE.yml b/_data/locales/de-DE.yml
deleted file mode 100644
index 3088a3c..0000000
--- a/_data/locales/de-DE.yml
+++ /dev/null
@@ -1,82 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Eintrag
- category: Kategorie
- tag: Tag
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Startseite
- categories: Kategorien
- tags: Tags
- archives: Archiv
- about: Über
-
-# the text displayed in the search bar & search results
-search:
- hint: Suche
- cancel: Abbrechen
- no_results: Ups! Keine Einträge gefunden.
-
-panel:
- lastmod: Kürzlich aktualisiert
- trending_tags: Beliebte Tags
- toc: Inhalt
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Dieser Eintrag ist vom Autor unter :LICENSE_NAME lizensiert.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # Displayed in the footer
- brief: Einige Rechte vorbehalten.
- verbose: >-
- Alle Einträge auf dieser Seite stehen, soweit nicht anders angegeben, unter der Lizenz Creative Commons Attribution 4.0 (CC BY 4.0).
-
-meta: Powered by :PLATFORM with :THEME theme.
-
-not_found:
- statment: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource.
-
-notification:
- update_found: Eine neue Version ist verfügbar.
- update: Neue Version
-
-# ----- Posts related labels -----
-
-post:
- written_by: Von
- posted: Veröffentlicht
- updated: Aktualisiert
- words: Wörter
- pageview_measure: Aufrufe
- read_time:
- unit: Minuten
- prompt: lesen
- relate_posts: Weiterlesen
- share: Teilen
- button:
- next: Nächster Eintrag
- previous: Eintrag vorher
- copy_code:
- succeed: Kopiert!
- share_link:
- title: Link kopieren
- succeed: Link erfolgreich kopiert!
- # pinned prompt of posts list on homepage
- pin_prompt: Angepinnt
-
-# categories page
-categories:
- category_measure:
- singular: Kategorie
- plural: Kategorien
- post_measure:
- singular: Eintrag
- plural: Einträge
diff --git a/_data/locales/en.yml b/_data/locales/en.yml
deleted file mode 100644
index 975f5f0..0000000
--- a/_data/locales/en.yml
+++ /dev/null
@@ -1,93 +0,0 @@
-# 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
-
-# the text displayed in the search bar & search results
-search:
- hint: search
- cancel: Cancel
- no_results: Oops! No results found.
-
-panel:
- lastmod: Recently Updated
- trending_tags: Trending Tags
- toc: Contents
-
-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: Using the :PLATFORM theme :THEME.
-
-not_found:
- statment: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
-
-notification:
- update_found: A new version of content is available.
- update: Update
-
-# ----- Posts related labels -----
-
-post:
- written_by: By
- posted: Posted
- updated: Updated
- words: words
- pageview_measure: views
- read_time:
- unit: min
- prompt: read
- relate_posts: Further Reading
- share: Share
- button:
- next: Newer
- previous: Older
- copy_code:
- succeed: Copied!
- share_link:
- title: Copy link
- succeed: Link copied successfully!
- # 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:
- singular: category
- plural: categories
- post_measure:
- singular: post
- plural: posts
diff --git a/_data/locales/es-ES.yml b/_data/locales/es-ES.yml
deleted file mode 100644
index ee3a20f..0000000
--- a/_data/locales/es-ES.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Entrada
- category: Categoría
- tag: Etiqueta
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Inicio
- categories: Categorías
- tags: Etiquetas
- archives: Archivo
- about: Acerca de
-
-# the text displayed in the search bar & search results
-search:
- hint: Buscar
- cancel: Cancelar
- no_results: ¡Oops! No se encuentran resultados.
-
-panel:
- lastmod: Actualizado recientemente
- trending_tags: Etiquetas populares
- toc: Contenido
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Esta entrada está licenciada bajo :LICENSE_NAME por el autor.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # Displayed in the footer
- brief: Algunos derechos reservados.
- verbose: >-
- Salvo que se indique explícitamente, las entradas de este blog están licenciadas
- bajo la Creative Commons Attribution 4.0 International (CC BY 4.0) License por el autor.
-
-meta: Hecho con :PLATFORM usando el tema :THEME.
-
-not_found:
- statment: Lo sentimos, hemos perdido esa URL o apunta a algo que no existe.
-
-notification:
- update_found: Hay una nueva versión de contenido disponible.
- update: Actualizar
-
-# ----- Posts related labels -----
-
-post:
- written_by: Por
- posted: Publicado
- updated: Actualizado
- words: palabras
- pageview_measure: visitas
- read_time:
- unit: min
- prompt: ' de lectura'
- relate_posts: Lecturas adicionales
- share: Compartir
- button:
- next: Nuevo
- previous: Anterior
- copy_code:
- succeed: ¡Copiado!
- share_link:
- title: Copiar enlace
- succeed: ¡Enlace copiado!
- # pinned prompt of posts list on homepage
- pin_prompt: Fijado
-
-# categories page
-categories:
- category_measure: categorias
- post_measure: entradas
diff --git a/_data/locales/fr-FR.yml b/_data/locales/fr-FR.yml
deleted file mode 100644
index 0d29a87..0000000
--- a/_data/locales/fr-FR.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Post
- category: Catégorie
- tag: Tag
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Accueil
- categories: Catégories
- tags: Tags
- archives: Archives
- about: A propos de
-
-# the text displayed in the search bar & search results
-search:
- hint: recherche
- cancel: Annuler
- no_results: Oups ! Aucun résultat trouvé.
-
-panel:
- lastmod: Récemment mis à jour
- trending_tags: Tags tendance
- toc: Contenu
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Cet article est sous licence :LICENSE_NAME par l'auteur.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # Displayed in the footer
- brief: Certains droits réservés.
- verbose: >-
- Sauf mention contraire, les articles de ce site sont publiés sous licence
- sous la licence Creative Commons Attribution 4.0 International (CC BY 4.0) par l'auteur.
-
-meta: Propulsé par :PLATFORM avec le thème :THEME
-
-not_found:
- statment: Désolé, nous avons égaré cette URL ou elle pointe vers quelque chose qui n'existe pas.
-
-notification:
- update_found: Une nouvelle version du contenu est disponible.
- update: Mise à jour
-
-# ----- Posts related labels -----
-
-post:
- written_by: Par
- posted: Posté
- updated: Mis à jour
- words: mots
- pageview_measure: vues
- read_time:
- unit: min
- prompt: lire
- relate_posts: Autres lectures
- share: Partager
- button:
- next: Plus récent
- previous: Plus ancien
- copy_code:
- succeed: Copié !
- share_link:
- title: Copier le lien
- succeed: Lien copié avec succès !
- # pinned prompt of posts list on homepage
- pin_prompt: Épinglé
-
-# categories page
-categories:
- category_measure: catégories
- post_measure: posts
diff --git a/_data/locales/hu-HU.yml b/_data/locales/hu-HU.yml
deleted file mode 100644
index f24b8c5..0000000
--- a/_data/locales/hu-HU.yml
+++ /dev/null
@@ -1,81 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Bejegyzés
- category: Kategória
- tag: Címke
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Kezdőlap
- categories: Kategóriák
- tags: Címkék
- archives: Archívum
- about: Rólam
-
-# the text displayed in the search bar & search results
-search:
- hint: keresés
- cancel: Mégse
- no_results: Oops! Nincs találat a keresésre.
-
-panel:
- lastmod: Legutóbb frissítve
- trending_tags: Népszerű Címkék
- toc: Tartalom
- links: Blog linkek
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: A bejegyzés :LICENSE_NAME licenccel rendelkezik.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # 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,
- hacsak másképp nincs jelezve.
-
-meta: Készítve :PLATFORM motorral :THEME témával.
-
-not_found:
- statment: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.
-
-notification:
- update_found: Elérhető a tartalom új verziója.
- update: Frissítés
-
-# ----- Posts related labels -----
-
-post:
- written_by: Szerző
- posted: Létrehozva
- updated: Frissítve
- words: szó
- pageview_measure: látogató
- read_time:
- unit: perc
- prompt: elolvasni
- relate_posts: További olvasnivaló
- share: Megosztás
- button:
- next: Újabb
- previous: Régebbi
- copy_code:
- succeed: Másolva!
- share_link:
- title: Link másolása
- succeed: Link sikeresen másolva!
- # pinned prompt of posts list on homepage
- pin_prompt: Kitűzve
-
-# categories page
-categories:
- category_measure: kategória
- post_measure: bejegyzés
diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml
deleted file mode 100644
index 59ec661..0000000
--- a/_data/locales/id-ID.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Postingan
- category: Kategori
- tag: Tagar
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Beranda
- categories: Kategori
- tags: Tagar
- archives: Arsip
- about: Tentang
-
-# the text displayed in the search bar & search results
-search:
- hint: Cari
- cancel: Batal
- no_results: Ups! Tidak ada hasil yang ditemukan.
-
-panel:
- lastmod: Postingan Terbaru
- trending_tags: Tagar Terpopuler
- toc: Konten
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Postingan ini dilisensikan di bawah :LICENSE_NAME oleh penulis.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # Displayed in the footer
- brief: Sebagian konten dilindungi.
- verbose: >-
- Kecuali jika dinyatakan, Postingan blog di situs ini dilisensikan
- di bawah Lisensi Creative Commons Attribution 4.0 International (CC BY 4.0) oleh penulis.
-
-meta: Didukung oleh :PLATFORM dengan tema :THEME.
-
-not_found:
- statment: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada.
-
-notification:
- update_found: Versi konten baru tersedia.
- update: Perbarui
-
-# ----- Posts related labels -----
-
-post:
- written_by: Oleh
- posted: Diterbitkan
- updated: Diperbarui
- words: kata
- pageview_measure: dilihat
- read_time:
- unit: menit
- prompt: baca
- relate_posts: Postingan Lainya
- share: Bagikan
- button:
- next: Terbaru
- previous: Terlama
- copy_code:
- succeed: Disalin!
- share_link:
- title: Salin tautan
- succeed: Tautan berhasil disalin!
- # pinned prompt of posts list on homepage
- pin_prompt: Disematkan
-
-# categories page
-categories:
- category_measure: kategori
- post_measure: Postingan
diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml
deleted file mode 100644
index 73e1ded..0000000
--- a/_data/locales/ko-KR.yml
+++ /dev/null
@@ -1,86 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: 포스트
- category: 카테고리
- tag: 태그
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: 홈
- categories: 카테고리
- tags: 태그
- archives: 아카이브
- about: 정보
-
-# the text displayed in the search bar & search results
-search:
- hint: 검색
- cancel: 취소
- no_results: 검색 결과가 없습니다.
-
-panel:
- lastmod: 최근 업데이트
- trending_tags: 인기 태그
- toc: 바로가기
-
-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은 존재하지 않습니다.
-
-notification:
- update_found: 새 버전의 콘텐츠를 사용할 수 있습니다.
- update: 업데이트
-
-# ----- Posts related labels -----
-
-post:
- written_by: By
- posted: 게시
- updated: 업데이트
- 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: 핀
-
-# Date time format.
-# See: ,
-df:
- post:
- strftime: '%Y/%m/%d'
- dayjs: 'YYYY/MM/DD'
-
-# categories page
-categories:
- category_measure: 카테고리
- post_measure: 포스트
diff --git a/_data/locales/my-MM.yml b/_data/locales/my-MM.yml
deleted file mode 100644
index 9990c76..0000000
--- a/_data/locales/my-MM.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: ပို့စ်
- category: ကဏ္ဍ
- tag: နာမ(တက်ဂ်)
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: အဓိကစာမျက်နှာ
- categories: ကဏ္ဍများ
- tags: နာမ(တက်ဂ်)များ
- archives: မှတ်တမ်းတိုက်
- about: အကြောင်းအရာ
-
-# the text displayed in the search bar & search results
-search:
- hint: ရှာဖွေမည်
- cancel: ဖျက်သိမ်းမည်
- no_results: အိုး! ဘာမှမရှိပါ
-
-panel:
- lastmod: မကြာသေးမီကမွမ်းမံထားသည်
- trending_tags: ခေတ်စားနေသည့်တက်ဂ်များ
- toc: အကြောင်းအရာများ
-
-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 ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။
-
-notification:
- update_found: အကြောင်းအရာဗားရှင်းအသစ်ကို ရနိုင်ပါပြီ။
- update: အပ်ဒိတ်
-
-# ----- Posts related labels -----
-
-post:
- written_by: ကရေးသားခဲ့သည်။
- posted: တင်ထားခဲ့သည်။
- updated: မွမ်းမံထားခဲ့သည်။
- 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: ပို့စ်များ
diff --git a/_data/locales/pt-BR.yml b/_data/locales/pt-BR.yml
deleted file mode 100644
index 831e6d3..0000000
--- a/_data/locales/pt-BR.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Post
- category: Categoria
- tag: Tag
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Home
- categories: Categorias
- tags: Tags
- archives: Arquivos
- about: Sobre
-
-# the text displayed in the search bar & search results
-search:
- hint: Buscar
- cancel: Cancelar
- no_results: Oops! Nenhum resultado encontrado.
-
-panel:
- lastmod: Atualizados recentemente
- trending_tags: Trending Tags
- toc: Conteúdo
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Esta postagem está licenciada sob :LICENSE_NAME pelo autor.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # 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
- Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor.
-
-meta: Feito com :PLATFORM usando o tema :THEME.
-
-not_found:
- statment: Desculpe, a página não foi encontrada.
-
-notification:
- update_found: Uma nova versão do conteúdo está disponível.
- update: atualização
-
-# ----- Posts related labels -----
-
-post:
- written_by: Por
- posted: Postado em
- updated: Atualizado
- words: palavras
- pageview_measure: visualizações
- read_time:
- unit: min
- prompt: " de leitura"
- relate_posts: Leia também
- share: Compartilhar
- button:
- next: Próximo
- previous: Anterior
- copy_code:
- succeed: Copiado!
- share_link:
- title: Copie o link
- succeed: Link copiado com sucesso!
- # pinned prompt of posts list on homepage
- pin_prompt: Fixado
-
-# categories page
-categories:
- category_measure: categorias
- post_measure: posts
diff --git a/_data/locales/ru-RU.yml b/_data/locales/ru-RU.yml
deleted file mode 100644
index 3cd937c..0000000
--- a/_data/locales/ru-RU.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Публикация
- category: Категория
- tag: Тег
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Домашняя страница
- categories: Категории
- tags: Теги
- archives: Архив
- about: О сайте
-
-# the text displayed in the search bar & search results
-search:
- hint: поиск
- cancel: Отменить
- no_results: Ох! Ничего не найдено.
-
-panel:
- lastmod: Недавно обновлено
- trending_tags: Популярные теги
- toc: Содержание
-
-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: Извините, эта ссылка указывает на ресурс который не существует.
-
-notification:
- update_found: Доступна новая версия контента.
- update: Обновлять
-
-# ----- Posts related labels -----
-
-post:
- written_by: Автор
- posted: Время публикации
- updated: Обновлено
- 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: публикации
diff --git a/_data/locales/tr-TR.yml b/_data/locales/tr-TR.yml
deleted file mode 100644
index f7c2567..0000000
--- a/_data/locales/tr-TR.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Gönderi
- category: Kategori
- tag: Etiket
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Ana Sayfa
- categories: Kategoriler
- tags: Etiketler
- archives: Arşiv
- about: Hakkında
-
-# the text displayed in the search bar & search results
-search:
- hint: Ara...
- cancel: İptal
- no_results: Hop! Öyle bir şey bulamadım.
-
-panel:
- lastmod: Yeni Güncellendi
- trending_tags: Yükselen Etiketler
- toc: İçindekiler
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Bu gönderi :LICENSE_NAME lisansı altındadır.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/deed.tr
-
- # Displayed in the footer
- brief: Bazı hakları saklıdır.
- verbose: >-
- Aksi belirtilmediği sürece, bu sitedeki gönderiler Creative Commons Atıf 4.0 Uluslararası (CC BY 4.0) Lisansı altındadır.
- Kısaca sayfa linkini de vererek paylaşabilir veya düzenleyip paylaşabilirsin.
-
-meta: :PLATFORM ve :THEME teması.
-
-not_found:
- statment: Üzgünüz, bu linki yanlış yerleştirdik veya var olmayan bir şeye işaret ediyor.
-
-notification:
- update_found: İçeriğin yeni bir sürümü mevcut.
- update: Güncelle
-
-# ----- Posts related labels -----
-
-post:
- written_by: Yazan
- posted: Gönderilme Tarihi
- updated: Güncellenme Tarihi
- words: sözcük
- pageview_measure: görüntülenme
- read_time:
- unit: dakikada
- prompt: okunabilir
- relate_posts: Benzer Gönderiler
- share: Paylaş
- button:
- next: İleri
- previous: Geri
- copy_code:
- succeed: Kopyalandı.
- share_link:
- title: Linki kopyala
- succeed: Link kopyalandı.
- # pinned prompt of posts list on homepage
- pin_prompt: Sabitlendi
-
-# categories page
-categories:
- category_measure: kategori
- post_measure: gönderi
diff --git a/_data/locales/uk-UA.yml b/_data/locales/uk-UA.yml
deleted file mode 100644
index 6925e42..0000000
--- a/_data/locales/uk-UA.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Публікація
- category: Категорія
- tag: Тег
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Домашня сторінка
- categories: Категорії
- tags: Теги
- archives: Архів
- about: Про сайт
-
-# the text displayed in the search bar & search results
-search:
- hint: пошук
- cancel: Скасувати
- no_results: Ох! Нічого не знайдено.
-
-panel:
- lastmod: Нещодавно оновлено
- trending_tags: Популярні теги
- toc: Зміст
-
-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: Вибачте, це посилання вказує на ресурс, що не існує.
-
-notification:
- update_found: Доступна нова версія вмісту.
- update: Оновлення
-
-# ----- Posts related labels -----
-
-post:
- written_by: Автор
- posted: Час публікації
- updated: Оновлено
- 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: публікації
diff --git a/_data/locales/vi-VN.yml b/_data/locales/vi-VN.yml
deleted file mode 100644
index 592000d..0000000
--- a/_data/locales/vi-VN.yml
+++ /dev/null
@@ -1,77 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: Bài viết
- category: Danh mục
- tag: Thẻ
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: Trang chủ
- categories: Các danh mục
- tags: Các thẻ
- archives: Lưu trữ
- about: Giới thiệu
-
-# the text displayed in the search bar & search results
-search:
- hint: tìm kiếm
- cancel: Hủy
- no_results: Không có kết quả tìm kiếm.
-
-panel:
- lastmod: Mới cập nhật
- trending_tags: Các thẻ thịnh hành
- toc: Mục lục
-
-copyright:
- # Shown at the bottom of the post
- license:
- template: Bài viết này được cấp phép bởi tác giả theo giấy phép :LICENSE_NAME.
- name: CC BY 4.0
- link: https://creativecommons.org/licenses/by/4.0/
-
- # Displayed in the footer
- brief: Một số quyền được bảo lưu.
- verbose: >-
- Trừ khi có ghi chú khác, các bài viết đăng trên trang này được cấp phép bởi tác giả theo giấy phép Creative Commons Attribution 4.0 International (CC BY 4.0).
-meta: Trang web này được tạo bởi :PLATFORM với chủ đề :THEME.
-
-not_found:
- statment: Xin lỗi, chúng tôi đã đặt nhầm URL hoặc đường dẫn trỏ đến một trang nào đó không tồn tại.
-
-notification:
- update_found: Đã có phiên bản mới của nội dung.
- update: Cập nhật
-
-# ----- Posts related labels -----
-
-post:
- written_by: Viết bởi
- posted: Đăng lúc
- updated: Cập nhật lúc
- words: từ
- pageview_measure: lượt xem
- read_time:
- unit: phút
- prompt: đọc
- relate_posts: Bài viết liên quan
- share: Chia sẻ
- button:
- next: Mới hơn
- previous: Cũ hơn
- copy_code:
- succeed: Đã sao chép!
- share_link:
- title: Sao chép đường dẫn
- succeed: Đã sao chép đường dẫn thành công!
- # pinned prompt of posts list on homepage
- pin_prompt: Bài ghim
-
-# categories page
-categories:
- category_measure: danh mục
- post_measure: bài viết
diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml
deleted file mode 100644
index 1463e95..0000000
--- a/_data/locales/zh-CN.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-# The layout text of site
-
-# ----- Commons label -----
-
-layout:
- post: 文章
- category: 分类
- tag: 标签
-
-# The tabs of sidebar
-tabs:
- # format: :
- home: 首页
- categories: 分类
- tags: 标签
- archives: 归档
- about: 关于
-
-# the text displayed in the search bar & search results
-search:
- hint: 搜索
- cancel: 取消
- no_results: 搜索结果为空
-
-panel:
- lastmod: 最近更新
- trending_tags: 热门标签
- toc: 文章内容
-
-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,或者它指向了不存在的内容。
-
-notification:
- update_found: 发现新版本的内容。
- update: 更新
-
-# ----- Posts related labels -----
-
-post:
- written_by: 作者
- posted: 发表于
- updated: 更新于
- 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: 顶置
-
-# Date time format.
-# See: ,
-df:
- post:
- strftime: '%Y/%m/%d'
- dayjs: 'YYYY/MM/DD'
-
-# categories page
-categories:
- category_measure: 个分类
- post_measure: 篇文章
diff --git a/_data/share.yml b/_data/share.yml
deleted file mode 100644
index 1206f4d..0000000
--- a/_data/share.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-# Sharing options at the bottom of the post.
-# Icons from
-
-platforms:
- -
- type: Twitter
- icon: "fab fa-twitter"
- link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
- -
- type: Facebook
- icon: "fab fa-facebook-square"
- link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
- -
- type: Telegram
- icon: "fab fa-telegram"
- link: "https://t.me/share/url?url=URL&text=TITLE"
-
- # Uncomment below if you need to.
- # -
- # type: Linkedin
- # icon: "fab fa-linkedin"
- # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
- #
- # -
- # type: Weibo
- # icon: "fab fa-weibo"
- # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
From afc1abfdd5acbf542923e66ac6fe9f66ab24fd08 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 29 Jan 2023 22:18:12 +0000
Subject: [PATCH 40/64] Update critical file(s) according to Chirpy v5.5.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 604662d..ace83ac 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.0"
+gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.1"
group :test do
gem "html-proofer", "~> 3.18"
From 85116817d18605cb14181774f798c0b37e52fdd0 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 5 Feb 2023 19:18:58 +0000
Subject: [PATCH 41/64] Update critical file(s) according to Chirpy v5.5.2
---
Gemfile | 2 +-
README.md | 2 +-
_data/contact.yml | 30 ++++++++++++++++++++++++++++++
_data/share.yml | 27 +++++++++++++++++++++++++++
4 files changed, 59 insertions(+), 2 deletions(-)
create mode 100644 _data/contact.yml
create mode 100644 _data/share.yml
diff --git a/Gemfile b/Gemfile
index ace83ac..06f67fd 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.1"
+gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.2"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/README.md b/README.md
index 14aafe8..4f4c00f 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ To fully use all the features of **Chirpy**, you need to copy the other critical
└── index.html
```
-In order to save your time, and to prevent you from missing some files when copying, we extract those files/configurations of the latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
+To save you time, and also in case you lose some files while copying, we extract those files/configurations of the latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
## Prerequisites
diff --git a/_data/contact.yml b/_data/contact.yml
new file mode 100644
index 0000000..a94e555
--- /dev/null
+++ b/_data/contact.yml
@@ -0,0 +1,30 @@
+# The contact options.
+
+-
+ type: github
+ icon: 'fab fa-github'
+-
+ type: twitter
+ icon: 'fab fa-twitter'
+-
+ type: email
+ icon: 'fas fa-envelope'
+ noblank: true # open link in current tab
+-
+ type: rss
+ icon: 'fas fa-rss'
+ noblank: true
+
+# Uncomment and complete the url below to enable more contact options
+# -
+# type: mastodon
+# icon: 'fab fa-mastodon' # icons powered by
+# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
+# -
+# type: linkedin
+# icon: 'fab fa-linkedin' # icons powered by
+# url: '' # Fill with your Linkedin homepage
+# -
+# type: stack-overflow
+# icon: 'fab fa-stack-overflow'
+# url: '' # Fill with your stackoverflow homepage
diff --git a/_data/share.yml b/_data/share.yml
new file mode 100644
index 0000000..1206f4d
--- /dev/null
+++ b/_data/share.yml
@@ -0,0 +1,27 @@
+# Sharing options at the bottom of the post.
+# Icons from
+
+platforms:
+ -
+ type: Twitter
+ icon: "fab fa-twitter"
+ link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
+ -
+ type: Facebook
+ icon: "fab fa-facebook-square"
+ link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
+ -
+ type: Telegram
+ icon: "fab fa-telegram"
+ link: "https://t.me/share/url?url=URL&text=TITLE"
+
+ # Uncomment below if you need to.
+ # -
+ # type: Linkedin
+ # icon: "fab fa-linkedin"
+ # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
+ #
+ # -
+ # type: Weibo
+ # icon: "fab fa-weibo"
+ # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
From ff0f0b801e185e8158d17bccd9d4670c0d680a3d Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Fri, 17 Mar 2023 18:23:14 +0000
Subject: [PATCH 42/64] Update critical file(s) according to Chirpy v5.6.0
---
.editorconfig | 7 ++-
.github/workflows/pages-deploy.yml | 2 +-
.gitignore | 29 ++++++------
Gemfile | 2 +-
README.md | 4 +-
_config.yml | 75 +++++++++++++++---------------
_data/contact.yml | 38 +++++++--------
_data/share.yml | 18 ++++---
assets/lib | 2 +-
9 files changed, 88 insertions(+), 89 deletions(-)
diff --git a/.editorconfig b/.editorconfig
index f27e9a9..2b740bf 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,8 +9,11 @@ trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
-[*.js]
-indent_size = 4
+[*.{js,css,scss}]
+quote_type = single
+
+[*.{yml,yaml}]
+quote_type = double
[*.md]
trim_trailing_whitespace = false
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index 356d42a..a0de59d 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -37,7 +37,7 @@ jobs:
- name: Setup Pages
id: pages
- uses: actions/configure-pages@v1
+ uses: actions/configure-pages@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
diff --git a/.gitignore b/.gitignore
index 9735d33..0124b68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,22 @@
-# hidden files
-.*
-!.git*
-!.editorconfig
-!.nojekyll
-!.husky
-!.commitlintrc.json
-!.versionrc.json
-!.stylelintrc.json
-
-# bundler cache
-_site
+# Bundler cache
+.bundle
vendor
Gemfile.lock
-# rubygem
+# Jekyll cache
+.jekyll-cache
+_site
+
+# RubyGems
*.gem
-# npm dependencies
+# NPM dependencies
node_modules
package-lock.json
+
+# IDE configurations
+.idea
+.vscode
+
+# Misc
+assets/js/dist
diff --git a/Gemfile b/Gemfile
index 06f67fd..eb7b217 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.2"
+gem "jekyll-theme-chirpy", "~> 5.6", ">= 5.6.0"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/README.md b/README.md
index 4f4c00f..9b4e987 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,11 @@ To save you time, and also in case you lose some files while copying, we extract
## Prerequisites
-Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll` and `Bundler`.
+Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of the basic environment. [Git](https://git-scm.com/) also needs to be installed.
## Installation
-[**Use this template**][use-template] to generate a brand new repository and name it `.github.io`, where `GH_USERNAME` represents your GitHub username.
+Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it `USERNAME.github.io`, where `USERNAME` represents your GitHub username.
Then clone it to your local machine and run:
diff --git a/_config.yml b/_config.yml
index f3a1229..7ed3e72 100644
--- a/_config.yml
+++ b/_config.yml
@@ -5,60 +5,59 @@ theme: jekyll-theme-chirpy
# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
# and doesn't have a custom domain.
-baseurl: ''
+baseurl: ""
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
# otherwise, the layout language will use the default value of 'en'.
lang: en
-
# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
timezone:
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------
-title: Chirpy # the main title
+title: Chirpy # the main title
-tagline: A text-focused Jekyll theme # it will display as the sub-title
+tagline: A text-focused Jekyll theme # it will display as the sub-title
-description: >- # used by seo meta and the atom feed
- A minimal, responsive, and powerful Jekyll theme for presenting professional writing.
+description: >- # used by seo meta and the atom feed
+ A minimal, responsive and feature-rich Jekyll theme for technical writing.
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
-url: ''
+url: ""
github:
- username: github_username # change to your github username
+ username: github_username # change to your github username
twitter:
- username: twitter_username # change to your twitter username
+ username: twitter_username # change to your twitter username
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@domain.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
- - https://github.com/username # change to your github homepage
+ - https://twitter.com/username # change to your twitter homepage
+ - https://github.com/username # change to your github homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
-google_site_verification: # fill in to your verification string
+google_site_verification: # fill in to your verification string
# ↑ --------------------------
# The end of `jekyll-seo-tag` settings
google_analytics:
- id: # fill in your Google Analytics ID
+ id: # fill in your Google Analytics ID
# Google Analytics pageviews report settings
pv:
- proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
- cache_path: # the local PV cache data, friendly to visitors from GFW region
+ proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
+ cache_path: # the local PV cache data, friendly to visitors from GFW region
# Prefer color scheme setting.
#
@@ -71,7 +70,7 @@ google_analytics:
# light - Use the light color scheme
# dark - Use the dark color scheme
#
-theme_mode: # [light|dark]
+theme_mode: # [light|dark]
# The CDN endpoint for images.
# Notice that once it is assigned, the CDN url
@@ -83,39 +82,39 @@ img_cdn:
# the avatar on sidebar, support local or CORS resources
avatar:
-# boolean type, the global switch for ToC in posts.
+# boolean type, the global switch for TOC in posts.
toc: true
comments:
- active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
+ 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
+ shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
# utterances settings › https://utteranc.es/
utterances:
- repo: # /
- issue_term: # < url | pathname | title | ...>
+ repo: # /
+ 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:
self_host:
- enabled: # boolean, keep empty means false
+ enabled: # boolean, keep empty means false
# specify the Jekyll environment, empty means both
# only works if `assets.self_host.enabled` is 'true'
- env: # [development|production]
+ env: # [development|production]
pwa:
- enabled: true # the option for PWA feature
+ enabled: true # the option for PWA feature
paginate: 10
@@ -123,7 +122,7 @@ paginate: 10
kramdown:
syntax_highlighter: rouge
- syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
+ syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
css_class: highlight
# default_lang: console
span:
@@ -139,12 +138,12 @@ collections:
defaults:
- scope:
- path: '' # An empty string here means all files in the project
+ path: "" # An empty string here means all files in the project
type: posts
values:
layout: post
- comments: true # Enable comments in posts.
- toc: true # Display TOC column in posts.
+ comments: true # Enable comments in posts.
+ toc: true # Display TOC column in posts.
# DO NOT modify the following parameter unless you are confident enough
# to update the code of all other post links in this project.
permalink: /posts/:title/
@@ -153,8 +152,8 @@ defaults:
values:
comments: false
- scope:
- path: ''
- type: tabs # see `site.collections`
+ path: ""
+ type: tabs # see `site.collections`
values:
layout: page
permalink: /:title/
@@ -180,13 +179,13 @@ compress_html:
envs: [development]
exclude:
- - '*.gem'
- - '*.gemspec'
+ - "*.gem"
+ - "*.gemspec"
- tools
- README.md
- CHANGELOG.md
- LICENSE
- - gulpfile.js
+ - rollup.config.js
- node_modules
- package*.json
diff --git a/_data/contact.yml b/_data/contact.yml
index a94e555..76b667a 100644
--- a/_data/contact.yml
+++ b/_data/contact.yml
@@ -1,30 +1,28 @@
# The contact options.
--
- type: github
- icon: 'fab fa-github'
--
- type: twitter
- icon: 'fab fa-twitter'
--
- type: email
- icon: 'fas fa-envelope'
- noblank: true # open link in current tab
--
- type: rss
- icon: 'fas fa-rss'
- noblank: true
+- type: github
+ icon: "fab fa-github"
+- type: twitter
+ icon: "fab fa-twitter"
+
+- type: email
+ icon: "fas fa-envelope"
+ noblank: true # open link in current tab
+
+- type: rss
+ icon: "fas fa-rss"
+ noblank: true
# Uncomment and complete the url below to enable more contact options
-# -
-# type: mastodon
+#
+# - type: mastodon
# icon: 'fab fa-mastodon' # icons powered by
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
-# -
-# type: linkedin
+#
+# - type: linkedin
# icon: 'fab fa-linkedin' # icons powered by
# url: '' # Fill with your Linkedin homepage
-# -
-# type: stack-overflow
+#
+# - type: stack-overflow
# icon: 'fab fa-stack-overflow'
# url: '' # Fill with your stackoverflow homepage
diff --git a/_data/share.yml b/_data/share.yml
index 1206f4d..c1d4d63 100644
--- a/_data/share.yml
+++ b/_data/share.yml
@@ -2,26 +2,24 @@
# Icons from
platforms:
- -
- type: Twitter
+ - type: Twitter
icon: "fab fa-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
- -
- type: Facebook
+
+ - type: Facebook
icon: "fab fa-facebook-square"
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
- -
- type: Telegram
+
+ - type: Telegram
icon: "fab fa-telegram"
link: "https://t.me/share/url?url=URL&text=TITLE"
# Uncomment below if you need to.
- # -
- # type: Linkedin
+ #
+ # - type: Linkedin
# icon: "fab fa-linkedin"
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
#
- # -
- # type: Weibo
+ # - type: Weibo
# icon: "fab fa-weibo"
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
diff --git a/assets/lib b/assets/lib
index e372141..24ebdb7 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit e372141074f370c6f03b68b5264e7663f2b7477c
+Subproject commit 24ebdb708f3f5451df953cb5f9deb3ad4433404a
From 918d7a0bba571e548c0278d371c4d2cbd3d995c3 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Thu, 30 Mar 2023 21:48:39 +0000
Subject: [PATCH 43/64] Update critical file(s) according to Chirpy v5.6.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index eb7b217..dc98cd5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.6", ">= 5.6.0"
+gem "jekyll-theme-chirpy", "~> 5.6", ">= 5.6.1"
group :test do
gem "html-proofer", "~> 3.18"
From 3c5c4e973311e62d0b4944f70c96ee52e48a5b08 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Tue, 16 May 2023 19:05:24 +0000
Subject: [PATCH 44/64] Update critical file(s) according to Chirpy v6.0.0
---
Gemfile | 2 +-
_tabs/tags.md | 2 +-
assets/lib | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Gemfile b/Gemfile
index dc98cd5..cded7de 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 5.6", ">= 5.6.1"
+gem "jekyll-theme-chirpy", "~> 6.0"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_tabs/tags.md b/_tabs/tags.md
index c8e213a..ded3adc 100644
--- a/_tabs/tags.md
+++ b/_tabs/tags.md
@@ -1,5 +1,5 @@
---
layout: tags
-icon: fas fa-tag
+icon: fas fa-tags
order: 2
---
diff --git a/assets/lib b/assets/lib
index 24ebdb7..5f28c7d 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 24ebdb708f3f5451df953cb5f9deb3ad4433404a
+Subproject commit 5f28c7d5107a1c2e30381765194269680a3d0eae
From 7c3f58dd0837c2116275458b16716a0b958cd409 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Fri, 19 May 2023 16:50:33 +0000
Subject: [PATCH 45/64] Update critical file(s) according to Chirpy v6.0.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index cded7de..7685079 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.0"
+gem "jekyll-theme-chirpy", "~> 6.0", ">= 6.0.1"
group :test do
gem "html-proofer", "~> 3.18"
From 2605fedb3f801839e2af7ebff45d110cc7d651b5 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 2 Jul 2023 13:52:03 +0000
Subject: [PATCH 46/64] Update critical file(s) according to Chirpy v6.1.0
---
.github/workflows/pages-deploy.yml | 2 +-
Gemfile | 2 +-
_config.yml | 4 ----
assets/lib | 2 +-
4 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index a0de59d..1c4bd9d 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -68,4 +68,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v1
+ uses: actions/deploy-pages@v2
diff --git a/Gemfile b/Gemfile
index 7685079..1d5342c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.0", ">= 6.0.1"
+gem "jekyll-theme-chirpy", "~> 6.1"
group :test do
gem "html-proofer", "~> 3.18"
diff --git a/_config.yml b/_config.yml
index 7ed3e72..0f74571 100644
--- a/_config.yml
+++ b/_config.yml
@@ -54,10 +54,6 @@ google_site_verification: # fill in to your verification string
google_analytics:
id: # fill in your Google Analytics ID
- # Google Analytics pageviews report settings
- pv:
- proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
- cache_path: # the local PV cache data, friendly to visitors from GFW region
# Prefer color scheme setting.
#
diff --git a/assets/lib b/assets/lib
index 5f28c7d..557de30 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 5f28c7d5107a1c2e30381765194269680a3d0eae
+Subproject commit 557de301fe393fb4660a338ae3c1b72ec2b3bf7c
From 74bf950ae0fa49baf80110bf831a0b2424bee806 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 10 Sep 2023 13:24:09 +0000
Subject: [PATCH 47/64] Update critical file(s) according to Chirpy v6.2.0
---
.github/workflows/pages-deploy.yml | 8 +++++---
Gemfile | 4 ++--
README.md | 27 +++++++++++++++++++--------
_config.yml | 4 ++--
_data/contact.yml | 2 +-
_data/share.yml | 2 +-
assets/lib | 2 +-
7 files changed, 31 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index 1c4bd9d..87089c9 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -28,7 +28,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
# submodules: true
@@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
+ ruby-version: 3
bundler-cache: true
- name: Build site
@@ -52,7 +52,9 @@ jobs:
- name: Test site
run: |
- bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href
+ bundle exec htmlproofer _site \
+ \-\-disable-external=true \
+ \-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
uses: actions/upload-pages-artifact@v1
diff --git a/Gemfile b/Gemfile
index 1d5342c..ae1d479 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,10 +2,10 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.1"
+gem "jekyll-theme-chirpy", "~> 6.2"
group :test do
- gem "html-proofer", "~> 3.18"
+ gem "html-proofer", "~> 4.4"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
diff --git a/README.md b/README.md
index 9b4e987..05bd1ec 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,18 @@
-# Chirpy Starter [](https://rubygems.org/gems/jekyll-theme-chirpy) [][mit]
+# Chirpy Starter
-When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `/_data`, `/_layouts`, `/_includes`, `/_sass` and `/assets`, as well as a small part of options of the `/_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
+[][gem]
+[][mit]
-The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
+When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
+`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file
+from the theme's gem. If you have ever installed this theme gem, you can use the command
+`bundle info --path jekyll-theme-chirpy` to locate these files.
-To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your Jekyll site. The following is a list of targets:
+The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being
+able to enjoy the out-of-the-box experience when using feature-rich themes.
+
+To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your
+Jekyll site. The following is a list of targets:
```shell
.
@@ -14,19 +22,22 @@ To fully use all the features of **Chirpy**, you need to copy the other critical
└── index.html
```
-To save you time, and also in case you lose some files while copying, we extract those files/configurations of the latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
+To save you time, and also in case you lose some files while copying, we extract those files/configurations of the
+latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
## Prerequisites
-Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of the basic environment. [Git](https://git-scm.com/) also needs to be installed.
+Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of
+the basic environment. [Git](https://git-scm.com/) also needs to be installed.
## Installation
-Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it `USERNAME.github.io`, where `USERNAME` represents your GitHub username.
+Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it
+`USERNAME.github.io`, where `USERNAME` represents your GitHub username.
Then clone it to your local machine and run:
-```
+```console
$ bundle
```
diff --git a/_config.yml b/_config.yml
index 0f74571..7dc8685 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,7 +12,7 @@ baseurl: ""
# otherwise, the layout language will use the default value of 'en'.
lang: en
-# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
+# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
timezone:
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
@@ -177,12 +177,12 @@ compress_html:
exclude:
- "*.gem"
- "*.gemspec"
+ - docs
- tools
- README.md
- CHANGELOG.md
- LICENSE
- rollup.config.js
- - node_modules
- package*.json
jekyll-archives:
diff --git a/_data/contact.yml b/_data/contact.yml
index 76b667a..1ed228a 100644
--- a/_data/contact.yml
+++ b/_data/contact.yml
@@ -4,7 +4,7 @@
icon: "fab fa-github"
- type: twitter
- icon: "fab fa-twitter"
+ icon: "fa-brands fa-x-twitter"
- type: email
icon: "fas fa-envelope"
diff --git a/_data/share.yml b/_data/share.yml
index c1d4d63..feede74 100644
--- a/_data/share.yml
+++ b/_data/share.yml
@@ -3,7 +3,7 @@
platforms:
- type: Twitter
- icon: "fab fa-twitter"
+ icon: "fa-brands fa-square-x-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
- type: Facebook
diff --git a/assets/lib b/assets/lib
index 557de30..6737eab 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 557de301fe393fb4660a338ae3c1b72ec2b3bf7c
+Subproject commit 6737eab720e4cdd8330d32053053356f200d8819
From c3ef0634163415d93430fcbe474bd3d18d88c9b8 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 10 Sep 2023 16:43:47 +0000
Subject: [PATCH 48/64] Update critical file(s) according to Chirpy v6.2.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index ae1d479..88dda83 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.2"
+gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.1"
group :test do
gem "html-proofer", "~> 4.4"
From bcb2c56f84502ec60e946dc4f15b3f6e7fd6c6f4 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 10 Sep 2023 18:40:05 +0000
Subject: [PATCH 49/64] Update critical file(s) according to Chirpy v6.2.2
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 88dda83..26c1b0c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.1"
+gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.2"
group :test do
gem "html-proofer", "~> 4.4"
From f05cdc55b90a9a079d56cab042c914e0706e839c Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Tue, 10 Oct 2023 04:56:49 +0000
Subject: [PATCH 50/64] Update critical file(s) according to Chirpy v6.2.3
---
Gemfile | 7 +------
_config.yml | 11 +++++------
assets/lib | 2 +-
3 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/Gemfile b/Gemfile
index 26c1b0c..8934f4a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.2"
+gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.3"
group :test do
gem "html-proofer", "~> 4.4"
@@ -21,8 +21,3 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
-
-# Lock jekyll-sass-converter to 2.x on Linux-musl
-if RUBY_PLATFORM =~ /linux-musl/
- gem "jekyll-sass-converter", "~> 2.0"
-end
diff --git a/_config.yml b/_config.yml
index 7dc8685..d68f3bd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -3,10 +3,6 @@
# Import the theme
theme: jekyll-theme-chirpy
-# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
-# and doesn't have a custom domain.
-baseurl: ""
-
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
# otherwise, the layout language will use the default value of 'en'.
@@ -25,7 +21,8 @@ tagline: A text-focused Jekyll theme # it will display as the sub-title
description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.
-# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
+# Fill in the protocol & hostname for your site.
+# e.g. 'https://username.github.io', note that it does not end with a '/'.
url: ""
github:
@@ -114,6 +111,9 @@ pwa:
paginate: 10
+# The base URL of your site
+baseurl: ""
+
# ------------ The following options are not recommended to be modified ------------------
kramdown:
@@ -180,7 +180,6 @@ exclude:
- docs
- tools
- README.md
- - CHANGELOG.md
- LICENSE
- rollup.config.js
- package*.json
diff --git a/assets/lib b/assets/lib
index 6737eab..6e3fa73 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 6737eab720e4cdd8330d32053053356f200d8819
+Subproject commit 6e3fa734685f099195b02da912ffa25c04913e41
From aea4a8fc594e5adc79da157a3aad72fe92901c85 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Fri, 10 Nov 2023 12:16:23 +0000
Subject: [PATCH 51/64] Update critical file(s) according to Chirpy v6.3.0
---
Gemfile | 2 +-
_data/share.yml | 13 +++++++++++++
assets/lib | 2 +-
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/Gemfile b/Gemfile
index 8934f4a..692e94b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.3"
+gem "jekyll-theme-chirpy", "~> 6.3"
group :test do
gem "html-proofer", "~> 4.4"
diff --git a/_data/share.yml b/_data/share.yml
index feede74..d572e6d 100644
--- a/_data/share.yml
+++ b/_data/share.yml
@@ -23,3 +23,16 @@ platforms:
# - type: Weibo
# icon: "fab fa-weibo"
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
+ #
+ # - type: Mastodon
+ # icon: "fa-brands fa-mastodon"
+ # # See: https://github.com/justinribeiro/share-to-mastodon#properties
+ # instances:
+ # - label: mastodon.social
+ # link: "https://mastodon.social/"
+ # - label: mastodon.online
+ # link: "https://mastodon.online/"
+ # - label: fosstodon.org
+ # link: "https://fosstodon.org/"
+ # - label: photog.social
+ # link: "https://photog.social/"
diff --git a/assets/lib b/assets/lib
index 6e3fa73..8285aed 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 6e3fa734685f099195b02da912ffa25c04913e41
+Subproject commit 8285aedc1e5bb1d48478efc5d0223aa2ddbf4c26
From 1565392b7ef235b699c7ff45433dc1c295501dab Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 12 Nov 2023 21:17:50 +0000
Subject: [PATCH 52/64] Update critical file(s) according to Chirpy v6.3.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 692e94b..cb5937a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.3"
+gem "jekyll-theme-chirpy", "~> 6.3", ">= 6.3.1"
group :test do
gem "html-proofer", "~> 4.4"
From 1efe631e7ed0b977f773f243233312335103162f Mon Sep 17 00:00:00 2001
From: Dmitry Kosarev
Date: Thu, 28 Dec 2023 10:03:08 +0100
Subject: [PATCH 53/64] build(deps): specify the minor version number of ruby
(#15)
See also: https://github.com/cotes2020/jekyll-theme-chirpy/pull/1431
Co-authored-by: Dmitry Kosarev
---
.github/workflows/pages-deploy.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index 87089c9..0d884bc 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3
+ ruby-version: 3.2
bundler-cache: true
- name: Build site
From d03f0bbcc7e6a8a81927ad592665b50baf048ff4 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Wed, 10 Jan 2024 15:12:49 +0000
Subject: [PATCH 54/64] Update critical file(s) according to Chirpy v6.4.0
---
Gemfile | 2 +-
_config.yml | 4 ++++
assets/lib | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Gemfile b/Gemfile
index cb5937a..1c293bc 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.3", ">= 6.3.1"
+gem "jekyll-theme-chirpy", "~> 6.4"
group :test do
gem "html-proofer", "~> 4.4"
diff --git a/_config.yml b/_config.yml
index d68f3bd..393eefa 100644
--- a/_config.yml
+++ b/_config.yml
@@ -75,6 +75,10 @@ img_cdn:
# the avatar on sidebar, support local or CORS resources
avatar:
+# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
+# It can be overridden by a customized `page.image` in front matter.
+social_preview_image: # string, local or CORS resources
+
# boolean type, the global switch for TOC in posts.
toc: true
diff --git a/assets/lib b/assets/lib
index 8285aed..c577249 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 8285aedc1e5bb1d48478efc5d0223aa2ddbf4c26
+Subproject commit c57724981c36d839881f89540d34d205db06a86f
From 756d37c648011b102cea565c92e7ee3e8e2f3314 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Wed, 10 Jan 2024 18:13:49 +0000
Subject: [PATCH 55/64] Update critical file(s) according to Chirpy v6.4.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 1c293bc..d2d4997 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.4"
+gem "jekyll-theme-chirpy", "~> 6.4", ">= 6.4.1"
group :test do
gem "html-proofer", "~> 4.4"
From 8486ea4ae455a2e7cb334fe64a75c8b2a787560c Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sat, 13 Jan 2024 14:04:21 +0000
Subject: [PATCH 56/64] Update critical file(s) according to Chirpy v6.4.2
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index d2d4997..d464b57 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.4", ">= 6.4.1"
+gem "jekyll-theme-chirpy", "~> 6.4", ">= 6.4.2"
group :test do
gem "html-proofer", "~> 4.4"
From b160f258a0fc8150e5113f37b001ecb8aeb7c309 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Wed, 14 Feb 2024 16:21:01 +0000
Subject: [PATCH 57/64] Update critical file(s) according to Chirpy v6.5.0
---
.gitignore | 1 -
Gemfile | 2 +-
_config.yml | 20 +++++++++++++-------
assets/lib | 2 +-
4 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0124b68..cee9e12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,6 @@ package-lock.json
# IDE configurations
.idea
-.vscode
# Misc
assets/js/dist
diff --git a/Gemfile b/Gemfile
index d464b57..66f8e17 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.4", ">= 6.4.2"
+gem "jekyll-theme-chirpy", "~> 6.5"
group :test do
gem "html-proofer", "~> 4.4"
diff --git a/_config.yml b/_config.yml
index 393eefa..79d4f1d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -52,6 +52,9 @@ google_site_verification: # fill in to your verification string
google_analytics:
id: # fill in your Google Analytics ID
+goatcounter:
+ id: # fill in your Goatcounter ID
+
# Prefer color scheme setting.
#
# Note: Keep empty will follow the system prefer color by default,
@@ -63,7 +66,7 @@ google_analytics:
# light - Use the light color scheme
# dark - Use the dark color scheme
#
-theme_mode: # [light|dark]
+theme_mode: # [light | dark]
# The CDN endpoint for images.
# Notice that once it is assigned, the CDN url
@@ -108,10 +111,17 @@ assets:
enabled: # boolean, keep empty means false
# specify the Jekyll environment, empty means both
# only works if `assets.self_host.enabled` is 'true'
- env: # [development|production]
+ env: # [development | production]
pwa:
- enabled: true # the option for PWA feature
+ enabled: true # the option for PWA feature (installable)
+ cache:
+ enabled: true # the option for PWA offline cache
+ # Paths defined here will be excluded from the PWA cache.
+ # Usually its value is the `baseurl` of another website that
+ # shares the same domain name as the current website.
+ deny_paths:
+ # - "/example" # URLs match `/example/*` will not be cached by the PWA
paginate: 10
@@ -157,10 +167,6 @@ defaults:
values:
layout: page
permalink: /:title/
- - scope:
- path: assets/img/favicons
- values:
- swcache: true
- scope:
path: assets/js/dist
values:
diff --git a/assets/lib b/assets/lib
index c577249..7bc0d86 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit c57724981c36d839881f89540d34d205db06a86f
+Subproject commit 7bc0d86b6af83d7acfc63db50f29a5975cec2513
From 953dbb08e36148ed4fbb813c9a0ca2d2a0f75a51 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Mon, 26 Feb 2024 18:21:19 +0000
Subject: [PATCH 58/64] Update critical file(s) according to Chirpy v6.5.1
---
.github/workflows/pages-deploy.yml | 6 +++---
Gemfile | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index 0d884bc..c33b2a6 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -37,7 +37,7 @@ jobs:
- name: Setup Pages
id: pages
- uses: actions/configure-pages@v3
+ uses: actions/configure-pages@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
@@ -57,7 +57,7 @@ jobs:
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
- uses: actions/upload-pages-artifact@v1
+ uses: actions/upload-pages-artifact@v3
with:
path: "_site${{ steps.pages.outputs.base_path }}"
@@ -70,4 +70,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v2
+ uses: actions/deploy-pages@v4
diff --git a/Gemfile b/Gemfile
index 66f8e17..dfdbe1d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5"
+gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.1"
group :test do
gem "html-proofer", "~> 4.4"
From b8605de1ba6de5a66b5a6ad4b3ca6264b2d7b730 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Thu, 29 Feb 2024 19:53:46 +0000
Subject: [PATCH 59/64] Update critical file(s) according to Chirpy v6.5.2
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index dfdbe1d..9f78cfe 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.1"
+gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.2"
group :test do
gem "html-proofer", "~> 4.4"
From c403568b4c11c6585c260e98a142658039ecdf17 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Thu, 7 Mar 2024 20:15:44 +0000
Subject: [PATCH 60/64] Update critical file(s) according to Chirpy v6.5.3
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 9f78cfe..d9d2e6b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.2"
+gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.3"
group :test do
gem "html-proofer", "~> 4.4"
From 586b285258a99c7ed0145b3d9f20779913db04f7 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Fri, 22 Mar 2024 19:45:34 +0000
Subject: [PATCH 61/64] Update critical file(s) according to Chirpy v6.5.4
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index d9d2e6b..6cfccea 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.3"
+gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.4"
group :test do
gem "html-proofer", "~> 4.4"
From 88378f61690c392718733d6efc819c1b699ac53c Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sat, 23 Mar 2024 18:32:27 +0000
Subject: [PATCH 62/64] Update critical file(s) according to Chirpy v6.5.5
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 6cfccea..13afbd1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.4"
+gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.5"
group :test do
gem "html-proofer", "~> 4.4"
From 32f4cbe2f7318501848edda9431144a9cbe796af Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sat, 11 May 2024 08:16:14 +0000
Subject: [PATCH 63/64] Update critical file(s) according to Chirpy v7.0.0
---
.github/workflows/pages-deploy.yml | 4 +--
.gitignore | 5 ++++
Gemfile | 18 ++----------
README.md | 5 ++++
_config.yml | 45 ++++++++++++++++++++++--------
_data/share.yml | 2 +-
assets/lib | 2 +-
7 files changed, 50 insertions(+), 31 deletions(-)
diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index c33b2a6..cc28f99 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.2
+ ruby-version: 3.3
bundler-cache: true
- name: Build site
@@ -53,7 +53,7 @@ jobs:
- name: Test site
run: |
bundle exec htmlproofer _site \
- \-\-disable-external=true \
+ \-\-disable-external \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
diff --git a/.gitignore b/.gitignore
index cee9e12..d6bf509 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ Gemfile.lock
# Jekyll cache
.jekyll-cache
+.jekyll-metadata
_site
# RubyGems
@@ -16,6 +17,10 @@ package-lock.json
# IDE configurations
.idea
+.vscode
+!.vscode/settings.json
+!.vscode/extensions.json
# Misc
+_sass/dist
assets/js/dist
diff --git a/Gemfile b/Gemfile
index 13afbd1..e47c429 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,22 +2,8 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.5"
+gem "jekyll-theme-chirpy", "~> 7.0"
group :test do
- gem "html-proofer", "~> 4.4"
+ gem "html-proofer", "~> 5.0"
end
-
-# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
-# and associated library.
-platforms :mingw, :x64_mingw, :mswin, :jruby do
- gem "tzinfo", ">= 1", "< 3"
- gem "tzinfo-data"
-end
-
-# Performance-booster for watching directories on Windows
-gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
-
-# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
-# do not have a Java counterpart.
-gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
diff --git a/README.md b/README.md
index 05bd1ec..bdcc8ae 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,11 @@ $ bundle
Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
+## Contributing
+
+The contents of this repository are automatically updated when new releases are made to the [main repository][chirpy].
+If you have problems using it, or would like to participate in improving it, please go to the main repository for feedback!
+
## License
This work is published under [MIT][mit] License.
diff --git a/_config.yml b/_config.yml
index 79d4f1d..2e76174 100644
--- a/_config.yml
+++ b/_config.yml
@@ -44,16 +44,36 @@ social:
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
-google_site_verification: # fill in to your verification string
+# Site Verification Settings
+webmaster_verifications:
+ google: # fill in your Google verification code
+ bing: # fill in your Bing verification code
+ alexa: # fill in your Alexa verification code
+ yandex: # fill in your Yandex verification code
+ baidu: # fill in your Baidu verification code
+ facebook: # fill in your Facebook verification code
# ↑ --------------------------
# The end of `jekyll-seo-tag` settings
-google_analytics:
- id: # fill in your Google Analytics ID
+# Web Analytics Settings
+analytics:
+ google:
+ id: # fill in your Google Analytics ID
+ goatcounter:
+ id: # fill in your GoatCounter ID
+ umami:
+ id: # fill in your Umami ID
+ domain: # fill in your Umami domain
+ matomo:
+ id: # fill in your Matomo ID
+ domain: # fill in your Matomo domain
+ cloudflare:
+ id: # fill in your Cloudflare Web Analytics token
-goatcounter:
- id: # fill in your Goatcounter ID
+# Pageviews settings
+pageviews:
+ provider: # now only supports 'goatcounter'
# Prefer color scheme setting.
#
@@ -68,12 +88,12 @@ goatcounter:
#
theme_mode: # [light | dark]
-# The CDN endpoint for images.
+# The CDN endpoint for media resources.
# Notice that once it is assigned, the CDN url
-# will be added to all image (site avatar & posts' images) paths starting with '/'
+# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
#
# e.g. 'https://cdn.com'
-img_cdn:
+cdn:
# the avatar on sidebar, support local or CORS resources
avatar:
@@ -86,8 +106,9 @@ social_preview_image: # string, local or CORS resources
toc: true
comments:
- active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
- # The active options are as follows:
+ # Global switch for the post comment system. Keeping it empty means disabled.
+ provider: # [disqus | utterances | giscus]
+ # The provider 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/
@@ -101,6 +122,7 @@ comments:
category:
category_id:
mapping: # optional, default to 'pathname'
+ strict: # optional, default to '0'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
reactions_enabled: # optional, default to the value of `1`
@@ -131,6 +153,7 @@ baseurl: ""
# ------------ The following options are not recommended to be modified ------------------
kramdown:
+ footnote_backlink: "↩︎"
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
css_class: highlight
@@ -191,7 +214,7 @@ exclude:
- tools
- README.md
- LICENSE
- - rollup.config.js
+ - "*.config.js"
- package*.json
jekyll-archives:
diff --git a/_data/share.yml b/_data/share.yml
index d572e6d..b1d077d 100644
--- a/_data/share.yml
+++ b/_data/share.yml
@@ -22,7 +22,7 @@ platforms:
#
# - type: Weibo
# icon: "fab fa-weibo"
- # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
+ # link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL"
#
# - type: Mastodon
# icon: "fa-brands fa-mastodon"
diff --git a/assets/lib b/assets/lib
index 7bc0d86..b9c58cf 160000
--- a/assets/lib
+++ b/assets/lib
@@ -1 +1 @@
-Subproject commit 7bc0d86b6af83d7acfc63db50f29a5975cec2513
+Subproject commit b9c58cf485a7dcbc833e698d67dd1850bdc93eb3
From 00252fd7b8701a2274fcdc90a8555a1ae19a0b1e Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sat, 18 May 2024 11:02:10 +0000
Subject: [PATCH 64/64] Update critical file(s) according to Chirpy v7.0.1
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index e47c429..ad5b085 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,7 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 7.0"
+gem "jekyll-theme-chirpy", "~> 7.0", ">= 7.0.1"
group :test do
gem "html-proofer", "~> 5.0"