基于 Poison 主题构建,采用毛玻璃视觉与极简布局
kong-htop — Hugo 博客模板
作者 yezihack
kong-htop 是一个基于 Poison 主题的 Hugo 博客主题,采用毛玻璃视觉与极简布局,支持深色模式、本地搜索、标签云、时间线视图与 KaTeX 数学公式。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持自动切换的深色模式与响应式布局
内置基于 JSON 的本地全文搜索,无需外部搜索服务
提供标签云、按年份组织的时间线视图与随机文章入口
支持 KaTeX 数学公式与代码块一键复制、行号显示
示例站点包含 7 种语言的文章示例,便于多语言站点参考
模板详细介绍
kong-htop 是 yezihack 开发的 Hugo 博客主题,基于 Luke Orth 的 Poison 主题构建,采用毛玻璃(glassmorphism)视觉风格与极简布局,兼顾阅读体验与展示效果。主题以 MIT 许可发布,仓库中提供 LICENSE 文件。
功能方面,主题提供自动切换的深色模式、响应式布局、基于 JSON 的本地全文搜索、带悬停效果的标签云、按年份组织的时间线视图以及随机文章入口。内容层面支持 KaTeX 数学公式渲染,代码块带一键复制与行号增强。示例站点包含英语、中文、日语、韩语、德语、法语、西班牙语共 7 种语言的文章示例。
配置通过 hugo.toml 完成,可设置站点标题、品牌名、描述、菜单、社交链接,以及浅色与深色模式下的链接色和文字色。访客统计使用 Busuanzi,默认关闭,需在参数中显式启用。搜索功能需要创建 content/search/_index.md 并声明 html 与 json 输出。构建使用 hugo --minify,生成的 public 目录可部署到 GitHub Pages、Netlify、Vercel 或自有服务器。
限制方面,主题依赖 Hugo 运行,使用前需按仓库说明安装并配置;第三方素材(演示图片、字体、图标等)的许可需单独核对,不能仅凭代码的 MIT 许可判断;Busuanzi 等外部服务可能另有使用条件。
适合你的项目吗?
适用场景
- 搭建个人技术博客或写作站点
- 需要深色模式与毛玻璃视觉风格的 Hugo 站点
- 需要本地全文搜索、标签云与时间线归档的博客
- 需要渲染数学公式或增强代码块展示的技术内容站点
- 需要多语言内容示例作为参考的 Hugo 项目
适合人群
- 使用 Hugo 构建博客的开发者
- 偏好极简与毛玻璃视觉风格的个人站点作者
- 需要本地搜索与标签归档功能的写作者
- 需要在文章中展示数学公式或代码的技术博主
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
通过 git submodule add 或 git clone 将主题放入 themes/kong-htop 目录
- 2
复制 themes/kong-htop/exampleSite/hugo.toml 到站点根目录并按需修改 baseURL、title、theme 与 Author 等字段
- 3
使用 hugo new posts/xxx.md 创建文章,并在 front matter 中填写 title、date、tags、categories 等
- 4
如需搜索功能,创建 content/search/_index.md 并声明 outputs 为 html 与 json
- 5
访客统计默认关闭,需在 hugo.toml 的 params 中设置 busuanzi_enable = true 才启用
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 访客统计功能默认关闭,需在 hugo.toml 的 params 中设置 busuanzi_enable = true 才会启用;该功能依赖第三方外部服务 Busuanzi,可能受其自身使用条款约束。
- 本主题基于 Luke Orth 的 Poison 主题构建,属衍生作品,使用时需同时遵守上游 Poison 主题的许可与署名要求。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Enable Busuanzi visitor counting (disabled by default)
README 原文
https://github.com/yezihack/kong-htop/blob/main/LICENSEhttps://github.com/yezihack/kong-htop/blob/main/README.mdBased on [Poison](https://github.com/lukeorth/poison) theme.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Hugo Themes
- 资料与维护参考分
- 资料较完整 · 83 / 100
- 技术栈
- Hugo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-11-25
- 截图检查日期
- 2026-10-03
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: dc25e287ff5d21276aa351ad57c11d77994d11b12d142996675e027a8a5837f7
2026-10-03T08:07:47.430Z
来源文件 / 仓库# Kong-Htop
[](https://gohugo.io)
**[English](./README.md) | [简体中文](./README.cn.md)**
> An elegant and modern Hugo theme featuring glassmorphism design, based on Poison theme.

## ✨ Features
- 🎨 **Glassmorphism Design** - Modern frosted glass UI style
- 🌓 **Dark Mode** - Automatic theme switching with deep adaptation
- 📱 **Fully Responsive** - Perfect on desktop, tablet, and mobile
- 🔍 **Local Search** - Fast full-text search powered by JSON
- 🏷️ **Tag Cloud** - Dynamic tag visualization with hover effects
- 📝 **Timeline View** - Posts organized by year
- 🎲 **Random Posts** - Discover content randomly
- ⚡ **High Performance** - GPU-accelerated animations, optimized CSS
- 📖 **KaTeX Support** - Beautiful math formulas
- 💬 **Code Enhancements** - One-click copy, line numbers
## 🚀 Quick Start
### 1. Install Theme
```bash
# Add as Git submodule (recommended)
git submodule add https://github.com/yezihack/kong-htop.git themes/kong-htop
# Or clone directly
git clone https://github.com/yezihack/kong-htop.git themes/kong-htop
```
### 2. Configure
Copy the example configuration:
```bash
cp themes/kong-htop/exampleSite/hugo.toml ./
```
Edit `hugo.toml` with your site information:
```toml
baseURL = 'https://your-domain.com/'
title = "Your Blog"
theme = "kong-htop"
[Author]
name = "Your Name"
[params]
brand = "Your Blog"
description = "Your blog description"
```
### 3. Create Content
```bash
# Create your first post
hugo new posts/hello-world.md
# Create about page
hugo new about/_index.md
```
### 4. Preview
```bash
hugo server
```
Visit `http://localhost:1313` 🎉
## 📝 Writing Posts
Create posts with:
```bash
hugo new posts/my-post.md
```
Front matter example:
```yaml
---
title: "Post Title"
date: 2024-01-15
description: "Brief description"
tags: ["tag1", "tag2"]
categories: ["category"]
---
Your content here...
```
## 🎨 Customization
### Colors
Edit `hugo.toml`:
```toml
[params]
# Light mode
link_color = "#268bd2"
text_color = "#222"
# Dark mode
link_color_dark = "#268bd2"
text_color_dark = "#eee"
```
### Menu
```toml
[params]
menu = [
{Name = "Home", URL = "/", HasChildren = false},
{Name = "Posts", URL = "/posts/", Pre = "Recent", HasChildren = true, Limit = 5},
{Name = "About", URL = "/about/", HasChildren = false},
]
```
### Social Links
```toml
[params]
github_url = "https://github.com/username"
twitter_url = "https://twitter.com/handle"
```
### Visitor Statistics (Optional)
Enable Busuanzi visitor counting (disabled by default):
```toml
[params]
busuanzi_enable = true # Enable page views and visitor statistics
```
## 📁 Project Structure
```
your-site/
├── content/
│ ├── posts/ # Blog posts
│ └── about/ # About page
├── static/
│ └── images/ # Images
├── themes/
│ └── kong-htop/ # This theme
└── hugo.toml # Configuration
```
## 🌍 Multilingual Support
The example site includes posts in 7 languages:
- 🇬🇧 English, 🇨🇳 Chinese, 🇯🇵 Japanese, 🇰🇷 Korean
- 🇩🇪 German, 🇫🇷 French, 🇪🇸 Spanish
See `exampleSite/content/posts/` for examples.
## 🔧 Advanced Features
### Search Function
Search is automatically enabled. Just create:
```markdown
---
title: "Search"
slug: "search"
outputs: ["html", "json"]
---
```
Save as `content/search/_index.md`.
### Math Formulas
Use KaTeX for math:
```markdown
Inline: $E = mc^2$
Block:
$$
\int_{a}^{b} f(x) dx
$$
```
### Code Blocks
Syntax highlighting with copy button:
````markdown
```go
package main
func main() {
println("Hello!")
}
```
````
## 🚢 Deployment
Build your site:
```bash
hugo --minify
```
Deploy the `public/` folder to:
- **GitHub Pages**
- **Netlify**
- **Vercel**
- **Your own server**
## 📖 Documentation
- 📚 [Example Site](exampleSite/) - Live demo configuration
- 🌐 [Multilingual Posts](exampleSite/content/posts/) - 7 language examples
- ⚙️ [Full Configuration](exampleSite/hugo.toml) - All available options
## 🤝 Contributing
Issues and pull requests are welcome!
## 📄 License
MIT License. Based on [Poison](https://github.com/lukeorth/poison) theme.
## 🙏 Credits
- [Poison Theme](https://github.com/lukeorth/poison) by Luke Orth
- [Hyde](https://github.com/mdo/hyde) design inspiration
- Hugo community
## 💬 Support
- 📖 [Hugo Documentation](https://gohugo.io/documentation/)
- 🐛 [GitHub Issues](https://github.com/yezihack/kong-htop/issues)
- 💡 [Discussions](https://github.com/yezihack/kong-htop/discussions)
---
**Created by**: [Yezihack](https://github.com/yezihack)
**Version**: 1.0.0
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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