Skip to content

Commit c3e2af2

Browse files
committed
blog
1 parent c5e9101 commit c3e2af2

21 files changed

+866
-22
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,30 @@ This work is published under [MIT][mit] License.
4141
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
4242
[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
4343
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
44+
45+
## Setting up the Environment
46+
47+
### Setting up Natively (Recommended for Unix-like OS)
48+
49+
For Unix-like systems, you can set up the environment natively for optimal performance, though you can also use Dev Containers as an alternative.
50+
51+
**Steps**:
52+
53+
1. Follow the [Jekyll installation guide](https://jekyllrb.com/docs/installation/) to install Jekyll and ensure [Git](https://git-scm.com/) is installed.
54+
2. Clone your repository to your local machine.
55+
3. If you forked the theme, install [Node.js][nodejs] and run `bash tools/init.sh` in the root directory to initialize the repository.
56+
4. Run command `bundle` in the root of your repository to install the dependencies.
57+
58+
## Usage
59+
60+
### Start the Jekyll Server
61+
62+
To run the site locally, use the following command:
63+
64+
```terminal
65+
$ bundle exec jekyll serve
66+
```
67+
68+
After a few seconds, the local server will be available at <http://127.0.0.1:4000>.
69+
70+
OKOKOKOKOK

_config.yml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,47 @@ theme: jekyll-theme-chirpy
66
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
77
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
88
# otherwise, the layout language will use the default value of 'en'.
9-
lang: en
9+
lang: zh-CN
1010

1111
# Change to your timezone › https://zones.arilyn.cc
12-
timezone:
12+
timezone: Asia/Shanghai
1313

1414
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
1515
# ↓ --------------------------
1616

17-
title: Chirpy # the main title
17+
title: 纸妖的博客 # the main title
1818

19-
tagline: A text-focused Jekyll theme # it will display as the subtitle
19+
tagline: Break Boost and Beyond # it will display as the subtitle
2020

2121
description: >- # used by seo meta and the atom feed
22-
A minimal, responsive and feature-rich Jekyll theme for technical writing.
22+
纸妖(chaodongyue) 的个人博客, 主要是一些技术性偏向的分享.
2323
2424
# Fill in the protocol & hostname for your site.
2525
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://chaodongyue.github.io"
2727

2828
github:
29-
username: github_username # change to your GitHub username
30-
31-
twitter:
32-
username: twitter_username # change to your Twitter username
29+
username: chaodongyue # change to your GitHub username
3330

3431
social:
3532
# Change to your full name.
3633
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37-
name: your_full_name
38-
email: example@domain.com # change to your email address
34+
name: 纸妖
35+
email: chaodongyue@163.com # change to your email address
3936
links:
4037
# The first element serves as the copyright owner's link
41-
- https://twitter.com/username # change to your Twitter homepage
42-
- https://github.com/username # change to your GitHub homepage
38+
- https://github.com/chaodongyue # change to your GitHub homepage
4339
# Uncomment below to add more social links
4440
# - https://www.facebook.com/username
4541
# - https://www.linkedin.com/in/username
4642

4743
# Site Verification Settings
4844
webmaster_verifications:
49-
google: # fill in your Google verification code
50-
bing: # fill in your Bing verification code
45+
google: 9yV7ToUzQYcztJ5A66oRlDy8m1GRVv1m6gr43Os0X_c
46+
bing: DA6D84BED2650E9B845E38980930AAAF
5147
alexa: # fill in your Alexa verification code
5248
yandex: # fill in your Yandex verification code
53-
baidu: # fill in your Baidu verification code
49+
baidu: codeva-9WoDEmZTZY
5450
facebook: # fill in your Facebook verification code
5551

5652
# ↑ --------------------------
@@ -98,7 +94,7 @@ theme_mode: # [light | dark]
9894
cdn:
9995

10096
# the avatar on sidebar, support local or CORS resources
101-
avatar:
97+
avatar: "https://avatars.githubusercontent.com/u/1543666"
10298

10399
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
104100
# It can be overridden by a customized `page.image` in front matter.
@@ -109,7 +105,7 @@ toc: true
109105

110106
comments:
111107
# Global switch for the post-comment system. Keeping it empty means disabled.
112-
provider: # [disqus | utterances | giscus]
108+
provider: giscus # [disqus | utterances | giscus]
113109
# The provider options are as follows:
114110
disqus:
115111
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
@@ -119,7 +115,7 @@ comments:
119115
issue_term: # < url | pathname | title | ...>
120116
# Giscus options › https://giscus.app
121117
giscus:
122-
repo: # <gh-username>/<repo>
118+
repo: chaodongyue/chaodongyue.github.io
123119
repo_id:
124120
category:
125121
category_id:

0 commit comments

Comments
 (0)