Skip to content

Commit f00d49f

Browse files
author
passplease
committed
Set up New Website
0 parents  commit f00d49f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2908
-0
lines changed

.github/workflows/Starter.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Build and Deploy"
2+
env:
3+
name: github-pages
4+
on:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
paths-ignore:
10+
- .gitignore
11+
- README.md
12+
- LICENSE
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
permissions:
18+
contents: read
19+
pages: write
20+
id-token: write
21+
22+
# Allow one concurrent deployment
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: true
26+
27+
jobs:
28+
call-workflow-passing-data:
29+
uses: passplease/Chirpy-Template/.github/workflows/Deployer.yml@master
30+
with:
31+
repository: "/passplease.github.io"
32+
send_email: ${{vars.SEND_EMAIL}}
33+
secrets:
34+
email_username: ${{secrets.EMAIL_USERNAME}}
35+
email_password: ${{secrets.EMAIL_PASSWORD}}
36+
email_recipient: ${{secrets.RECIPIENT_EMAIL}}

.github/workflows/Test-Starter.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Build and Deploy"
2+
env:
3+
name: github-pages
4+
on:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
# Allow one concurrent deployment
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
call-workflow-passing-data:
19+
uses: passplease/Chirpy-Template/.github/workflows/Deployer.yml@test
20+
with:
21+
repository: "/passplease.github.io"
22+
send_email: ${{vars.SEND_EMAIL}}
23+
ref: ${{ vars.REF }}
24+
secrets:
25+
email_username: ${{secrets.EMAIL_USERNAME}}
26+
email_password: ${{secrets.EMAIL_PASSWORD}}
27+
email_recipient: ${{secrets.RECIPIENT_EMAIL}}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.idea/
2+
!Chirpy/_posts/
3+
!Chirpy/_data/
4+
!Chirpy/_tabs/
5+
!Chirpy/commons/
6+
!Chirpy/_config.yml
7+
!Chirpy/assets/img/
8+
Chirpy/*

Chirpy/_config.yml

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

Chirpy/_data/authors.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Template › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/advanced-usage.md#setting-author-url
2+
# -------------------------------------
3+
# {author_id}:
4+
# name: {full name}
5+
# twitter: {twitter_of_author}
6+
# url: {homepage_of_author}
7+
# -------------------------------------
8+
9+
cotes:
10+
name: Cotes Chung
11+
twitter: cotes2020
12+
url: https://github.com/cotes2020/
13+
14+
sille_bille:
15+
name: Dinesh Prasanth Moluguwan Krishnamoorthy
16+
twitter: dinesh_MKD
17+
url: https://github.com/SilleBille/
18+
19+
me:
20+
name:
21+
22+
empty:
23+
name: (作者不愿提供名字)

Chirpy/_data/contact.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# The contact options.
2+
3+
- type: github
4+
icon: "fab fa-github"
5+
6+
- type: twitter
7+
icon: "fa-brands fa-x-twitter"
8+
9+
- type: email
10+
icon: "fas fa-envelope"
11+
noblank: true # open link in current tab
12+
13+
- type: rss
14+
icon: "fas fa-rss"
15+
noblank: true
16+
# Uncomment and complete the url below to enable more contact options
17+
#
18+
# - type: mastodon
19+
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
20+
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
21+
#
22+
# - type: linkedin
23+
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
24+
# url: '' # Fill with your Linkedin homepage
25+
#
26+
# - type: stack-overflow
27+
# icon: 'fab fa-stack-overflow'
28+
# url: '' # Fill with your stackoverflow homepage
29+
#
30+
# - type: bluesky
31+
# icon: 'fa-brands fa-bluesky'
32+
# url: '' # Fill with your Bluesky profile link
33+
#
34+
# - type: reddit
35+
# icon: 'fa-brands fa-reddit'
36+
# url: '' # Fill with your Reddit profile link
37+
#
38+
# - type: threads
39+
# icon: 'fa-brands fa-threads'
40+
# url: '' # Fill with your Threads profile link

0 commit comments

Comments
 (0)