采用 Gruvbox 配色方案,整体风格极简且响应式
Hugo-Gruvbox-Theme — Hugo 作品集模板
作者 MayADevBe
Hugo-Gruvbox-Theme 是一个采用 Gruvbox 配色的极简 Hugo 主题,面向个人博客与作品集,支持标签、社交链接、代码高亮、RSS 与 Utterances 评论。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持标签分类、社交链接与文章分享按钮
内置 Gruvbox 风格语法高亮与带样式的目录
支持 Twitter 卡片与 Open Graph、Hugo RSS 订阅
集成 Google Analytics 与简易 Cookie 同意横幅
支持 Utterances 评论功能
模板详细介绍
Hugo-Gruvbox-Theme 是 MayADevBe 维护的 Hugo 主题,定位为简洁的个人博客与作品集站点。它受 Ezhil 主题启发,并采用 Gruvbox 配色方案,整体风格极简且响应式。主题内置标签分类、社交链接、Gruvbox 风格的语法高亮、Twitter 卡片与 Open Graph 支持、Hugo RSS 订阅、文章阅读时间、Google Analytics 与简易 Cookie 同意横幅、文章分享按钮、Utterances 评论以及带样式的目录。安装方式为将仓库克隆或解压到 Hugo 站点的 themes 目录,随后在 config.toml 中配置站点标题、作者、菜单、社交链接、分页、语法高亮和目录深度等参数。主题附带 robots.txt 布局,默认允许所有 user-agent 且不禁止任何路径,但未包含 sitemap 链接;如需调整可在 layouts 目录中修改。使用 Google Analytics 时会触发简易 Cookie 横幅,其隐私政策链接默认指向 BaseURL/privacypolicy,可在 static/js/purecookie.js 中修改。该主题采用 MIT 许可,允许免费使用、修改、商用和分发,但演示图片、字体、图标等第三方素材需单独核对许可,域名、托管等外部服务可能产生额外费用。
适合你的项目吗?
适用场景
- 搭建个人博客并发布带标签分类的文章
- 创建个人作品集页面展示项目与简介
- 需要 Gruvbox 配色与代码高亮的开发者博客
- 使用 Utterances 作为评论系统的静态站点
- 需要 RSS 订阅与社交分享功能的个人网站
适合人群
- 使用 Hugo 构建个人博客的开发者
- 需要极简作品集站点的个人用户
- 偏好 Gruvbox 配色与深色代码高亮的写作者
- 希望通过 Utterances 接入 GitHub 评论的站点维护者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
将主题克隆或解压到 Hugo 站点的 themes 目录,并在 config.toml 中设置 theme = "Hugo-Gruvbox-Theme"
- 2
在 static/ico/favicon.svg 放置站点图标
- 3
按需配置 params.author、params.social、菜单、分页、语法高亮和目录深度等参数
- 4
使用 Google Analytics 时需填写 googleAnalytics 跟踪 ID,Cookie 横幅的隐私政策链接可在 static/js/purecookie.js 中修改
- 5
启用 Utterances 评论需在 config.toml 中设置 commentRepo 为公开仓库
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 使用 Google Analytics 需填写跟踪 ID,并会触发简易 Cookie 同意横幅;该横幅的隐私政策链接默认指向 BaseURL/privacypolicy,可在 static/js/purecookie.js 中修改。
- 启用 Utterances 评论功能需在 config.toml 中设置 commentRepo 为公开的 GitHub 仓库,评论依赖该外部服务。
- 需自行在 static/ico/favicon.svg 放置站点图标,主题不附带该图标文件。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Google Analytics (+ Simple Cookie Banner)
README 原文
commentRepo = "GithubName/PublicRepoName"
README 原文
https://github.com/MayADevBe/Hugo-Gruvbox-Theme/blob/main/LICENSEhttps://github.com/MayADevBe/Hugo-Gruvbox-Theme/blob/main/README.mdPut a favicon in 'static\ico\favicon.svg'
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 74 / 100
- 技术栈
- Hugo
- 网站类型
- 作品集 · 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-11-09
- 截图检查日期
- 2026-10-01
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 15762bc1fc67cc2fdd86be677e00aae05eb8610e580e99c38d2a4afb135aac36
2026-10-01T00:55:37.189Z
来源文件 / 仓库# Hugo-Gruvbox-Theme Simple personal blog/portfolio theme for Hugo. Inspired by the [Ezhil](https://github.com/vividvilla/ezhil) theme and with the colors from [Gruvbox](https://github.com/morhetz/gruvbox). ## Features - Gruvbox theme - Minimal - Responsive - Supports tags - Social Media Links - Syntax highlighting (Gruvbox) - Twitter cards + opengraph support - Hugo RSS feed - Reading Time of Posts - Google Analytics (+ Simple Cookie Banner) - Post Sharing Button - Utterances Comments Feature support - TableOfContents styled ## Demo [View Website](https://mayadevbe.me/)  [Erik Zaadis Blog](https://erikzaadi.com/) is now also using this theme. ## Installation - clone From the Hugo-Site folder ``` cd themes git clone https://github.com/MayADevBe/Hugo-Gruvbox-Theme.git ``` - download Unzip into the 'themes' folder - optional: in the layouts folder configure the 'robots.txt' file (default allows all user-agents and no disallows, but no sitemap link) For more information checkout the [Hugo Installation Guide](https://gohugo.io/getting-started/installing/) ## Configuration - Put a favicon in 'static\ico\favicon.svg' - 'config.toml' example: ```toml baseURL = "http://example.com/" languageCode = "en-us" title = "Website Name" theme = "Hugo-Gruvbox-Theme" copyright = "© Copyright Notice" #For Pagination pagination.pagerSize = 5 enableRobotsTXT = true [params.author] name = "Author Name" email = "[email protected]" [params] # Blog subtitle + For Twitter cards description = "A Blog about ..." #Google Analytics Tracking ID googleAnalytics = "UA-xxxxxxxxx-x" # Related Posts enableRelatedPosts = true relatedPostsNumber = 2 #For Utterances Comments Feature - need to add repo commentRepo = "GithubName/PublicRepoName" #Main Menu (below header) [[menu.main]] name = "Home" url = "/" weight = 1 [[menu.main]] name = "All Posts" url = "/posts" weight = 2 [[menu.main]] name = "Tags" url = "/tags" weight = 3 [[menu.main]] name = "About" url = "/about" weight = 4 #Footer Menu [[menu.footer]] name = "Imprint" url = "/imprint" weight = 1 [[menu.footer]] name = "PrivacyPolicy" url = "/privacypolicy" weight = 2 # Social Media Links (in header) # Uses feather icons (search icon names on the site) [[params.social]] name = "Github" icon = "github" url = "https://github.com/MayADevBe" [[params.social]] name = "Twitter" icon = "twitter" url = "https://twitter.com/MayADevBe" #enable tags [taxonomies] tag = "tags" # allow raw HTML [markup] [markup.goldmark] [markup.goldmark.renderer] unsafe = true # Syntax Highlighting pygmentsUseClasses = true pygmentsCodefences = true [markup.highlight] codeFences = true guessSyntax = true hl_Lines = "" lineNoStart = 1 lineNos = true lineNumbersInTable = true tabWidth = 4 noClasses = false # Table of content depth and list type [markup.tableOfContents] endLevel = 4 ordered = false startLevel = 2 #related config [related] includeNewer = true threshold = 80 toLower = true [[related.indices]] name = "tags" weight = 100 [[related.indices]] name = "date" weight = 10 ``` ### Simple Cookie Banner - shows up when Google Analytics is used - because of DSGVO - contains link to privacy policy (BaseURL/privacypolicy) - can be change in static/js/purecookie.js line 4: `purecookieLink` - adds google analytics consent in head.html ## Credits - [Ezhil](https://github.com/vividvilla/ezhil) - [Gruvbox](https://github.com/morhetz/gruvbox) - [Feather Icons](https://feathericons.com/) - [Sharing Buttons](https://sharingbuttons.io/) - [Utterances](https://github.com/utterance/utterances) - [PureCookie - Cookie Consent Popup](https://www.cssscript.com/cookie-consent-popup-purecookie/)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 文档
