Skip to content

Commit a0d1e1e

Browse files
committed
Update config to Chirpy v7 and update site metadata
1 parent 66eed11 commit a0d1e1e

1 file changed

Lines changed: 74 additions & 102 deletions

File tree

_config.yml

Lines changed: 74 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,109 @@
11
# The Site Configuration
2-
3-
# Import the theme
42
theme: jekyll-theme-chirpy
53

6-
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
7-
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
8-
# otherwise, the layout language will use the default value of 'en'.
94
lang: en
10-
11-
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
125
timezone: Asia/Singapore
136

14-
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
7+
# jekyll-seo-tag settings
158
# ↓ --------------------------
169

17-
title: nginx0 # the main title
18-
19-
tagline: CTF Writeups / InfoSec Blog # it will display as the sub-title
20-
21-
favicon: /assets/img/favicons/favicon.ico
22-
23-
description: >- # used by seo meta and the atom feed
10+
title: nginx0
11+
tagline: CTF Writeups / InfoSec Blog
12+
description: >-
2413
CTF Writeups / InfoSec Blog
2514
26-
# Fill in the protocol & hostname for your site.
27-
# e.g. 'https://username.github.io', note that it does not end with a '/'.
2815
url: "https://nginx0.github.io"
2916

3017
github:
31-
username: nginx0 # change to your github username
18+
username: nginx0
3219

3320
twitter:
34-
username: nginxzero # change to your twitter username
21+
username: nginxzero
3522

3623
social:
37-
# Change to your full name.
38-
# It will be displayed as the default author of the posts and the copyright owner in the Footer
3924
name: nginx0
40-
email: nginxzero@protonmail.com # change to your email address
25+
email: nginxzero@protonmail.com
4126
links:
42-
# The first element serves as the copyright owner's link
43-
- https://twitter.com/nginxzero # change to your twitter homepage
44-
- https://github.com/nginx0 # change to your github homepage
45-
# Uncomment below to add more social links
46-
# - https://www.facebook.com/username
47-
# - https://www.linkedin.com/in/username
48-
49-
google_site_verification: kk6npF3Cj0VX5MIgqyu52INuOUgHCZWXmz5izom51CA # fill in to your verification string
27+
- https://twitter.com/nginxzero
28+
- https://github.com/nginx0
29+
30+
# New Verification Block
31+
webmaster_verifications:
32+
google: kk6npF3Cj0VX5MIgqyu52INuOUgHCZWXmz5izom51CA
33+
bing:
34+
alexa:
35+
yandex:
36+
baidu:
37+
facebook:
5038

5139
# ↑ --------------------------
52-
# The end of `jekyll-seo-tag` settings
53-
54-
google_analytics:
55-
id: G-4EVBZ1G7MB # fill in your Google Analytics ID
56-
57-
# Prefer color scheme setting.
58-
#
59-
# Note: Keep empty will follow the system prefer color by default,
60-
# and there will be a toggle to switch the theme between dark and light
61-
# on the bottom left of the sidebar.
62-
#
63-
# Available options:
64-
#
65-
# light - Use the light color scheme
66-
# dark - Use the dark color scheme
67-
#
68-
theme_mode: "dark" # [light|dark]
69-
70-
# The CDN endpoint for images.
71-
# Notice that once it is assigned, the CDN url
72-
# will be added to all image (site avatar & posts' images) paths starting with '/'
73-
#
74-
# e.g. 'https://cdn.com'
75-
img_cdn:
76-
77-
# the avatar on sidebar, support local or CORS resources
78-
avatar: assets/img/pp.gif
79-
80-
# boolean type, the global switch for TOC in posts.
40+
41+
# Web Analytics Settings
42+
analytics:
43+
google:
44+
id: G-4EVBZ1G7MB
45+
goatcounter:
46+
id:
47+
umami:
48+
id:
49+
domain:
50+
matomo:
51+
id:
52+
domain:
53+
cloudflare:
54+
id:
55+
fathom:
56+
id:
57+
58+
theme_mode: dark
59+
60+
# Updated to latest Chirpy CDN/Avatar naming
61+
cdn: ""
62+
avatar: "/assets/img/pp.gif"
63+
64+
social_preview_image:
65+
8166
toc: true
8267

8368
comments:
84-
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
85-
# The active options are as follows:
69+
provider: # [disqus | utterances | giscus]
8670
disqus:
87-
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
88-
# utterances settings › https://utteranc.es/
71+
shortname:
8972
utterances:
90-
repo: # <gh-username>/<repo>
91-
issue_term: # < url | pathname | title | ...>
92-
# Giscus options › https://giscus.app
73+
repo:
74+
issue_term:
9375
giscus:
94-
repo: # <gh-username>/<repo>
95-
repo_id:
96-
category:
97-
category_id:
98-
mapping: # optional, default to 'pathname'
99-
input_position: # optional, default to 'bottom'
100-
lang: # optional, default to the value of `site.lang`
101-
reactions_enabled: # optional, default to the value of `1`
102-
103-
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
76+
repo:
77+
repo_id:
78+
category:
79+
category_id:
80+
mapping:
81+
strict:
82+
input_position:
83+
lang:
84+
reactions_enabled:
85+
10486
assets:
10587
self_host:
106-
enabled: # boolean, keep empty means false
107-
# specify the Jekyll environment, empty means both
108-
# only works if `assets.self_host.enabled` is 'true'
109-
env: # [development|production]
88+
enabled:
89+
env:
11090

11191
pwa:
112-
enabled: true # the option for PWA feature
92+
enabled: true
93+
cache:
94+
enabled: true
95+
deny_paths:
11396

11497
paginate: 10
115-
116-
# The base URL of your site
11798
baseurl: ""
11899

119100
# ------------ The following options are not recommended to be modified ------------------
120101

121102
kramdown:
103+
footnote_backlink: "&#8617;&#xfe0e;"
122104
syntax_highlighter: rouge
123-
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
105+
syntax_highlighter_opts:
124106
css_class: highlight
125-
# default_lang: console
126107
span:
127108
line_numbers: false
128109
block:
@@ -136,33 +117,23 @@ collections:
136117

137118
defaults:
138119
- scope:
139-
path: "" # An empty string here means all files in the project
120+
path: ""
140121
type: posts
141122
values:
142123
layout: post
143-
comments: true # Enable comments in posts.
144-
toc: true # Display TOC column in posts.
145-
# DO NOT modify the following parameter unless you are confident enough
146-
# to update the code of all other post links in this project.
124+
comments: true
125+
toc: true
147126
permalink: /posts/:title/
148127
- scope:
149128
path: _drafts
150129
values:
151130
comments: false
152131
- scope:
153132
path: ""
154-
type: tabs # see `site.collections`
133+
type: tabs
155134
values:
156135
layout: page
157136
permalink: /:title/
158-
- scope:
159-
path: assets/img/favicons
160-
values:
161-
swcache: true
162-
- scope:
163-
path: assets/js/dist
164-
values:
165-
swcache: true
166137

167138
sass:
168139
style: compressed
@@ -183,8 +154,9 @@ exclude:
183154
- tools
184155
- README.md
185156
- LICENSE
186-
- rollup.config.js
187-
- package*.json
157+
- purgecss.js
158+
- "*.config.js"
159+
- "package*.json"
188160

189161
jekyll-archives:
190162
enabled: [categories, tags]
@@ -193,4 +165,4 @@ jekyll-archives:
193165
tag: tag
194166
permalinks:
195167
tag: /tags/:name/
196-
category: /categories/:name/
168+
category: /categories/:name/

0 commit comments

Comments
 (0)