Hugo 多相册主题,是 gallerydeluxe 的复数版本,可承载多个画廊
galleriesdeluxe — Hugo 启动器模板
作者 bep
galleriesdeluxe 是 Hugo 作者 bep 开发的多相册主题,基于 gallerydeluxe 扩展为复数版本,用纯 CSS 与 css.Build 构建,适合在 Hugo 站点中组织多个图片画廊。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
样式通过 CSS 自定义属性定制,支持 Hugo 配置或项目内 CSS 文件两种覆盖方式
自 v0.6.0 起改用纯 CSS 与 css.Build,不再依赖 Dart Sass
可通过 disableKinds 关闭 taxonomy 与 term,去掉分类导航
仓库内提供 exampleSite 作为配置与使用参考
模板详细介绍
galleriesdeluxe 是一个面向 Hugo 的多相册主题,由 bep 维护,仓库中提供 exampleSite 作为使用示例,演示站点部署在 Netlify。它建立在同作者的 gallerydeluxe 之上,是其“复数版本”,即从单一画廊扩展为可承载多个画廊的结构。
主题的样式定制通过 CSS 自定义属性完成,变量清单见 assets/css/galleriesdeluxe/vars.css。覆盖方式有两种:在 Hugo 配置的 params.galleriesdeluxe.cssvars 中设置(优先级最高),或在项目中添加 assets/css/galleriesdeluxe/vars-custom.css 文件。若不需要分类导航,可在 hugo.toml 中设置 disableKinds = ["taxonomy", "term"]。
从 v0.6.0 起,主题用纯 CSS 配合 Hugo 的 css.Build 替代 Sass,不再需要 Dart Sass。已有自定义的项目需要迁移:把 vars-custom.scss 改名为 vars-custom.css,将 Sass 变量改写为 :root 块中的 CSS 自定义属性,把 params.galleriesdeluxe.sassvars 改为 params.galleriesdeluxe.cssvars 并移除 sass_transpiler,变量名也由下划线形式改为连字符形式;原先依赖自动明暗文字色的部分需在 vars-custom.css 中显式设置 --color-text 与 --color-text-footer。
仓库中的照片仅用于演示,不可复用。README 提到作者之后会为该主题制作 starter template,目前只能参考 exampleSite 目录。
适合你的项目吗?
适用场景
- 在 Hugo 站点中搭建包含多个相册的图片展示页面
- 需要按分类或标签组织画廊,并保留或关闭分类导航
- 希望用 CSS 自定义属性统一调整主题配色与外观
- 从旧版 Sass 配置迁移到纯 CSS 配置的已有项目
适合人群
- 使用 Hugo 构建内容站点并需要多画廊展示的开发者
- 愿意通过 CSS 自定义属性或配置文件调整主题样式的用户
- 参考 exampleSite 自行搭建项目结构的 Hugo 使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
主题尚未提供 starter template,当前需参考仓库中的 exampleSite 目录进行配置
- 2
仓库内的照片仅用于演示,不可复用;第三方素材需按各自许可单独核对
- 3
v0.6.0 起不再需要 Dart Sass,自定义样式应使用 CSS 自定义属性
- 4
从 Sass 迁移时需重命名 vars-custom 文件、改写变量形式,并把 sassvars 改为 cssvars、移除 sass_transpiler
- 5
不需要分类导航时,在 hugo.toml 中设置 disableKinds = ["taxonomy", "term"]
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 仓库内的照片仅用于演示,不可复用;如需在项目中使用图片,须自行提供或另行取得授权。
- 主题尚未提供独立的 starter template,当前只能参考仓库中的 exampleSite 目录进行配置与搭建。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
The photos in this repo are not for reuse. They are used for demo purposes only.
README 原文
https://github.com/bep/galleriesdeluxe/blob/main/LICENSEhttps://github.com/bep/galleriesdeluxe/blob/main/README.mdI will create a starter template for this theme later, but for now see the [exampleSite](./exampleSite) folder.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Hugo Themes
- 资料与维护参考分
- 资料较完整 · 79 / 100
- 技术栈
- Hugo
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-18
- 截图检查日期
- 2026-10-03
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: c685442272d42e3fe343380b8a5b775ea2806c36add10fbd5f16f256ca4a4f46
2026-10-03T00:26:53.847Z
来源文件 / 仓库[](https://app.netlify.com/sites/galleriesdeluxe/deploys)
**Note:** The photos in this repo are not for reuse. They are used for demo purposes only.
See the demo at [galleriesdeluxe.netlify.app](https://galleriesdeluxe.netlify.app/).
This is built on top of and the plural version of [gallerydeluxe](https://github.com/bep/gallerydeluxe).
I will create a starter template for this theme later, but for now see the [exampleSite](./exampleSite) folder.
## Configuration
See [vars.css](https://github.com/bep/galleriesdeluxe/blob/main/assets/css/galleriesdeluxe/vars.css) for a list of CSS custom properties.
These can be overridden either via Hugo config or by adding a CSS file to your project:
1. In your Hugo config via `params.galleriesdeluxe.cssvars` (highest priority):
```toml
[params.galleriesdeluxe]
[params.galleriesdeluxe.cssvars]
color-background = "#1d1e2c"
```
2. By adding a [assets/css/galleriesdeluxe/vars-custom.css](https://github.com/bep/galleriesdeluxe/blob/main/exampleSite/assets/css/galleriesdeluxe/vars-custom.css) file to your project.
## Don't want category navigation?
Add this to your `hugo.toml`:
```toml
disableKinds = ["taxonomy", "term"]
```
## Sass was replaced with CSS in v0.6.0
Starting with v0.6.0, this theme uses plain CSS with [css.Build](https://gohugo.io/functions/css/build/) instead of Sass. Dart Sass is no longer required.
If you have customized the theme, you need to migrate:
1. Rename your `assets/scss/galleriesdeluxe/vars-custom.scss` to `assets/css/galleriesdeluxe/vars-custom.css`.
2. Convert Sass variables to CSS custom properties, e.g. `$color-primary: #3a98b9 !default;` becomes `--color-primary: #3a98b9;` inside a `:root {}` block.
3. Rename `params.galleriesdeluxe.sassvars` to `params.galleriesdeluxe.cssvars` and remove `params.galleriesdeluxe.sass_transpiler` from your Hugo config. Note that the variable names are now CSS custom property names (e.g. `color-background` instead of `color_background`).
4. If you relied on the automatic light/dark text color (the old `dc` mixin), set `--color-text` and `--color-text-footer` explicitly in your `vars-custom.css`.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 启动器

reveal-hugo
📽️ Create rich HTML-based presentations with Hugo and Reveal.js
Hugo · 启动器

anatole
Anatole is a minimalistic two-column theme for Hugo.
Hugo · 启动器

hugo-theme-diary
Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.
Hugo · 启动器

risotto
A minimalist, responsive hugo theme inspired by terminal ricing aesthetics.
Hugo · 启动器
