HugoHTML作品集

NightFolio — Hugo 作品集模板

作者 cx48

NightFolio 是一个基于 Hugo 的轻量简历主题,采用 Tailwind CSS 与模块化 partial 分区,通过 content/_index.md 的 front matter 集中管理简历内容。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

基于 Hugo 的静态简历主题,使用 Tailwind CSS 与自定义 assets/css/style.css

02

通过 layouts/partials 下的独立模板实现模块化分区,可按需增删区块

03

所有简历内容由 content/_index.md 的 front matter 驱动

04

summary、experience、education、skills 为必填分区,其余分区留空则不渲染

05

README 提供 Vercel 与 GitHub Pages 两种部署路径

模板详细介绍

NightFolio 是面向个人简历与作品集展示的 Hugo 主题,仓库采用 MIT 许可。主题使用 Tailwind CSS 进行样式处理,页面由 layouts/partials 下的独立分区模板拼装,包含 header、summary、experience、education、skills、certifications、projects、awards、publications、languages、hobbies、references、metrics、courses 等分区。内容集中在 content/_index.md 的 front matter 中,summary、experience、education、skills 四个分区为必填,其余分区可选;省略或留空的可选数组不会渲染对应区块。主题提供桌面端与移动端截图,README 说明可部署到 Vercel 或 GitHub Pages。

HugoHTML作品集

适合你的项目吗?

适用场景

  • 为个人搭建一份可静态托管的在线简历页面
  • 在作品集中集中展示项目、技能、教育经历与证书等结构化信息
  • 需要按模块裁剪简历区块、只保留相关经历的展示场景
  • 使用 Hugo 构建并部署到 Vercel 或 GitHub Pages 的个人站点

适合人群

  • 熟悉 Hugo 与 front matter 编辑方式的开发者
  • 希望用单一 Markdown 文件维护简历内容的个人用户
  • 需要模块化简历分区、可自行增删区块的站点搭建者

上手与定制指南

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

  1. 1

    需要安装 Hugo,README 建议使用 v0.112.0 及以上版本

  2. 2

    在 content/_index.md 的 front matter 中填写 summary、experience、education、skills 四个必填分区

  3. 3

    可选分区留空或省略时不会渲染对应区块

  4. 4

    构建命令为 hugo --minify,输出目录为 public/

  5. 5

    部署到 Vercel 时框架预设选 Hugo,构建命令 hugo --minify,发布目录 public;GitHub Pages 可手动发布 public 或使用 Actions 工作流

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

来源平台
Hugo Themes
资料与维护参考分
资料较完整 · 86 / 100
技术栈
Hugo · HTML
网站类型
作品集
这个分数如何计算

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

这个项目需要核对什么

记录的仓库更新时间
2025-05-02
截图检查日期
2026-10-03

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: d43342a42f805e75f4ff3c46ba3225a2d1694a0da0077374bac4d636b600d79b

2026-10-03T23:10:35.742Z

来源文件 / 仓库
# NightFolio - A Minimal & Dark Hugo Resume Theme

NightFolio is a lightweight Hugo theme designed for showcasing professional resumes and portfolios. It uses Tailwind CSS for styling and contains fully modular sections out of the box.

## Features

- **Minimal design**
- **Fully modular** sections via Hugo partials
- **Responsive** mobile‑first resume
- **Front matter–driven**: edit `content/_index.md` to manage all content

## Preview

[NightFolio](https://cx48.github.io/NightFolio) can be deployed for free using Vercel or GitHub Pages

![NightFolio](https://github.com/cx48/NightFolio/blob/main/static/images/screenshot.png)

## Project Structure

```text
├── assets/
│   ├── css/
│   │   └── style.css        # main stylesheet (custom)
├── content/
│   └── _index.md            # resume front matter & markdown
├── layouts/
│   ├── index.html           # main layout which contains partials
│   └── partials/            # modular section templates
│       ├── header.html
│       ├── summary.html
│       ├── experience.html
│       ├── education.html
│       ├── skills.html
│       ├── certifications.html
│       ├── projects.html
│       ├── awards.html
│       ├── publications.html
│       ├── languages.html
│       ├── hobbies.html
│       ├── references.html
│       ├── metrics.html
│       └── courses.html
├── static/                  # static assets (css, images)
└── README.md                
```

## Front Matter Sections

The **first four** sections are **required** in your `content/_index.md` front matter:

1. **summary**
2. **experience**
3. **education**
4. **skills**

All other sections are **optional**:

- certifications
- projects
- awards
- publications
- languages_spoken
- hobbies
- references
- metrics (core KPIs)
- courses (training)
- blog (articles)
- volunteer
- speaking
- affiliations
- testimonials

If you omit or leave any optional array empty, its section won’t render.

## Local Development (steps will be added soon)

1. **Install Hugo** (v0.112.0+ recommended):

   ```bash
   brew install hugo  # macOS
   choco install hugo-extended  # Windows
   ```

## Build

To generate the static site:

```bash
hugo --minify
```

The output will be in the `public/` directory.

## Deployment

### Vercel

1. Push your repo to GitHub (or GitLab).
2. Sign in to [Vercel](https://vercel.com) and **Import Project**.
3. Select your Hugo repository.
4. Set **Framework Preset** to `Hugo`
5. Ensure **Build Command** is `hugo --minify` and **Publish Directory** is `public`.
6. Click **Deploy**.

### GitHub Pages

#### Option A: Manual

1. Build locally: `hugo --minify`.
2. Commit the `public/` folder to a `gh-pages` branch.
3. In GitHub repo **Settings ▶ Pages**, set source to `gh-pages`.

#### Option B: GitHub Actions

Add `.github/workflows/pages.yml`:

```yaml
name: Deploy Hugo to GitHub Pages
on:
  push:
    branches: [main]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: '0.112.0'
      - name: Build Site
        run: hugo --minify
      - name: Deploy to GitHub Pages
        uses: peaceiris/actions-gh-pages@v3
        with:
          publish_dir: ./public
          github_token: ${{ secrets.GITHUB_TOKEN }}
```

Push to `main` and the site will auto-deploy to `gh-pages`.


> Enjoy your new Hugo resume! Feel free to customize colors, typography, or add new partials as needed. If you run into any issues, please open an issue or PR in this repo.
反馈内容错误

看看同类模板

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