Hugo博客

hugo-blog-event-theme — Hugo 博客模板

作者 kevindragon

hugo-theme-even 的 fork,一个简洁的 Hugo 博客主题,源自 hexo-theme-even 的移植版本,采用 MIT 许可。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-03查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

hexo-theme-even 的 Hugo 移植版本,定位为简洁博客主题

02

内置 i18n 翻译,支持多语言站点与语言选择器

03

提供 center、right、left、music、admonition 等 shortcode

04

内置五套主题配色,可通过 SASS 变量切换

05

使用 Hugo Pipes,修改 assets 需 extended 版本

模板详细介绍

这是一个面向 Hugo 的博客主题,仓库名称为 hugo-blog-event-theme,README 中说明它是 hexo-theme-even 的移植版本,定位为「super concise(极简)」的 Hugo 主题。演示站点为 hugo-theme-even.netlify.app,可查看桌面端首页、手机端首页与内页的实际效果。

主题通过 git clone 到 themes/even 目录安装,需要把 exampleSite 中的 config.toml 复制到站点根目录使用。由于使用 Hugo Pipes,修改 assets 内容需要安装 extended 版本。内容创建时使用 post 而非 posts,即 hugo new post/some-content.md。

主题内置 i18n 翻译,可通过 defaultContentLanguage 切换语言,也支持在项目根目录 i18n/ 下新增语言文件;多语言站点可开启 showLanguageSelector 在页头或滑出菜单中显示语言切换。favicon 需要把一组指定文件放入站点 static 目录覆盖主题默认文件。单篇内容可通过 front matter 定制参数,主题还提供 center、right、left、music、admonition 等 shortcode,并支持内置 figure 的 center、right、left class。主题内置五套配色(Default、Mint Green、Cobalt Blue、Hot Pink、Dark Violet),通过修改 assets/sass 中的变量配置。更新主题通过 git pull,并需留意 CHANGELOG 中的破坏性变更。

仓库由 kevindragon 维护,star 数较少,最近更新时间为 2022 年。README 主体内容来自上游 olOwOlo/hugo-theme-even 项目,本仓库是其在 GitHub 上的一个 fork。

Hugo博客

适合你的项目吗?

适用场景

  • 搭建个人 Hugo 博客站点
  • 需要多语言内容展示的博客
  • 希望通过 shortcode 在文章中插入居中、右对齐、音乐或提示块内容

适合人群

  • 使用 Hugo 并偏好简洁排版风格的个人博主
  • 需要多语言支持与语言切换入口的站点
  • 愿意通过修改 SASS 变量调整主题配色的使用者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    将主题克隆到 themes/even 目录:git clone https://github.com/kevindragon/hugo-blog-event-theme themes/even

  2. 2

    把 exampleSite 中的 config.toml 复制到 Hugo 站点根目录并按需修改

  3. 3

    修改 assets 内容需安装 Hugo extended 版本(主题使用 Hugo Pipes)

  4. 4

    新建内容使用 post 而非 posts,例如 hugo new post/some-content.md

  5. 5

    更新主题时执行 git pull,并查看 CHANGELOG.md 中的破坏性变更

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 修改 assets 目录内容需安装 Hugo extended 版本,普通版 Hugo 无法完成资源处理。
  • 新建内容时必须使用 post 而非 posts,例如 hugo new post/some-content.md,否则内容可能无法正确渲染。
  • 更新主题后需查看 CHANGELOG.md,版本升级可能包含破坏性变更,需自行适配。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Modifying contents in `assets` requires the extended version to be installed.

README 原文

you should use **post** instead of **posts**

README 原文

Whenever you update this theme, you should check the `CHANGELOG.md` file, there may be some breaking changes.

README 原文
https://github.com/kevindragon/hugo-blog-event-theme/blob/master/LICENSE.mdhttps://github.com/kevindragon/hugo-blog-event-theme/blob/master/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 60 / 100
技术栈
Hugo
网站类型
博客
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2022-11-05
截图检查日期
2026-10-03

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Hugo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: f01d51d8cfb89beb091ebcdb25a8b0e15685b956cc91f0621fde4ab859e1e1cc

2026-10-03T21:19:24.755Z

来源文件 / 仓库
# hugo-theme-even

[![GitHub contributors](https://img.shields.io/github/contributors/olOwOlo/hugo-theme-even.svg?colorB=green)](https://github.com/olOwOlo/hugo-theme-even/contributors)
[![GitHub release](https://img.shields.io/github/release/olOwOlo/hugo-theme-even.svg?colorB=green)](https://github.com/olOwOlo/hugo-theme-even/releases)
[![GitHub commits (since latest release)](https://img.shields.io/github/commits-since/olOwOlo/hugo-theme-even/latest.svg?colorB=green)](https://github.com/olOwOlo/hugo-theme-even/compare)
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md)

A super concise theme for Hugo

> It's a port of the [hexo-theme-even](https://github.com/ahonn/hexo-theme-even)

[Demo](https://hugo-theme-even.netlify.app) | [中文说明](https://github.com/olOwOlo/hugo-theme-even/blob/master/README-zh.md)

## Screenshots

![even-showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png)

## Installation

```bash
$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even
```

**Important:** Take a look inside the [`exampleSite`](https://github.com/olOwOlo/hugo-theme-even/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml). **To use it, copy the [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) in the root folder of your Hugo site.** Feel free to change it.

**Important:** This theme uses [Hugo Pipes](https://gohugo.io/hugo-pipes/introduction/). Modifying contents in `assets` requires the extended version to be installed.

**NOTE:** For this theme, you should use **post** instead of **posts**, namely `hugo new post/some-content.md`.

## Language Support

> Translations are collected from the [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) folder (built into the theme), as well as translations present in `i18n/` at the root of your project. The translations will be merged and take precedence over what is in the theme folder.

To use the translations, just set a correct value for [`defaultContentLanguage`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml#L3).

```toml
defaultContentLanguage = "en"  # en / zh-cn / other...
```

Can also support any other languages as well. For example, to support german, create a file `/i18n/de.yaml` in the root folder of your Hugo site. For reference template you can see the [`en.yaml`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n/en.yaml) file.

P.S. In multilingual mode, the language which currently being used to render the website will be used.

### Language selector

It is possible to enable language selector for multilingual site. It will be displayed in the header or in the slide menu.

To enable it, set `showLanguageSelector` parameter to `true`.

```toml
showLanguageSelector = true
```

## Favicon

In order to customize the favicon you need to place **all** the following files in the `static` folder at the root of your site, which will overwrite those files in the [`themes/even/static/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/static) folder.

- android-chrome-192x192.png
- android-chrome-512x512.png
- apple-touch-icon.png
- browserconfig.xml
- favicon.ico
- favicon-16x16.png
- favicon-32x32.png
- manifest.json
- mstile-150x150.png
- safari-pinned-tab.svg

A [favicon generator](https://www.google.com/search?q=favicon+generator) can help you generate these files.

## Front Matter

You can customize something for a single content in the content's front-matter. The [`themes/even/archetypes/default.md`](https://github.com/olOwOlo/hugo-theme-even/tree/master/archetypes/default.md) shows all available params. Copy this file in the `archetypes` folder at the root of your project will be useful.

## Shortcodes

This theme provides `center`,` right`, `left`,` music`, `admonition` shortcodes, and support `center`,` right`, `left` class for the built-in `figure`. See more information from [there](https://blog.olowolo.com/example-site/post/shortcodes/).

## Theme Color

There are five built-in theme colors ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ), you can config it by changing the `$theme-color-config` value in [`/assets/sass/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/assets/sass/_variables.scss#L5-L8).

## Update Theme

```bash
cd ./themes/even/
git pull
```

**Whenever you update this theme, you should check the `CHANGELOG.md` file, there may be some breaking changes.**

## License

Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License.

## Acknowledgements

- [ananke](https://github.com/budparr/gohugo-theme-ananke)
- [hexo-theme-even](https://github.com/ahonn/hexo-theme-even)
- [hugo-nuo](https://github.com/laozhu/hugo-nuo)
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。