从 Hexo 主题 Journal 移植的 Hugo 日记/随笔风格主题
hugo-theme-diary — Hugo 启动器模板
作者 AmazingRise
从 Hexo 主题 Journal 移植到 Hugo 的日记风格主题,支持多语言、暗色模式、目录滚动定位与多种第三方评论服务。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持英语、简体中文、繁体中文、法语、德语、巴西葡萄牙语
内置暗色模式,可自动或手动切换
目录带滚动定位,便于长文阅读
可集成 Gitalk、LiveRe、Disqus、Waline、Twikoo 等评论服务
LaTeX 支持默认关闭,可按 wiki 说明启用
模板详细介绍
hugo-theme-diary 是 AmazingRise 维护的 Hugo 主题,由 SumiMakito 的 Hexo 主题 Journal 移植而来,仓库采用 MIT 许可。主题定位为记录日常片段的博客外观,首页以网格形式排列文章,适合随笔、日记类内容。
功能方面,主题提供可配置的侧边栏、favicon、目录(含滚动定位)、阅读时长、代码高亮、字体与配色方案调整;内置暗色模式,可自动或手动切换;支持英语、简体中文、繁体中文、法语、德语和巴西葡萄牙语。第三方服务集成包括 Gitalk、LiveRe、Disqus、Waline、Twikoo 等评论系统,以及 Google Analytics、Google 站点验证和站内 Google 搜索框。LaTeX 支持默认关闭,需按 wiki 说明启用。
使用方式为 Hugo 主题,可通过 git submodule 添加到站点 themes/diary 目录,仓库内 exampleSite 提供示例配置 config.toml。主题文档以项目 wiki 为主,涵盖 i18n、侧边栏、目录、评论、元数据、RSS、图片插入、配色、字体、阅读时长、暗色模式和故障排查等条目。
限制与注意:资料未列出所依赖的 Hugo 版本,使用前需自行核对兼容性;1.3.0 版本移除了 jQuery 等冗余脚本。演示图片、字体、图标等第三方素材的许可需单独确认,不能仅凭代码的 MIT 许可判断。
适合你的项目吗?
适用场景
- 搭建以日记、随笔、短记录为主的个人博客
- 需要多语言界面并面向中文读者的 Hugo 站点
- 希望使用暗色模式与目录滚动定位的阅读型博客
- 需要接入第三方评论系统或 Google Analytics 的静态站点
适合人群
- 使用 Hugo 构建静态博客的个人作者
- 偏好日记/随笔排版风格而非杂志式首页的用户
- 需要多语言与评论集成能力的站点维护者
- 愿意通过项目 wiki 自行配置主题的开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Hugo 站点根目录执行 git submodule add https://github.com/AmazingRise/hugo-theme-diary.git themes/diary 添加主题
- 2
使用 git submodule update --remote --merge 更新主题仓库
- 3
可参考仓库 exampleSite/config.toml 进行配置
- 4
在 themes/diary/exampleSite 目录下运行 hugo server --themesDir ../.. 预览示例站点
- 5
详细配置项(i18n、侧边栏、评论、LaTeX、暗色模式等)见项目 wiki
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 评论、搜索与统计等功能依赖第三方服务,需自行注册账号并配置相应服务,可能产生外部服务费用或数据外发。
- LaTeX 支持默认关闭,需按 wiki 说明手动启用后才能使用数学公式渲染。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
3rd. service intergration (Gitalk, LiveRe, Disqus, Waline, Twikoo, Google Search, Analytics... )
README 原文
https://github.com/AmazingRise/hugo-theme-diary/blob/main/LICENSEhttps://github.com/AmazingRise/hugo-theme-diary/blob/main/README.mdLaTeX support (disabled by default)
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Hugo Themes
- 资料与维护参考分
- 资料较完整 · 84 / 100
- 技术栈
- Hugo · Hexo
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-01-30
- 截图检查日期
- 2026-10-02
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 8e2684fb4bd04f31c0af9382d3274b8aeac7f1c2bcedf03920f453762686eb92
2026-10-02T14:07:53.243Z
来源文件 / 仓库# <div align="center">Hugo Theme Diary</div> <div align="center">   [My Blog with ✨Theme Diary✨](https://risehere.net/) - [Intro Video](https://www.bilibili.com/video/av84273002) - [Progress](https://github.com/AmazingRise/hugo-theme-diary/projects/) - [Wiki](https://github.com/amazingrise/hugo-theme-diary/wiki) 隻言片語・於此匯聚 Moments piled up. </div> A Hugo theme ported from [SumiMakito/hexo-theme-Journal](https://github.com/SumiMakito/hexo-theme-Journal/). ## Features ### Features of this theme - Customizable: Easy to customize with detailed project wiki. - Adaptive: Mobile-friendly & widescreen-friendly. - Abundant: 3rd. service intergration (Gitalk, LiveRe, Disqus, Waline, Twikoo, Google Search, Analytics... ). - Convenient: Table of Contents with scroll spy. - Professional: LaTeX support (disabled by default). - Graceful: Dark mode (automatic or manual switch). - International: English, Chinese (CHS/CHT), French, German, Portuguese(Brazil) support. - ... For details, please visit [project wiki](https://github.com/AmazingRise/hugo-theme-diary/wiki/). ### Features in new version <details> <summary>CHANGELOG</summary> 1.3.0: - Removed jQuery and other redundant scripts. - Some improvements on performance. </details> ## Quick Start <details> <summary>Click to expand</summary> If your website is using Git as version control, please do as follows: 1. Fetch the theme dir. From the root of your Hugo site, open the terminal and execute: ```bash git submodule add https://github.com/AmazingRise/hugo-theme-diary.git themes/diary ``` 2. Update git repository. Then update the git repository from the root of your site: ```bash git submodule update --remote --merge ``` 3. Run example site. From the root of themes/diary/exampleSite: ```bash hugo server --themesDir ../.. ``` </details> ## Personalization ### Example config See [/exampleSite/config.toml](https://github.com/AmazingRise/hugo-theme-diary/blob/main/exampleSite/config.toml) ### Customization - [Wiki Home](https://github.com/AmazingRise/hugo-theme-diary/wiki) - Configurations * [Internationalization(i18n)](https://github.com/AmazingRise/hugo-theme-diary/wiki/Internationalization) * [Sidebar](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#customize-sidebar) * [Favicon](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#add-favicon) * [Table Of Contents](https://github.com/AmazingRise/hugo-theme-diary/wiki/Table-Of-Contents) * [Enable/Disable Comment](https://github.com/AmazingRise/hugo-theme-diary/wiki/Comment-Area) - 3rd. party services * [Comment Services](https://github.com/AmazingRise/hugo-theme-diary/wiki/Comment) * [Google Analytics](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#add-google-analytics) * [Google Site Verification](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#add-google-site-verification) * [Google Search Intergration](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#add-google-search-box-on-your-site) - Writing * [Meta Data](https://github.com/AmazingRise/hugo-theme-diary/wiki/Post's-meta-data) * [LaTeX Support](https://github.com/AmazingRise/hugo-theme-diary/wiki/MathJax) * [RSS Feed](https://github.com/AmazingRise/hugo-theme-diary/wiki/RSS-Feed) * [Inserting Figures](https://github.com/AmazingRise/hugo-theme-diary/wiki/Inserting-Figures) - Styling * [Color Scheme](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#change-color-scheme) * [Code Highlight](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#about-highlight) * [Font Family](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#change-default-font-scheme) * [Reading Time](https://github.com/AmazingRise/hugo-theme-diary/wiki/Reading-Time) * [Dark Mode](https://github.com/AmazingRise/hugo-theme-diary/wiki/Dark-Mode) - [Troubleshooting](https://github.com/AmazingRise/hugo-theme-diary/wiki/Troubleshooting) ## Screenshots <details> <summary>Index Page</summary>  </details> <details> <summary>Post</summary>   </details> <details> <summary>Dark Mode</summary>  </details> <details> <summary>Mobile View</summary>   </details> </details>
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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

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

hugo-theme-stack-starter
A quickstart template to create a Hugo blog using hugo-theme-stack
Hugo · 博客
