单页作品集布局,项目内容按 content 目录下的 section 组织
portfolio-showcase-hugo-theme — Hugo 作品集模板
作者 fu4303
Showcase 是一个基于 Hugo 的极简单页作品集主题,通过内容目录自动生成菜单,支持内容筛选、社交链接、自定义菜单与深色模式。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
菜单由内容 section 自动生成,可用 _index.md 的 private 字段排除
支持内容筛选、社交链接与自定义菜单
深色模式通过 config.toml 中的 params.darkMode 开关启用
自带完整配置的 exampleSite,可直接本地预览
提供 Netlify / Vercel 的构建命令示例
模板详细介绍
Showcase 是面向 Hugo 的极简单页作品集主题,仓库与示例站点均以项目展示为核心。主题从 Hugo 站点的 content 目录中按 section 自动生成菜单,每个 section 下的条目即一个项目;在 section 的 _index.md 中设置 private 为 true 可将该 section 从自动菜单中排除,也可以在 config.toml 中改用自定义菜单。README 列出的功能包括自动生成菜单、响应式内容、内容筛选、社交链接、自定义菜单和深色模式,其中深色模式需在 config.toml 中将 params.darkMode 设为 true 才会出现切换入口。
使用方式为把仓库克隆或作为 git submodule 放到 Hugo 站点的 themes/showcase 目录,再从 exampleSite 复制 config.toml 到站点根目录并按注释修改字段。主题自带完整配置的示例站点,可在 themes/showcase/exampleSite 下用 hugo serve --themesDir ../.. 预览;迁移到 v1.3.0 时要求 Hugo 最低版本 0.69.0,并需把主题目录中的 package.json 复制到站点根目录后执行 npm install。部署到 Netlify 或 Vercel 等平台时,README 给出的构建命令为 npm i && hugo -D --gc。
限制方面,资料未说明主题的浏览器兼容范围、可访问性支持程度或除示例站点之外的实际使用规模;README 的 Used By 仅列出两个站点。主题代码采用 MIT 许可,但演示图片、字体、图标等第三方素材需按各自许可单独核对,域名、托管等外部服务也可能产生费用。
适合你的项目吗?
适用场景
- 为个人设计或开发作品搭建单页展示站点
- 用 Hugo 快速建立带项目筛选的作品集页面
- 需要深色模式与社交链接入口的个人主页
- 将已有项目内容按 section 归类后自动生成导航菜单
适合人群
- 使用 Hugo 构建静态站点的开发者或设计师
- 需要极简单页作品集、不希望引入复杂前端框架的人
- 愿意通过 config.toml 与内容目录手动维护站点配置的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Hugo 站点根目录执行 git clone 或 git submodule add,将仓库放入 themes/showcase
- 2
从 exampleSite 复制 config.toml 到站点根目录,按注释修改字段
- 3
迁移到 v1.3.0 需 Hugo 最低版本 0.69.0,并把主题目录中的 package.json 复制到站点根目录后运行 npm install
- 4
本地预览:进入 themes/showcase/exampleSite 执行 hugo serve --themesDir ../..
- 5
Netlify / Vercel 等平台构建命令:npm i && hugo -D --gc
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 启用 Google Analytics 需在 config.toml 中设置 googleAnalytics,这会把访问数据发送给 Google 这一外部服务,并可能受其账号与隐私条款约束。
- 使用与预览主题需在站点根目录执行 npm install,依赖 Node.js/npm 环境并从 npm 仓库下载依赖包。
- 部署到 Netlify 或 Vercel 等托管平台属于外部服务,可能产生费用并需注册相应账号。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Set `googleAnalytics` in `config.toml` to activate Hugo's [internal Google Analytics template]
README 原文
Copy the `package.json` file from `themes/showcase` folder to your hugo website root folder, and run `npm install`.
README 原文
https://github.com/fu4303/portfolio-showcase-hugo-theme/blob/main/LICENSEhttps://github.com/fu4303/portfolio-showcase-hugo-theme/blob/main/README.mdWhen deploying to services like Netlify or Vercel, use the following command for building your site:
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 70 / 100
- 技术栈
- Hugo
- 网站类型
- 作品集 · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2021-07-23
- 截图检查日期
- 2026-10-03
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 407b0046867b60524f831b315384c94fcaddc5d51cbaca91dfe87b43b8aefc71
2026-10-03T03:03:46.023Z
来源文件 / 仓库# Showcase theme for Hugo



Showcase is a minimal, single page theme for Hugo


Features:
- Auto-generated menu
- Responsive content
- Filtering content
- Social links
- Custom menu
- Darkmode
## Get the theme
Run from the root of your Hugo site:
```sh
git clone https://github.com/apvarun/showcase-hugo-theme.git themes/showcase
```
Alternatively, you can include this repository as a [git submodule](https://git-scm.com/docs/gitsubmodules). This makes it easier to update this theme if you have your Hugo site in git as well:
```sh
git submodule add https://github.com/apvarun/showcase-hugo-theme.git themes/showcase
```
## Preview the theme
Showcase theme ships with an fully configured example site. For a quick preview:
Copy the `package.json` file from `themes/showcase` folder to your hugo website root folder, and run `npm install`.
```sh
cd themes/showcase/exampleSite/
hugo serve --themesDir ../..
```
Then visit `http://localhost:1313/` in your browser to view the example site.
When deploying to services like Netlify or Vercel, use the following command for building your site:
```sh
npm i && hugo -D --gc
```
## Migrating to v1.3.0
Minimum Hugo Version: 0.69.0
- Copy the `package.json` file from `themes/showcase` folder to your hugo website root folder, and run `npm install`.
## Add content
The following explains how to add content to your Hugo site. You can find sample content in the `exampleSite/` folder.
### Structure:
.
├── ...
├── projects # Section Name
│ ├── project1 # Project 1
│ ├── project2 # Project 2
│ └── _index # (optional) Customize section name &
│ # default image for section contents
└── ...
## Configure your site
From `exampleSite/`, copy `config.toml` to the root folder of your Hugo site and change the fields as you like. Helpful comments are provided.
## Menu
Menu in Showcase theme is auto-generated from the sections inside your content folder.
### Exclude Sections from Menu
It is possible to exclude sections from the auto-generated list. In order to exclude a section, create an `_index.md` file in that section and set the property `private` to `true`. Refer example [index file](https://github.com/apvarun/showcase-hugo-theme/blob/master/exampleSite/content/books/_index.md).
### Custom Menu
You can also add a custom menu item using the `config.toml` and disable auto-generated sections if not required. Refer config in [exampleSite](https://github.com/apvarun/showcase-hugo-theme/blob/master/exampleSite/config.toml)
## Dark mode
In order to enable darkmode toggle in your side, set the `params.darkMode` property to `true` in your `config.toml`.
## Google Analytics
Set `googleAnalytics` in `config.toml` to activate Hugo's [internal Google Analytics template](https://gohugo.io/templates/internal/#google-analytics).
## Used By
- [Madhu Akula](https://madhuakula.com/content/)
- [@cloudmiracle](http://cloud.vn/)
## Issues
If you have a question, please [open an issue](https://github.com/apvarun/showcase-hugo-theme/issues) for help and to help those who come after you. The more information you can provide, the better!
## Contributing
Contributions are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
Licensed under [MIT](LICENSE)
## Acknowledgements
[Madhu Akula](https://github.com/madhuakula)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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

Congo
Congo 是一款为 Hugo 设计的现代内容主题,核心定位是让内容本身成为页面焦点。 它基于 Tailwind CSS 3.0 构建,整体布局完全响应式,视觉风格干净且克制,没有多余装饰。
Hugo · 博客

toha
Toha 是一款面向个人作品集场景的 Hugo 主题,以极简设计和响应式布局为核心,适合用来搭建个人主页、作品展示或技术博客。
Hugo · 作品集

hugo-profile
A highly customizable and mobile first Hugo template for personal portfolio and blog.
Hugo · 作品集

hugo-xmin
eXtremely Minimal Hugo theme: about 140 lines of code in total, including HTML and CSS (with no dependencies)
Hugo · 启动器

hugo-theme-gallery
Gallery Theme for Hugo
Hugo · 启动器
