Skip to content

Commit 0a22746

Browse files
committed
Update config
1 parent ac34648 commit 0a22746

File tree

1 file changed

+226
-3
lines changed

1 file changed

+226
-3
lines changed

_config.yml

Lines changed: 226 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,229 @@
1-
title: Swift Stream Blog
2-
description: Your way to simple life with Swift
1+
# The Site Configuration
2+
3+
# Import the theme
4+
#theme: jekyll-theme-chirpy
35
remote_theme: cotes2020/jekyll-theme-chirpy
46
plugins:
57
- jekyll-remote-theme
6-
markdown: kramdown
8+
9+
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
10+
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
11+
# otherwise, the layout language will use the default value of 'en'.
12+
lang: en
13+
14+
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
15+
timezone:
16+
17+
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
18+
# ↓ --------------------------
19+
20+
title: Swift Stream Blog # the main title
21+
22+
tagline: Your way to simple life with Swift # it will display as the subtitle
23+
24+
description: >- # used by seo meta and the atom feed
25+
Your way to simple life with Swift
26+
27+
# Fill in the protocol & hostname for your site.
28+
# E.g. 'https://username.github.io', note that it does not end with a '/'.
29+
url: "https://blog.swift.stream"
30+
31+
github:
32+
username: swiftstream # change to your GitHub username
33+
34+
#twitter:
35+
# username: twitter_username # change to your Twitter username
36+
37+
#social:
38+
# Change to your full name.
39+
# It will be displayed as the default author of the posts and the copyright owner in the Footer
40+
#name: your_full_name
41+
#email: [email protected] # change to your email address
42+
#links:
43+
# The first element serves as the copyright owner's link
44+
#- https://twitter.com/username # change to your Twitter homepage
45+
#- https://github.com/username # change to your GitHub homepage
46+
# Uncomment below to add more social links
47+
# - https://www.facebook.com/username
48+
# - https://www.linkedin.com/in/username
49+
50+
# Site Verification Settings
51+
#webmaster_verifications:
52+
# google: # fill in your Google verification code
53+
# bing: # fill in your Bing verification code
54+
# alexa: # fill in your Alexa verification code
55+
# yandex: # fill in your Yandex verification code
56+
# baidu: # fill in your Baidu verification code
57+
# facebook: # fill in your Facebook verification code
58+
59+
# ↑ --------------------------
60+
# The end of `jekyll-seo-tag` settings
61+
62+
# Web Analytics Settings
63+
#analytics:
64+
# google:
65+
# id: # fill in your Google Analytics ID
66+
# goatcounter:
67+
# id: # fill in your GoatCounter ID
68+
# umami:
69+
# id: # fill in your Umami ID
70+
# domain: # fill in your Umami domain
71+
# matomo:
72+
# id: # fill in your Matomo ID
73+
# domain: # fill in your Matomo domain
74+
# cloudflare:
75+
# id: # fill in your Cloudflare Web Analytics token
76+
# fathom:
77+
# id: # fill in your Fathom Site ID
78+
79+
# Page views settings
80+
#pageviews:
81+
# provider: # now only supports 'goatcounter'
82+
83+
# Prefer color scheme setting.
84+
#
85+
# Note: Keep empty will follow the system prefer color by default,
86+
# and there will be a toggle to switch the theme between dark and light
87+
# on the bottom left of the sidebar.
88+
#
89+
# Available options:
90+
#
91+
# light — Use the light color scheme
92+
# dark — Use the dark color scheme
93+
#
94+
theme_mode: dark
95+
96+
# The CDN endpoint for media resources.
97+
# Notice that once it is assigned, the CDN url
98+
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
99+
#
100+
# e.g. 'https://cdn.com'
101+
#cdn:
102+
103+
# the avatar on sidebar, support local or CORS resources
104+
#avatar:
105+
106+
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
107+
# It can be overridden by a customized `page.image` in front matter.
108+
#social_preview_image: # string, local or CORS resources
109+
110+
# boolean type, the global switch for TOC in posts.
111+
toc: true
112+
113+
comments:
114+
# Global switch for the post-comment system. Keeping it empty means disabled.
115+
provider: # [disqus | utterances | giscus]
116+
# The provider options are as follows:
117+
disqus:
118+
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
119+
# utterances settings › https://utteranc.es/
120+
utterances:
121+
repo: # <gh-username>/<repo>
122+
issue_term: # < url | pathname | title | ...>
123+
# Giscus options › https://giscus.app
124+
giscus:
125+
repo: # <gh-username>/<repo>
126+
repo_id:
127+
category:
128+
category_id:
129+
mapping: # optional, default to 'pathname'
130+
strict: # optional, default to '0'
131+
input_position: # optional, default to 'bottom'
132+
lang: # optional, default to the value of `site.lang`
133+
reactions_enabled: # optional, default to the value of `1`
134+
135+
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
136+
assets:
137+
self_host:
138+
enabled: # boolean, keep empty means false
139+
# specify the Jekyll environment, empty means both
140+
# only works if `assets.self_host.enabled` is 'true'
141+
env: # [development | production]
142+
143+
pwa:
144+
enabled: true # The option for PWA feature (installable)
145+
cache:
146+
enabled: true # The option for PWA offline cache
147+
# Paths defined here will be excluded from the PWA cache.
148+
# Usually its value is the `baseurl` of another website that
149+
# shares the same domain name as the current website.
150+
deny_paths:
151+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
152+
153+
paginate: 10
154+
155+
# The base URL of your site
156+
baseurl: "blog.swift.stream"
157+
158+
# ------------ The following options are not recommended to be modified ------------------
159+
160+
kramdown:
161+
footnote_backlink: "&#8617;&#xfe0e;"
162+
syntax_highlighter: rouge
163+
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
164+
css_class: highlight
165+
# default_lang: console
166+
span:
167+
line_numbers: false
168+
block:
169+
line_numbers: true
170+
start_line: 1
171+
172+
collections:
173+
tabs:
174+
output: true
175+
sort_by: order
176+
177+
defaults:
178+
- scope:
179+
path: "" # An empty string here means all files in the project
180+
type: posts
181+
values:
182+
layout: post
183+
comments: true # Enable comments in posts.
184+
toc: true # Display TOC column in posts.
185+
# DO NOT modify the following parameter unless you are confident enough
186+
# to update the code of all other post links in this project.
187+
permalink: /posts/:title/
188+
- scope:
189+
path: _drafts
190+
values:
191+
comments: false
192+
- scope:
193+
path: ""
194+
type: tabs # see `site.collections`
195+
values:
196+
layout: page
197+
permalink: /:title/
198+
199+
sass:
200+
style: compressed
201+
202+
compress_html:
203+
clippings: all
204+
comments: all
205+
endings: all
206+
profile: false
207+
blanklines: false
208+
ignore:
209+
envs: [development]
210+
211+
exclude:
212+
- "*.gem"
213+
- "*.gemspec"
214+
- docs
215+
- tools
216+
- README.md
217+
- LICENSE
218+
- purgecss.js
219+
- "*.config.js"
220+
- "package*.json"
221+
222+
jekyll-archives:
223+
enabled: [categories, tags]
224+
layouts:
225+
category: category
226+
tag: tag
227+
permalinks:
228+
tag: /tags/:name/
229+
category: /categories/:name/

0 commit comments

Comments
 (0)