通过 Hugo Modules 加载 Hugo theme Stack,模板内只保留基础主题结构与配置
blogweb_temp — Hugo 博客模板
作者 kurisaW
基于 Hugo 与 Stack 主题的个人博客起步模板,通过 Hugo Modules 加载主题,并预置 GitHub Actions 自动部署到 GitHub Pages。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
预置 GitHub Actions,提交推送后自动部署到仓库对应的 GitHub Pages
设置每日定时任务,自动更新所引用的主题
README 提供 GitHub Codespace 使用流程,创建后可直接运行 hugo server 预览
同时给出本地运行与 Vercel 等静态托管的构建注意事项
仓库采用 MIT 许可,代码可免费使用、修改、商用与分发
模板详细介绍
这是一个面向个人博客的 Hugo 起步模板,仓库名为 blogweb_temp,作者为 kurisaW,演示站点发布在 kurisaw.github.io。模板本身不包含自研主题,而是通过 Hugo Modules 加载 Hugo theme Stack,并提供基础的主题结构与配置文件。
模板已配置 GitHub Actions,可将站点自动部署到仓库对应的 GitHub Pages;同时设置了每日自动更新主题的定时任务。README 给出的使用路径是:以该仓库为模板创建新仓库,再关联 GitHub Codespace,在终端运行 hugo server 本地预览。配置文件位于 config 目录,其中 config/_default/config.toml 的 baseurl 需要改为自己的站点地址。
如果不用 Codespace,也可以在本地运行,前提是本地安装 Git、Go 和 Hugo extended。模板锁定 Stack 主题的 v3 版本,受 Go module 机制限制,主题发布 v4 及以上版本时需要手动修改 config/module.toml 并执行 hugo mod get -u 与 hugo mod tidy 更新。部署到 Vercel 等其他静态托管时,需要目标环境具备 Go,并相应调整构建命令与 Hugo 版本环境变量。
许可方面,仓库采用 MIT 许可,允许免费使用、修改、商用和分发该版本代码,分发时需保留版权声明与完整 MIT 许可声明;演示图片、字体、图标等第三方素材需单独核对许可。
适合你的项目吗?
适用场景
- 在 GitHub 上快速创建一个可自动部署的个人博客仓库
- 以 Stack 主题为基础撰写文章并发布到 GitHub Pages
- 在 GitHub Codespace 中直接编辑配置与内容并本地预览
- 将同一套 Hugo 站点改造成部署到 Vercel 等其他静态托管
适合人群
- 希望用 Hugo 搭建个人博客、且接受 Stack 主题默认外观的用户
- 习惯用 GitHub 仓库与 Actions 管理站点源码和发布的开发者
- 需要在浏览器内通过 Codespace 编辑内容的用户
- 愿意在本地安装 Git、Go 与 Hugo extended 的开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
点击 Use this template 在 GitHub 创建自己的仓库,或克隆仓库后本地运行
- 2
使用 Codespace 时,环境已配置 Hugo extended,直接在终端执行 hugo server 即可预览
- 3
修改 config 目录下的配置文件,并把 config/_default/config.toml 中的 baseurl 改为自己的站点地址
- 4
本地运行需预先安装 Git、Go 和 Hugo extended
- 5
模板锁定 Stack 主题 v3,升级到 v4 及以上需手动修改 config/module.toml 并执行 hugo mod get -u 与 hugo mod tidy
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 本地运行该模板需自行安装 Git、Go 与 Hugo extended,否则无法构建站点。
- 部署到 Vercel 等其他静态托管时,目标构建环境必须安装 Go,否则构建会失败。
- 模板锁定 Stack 主题 v3,主题发布 v4 及以上版本后需手动修改 config/module.toml 并执行更新命令,无法自动升级。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
You need to install Git, Go and Hugo extended locally.
README 原文
you need to make sure they have Go installed in the machine
README 原文
https://github.com/kurisaW/blogweb_temp/blob/master/LICENSEhttps://github.com/kurisaW/blogweb_temp/blob/master/README.mdyou need to update the theme manually. (Modifying `config/module.toml` file)
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 68 / 100
- 技术栈
- Hugo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2023-03-18
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: d4abb869adf3e760caa7924521cc579e08e9a7025f2c1f5579bb5325f4a1b09b
2026-10-02T21:09:12.377Z
来源文件 / 仓库# Hi there!👋 I'm KurisaW,or you can call me yifang. ```yaml 🔭 Now I am a junior student ... 🌱 I’m currently learning RT-Thread、linux、ROS ... 👯 I’m looking to collaborate on Embedded or neural network ... 🤔 I'm looking forward to sharing my experience and learning to help some beginners get through the rookie phase faster ... 💬 Ask me about Linux、Embedded ... 😊 I will be happy to discuss technology and knowledge with you and look forward to your visit! ``` `Contact me:` * [Github Address :https://github.com/kurisaW](https://github.com/kurisaW) * [Email :[email protected]](mailto:[email protected]) * [My Website :https://kurisaw.github.io/](https://kurisaw.github.io/) --- # How to use the `Hugo Theme Stack Starter Template`? This is a quick start template for [Hugo theme Stack](https://github.com/CaiJimmy/hugo-theme-stack). It uses [Hugo modules](https://gohugo.io/hugo-modules/) feature to load the theme. It comes with a basic theme structure and configuration. GitHub action has been set up to deploy the theme to a public GitHub page automatically. Also, there's a cron job to update the theme automatically everyday. To get started: 1. Click *Use this template*, and create your repository on GitHub.  2. Once the repository is created, create a GitHub codespace asociated with it.  3. And voila! You're ready to go. The codespace has been configured with the latest version of Hugo extended, just run `hugo server` in the terminal and see your new site in action. 4. Check `config` folder for the configuration files. You can edit them to suit your needs. Make sure to update the `baseurl` property in `config/_default/config.toml` to your site's URL. 5. Once you're done editing the site, just commit it and push it. GitHub action will deploy the site automatically to GitHub page asociated with the repository.  --- In case you don't want to use GitHub codespace, you can also run this template in your local machine. **You need to install Git, Go and Hugo extended locally.** ### Update theme manually Run: ```bash hugo mod get -u github.com/CaiJimmy/hugo-theme-stack/v3 hugo mod tidy ``` > This starter template has been configured with `v3` version of theme. Due to the limitation of Go module, once the `v4` or up version of theme is released, you need to update the theme manually. (Modifying `config/module.toml` file) ### Deploy to another static page hostings If you want to build this site using another static page hosting, you need to make sure they have Go installed in the machine. <details> <summary>Vercel</summary> You need to overwrite build command to install manually Go: ``` amazon-linux-extras install golang1.11 && hugo --gc --minify ```  Make sure also to specify Hugo version in the environment variable `HUGO_VERSION` (Use the latest version of Hugo extended):  </details>
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

hugo-PaperMod
PaperMod 是 Hugo 生态里知名度较高的主题之一,定位很明确:给博客和轻量作品集站点提供一套干净、响应式的阅读界面。
Hugo · 作品集

LoveIt
❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
Hugo · 博客

hugo-coder
A minimalist blog theme for hugo.
Hugo · 博客

blowfish
Personal Website & Blog Theme for Hugo
Hugo · 博客

hugo-paper
🪺 A simple, clean, customizable Hugo theme
Hugo · 博客

hextra
Hextra 是一个 Hugo 主题,定位在文档站与博客之间:既提供侧边栏导航、目录、面包屑、分页这类文档站结构,也能承载博客内容。
Hugo · 文档
