Hugo作品集

portfolio-hugo-whisper-theme — Hugo 作品集模板

作者 fu4303

基于 Hugo 的极简文档主题 Whisper,从 content/docs 下的 Markdown 文件生成文档站点,首页可用于项目介绍。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-03查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

从 content/docs 下的 Markdown 文件生成文档页面

02

首页独立于文档,可用于项目介绍

03

内置覆盖常见 Markdown 语法的文档示例

04

响应式移动端菜单在 config.toml 中管理

05

SCSS 经 Hugo Pipelines 编译,仅用 Bootstrap 4 栅格与媒体查询

06

脚本为原生 JavaScript

模板详细介绍

Whisper 是一个为 Hugo 设计的极简文档主题,设计风格与功能都刻意保持精简。内容分为两类:位于 content/docs 的 Markdown 文档,以及一个非文档性质的首页,可用于介绍项目本身。主题提供文档示例内容,覆盖常见 Markdown 语法,并带有适配移动端的响应式菜单,菜单项在 config.toml 中配置。样式使用 SCSS 并通过 Hugo Pipelines 编译,仅采用 Bootstrap 4 的栅格与媒体查询,脚本为原生 JavaScript。仓库资料未说明作品集相关的画廊、案例筛选或项目详情页结构,因此它更适合被当作文档型站点模板来评估。

Hugo作品集

适合你的项目吗?

适用场景

  • 为开源项目或产品编写使用文档
  • 搭建结构简单的说明型站点
  • 以 Markdown 维护内容并需要响应式导航的项目

适合人群

  • 熟悉 Hugo 并需要极简文档主题的开发者
  • 以 Markdown 为主要内容来源的技术文档维护者
  • 希望首页与文档分离的项目站点

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需要安装 Hugo Extended 版本,主题依赖 Hugo Pipes 编译 SCSS

  2. 2

    将主题放入站点的 themes 目录,并把 exampleSite 内容复制到站点根目录

  3. 3

    在 config.toml 中设置 baseURL、themesDir 与 theme

  4. 4

    本地预览运行 hugo server,默认地址为 localhost:1313

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • MIT 许可要求在所有副本或实质部分中保留原始版权声明与许可声明;若复制或 fork 本主题,不得修改 LICENSE 文件及第 3 行的版权署名,也不能将其替换为自己的名字。
  • 在 README.md 或站点中标注出处属于欢迎但非强制的做法,不构成额外使用限制。
  • 使用该主题需自行安装 Hugo,并须使用 Hugo Extended 版本(0.51 以上),否则 SCSS 无法编译。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

If you fork or copy this theme the LICENSE file and the copyright notice on line 3 (where I am listed as the author) must not be changed. You cannot just replace the copyright line with your own name.

README 原文

Attribution in your README.md or on your site is also welcome but not required.

README 原文

To use this theme you will need to have Hugo installed.

README 原文
https://github.com/fu4303/portfolio-hugo-whisper-theme/blob/master/LICENSEhttps://github.com/fu4303/portfolio-hugo-whisper-theme/blob/master/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 65 / 100
技术栈
Hugo
网站类型
作品集
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2021-07-21
截图检查日期
2026-10-03

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 3251ec1ed437791b40068be5514879973f720168eb8b09e5269cdc790d641622

2026-10-03T03:03:31.805Z

来源文件 / 仓库
# Hugo Whisper Theme

Whisper is a minimal documentation theme built for Hugo. The design and functionality is intentionally minimal.


[Live Demo](https://hugo-whisper.netlify.app/) |
[Zerostatic Themes](https://www.zerostatic.io/)

![Hugo Whisper Theme screenshot](https://www.zerostatic.io/theme/hugo-whisper/hugo-whisper-screenshot.png)

## Theme features

### Content Types

- Docs (Markdown)
- Homepage

### Content Management

- This theme generates documentation from markdown files located in `content/docs`
- The "Home" page is not documentation, it can be used to introduce your project etc.

### Features

- Beautiful and clean typography for all semantic HTML elements

### SCSS

- SCSS (Hugo Pipelines)
- Responsive design
- Bootstrap 4 grid and media queries only

### Speed

- 100/100 Google Lighthouse speed score
- 21KB without images ⚡
- Vanilla JS only

### Menu

- Responsive mobile menu managed in `config.toml`

### Content

- Documentation examples included, using all markdown syntax

# Installation

To use this theme you will need to have Hugo installed. If you don't already have Hugo installed please follow the official [installation guide](https://gohugo.io/getting-started/installing/)

### Check Hugo version (Hugo 0.51+ Extended is required)

This theme uses [Hugo Pipes](https://gohugo.io/hugo-pipes/scss-sass/) to compile SCSS and minify assets. Please make sure you have the **Hugo Extended** version installed. If you are not using the extended version this theme will not not compile.

To check your version of Hugo, run:

```
hugo version
```

This will output the currently installed version of Hugo. Make sure you see `/extended` after the version number, for example `Hugo Static Site Generator v0.51/extended darwin/amd64 BuildDate: unknown` You do not need to use version v0.51 specifically, you can use any version of Hugo above 0.51. It just needs to have the `/extended` part

### Create a new Hugo site

```
hugo new site mynewsite
```

This will create a fresh Hugo site in the folder `mynewsite`.

### Install theme

Copy or git clone this theme into the sites themes folder `mynewsite/themes`

#### Install with Git

```
cd mynewsite
git clone https://github.com/zerostaticthemes/hugo-whisper-theme.git themes/hugo-whisper-theme
```

#### Install from .zip file

You can download the .zip file located here https://github.com/zerostaticthemes/hugo-whisper-theme/archive/master.zip.

Extract the downloaded .zip inside the `themes` folder. Rename the extracted folder from `hugo-whisper-theme-master` -> `hugo-whisper-theme`. You should end up with the following folder structure `mynewsite/themes/hugo-whisper-theme`

### Add example content

Copy the entire contents of the `mynewsite/themes/hugo-whisper-theme/exampleSite/` folder to root folder of your Hugo site, ie `mynewsite/`

To copy the files using terminal, make sure you are still in the projects root, ie the `mynewsite` folder.

```
cp -a themes/hugo-whisper-theme/exampleSite/. .
```

### Update config.toml

After you copy the `config.toml` into the root folder of your Hugo site you will need to update the `baseURL`, `themesDir` and `theme` values in `mynewsite/config.toml`

```
baseURL = "/"
themesDir = "themes"
theme = "hugo-whisper-theme"
```

### Run Hugo

After installing the theme for the first time, generate the Hugo site.

You run this command from the root folder of your Hugo site ie `mynewsite/`

```
hugo
```

For local development run Hugo's built-in local server.

```
hugo server
```

Now enter [`localhost:1313`](http://localhost:1313) in the address bar of your browser.

## License

If you fork or copy this theme the LICENSE file and the copyright notice on line 3 (where I am listed as the author) must not be changed. You cannot just replace the copyright line with your own name. Attribution in your README.md or on your site is also welcome but not required.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。