2021-01-25 01:20:51 +03:00
|
|
|
|
# The Site Configuration
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-31 21:56:13 +03:00
|
|
|
|
# Import the theme
|
|
|
|
|
theme: jekyll-theme-chirpy
|
|
|
|
|
|
2021-08-01 16:54:27 +03:00
|
|
|
|
# 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'.
|
2021-07-20 20:01:09 +03:00
|
|
|
|
lang: en
|
|
|
|
|
|
2023-07-31 18:42:42 +03:00
|
|
|
|
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
|
2021-01-31 17:19:13 +03:00
|
|
|
|
timezone: Asia/Shanghai
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
|
2021-07-20 20:01:09 +03:00
|
|
|
|
# ↓ --------------------------
|
|
|
|
|
|
2023-03-13 15:20:59 +03:00
|
|
|
|
title: Chirpy # the main title
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2023-03-13 15:20:59 +03:00
|
|
|
|
tagline: A text-focused Jekyll theme # it will display as the sub-title
|
2020-01-08 21:48:57 +03:00
|
|
|
|
|
2023-03-13 15:20:59 +03:00
|
|
|
|
description: >- # used by seo meta and the atom feed
|
2023-03-01 22:50:34 +03:00
|
|
|
|
A minimal, responsive and feature-rich Jekyll theme for technical writing.
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2023-10-06 15:26:01 +03:00
|
|
|
|
# Fill in the protocol & hostname for your site.
|
|
|
|
|
# e.g. 'https://username.github.io', note that it does not end with a '/'.
|
2023-03-13 15:20:59 +03:00
|
|
|
|
url: ""
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
github:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
username: github_username # change to your github username
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
twitter:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
username: twitter_username # change to your twitter username
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
social:
|
2021-03-20 17:37:10 +03:00
|
|
|
|
# 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
|
2023-03-13 15:20:59 +03:00
|
|
|
|
email: example@domain.com # change to your email address
|
2019-09-30 15:38:41 +03:00
|
|
|
|
links:
|
2019-11-06 13:16:09 +03:00
|
|
|
|
# The first element serves as the copyright owner's link
|
2023-03-13 15:20:59 +03:00
|
|
|
|
- https://twitter.com/username # change to your twitter homepage
|
|
|
|
|
- https://github.com/username # change to your github homepage
|
2019-11-06 13:16:09 +03:00
|
|
|
|
# Uncomment below to add more social links
|
2019-09-30 15:38:41 +03:00
|
|
|
|
# - https://www.facebook.com/username
|
|
|
|
|
# - https://www.linkedin.com/in/username
|
|
|
|
|
|
2023-03-13 15:20:59 +03:00
|
|
|
|
google_site_verification: # fill in to your verification string
|
2021-07-20 20:01:09 +03:00
|
|
|
|
|
|
|
|
|
# ↑ --------------------------
|
2022-02-09 17:32:50 +03:00
|
|
|
|
# The end of `jekyll-seo-tag` settings
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
google_analytics:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
id: # fill in your Google Analytics ID
|
2019-12-18 22:33:43 +03:00
|
|
|
|
|
2020-12-07 20:49:56 +03:00
|
|
|
|
# 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
|
2020-12-06 20:14:40 +03:00
|
|
|
|
# on the bottom left of the sidebar.
|
2020-02-14 23:05:31 +03:00
|
|
|
|
#
|
2020-12-07 20:49:56 +03:00
|
|
|
|
# Available options:
|
2020-02-14 23:05:31 +03:00
|
|
|
|
#
|
|
|
|
|
# light - Use the light color scheme
|
|
|
|
|
# dark - Use the dark color scheme
|
|
|
|
|
#
|
2024-01-27 21:22:33 +03:00
|
|
|
|
theme_mode: # [light | dark]
|
2021-01-09 17:30:31 +03:00
|
|
|
|
|
|
|
|
|
# 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'
|
2023-03-13 15:20:59 +03:00
|
|
|
|
img_cdn: "https://chirpy-img.netlify.app"
|
2021-01-09 17:30:31 +03:00
|
|
|
|
|
2021-01-09 17:31:43 +03:00
|
|
|
|
# the avatar on sidebar, support local or CORS resources
|
2023-03-13 15:20:59 +03:00
|
|
|
|
avatar: "/commons/avatar.jpg"
|
2020-02-14 23:05:31 +03:00
|
|
|
|
|
2024-01-10 04:04:27 +03:00
|
|
|
|
# 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
|
|
|
|
|
|
2023-03-15 21:56:54 +03:00
|
|
|
|
# boolean type, the global switch for TOC in posts.
|
2019-09-30 15:38:41 +03:00
|
|
|
|
toc: true
|
|
|
|
|
|
2021-12-10 16:12:52 +03:00
|
|
|
|
comments:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
|
2021-12-11 12:24:08 +03:00
|
|
|
|
# The active options are as follows:
|
2021-12-10 16:12:52 +03:00
|
|
|
|
disqus:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
|
2021-12-11 12:24:08 +03:00
|
|
|
|
# utterances settings › https://utteranc.es/
|
|
|
|
|
utterances:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
repo: # <gh-username>/<repo>
|
|
|
|
|
issue_term: # < url | pathname | title | ...>
|
2022-02-12 00:25:04 +03:00
|
|
|
|
# Giscus options › https://giscus.app
|
|
|
|
|
giscus:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
repo: # <gh-username>/<repo>
|
2022-02-12 00:25:04 +03:00
|
|
|
|
repo_id:
|
|
|
|
|
category:
|
|
|
|
|
category_id:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
mapping: # optional, default to 'pathname'
|
|
|
|
|
input_position: # optional, default to 'bottom'
|
|
|
|
|
lang: # optional, default to the value of `site.lang`
|
2022-10-14 23:31:44 +03:00
|
|
|
|
reactions_enabled: # optional, default to the value of `1`
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2022-02-09 17:32:50 +03:00
|
|
|
|
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
|
|
|
|
|
assets:
|
|
|
|
|
self_host:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
enabled: # boolean, keep empty means false
|
2022-02-09 17:32:50 +03:00
|
|
|
|
# specify the Jekyll environment, empty means both
|
|
|
|
|
# only works if `assets.self_host.enabled` is 'true'
|
2024-01-27 21:22:33 +03:00
|
|
|
|
env: # [development | production]
|
2022-02-09 17:32:50 +03:00
|
|
|
|
|
2022-06-04 19:10:20 +03:00
|
|
|
|
pwa:
|
2024-01-27 21:22:33 +03:00
|
|
|
|
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 `<SITE_URL>/example/*` will not be cached by the PWA
|
2022-06-04 19:10:20 +03:00
|
|
|
|
|
2021-01-31 17:19:13 +03:00
|
|
|
|
paginate: 10
|
2021-01-31 16:43:23 +03:00
|
|
|
|
|
2023-10-06 15:26:01 +03:00
|
|
|
|
# The base URL of your site
|
|
|
|
|
baseurl: ""
|
|
|
|
|
|
2021-01-31 16:43:23 +03:00
|
|
|
|
# ------------ The following options are not recommended to be modified ------------------
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
kramdown:
|
|
|
|
|
syntax_highlighter: rouge
|
2023-03-13 15:20:59 +03:00
|
|
|
|
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
|
2020-12-07 20:49:56 +03:00
|
|
|
|
css_class: highlight
|
2019-09-30 15:38:41 +03:00
|
|
|
|
# default_lang: console
|
|
|
|
|
span:
|
|
|
|
|
line_numbers: false
|
|
|
|
|
block:
|
|
|
|
|
line_numbers: true
|
|
|
|
|
start_line: 1
|
|
|
|
|
|
2020-11-21 23:24:09 +03:00
|
|
|
|
collections:
|
|
|
|
|
tabs:
|
|
|
|
|
output: true
|
|
|
|
|
sort_by: order
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
defaults:
|
2022-02-02 20:31:53 +03:00
|
|
|
|
- scope:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
path: "" # An empty string here means all files in the project
|
2019-09-30 15:38:41 +03:00
|
|
|
|
type: posts
|
|
|
|
|
values:
|
|
|
|
|
layout: post
|
2023-03-13 15:20:59 +03:00
|
|
|
|
comments: true # Enable comments in posts.
|
|
|
|
|
toc: true # Display TOC column in posts.
|
2021-04-19 23:34:11 +03:00
|
|
|
|
# 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/
|
2022-02-02 20:31:53 +03:00
|
|
|
|
- scope:
|
2019-09-30 15:38:41 +03:00
|
|
|
|
path: _drafts
|
|
|
|
|
values:
|
|
|
|
|
comments: false
|
2022-02-02 20:31:53 +03:00
|
|
|
|
- scope:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
path: ""
|
|
|
|
|
type: tabs # see `site.collections`
|
2019-09-30 15:38:41 +03:00
|
|
|
|
values:
|
|
|
|
|
layout: page
|
2021-01-31 16:43:23 +03:00
|
|
|
|
permalink: /:title/
|
2022-02-02 20:31:53 +03:00
|
|
|
|
- scope:
|
|
|
|
|
path: assets/js/dist
|
|
|
|
|
values:
|
|
|
|
|
swcache: true
|
2020-01-08 20:45:01 +03:00
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
sass:
|
|
|
|
|
style: compressed
|
|
|
|
|
|
|
|
|
|
compress_html:
|
|
|
|
|
clippings: all
|
2020-10-12 09:18:02 +03:00
|
|
|
|
comments: all
|
|
|
|
|
endings: all
|
2019-09-30 15:38:41 +03:00
|
|
|
|
profile: false
|
|
|
|
|
blanklines: false
|
|
|
|
|
ignore:
|
2020-12-19 18:01:46 +03:00
|
|
|
|
envs: [development]
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
exclude:
|
2023-03-13 15:20:59 +03:00
|
|
|
|
- "*.gem"
|
|
|
|
|
- "*.gemspec"
|
2023-08-19 07:51:22 +03:00
|
|
|
|
- docs
|
2020-01-01 20:21:43 +03:00
|
|
|
|
- tools
|
2020-04-08 17:45:25 +03:00
|
|
|
|
- README.md
|
2020-06-26 12:33:43 +03:00
|
|
|
|
- LICENSE
|
2023-03-13 15:20:59 +03:00
|
|
|
|
- rollup.config.js
|
2021-11-28 18:43:40 +03:00
|
|
|
|
- package*.json
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-11-26 18:52:59 +03:00
|
|
|
|
jekyll-archives:
|
2020-11-18 18:16:09 +03:00
|
|
|
|
enabled: [categories, tags]
|
|
|
|
|
layouts:
|
|
|
|
|
category: category
|
|
|
|
|
tag: tag
|
|
|
|
|
permalinks:
|
2020-12-07 20:49:56 +03:00
|
|
|
|
tag: /tags/:name/
|
|
|
|
|
category: /categories/:name/
|