基于 Hugo 的博客主题,衍生自 LoveIt 与 KeepIt,采用 MIT 许可
Calmato — Hugo 博客模板
作者 zdong1995
Calmato 是一个基于 Hugo 的博客主题,由 zdong1995 维护,衍生自 LoveIt 与 KeepIt 主题,采用 MIT 许可。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
扩展 Markdown 语法支持 Font Awesome 图标、注音标注与分数
内置 KaTeX 公式、mermaid 图表、ECharts 可视化与 Mapbox 地图 shortcode
支持 APlayer/MetingJS 音乐播放器与 Bilibili 视频播放器 shortcode
搜索可选 Lunr.js 或 Algolia,评论系统支持 Disqus、Gitalk、Valine、Utterances 等多种方案
支持多语言与 i18n,v1.1.0 起加入多级菜单与子栏目页面
模板详细介绍
Calmato 是面向 Hugo 的博客主题,仓库由 zdong1995 维护,采用 MIT 许可。README 说明它基于 LoveIt Theme 与 KeepIt Theme 修改而来,主要差异包括自定义页头与 CSS 样式、重写首页以兼容较新版本 Hugo、调整配色与字号等样式细节、改进暗色模式可读性,并加入 CSS 动画、可自动展开的目录、更多社交链接与分享站点、多种评论系统,以及基于 Lunr.js 或 Algolia 的搜索。
主题通过扩展 Markdown 语法和 shortcode 提供额外内容能力:Font Awesome 图标、注音标注、分数、KaTeX 数学公式、mermaid 图表、ECharts 数据可视化、Mapbox 地图、APlayer 与 MetingJS 音乐播放器、Bilibili 播放器、提示块(admonitions)、自定义样式与脚本,以及 TypeIt 打字动画、平滑滚动和 cookie 同意横幅。v1.1.0 起支持多级菜单与子栏目页面。
主题支持多语言与 i18n,README 列出的语言包括英语、简体中文、法语、波兰语、巴西葡萄牙语、意大利语、西班牙语、德语、塞尔维亚语、俄语、罗马尼亚语和越南语。评论系统可选 Disqus、Gitalk、Valine、Facebook、Telegram、Commento、Utterances;分析支持 Google Analytics 与 Fathom;头像支持 Gravatar 或本地图片。
需要留意的是:README 中关于 PageSpeed 分数的描述属于作者自述,未在本资料中独立验证;第三方库、字体、图标与演示图片的许可需单独核对,MIT 许可仅覆盖主题代码本身。仓库最后更新时间为 2021 年 1 月,使用前建议确认与当前 Hugo 版本的兼容情况。
适合你的项目吗?
适用场景
- 搭建以文章为主的个人技术博客或写作站点
- 需要在文章中嵌入数学公式、流程图或数据图表的博客
- 希望在同一主题内切换多种评论系统与搜索方案的站点
- 面向多语言读者的博客,需要 i18n 与多语言内容支持
- 需要在文章内嵌入音乐播放器或 Bilibili 视频的内容型博客
适合人群
- 使用 Hugo 构建静态博客的开发者与写作者
- 需要扩展 Markdown 语法与 shortcode 的内容创作者
- 偏好浅色/暗色双模式与响应式布局的博客作者
- 需要多语言站点与多级菜单结构的站点维护者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
主题要求 Hugo 环境,README 中示例命令为 hugo server --source=exampleSite
- 2
搜索、评论、分析等功能依赖第三方服务,需自行申请并配置对应参数
- 3
演示图片、字体、图标等第三方素材需按各自许可单独核对,MIT 仅覆盖主题代码
- 4
仓库最后更新于 2021 年 1 月,使用前建议确认与当前 Hugo 版本的兼容性
- 5
README 中的性能评分等描述为作者自述,未在本资料中独立验证
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 搜索功能依赖第三方服务:可选 Lunr.js 或 Algolia,使用 Algolia 需自行注册账号并配置 API 密钥。
- 站点分析功能依赖 Google Analytics 外部服务,需自行注册账号并配置跟踪参数。
- 站点分析可选 Fathom Analytics,属于外部付费服务,需自行注册并承担相应费用。
- Mapbox 地图 shortcode 依赖 Mapbox GL JS 外部服务,通常需要 Mapbox 账号与访问令牌。
- 评论系统依赖第三方服务,如 Disqus 需注册账号并嵌入其脚本,数据托管在外部平台。
- Gitalk 评论依赖 GitHub OAuth 应用,需创建并配置客户端 ID 与密钥。
- Valine 评论依赖 LeanCloud 等后端服务,需自行注册账号并提供 App ID 与 Key。
- Telegram 评论依赖 comments.app 外部服务,需注册并配置对应站点参数。
- Commento 评论系统为外部服务,需自行部署或使用其托管服务并配置。
- Utterances 评论依赖 GitHub Issues 与 GitHub App 授权,需配置仓库与授权。
- 第三方库可通过 CDN 加载,实际可用性与费用取决于所选 CDN 服务商。
- README 提供赞助入口(PayPal),属自愿捐赠,不影响主题免费使用。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
**Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
README 原文
**[Google Analytics](https://analytics.google.com/analytics)** supported
README 原文
**[Fathom Analytics](https://usefathom.com/)** supported
README 原文
**Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
README 原文
**Disqus** comment system supported by [Disqus](https://disqus.com)
README 原文
**Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
README 原文
**Valine** comment system supported by [Valine](https://valine.js.org/)
README 原文
**Telegram comments** system supported by [Telegram Comments](https://comments.app/)
README 原文
**Commento** comment system supported by [Commento](https://commento.io/)
README 原文
**Utterances** comment system supported by [Utterances](https://utteranc.es/)
README 原文
**CDN** for all third-party libraries supported
README 原文
https://github.com/zdong1995/Calmato/blob/master/LICENSEhttps://github.com/zdong1995/Calmato/blob/master/README.mdIf you enjoy the theme, please consider buying me a coffee ☕️.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-04。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 68 / 100
- 技术栈
- Hugo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2021-01-11
- 截图检查日期
- 2026-10-04
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16
查看当时使用的来源资料
SHA-256: 9d7d6fbab4e264c5e7958bd2fe5fc8844308322d33a945060bed771b336aec56
2026-10-04T18:25:30.089Z
来源文件 / 仓库# Calmato Theme | Hugo [](https://app.netlify.com/sites/calmato/deploys) [](https://github.com/zdong1995/calmato/releases) [](https://gohugo.io/) [](https://github.com/zdong1995/calmato/blob/master/LICENSE) English README | [简体中文说明](https://github.com/zdong1995/calmato/blob/master/README.zh-cn.md) > **Calmato** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/). It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt). Since the three themes have a similar look, if you have questions about their differences, read [Why choose calmato](#why-choose-calmato) so that you can choose the one that works best for you.  ## [Demo Site](https://calmato.netlify.app) To see this theme in action, here is a live [demo site](https://calmato.netlify.app) which is rendered with **calmato** theme. ## Why choose calmato Compared to the original LeaveIt theme and the KeepIt theme, the calmato theme has the following modifications. * Custom **Header** * Custom **CSS Style** * A new **home page**, compatible with the latest version of Hugo * A lot of **style detail adjustments,** including color, font size, margins, code preview style * More readable **dark mode** * Some beautiful **CSS animations** * Easy-to-use and self-expanding **table of contents** * More **social links**, **share sites** and **comment system** * **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) * **Copy code** to clipboard with one click * Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** * Extended Markdown syntax for **ruby annotation** * Extended Markdown syntax for **fraction** * **Mathematical formula** supported by [KaTeX](https://katex.org/) * **Diagram syntax** shortcode supported by [mermaid](https://github.com/knsv/mermaid) * **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) * **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * Embedded **music player** supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) * **Bilibili** player supported * Kinds of **admonitions** shortcode supported * Custom style shortcodes supported * **CDN** for all third-party libraries supported * **New feature**: Add support to multi-level menu and sub-section pages in [v1.1.0](https://github.com/zdong1995/calmato/releases/tag/1.1.0)  In short, if you prefer the design language and freedom of the calmato theme, if you want to use the extended Font Awesome icons conveniently, if you want to embed mathematical formulas, flowcharts, music or Bilibili videos in your posts, the calmato theme may be more suitable for you. I hope you will calmato ❤️! ## Features ### Performance and SEO * Optimized for **performance**: 99/100 on mobile and 100/100 on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) * Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD * **[Google Analytics](https://analytics.google.com/analytics)** supported * **[Fathom Analytics](https://usefathom.com/)** supported * Search engine **verification** supported (Google, Bind, Yandex and Baidu) * **CDN** for third-party libraries supported * Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) ### Appearance and Layout * **Responsive** layout * **Light/Dark** mode * Globally consistent **design language** * **Pagination** supported * Easy-to-use and self-expanding **table of contents** * **Multilanguage** supported and i18n ready * Beautiful **CSS animation** ### Social and Comment Systems * **Gravatar** supported by [Gravatar](https://gravatar.com) * Local **Avatar** supported * Up to **64** social links supported * Up to **28** share sites supported * **Disqus** comment system supported by [Disqus](https://disqus.com) * **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) * **Valine** comment system supported by [Valine](https://valine.js.org/) * **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) * **Telegram comments** system supported by [Telegram Comments](https://comments.app/) * **Commento** comment system supported by [Commento](https://commento.io/) * **Utterances** comment system supported by [Utterances](https://utteranc.es/) ### Extended Features * **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) * **Twemoji** supported * Automatically **highlighting** code * **Copy code** to clipboard with one click * **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) * Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** * Extended Markdown syntax for **ruby annotation** * Extended Markdown syntax for **fraction** * **Mathematical formula** supported by [KaTeX](https://katex.org/) * **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) * **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) * **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) * **Bilibili player** shortcode * Kinds of **admonitions** shortcode * **Custom style** shortcode * **Custom script** shortcode * **Animated typing** supported by [TypeIt](https://typeitjs.com/) * **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) * **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) * ... ## [Documentation](https://calmato.netlify.app/categories/documentation/) Build Documentation Locally: ```bash hugo server --source=exampleSite ``` ## Multilingual and i18n calmato supports the following languages: * English * Simplified Chinese * French * Polish * Brazilian Portuguese * Italian * Spanish * German * Serbian * Russian * Romanian * Vietnamese * [Contribute with a new language](https://github.com/zdong1995/calmato/pulls) [Languages Compatibility](https://calmato.netlify.app/theme-documentation-basics/#language-compatibility) ## [Roadmap](https://github.com/zdong1995/calmato/projects/1) ## Questions, ideas, bugs, pull requests All feedback is welcome! Head over to the [issue tracker](https://github.com/zdong1995/calmato/issues). ## License calmato is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/zdong1995/calmato/blob/master/LICENSE) for details. Thanks to the authors of following resources included in the theme: * [normalize.css](https://github.com/necolas/normalize.css) * [Font Awesome](https://fontawesome.com/) * [Simple Icons](https://github.com/simple-icons/simple-icons) * [Animate.css](https://daneden.github.io/animate.css/) * [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) * [autocomplete.js](https://github.com/algolia/autocomplete.js) * [Lunr.js](https://lunrjs.com/) * [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) * [lazysizes](https://github.com/aFarkas/lazysizes) * [object-fit-images](https://github.com/fregante/object-fit-images) * [Twemoji](https://github.com/twitter/twemoji) * [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) * [clipboard.js](https://github.com/zenorocha/clipboard.js) * [Sharer.js](https://github.com/ellisonleao/sharer.js) * [TypeIt](https://typeitjs.com/) * [KaTeX](https://katex.org/) * [mermaid](https://github.com/knsv/mermaid) * [ECharts](https://echarts.apache.org/) * [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * [APlayer](https://github.com/MoePlayer/APlayer) * [MetingJS](https://github.com/metowolf/MetingJS) * [Gitalk](https://github.com/gitalk/gitalk) * [Valine](https://valine.js.org/) * [cookieconsent](https://github.com/osano/cookieconsent) ## Author [zdong1995](https://dongxiaoran.com) ## Sponsor If you enjoy the theme, please consider buying me a coffee ☕️. * [PayPal](https://paypal.me/zdong1995) Thanks! ❤️
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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