Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

BillZH的小站

个人博客,记录一些技术笔记和折腾记录。

技术栈

本地开发

需要先安装 Git、Go 和 Hugo extended,并通过git clone拉取项目,具体内容参见Stack官方文档.

# 拉取依赖
hugo mod tidy

# 启动本地服务
hugo server

访问 http://localhost:1313 预览(端口号请根据hugo配置定义实际改动)。

构建

hugo --minify

更新主题

hugo mod get -u github.com/CaiJimmy/hugo-theme-stack/v4
hugo mod tidy

部署

推送到 main 分支后,GitHub Actions 自动构建并部署到 GitHub Pages。

目录结构

.
├── config/_default/     # 站点配置
├── content/             # 文章与页面
│   ├── post/            # 博客文章
│   ├── links/           # 友链
│   └── ...
├── layouts/             # 覆盖主题的模板
├── static/              # 静态资源(favicon 等)
└── assets/              # 需要处理的资源(SCSS、图片等)

许可

文章内容采用 CC BY-NC-SA 4.0 许可。 代码部分采用 MIT 许可。

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages