黑白极简编辑风格,覆盖落地页、博客、定价、FAQ 和联系表单等页面
sicily-hugo-theme — Hugo 博客模板
作者 cristianmarint
Sicily 是一个黑白极简编辑风格的 Hugo 主题,提供落地页、博客、定价、FAQ 和联系表单等页面,不依赖 JavaScript 框架,除 Hugo 本身外无需额外构建步骤。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
不依赖 JavaScript 框架,除 Hugo 本身外无需额外构建步骤
配置集中在 config.toml,支持 Disqus 评论、联系表单提交地址、导航按钮、预加载和页脚联系人卡片
内容按顶层目录映射布局,博客支持 featured 类型提升为宽版卡片,FAQ 使用 faq 短代码
通过 SCSS 变量集中控制配色,修改 $primary-color 即可影响按钮、链接、分页等元素
采用 MIT 许可,允许免费使用、修改、商用和分发该版本代码
模板详细介绍
Sicily 是一个以黑白配色为主的极简编辑风格 Hugo 主题,由 cristianmarint 维护,采用 MIT 许可。主题覆盖落地页、博客、定价、FAQ 和联系表单等常见页面,不依赖 JavaScript 框架,除 Hugo 本身外没有额外构建步骤。
主题要求 Hugo extended 版本,因为使用 css.Sass 编译 SCSS,标准版 Hugo 不包含该功能。配置集中在 config.toml,可设置站点标题、摘要长度、分页数量、Disqus 评论、联系表单提交地址、导航按钮、预加载、页脚公司信息、页脚联系人卡片、社交链接以及全局加载的 CSS/JS 资源。菜单使用 Hugo 标准菜单,分为 main、company 和 product 三组。
内容按顶层目录映射布局:content/blog/ 生成带分页的文章列表和单篇页面,content/pricing/_index.md 生成三栏定价表,content/faq/_index.md 生成两栏 FAQ 网格,content/contact/_index.md 生成联系表单,其他 _index.md 渲染为普通页面。博客文章支持 image、description 和 type 字段,type 设为 featured 会提升为列表顶部的宽版布局。FAQ 使用 faq 短代码。首页横幅和 404 插图来自 data/homepage.yml。
设计定制通过 assets/scss/_variables.scss 中的 SCSS 变量完成,修改 $primary-color 会影响按钮、链接、分页、引用和列表符号等元素。样式按用途拆分为 _typography.scss、_buttons.scss、_common.scss 和 templates/ 等文件,也可以按 Hugo 的覆盖机制在项目根目录放置同名文件覆盖主题文件。仓库提供 netlify.toml,默认构建 exampleSite 并发布 exampleSite/public。
使用限制方面:联系表单需要自行配置 POST 目标(如 Netlify Forms 或 Formspree),其额度与费用需单独核对;演示图片、字体、图标等第三方素材需按各自许可确认;域名、托管等外部服务可能另外收费。README 未说明主题在生产环境下的完整表现,也未提供除 Netlify 外的部署示例。
适合你的项目吗?
适用场景
- 搭建以文章为主的个人或团队博客,需要分页列表和单篇阅读页
- 制作包含落地页、定价表、FAQ 和联系表单的产品或服务介绍站点
- 希望使用 Hugo 且不引入 JavaScript 框架的静态站点项目
- 需要黑白极简视觉风格,并希望通过 SCSS 变量快速调整主色的站点
- 计划部署到 Netlify,并希望直接复用仓库中 netlify.toml 配置的项目
适合人群
- 熟悉 Hugo 基本概念(config.toml、content 目录、菜单和短代码)的开发者
- 偏好极简黑白编辑风格、不需要复杂前端交互的站点
- 需要博客、定价、FAQ 和联系表单等常见页面组合的项目
- 接受自行配置表单提交端点并核对第三方素材许可的使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需要 Hugo extended 版本,因为主题使用 css.Sass 编译 SCSS,标准版 Hugo 不包含该功能。
- 2
在自有站点中使用时,通过 git submodule 添加主题,并在 config 中设置 theme = "sicily",再复制 exampleSite 的 config.toml、content/ 和 data/ 作为起点。
- 3
联系表单需要配置 params.contact_form_action 指向实际的 POST 目标(如 Netlify Forms 或 Formspree),其使用额度与费用需单独核对。
- 4
演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 5
仓库中的 netlify.toml 默认构建 exampleSite 并发布 exampleSite/public;用于自有站点时需将构建指向项目根目录。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 必须使用 Hugo extended 版本(v0.128.0 或更新),标准版 Hugo 不含 css.Sass,无法编译主题的 SCSS。
- 评论功能依赖第三方 Disqus 服务,需自行提供 shortname,其账号、额度与条款由 Disqus 单独规定。
- 联系表单需自行配置外部 POST 端点(如 Netlify Forms 或 Formspree),相关账号、额度与费用需单独核对。
- 仓库的 netlify.toml 面向 Netlify 部署,使用其他托管平台需自行调整构建配置。
- 打赏为自愿行为,不影响 MIT 许可下的免费使用。
- README 提及 Formspree 表单服务;真实提交需配置服务端点,其使用额度与费用需单独核对。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Hugo **extended** v0.128.0 or newer — the theme compiles SCSS with `css.Sass`, which the standard build does not include.
README 原文
`[services.disqus] shortname` | Enables comments on posts; remove the block to disable
README 原文
`params.contact_form_action` | POST target of the contact form (Netlify Forms, Formspree, etc.)
README 原文
Netlify needs the extended binary; the version above includes it.
README 原文
https://github.com/cristianmarint/sicily-hugo-theme/blob/master/LICENSEhttps://github.com/cristianmarint/sicily-hugo-theme/blob/master/README.mdIf the theme saved you time, you can [buy me a coffee](https://www.paypal.me/cristianmarint/10USD).
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 84 / 100
- 技术栈
- Hugo
- 网站类型
- 博客 · 工具站
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-07-23
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 4215762fe6bab1f13db741bbee64c05edc564d36d864c38f4c959e526d4991b7
2026-10-02T10:08:45.012Z
来源文件 / 仓库# Sicily
A minimal editorial Hugo theme in black and white. Landing page, blog, pricing, FAQ and contact — no JavaScript framework, no build step beyond Hugo itself.
[**Live demo**](https://sicily-hugo-theme.netlify.app/)

## Requirements
Hugo **extended** v0.128.0 or newer — the theme compiles SCSS with `css.Sass`, which the standard build does not include.
```
hugo version # must contain "+extended"
```
## Run the demo site
```
git clone https://github.com/cristianmarint/sicily-hugo-theme.git
cd sicily-hugo-theme/exampleSite
hugo server --themesDir ../..
```
Open http://localhost:1313.
## Use it in your own site
```
cd your-site
git submodule add https://github.com/cristianmarint/sicily-hugo-theme.git themes/sicily
```
Then set `theme = "sicily"` in your config and copy `exampleSite/config.toml`, `exampleSite/content/` and `exampleSite/data/` as your starting point.
## Configuration
Everything lives in `config.toml`. The parameters the theme actually reads:
| Key | What it does |
| --- | --- |
| `title` | Site name — also rendered as the black brand block in the header and footer |
| `summaryLength` | Words shown in blog post summaries |
| `[pagination] pagerSize` | Posts per page on the blog list |
| `[services.disqus] shortname` | Enables comments on posts; remove the block to disable |
| `params.logo` | Favicon path, relative to `static/` |
| `params.author`, `params.description` | Default meta tags |
| `params.contact_form_action` | POST target of the contact form (Netlify Forms, Formspree, etc.) |
| `params.navigation_button` | `enable`, `label` and `link` for the header call-to-action |
| `params.preloader` | `enable` and image path for the loading screen |
| `params.company` | Address block in the footer |
| `[[params.footer]]` | Repeatable — one contact card per person (`rol_name`, `rol_representative`, `rol_email`) |
| `[[params.social]]` | Repeatable — social links on the homepage (`title`, `link`, `icon`) |
| `[[params.plugins.css]]`, `[[params.plugins.js]]` | Vendored assets loaded on every page |
Menus are standard Hugo menus. Three are used: `main` (header), `company` and `product` (footer columns).
## Content
Each top-level section maps to a layout:
| Path | Renders as |
| --- | --- |
| `content/blog/` | Post list with pagination, plus single post pages |
| `content/pricing/_index.md` | Three-column pricing table, driven by the `intro`, `enterprise` and `base` front matter keys |
| `content/faq/_index.md` | Two-column FAQ grid, built with the `faq` shortcode |
| `content/contact/_index.md` | Contact form |
| Any other `_index.md` | Plain page — title, optional `subtitle`, and the markdown body |
Blog posts accept `image`, `description` and `type`. Setting `type: "featured"` promotes a post to the wide layout at the top of the list; anything else renders as a regular card.
FAQ entries use a shortcode:
```
{{< faq "Question goes here?" >}}
Answer in **markdown**.
{{</ faq >}}
```
The homepage banner and the 404 illustration come from `data/homepage.yml` (`banner`, `description` and `error404` keys).
## Customizing the design
The theme is built on a small set of SCSS variables in `assets/scss/_variables.scss`:
```scss
$primary-color: #000000; // accent: links, hovers, active states
$text-color: #000000;
$body-color: #FFFFFF;
$light: #F4F4F4; // pagination and muted backgrounds
$primary-font: 'Lato', sans-serif;
```
Changing `$primary-color` re-colors the whole theme — buttons, links, pagination, blockquotes and list bullets all derive from it. Partials are split by concern under `assets/scss/`: `_typography.scss`, `_buttons.scss`, `_common.scss` and `templates/`.
Overriding from your own site works the usual Hugo way: drop a file with the same path in your project root and it wins over the theme's.
## Deploy
`netlify.toml` is ready to use — it builds `exampleSite` and publishes `exampleSite/public`. For your own site, point the build at your project root instead:
```toml
[build]
publish = "public"
command = "hugo --gc --minify"
[build.environment]
HUGO_VERSION = "0.164.0"
```
Netlify needs the extended binary; the version above includes it.
## Issues and questions
Search [existing issues](https://github.com/cristianmarint/sicily-hugo-theme/issues) first, then [open a new one](https://github.com/cristianmarint/sicily-hugo-theme/issues/new). Pull requests welcome.
## License
[MIT](https://github.com/cristianmarint/sicily-hugo-theme/blob/master/LICENSE) — free for personal and commercial use.
Built by [cristianmarint](https://www.flexyflow.co/), originally derived from [Bigspring](https://github.com/themefisher/bigspring-hugo-startup-theme) by Themefisher.
If the theme saved you time, you can [buy me a coffee](https://www.paypal.me/cristianmarint/10USD).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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

LoveIt
❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
Hugo · 博客

hugo-coder
A minimalist blog theme for hugo.
Hugo · 博客

blowfish
Personal Website & Blog Theme for Hugo
Hugo · 博客

hugo-paper
🪺 A simple, clean, customizable Hugo theme
Hugo · 博客

hextra
Hextra 是一个 Hugo 主题,定位在文档站与博客之间:既提供侧边栏导航、目录、面包屑、分页这类文档站结构,也能承载博客内容。
Hugo · 文档
