Skip to content

Commit 5e7a6ed

Browse files
committed
feat: Initialize Hugo blog with PaperMod theme, comprehensive configuration, and initial content.
1 parent 754c20d commit 5e7a6ed

36 files changed

+1368
-67
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/workflows/hugo.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
steps:
15+
- uses: actions/checkout@v6
16+
with:
17+
submodules: true
18+
fetch-depth: 0
19+
20+
- name: Setup Hugo
21+
uses: peaceiris/actions-hugo@v3
22+
with:
23+
hugo-version: 'latest'
24+
extended: true
25+
26+
- name: Build
27+
run: hugo --minify
28+
29+
- name: Push to gh-pages Branch
30+
uses: peaceiris/actions-gh-pages@v4
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./public
34+
user_name: "github-actions[bot]"
35+
user_email: "github-actions[bot]@users.noreply.github.com"
36+
full_commit_message: "Deploying to gh-pages from ${{ github.sha }}"

.gitignore

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/go,hugo,node,jekyll
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=go,hugo,node,jekyll
3+
4+
### Go ###
5+
# If you prefer the allow list template instead of the deny list, see community template:
6+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
7+
#
8+
# Binaries for programs and plugins
9+
*.exe
10+
*.exe~
11+
*.dll
12+
*.so
13+
*.dylib
14+
15+
# Test binary, built with `go test -c`
16+
*.test
17+
18+
# Output of the go coverage tool, specifically when used with LiteIDE
19+
*.out
20+
21+
# Dependency directories (remove the comment below to include it)
22+
# vendor/
23+
24+
# Go workspace file
25+
go.work
26+
27+
### Hugo ###
28+
# Generated files by hugo
29+
/public/
30+
/resources/_gen/
31+
/assets/jsconfig.json
32+
hugo_stats.json
33+
34+
# Executable may be added to repository
35+
hugo.exe
36+
hugo.darwin
37+
hugo.linux
38+
39+
# Temporary lock file while building
40+
/.hugo_build.lock
41+
42+
### Jekyll ###
43+
_site/
44+
.sass-cache/
45+
.jekyll-cache/
46+
.jekyll-metadata
47+
# Ignore folders generated by Bundler
48+
.bundle/
49+
vendor/
50+
51+
### Node ###
52+
# Logs
53+
logs
54+
*.log
55+
npm-debug.log*
56+
yarn-debug.log*
57+
yarn-error.log*
58+
lerna-debug.log*
59+
.pnpm-debug.log*
60+
61+
# Diagnostic reports (https://nodejs.org/api/report.html)
62+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
63+
64+
# Runtime data
65+
pids
66+
*.pid
67+
*.seed
68+
*.pid.lock
69+
70+
# Directory for instrumented libs generated by jscoverage/JSCover
71+
lib-cov
72+
73+
# Coverage directory used by tools like istanbul
74+
coverage
75+
*.lcov
76+
77+
# nyc test coverage
78+
.nyc_output
79+
80+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
81+
.grunt
82+
83+
# Bower dependency directory (https://bower.io/)
84+
bower_components
85+
86+
# node-waf configuration
87+
.lock-wscript
88+
89+
# Compiled binary addons (https://nodejs.org/api/addons.html)
90+
build/Release
91+
92+
# Dependency directories
93+
node_modules/
94+
jspm_packages/
95+
96+
# Snowpack dependency directory (https://snowpack.dev/)
97+
web_modules/
98+
99+
# TypeScript cache
100+
*.tsbuildinfo
101+
102+
# Optional npm cache directory
103+
.npm
104+
105+
# Optional eslint cache
106+
.eslintcache
107+
108+
# Optional stylelint cache
109+
.stylelintcache
110+
111+
# Microbundle cache
112+
.rpt2_cache/
113+
.rts2_cache_cjs/
114+
.rts2_cache_es/
115+
.rts2_cache_umd/
116+
117+
# Optional REPL history
118+
.node_repl_history
119+
120+
# Output of 'npm pack'
121+
*.tgz
122+
123+
# Yarn Integrity file
124+
.yarn-integrity
125+
126+
# dotenv environment variable files
127+
.env
128+
.env.development.local
129+
.env.test.local
130+
.env.production.local
131+
.env.local
132+
133+
# parcel-bundler cache (https://parceljs.org/)
134+
.cache
135+
.parcel-cache
136+
137+
# Next.js build output
138+
.next
139+
out
140+
141+
# Nuxt.js build / generate output
142+
.nuxt
143+
dist
144+
145+
# Gatsby files
146+
.cache/
147+
# Comment in the public line in if your project uses Gatsby and not Next.js
148+
# https://nextjs.org/blog/next-9-1#public-directory-support
149+
# public
150+
151+
# vuepress build output
152+
.vuepress/dist
153+
154+
# vuepress v2.x temp and cache directory
155+
.temp
156+
157+
# Docusaurus cache and generated files
158+
.docusaurus
159+
160+
# Serverless directories
161+
.serverless/
162+
163+
# FuseBox cache
164+
.fusebox/
165+
166+
# DynamoDB Local files
167+
.dynamodb/
168+
169+
# TernJS port file
170+
.tern-port
171+
172+
# Stores VSCode versions used for testing VSCode extensions
173+
.vscode-test
174+
175+
# yarn v2
176+
.yarn/cache
177+
.yarn/unplugged
178+
.yarn/build-state.yml
179+
.yarn/install-state.gz
180+
.pnp.*
181+
182+
### Node Patch ###
183+
# Serverless Webpack directories
184+
.webpack/
185+
186+
# Optional stylelint cache
187+
188+
# SvelteKit build / generate output
189+
.svelte-kit
190+
191+
# End of https://www.toptal.com/developers/gitignore/api/go,hugo,node,jekyll

.mailmap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Humans
2+
RainPPR <PPR2125773894@163.com> <2125773894@qq.com>
3+
RainPPR <PPR2125773894@163.com> <41764766+RainPPR@users.noreply.github.com>
4+
RainPPR <PPR2125773894@163.com> <RainPPR@users.noreply.github.com>
5+
6+
# Bots
7+
Bot <bot@noreply.github.com> <49699333+dependabot[bot]@users.noreply.github.com>
8+
Bot <bot@noreply.github.com> <41898282+github-actions[bot]@users.noreply.github.com>
9+
Bot <bot@noreply.github.com> <github-actions[bot]@users.noreply.github.com>
10+
Bot <bot@noreply.github.com> <ImgBotHelp@gmail.com>

.markdownlint.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"default": true,
3+
"MD001": true,
4+
"MD003": {
5+
"style": "atx"
6+
},
7+
"MD004": {
8+
"style": "dash"
9+
},
10+
"MD005": true,
11+
"MD007": {
12+
"indent": 4
13+
},
14+
"MD009": true,
15+
"MD010": true,
16+
"MD011": true,
17+
"MD012": {
18+
"maximum": 2
19+
},
20+
"MD013": false,
21+
"MD014": false,
22+
"MD022": true,
23+
"MD024": false,
24+
"MD025": false,
25+
"MD026": false,
26+
"MD027": true,
27+
"MD028": true,
28+
"MD031": true,
29+
"MD032": true,
30+
"MD033": false,
31+
"MD034": true,
32+
"MD036": false,
33+
"MD037": true,
34+
"MD038": true,
35+
"MD039": true,
36+
"MD040": false,
37+
"MD041": false,
38+
"MD042": true,
39+
"MD045": false,
40+
"MD046": {
41+
"style": "fenced"
42+
},
43+
"MD047": true,
44+
"MD048": {
45+
"style": "backtick"
46+
},
47+
"MD049": {
48+
"style": "asterisk"
49+
},
50+
"MD050": {
51+
"style": "asterisk"
52+
}
53+
}

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 RainPPR
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)