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