基于 Hugo 的作品集主题,仓库采用 MIT 许可
showfolio-hugo-theme — Hugo 作品集模板
作者 apvarun
ShowFolio 是一个基于 Hugo 的作品集主题,支持响应式布局、暗色模式、博客与社交链接,并提供 CodePen 嵌入。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
提供响应式内容布局与暗色模式
内置博客板块,菜单默认包含博客与关于页面
支持社交链接与 CodePen 嵌入
附带完整配置的 exampleSite,可直接本地预览
模板详细介绍
ShowFolio 是面向 Hugo 站点的作品集主题,仓库以 MIT 许可发布,附带一个已配置好的示例站点,可先通过示例站点预览效果再决定是否接入自己的网站。
功能方面,主题提供响应式内容布局、暗色模式、博客板块和社交链接,并支持在内容中嵌入 CodePen。菜单默认预设为博客与关于页面,站点配置集中在 config.toml,示例文件带有注释说明。
使用上有一些前置条件:Hugo 最低版本为 0.69.0,构建依赖 PostCSS,需要全局安装 postcss-cli,并把主题的 package.json 与 package-lock.json 复制到网站根目录后执行 npm install。部署到 Netlify 或 Vercel 等平台时,构建命令为 npm i && hugo -D --gc。
许可范围仅覆盖该版本代码本身,演示图片、字体、图标等第三方素材需另行核对各自许可;域名、托管等外部服务也可能产生费用。
适合你的项目吗?
适用场景
- 为个人作品集搭建 Hugo 静态站点
- 在作品集站点中同时维护博客内容
- 需要在页面中嵌入 CodePen 演示的前端作品展示
- 希望先通过示例站点快速查看主题效果的场景
适合人群
- 使用 Hugo 构建个人作品集或作品展示站的开发者
- 需要作品集与博客并存的个人站点
- 接受通过 npm 与 PostCSS 参与构建流程的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
Hugo 最低版本要求为 0.69.0
- 2
通过 git clone 或 git submodule 将主题放入 themes/showfolio
- 3
全局安装 postcss-cli,并把 package.json 复制到网站根目录后执行 npm install
- 4
在 config.toml 中设置 theme = 'showfolio',可参考 exampleSite 中的配置
- 5
部署到 Netlify 或 Vercel 时使用构建命令 npm i && hugo -D --gc
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 使用该主题要求 Hugo 版本不低于 0.69.0,低于此版本的 Hugo 无法正常构建。
- 构建流程依赖 PostCSS,需要全局安装 postcss-cli 并执行 npm install,未安装相关 Node 依赖时无法正常构建站点。
- 如需启用访问统计,需在 config.toml 中配置 googleAnalytics,这会引入 Google Analytics 这一外部服务并可能涉及数据合规与账号要求。
- 部署到 Netlify 或 Vercel 等托管平台时需使用指定构建命令,使用这些外部托管服务可能产生费用并需注册账号。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Minimum Hugo Version: 0.69.0
README 原文
Install postcss-cli globally using `npm install -g postcss-cli`
README 原文
Set `googleAnalytics` in `config.toml` to activate Hugo's [internal Google Analytics template]
README 原文
https://github.com/apvarun/showfolio-hugo-theme/blob/main/LICENSEhttps://github.com/apvarun/showfolio-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-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 91 / 100
- 技术栈
- Hugo
- 网站类型
- 作品集
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-12-10
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: d604f68a9b84bf3ed940fa58dd02963a092bd4219d8d326422f4661ef9638cb6
2026-10-01T00:49:01.338Z
来源文件 / 仓库# ShowFolio theme for Hugo



ShowFolio is a modern portfolio theme for your Hugo site.

**Features:**
- Responsive content
- Codepen Embeds
- Blog
- Social links
- Dark mode
➡️ [DEMO](https://showfolio.vercel.app/)
## Get the theme
Minimum Hugo Version: 0.69.0
Run from the root of your Hugo site:
```sh
git clone https://github.com/apvarun/showfolio-hugo-theme.git themes/showfolio
```
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/showfolio-hugo-theme.git themes/showfolio
```
## Setting up the theme
- Install postcss-cli globally using `npm install -g postcss-cli`
- Copy package.json to the root folder of your website and run `npm install`
- Finally run `hugo serve`
## Preview the theme
ShowFolio theme ships with an fully configured example site. For a quick preview:
```sh
cd themes/showfolio/exampleSite/
hugo serve --themesDir ../..
```
Then visit `http://localhost:1313/` in your browser to view the example site.
## Configuring theme to a hugo website
1. Copy `package.json` and `package-lock.json` to the root folder of your the website
2. Run `npm install` to install required packages for theme
3. Run `npm i -g postcss-cli` to use PostCSS with Hugo build
4. Set `theme = 'showfolio'` in config.toml
5. Run `npm start` to start your local server
Make sure to commit the above changes to your repository.
When deploying to services like Netlify or Vercel, use the following command for building your site:
```sh
npm i && hugo -D --gc
```
## Add content
The following explains how to add content to your Hugo site. You can find sample content in the `exampleSite/` folder.
### Structure:
.
├── ...
├── blog # Blog Section
│ ├── post1 # Post 1
│ ├── post2 # Post 2
│ └── _index
└── ...
## 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 ShowFolio theme is pre-set to have blog and about pages.
## Google Analytics
Set `googleAnalytics` in `config.toml` to activate Hugo's [internal Google Analytics template](https://gohugo.io/templates/internal/#google-analytics).
## Issues
If you have a question, please [open an issue](https://github.com/apvarun/showfolio-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)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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-theme-introduction
Minimal, single page, smooth-scrolling theme for Hugo static site generator.
Hugo · 作品集

hugo-theme-console
hugo-theme-console 是一款以系统终端为灵感的极简 Hugo 主题,基于 Terminal CSS 构建,整体视觉干净利落,强调快速加载与响应式布局。
Hugo · 作品集
