https://github.com/poneding/blog-papermod
博客 · 丁鹏
https://github.com/poneding/blog-papermod
blog hugo
Last synced: 5 days ago
JSON representation
博客 · 丁鹏
- Host: GitHub
- URL: https://github.com/poneding/blog-papermod
- Owner: poneding
- Created: 2023-04-13T03:35:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T13:16:34.000Z (about 2 years ago)
- Last Synced: 2025-02-28T17:38:06.915Z (over 1 year ago)
- Topics: blog, hugo
- Language: HTML
- Homepage: https://blog.poneding.com
- Size: 670 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 博客 · 丁鹏
博客主页:
👉🏻 [博客 · 丁鹏](https://blog.poneding.com)
博客技术栈:
- 博客系统:[hugo](https://gohugo.io)
- 主题定制:[PaperMod](https://github.com/adityatelange/hugo-PaperMod)
- 评论系统:[giscus](https://giscus.app)
- 页面统计:[busuanzi](https://busuanzi.ibruce.info/)
- 自动发布:[actions-hugo](https://github.com/peaceiris/actions-hugo)
- 静态部署:[netlify](https://www.netlify.com/)
写博客:
1. 安装 hugo
```bash
brew install hugo
hugo version
```
2. 克隆博客仓库
```bash
git clone https://github.com/poneding/blog.git
cd blog
```
3. 新建
```bash
# 新建博客
hugo new -k posts content/posts/my-post.md
# 新建系列
hugo new -k series content/series/my-series.md
```
4. 发布博客
```bash
./release.sh
```
5. 本地运行
```bash
hugo server -D
```
6. 本地编译
```bash
hugo -D
```