Skip to content

Commit 188006e

Browse files
committed
update global readme
1 parent 878f3fb commit 188006e

2 files changed

Lines changed: 80 additions & 16 deletions

File tree

readme.md

Lines changed: 79 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,82 @@
11
[![Hexo Deploy](https://github.com/ZebinGao/ZebinGao.github.io/actions/workflows/deploy.yml/badge.svg)](https://github.com/ZebinGao/ZebinGao.github.io/actions/workflows/deploy.yml)
2-
# hexo new 文章标题
3-
- hexo new 如何在hexo博客写作
4-
- hexo new 文章标题 --path 路径/文件名.md
5-
- 或者可以简写一下
6-
- hexo new 文章标题 -p 路径/文件名.md
7-
- hexo new "如何在hexo博客写作" -p 计算机科学/博客/如何在hexo博客写作.md
8-
- tips:如果不设置路径的话,新建文章是默认存储在\source\_posts\这个路径下的。
9-
- tips:一般在标题下有空格或者其他字符要给标题加上双引号
2+
# 🏠 Zebin Gao's Personal Blog (数字花园)
3+
4+
![Framework](https://img.shields.io/badge/Framework-Hexo_7.0+-blue.svg)
5+
![Theme](https://img.shields.io/badge/Theme-Zebin--Theme-orange.svg)
6+
![Hosted](https://img.shields.io/badge/Hosted-GitHub_Pages-black.svg)
7+
![License](https://img.shields.io/badge/License-MIT-green.svg)
8+
9+
> **“保持热爱,奔赴山海。”**
10+
11+
欢迎来到我的个人博客源码仓库!这里是我记录技术沉淀、生活随笔的“数字花园”,同时也是我折腾前端、部署各种好玩工具的线上“实验室”。
12+
13+
🌐 **在线访问地址**[https://zebingao.github.io](https://zebingao.github.io)
14+
15+
---
16+
17+
## 👨‍💻 关于我与博客内容 (About)
18+
19+
我是一名开发者,博客内容主要聚焦于以下领域:
20+
* **💻 编程技术**:涵盖 C#、WPF、MongoDB 等后端与客户端技术栈。
21+
* **🛠️ 架构与调优**:工业软件开发、架构解析、性能优化(如 Visual Studio 诊断工具避坑、内存泄漏排查实战)。
22+
* **📝 日子与杂记**:生活随笔、读书笔记、以及那些“未能公开的文章”背后的思考。
23+
24+
---
25+
26+
## 🎨 博客主题 (Theme)
27+
28+
本站没有使用任何市面上的现成模板,而是由我基于 Hexo 从零手写构建的专属主题 —— **[Zebin-Theme]**
29+
30+
* **极致排版**:采用现代化的 CSS Grid 三栏布局,引入思源宋体 (Noto Serif SC) 提供纸质书级别的阅读体验。
31+
* **定制功能**:支持文章 TOC 目录吸附、标签云、日历组件,以及无缝滚动的“瀑布流”归档页。
32+
* **极客高亮**:深度定制了 Atom One Dark 代码高亮主题与 Mac 风格滚动条。
33+
34+
如果你对这个主题的源码感兴趣,可以查看 `themes/Zebin-Theme` 目录。
35+
36+
---
37+
38+
## 🕹️ 实验室与隐藏彩蛋 (Easter Eggs)
39+
40+
博客不仅仅是用来阅读的,我还在这里藏了一些有趣的小工具:
41+
* 🍅 **[番茄钟定时器](/pomodoro)**:沉浸式工作的好帮手。
42+
* 🎮 **[2048 小游戏](/smallgame/2048)**:摸鱼必备,挑战一下你的大脑。
43+
* 🤡 **[谢益辉的恶作剧](/smallgame/trick)**:愚人节专属,点开有“惊喜”。
44+
45+
---
46+
47+
## 🚀 部署与运行 (Development)
48+
49+
如果你是这台电脑的新主人(或者就是换了新电脑的我本人),请按照以下步骤让博客重新跑起来:
50+
51+
### 1. 环境准备
52+
确保电脑已安装 [Git](https://git-scm.com/)[Node.js](https://nodejs.org/)
53+
54+
### 2. 克隆仓库与安装依赖
55+
```bash
56+
# 拉取源码
57+
git clone [https://github.com/ZebinGao/ZEBINGAO.GITHUB.IO.git](https://github.com/ZebinGao/ZEBINGAO.GITHUB.IO.git)
58+
59+
# 进入目录
60+
cd ZEBINGAO.GITHUB.IO
61+
62+
# 安装 Hexo 运行所需的全部依赖
63+
npm install
1064
```
11-
hexo clean
12-
hexo g
13-
hexo d
65+
### 3. 本地预览
66+
``` bash
67+
# 清除缓存并启动本地服务器
68+
hexo clean && hexo server
1469
```
15-
- 逐步输入以上三条指令,执行完再输入下一条
16-
- 或者一次性输入三条也是可以的,但新手还不建议一次性输入,前期部署可能有时候容易出错
17-
hexo clean && hexo g && hexo d
18-
- 部署完了看一下窗口没有出现报错就可以去博客刷新一下内容了,一般需要几分钟才更新内容
70+
打开浏览器访问 http://localhost:4000 即可预览效果。
71+
72+
### 4. 撰写与发布
73+
``` bash
74+
# 新建文章
75+
hexo new "你的文章标题"
76+
77+
# 编译并一键部署到 GitHub Pages
78+
hexo clean && hexo generate --deploy
79+
```
80+
81+
## 🤝 友情链接 (Links)
82+
如果你也是喜欢折腾独立博客的朋友,欢迎fork和点赞!

themes/Zebin-Theme/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ layout: links
131131
极度重要:必须在 HTML 的 <head> 标签中显式声明 <meta charset="UTF-8">,否则中文字符将显示为乱码!
132132
133133
## 👨‍💻 作者与鸣谢 (Credits)
134-
Author: [Zebin Gao / Zebin]
134+
Author: [Zebin Gao / Zebin-Theme]
135135
136136
Inspiration: 感谢 喵神 OneV's Den 极简优雅的布局启发,以及 Diaspora 主题 带来的创作契机。
137137

0 commit comments

Comments
 (0)