Skip to content

Commit c96bbf7

Browse files
committed
生成方式从 hugo 换成 jekyll
1 parent 1c0c018 commit c96bbf7

File tree

4 files changed

+31
-90
lines changed

4 files changed

+31
-90
lines changed

README.md

+1-61
Original file line numberDiff line numberDiff line change
@@ -1,61 +1 @@
1-
# Chirpy Starter
2-
3-
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)][gem] 
4-
[![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit]
5-
6-
When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
7-
`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file
8-
from the theme's gem. If you have ever installed this theme gem, you can use the command
9-
`bundle info --path jekyll-theme-chirpy` to locate these files.
10-
11-
The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being
12-
able to enjoy the out-of-the-box experience when using feature-rich themes.
13-
14-
To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your
15-
Jekyll site. The following is a list of targets:
16-
17-
```shell
18-
.
19-
├── _config.yml
20-
├── _plugins
21-
├── _tabs
22-
└── index.html
23-
```
24-
25-
To save you time, and also in case you lose some files while copying, we extract those files/configurations of the
26-
latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
27-
28-
## Prerequisites
29-
30-
Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of
31-
the basic environment. [Git](https://git-scm.com/) also needs to be installed.
32-
33-
## Installation
34-
35-
Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it
36-
`USERNAME.github.io`, where `USERNAME` represents your GitHub username.
37-
38-
Then clone it to your local machine and run:
39-
40-
```console
41-
$ bundle
42-
```
43-
44-
## Usage
45-
46-
Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
47-
48-
## Contributing
49-
50-
The contents of this repository are automatically updated when new releases are made to the [main repository][chirpy].
51-
If you have problems using it, or would like to participate in improving it, please go to the main repository for feedback!
52-
53-
## License
54-
55-
This work is published under [MIT][mit] License.
56-
57-
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
58-
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
59-
[use-template]: https://github.com/cotes2020/chirpy-starter/generate
60-
[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
61-
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
1+
# 个人博客

_config.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ description: >- # used by seo meta and the atom feed
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://www.luokai.tech/"
2727

2828
# github:
2929
# username: github_username # change to your github username
3030

3131
# twitter:
3232
# username: twitter_username # change to your twitter username
3333

34-
# social:
35-
# # Change to your full name.
36-
# # 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
39-
# links:
40-
# # 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
43-
# # Uncomment below to add more social links
44-
# # - https://www.facebook.com/username
45-
# # - https://www.linkedin.com/in/username
34+
social:
35+
# Change to your full name.
36+
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37+
# name: luok
38+
email: luokai0223@126.com # change to your email address
39+
# links:
40+
# # 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
43+
# # Uncomment below to add more social links
44+
# # - https://www.facebook.com/username
45+
# # - https://www.linkedin.com/in/username
4646

4747
# # Site Verification Settings
4848
# webmaster_verifications:
@@ -56,10 +56,10 @@ url: ""
5656
# ↑ --------------------------
5757
# The end of `jekyll-seo-tag` settings
5858

59-
# # Web Analytics Settings
60-
# analytics:
61-
# google:
62-
# id: # fill in your Google Analytics ID
59+
# Web Analytics Settings
60+
analytics:
61+
google:
62+
id: UA-67470195-2 # fill in your Google Analytics ID
6363
# goatcounter:
6464
# id: # fill in your GoatCounter ID
6565
# umami:

_data/contact.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# The contact options.
22

3-
- type: github
4-
icon: "fab fa-github"
3+
# - type: github
4+
# icon: "fab fa-github"
55

6-
- type: twitter
7-
icon: "fa-brands fa-x-twitter"
6+
# - type: twitter
7+
# icon: "fa-brands fa-x-twitter"
88

9-
- type: email
10-
icon: "fas fa-envelope"
11-
noblank: true # open link in current tab
9+
# - type: email
10+
# icon: "fas fa-envelope"
11+
# noblank: true # open link in current tab
1212

13-
- type: rss
14-
icon: "fas fa-rss"
15-
noblank: true
13+
# - type: rss
14+
# icon: "fas fa-rss"
15+
# noblank: true
1616
# Uncomment and complete the url below to enable more contact options
1717
#
1818
# - type: mastodon

_tabs/about.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ icon: fas fa-info-circle
44
order: 4
55
---
66

7-
> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
8-
{: .prompt-tip }
7+
<!-- > Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
8+
{: .prompt-tip } -->
9+

0 commit comments

Comments
 (0)