Hugo博客

hugo-theme-relisted — Hugo 博客模板

作者 gyli

基于 Hugo 的极简博客主题,以纯列表形式展示文章,强调可读排版,不使用 JavaScript(可选 Google Analytics 除外)。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

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

值得关注的模板亮点

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

01

文章以纯列表展示,长列表提供更新/更早分页

02

页头与页脚菜单来自站点配置,不硬编码站点信息

03

响应式布局,除可选 Google Analytics 外不使用 JavaScript

04

支持目录、标题锚点、语法高亮、表格与图注样式

05

图片懒加载并可链接到原始大图

06

包含标签与分类页、全文 RSS、Open Graph、Twitter 卡片和 Schema.org 数据

模板详细介绍

Relisted 是一个面向写作的 Hugo 博客主题,由 Listed 改写而来。它把文章以简单列表呈现,页面以正文为主,适合把注意力放在文字上的个人博客。主题要求 Hugo 0.160.0 或更新版本,任意版本类型均可,不使用已废弃特性。

与 Listed 相比,Relisted 不再硬编码站点名称、菜单链接和作者信息,这些内容都从站点配置读取;同时更新了排版与配色,提供带菜单按钮的手机布局,文章页会显示日期、标签和分类。写作相关功能包括目录、表格与图注样式、可点击查看原图的图片,以及文章较多时的新旧文章分页。

主题提供页头和页脚菜单、标签与分类页、全文 RSS、Open Graph、Twitter 卡片和 Schema.org 数据。颜色、字体和内容宽度通过站点配置中的 CSS 变量调整。主题本身不包含 JavaScript,Google Analytics 为可选项。

Hugo博客

适合你的项目吗?

适用场景

  • 用 Hugo 搭建以文字阅读为主的个人博客
  • 需要无 JavaScript 前端、结构简单的静态博客
  • 希望从站点配置统一控制菜单、颜色、字体和内容宽度
  • 为文章添加目录、标签、分类和全文 RSS 的写作场景

适合人群

  • 使用 Hugo 0.160.0 或更新版本的用户
  • 偏好极简列表式首页和正文优先排版的写作者
  • 接受通过站点配置调整样式而非修改主题源码的用户

上手与定制指南

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

  1. 1

    需要 Hugo 0.160.0 或更新版本,任意版本类型均可

  2. 2

    通过 git submodule 将主题添加到 themes/relisted

  3. 3

    在站点配置中设置 theme = "relisted" 和 mainSections = ["posts"]

  4. 4

    颜色、字体和宽度在 [params.style] 下用 CSS 变量设置,默认值见主题的 hugo.toml

  5. 5

    可参考 exampleSite/hugo.toml 了解可用配置项

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 主题前端不使用 JavaScript,但可选启用 Google Analytics;若启用该分析服务,会引入第三方脚本并可能涉及外部服务与数据收集。
  • 使用该主题需要 Hugo 0.160.0 或更新版本,旧版本 Hugo 无法构建。
  • 安装方式为通过 git submodule 将主题仓库添加到站点的 themes/relisted 目录。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Responsive layout, no JavaScript (except optional Google Analytics)

README 原文

Needs Hugo 0.160.0 or newer.

README 原文

git submodule add https://github.com/gyli/hugo-theme-relisted.git themes/relisted

README 原文
https://github.com/gyli/hugo-theme-relisted/blob/master/LICENSE.mdhttps://github.com/gyli/hugo-theme-relisted/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 4064a7a41f78bcd59c5a35c98bbb97a9699313819cbe304f593e3e2f543b0967

2026-10-11T05:22:11.522Z

来源文件 / 仓库
# Relisted

A minimalistic Hugo blogging theme: a plain list of posts, and pages that put the text first. Relisted is a reworked version of [Listed](https://github.com/ronv/listed). See the [demo site](https://gyli.github.io/hugo-theme-relisted/).

![Screenshot](https://raw.githubusercontent.com/gyli/hugo-theme-relisted/master/images/preview.png)

### What's Different from Listed

- **Works with current Hugo.** Listed no longer builds on current Hugo. Relisted needs Hugo 0.160.0 or newer, any edition, and uses no deprecated features.
- **Ready for any site.** Listed hard-codes its site name, menu links, and its author's details in the feeds. Relisted takes all of them from your site config.
- **Better for reading.** New typography and colors, a phone layout with a menu button, and post pages that show the date, tags, and categories.
- **More for writing.** A table of contents, styled tables and figures, images that link to their full size, and newer/older pages for long post lists.

### Features

- A plain list of posts, with newer/older pages
- Header and footer menus from your site config
- Responsive layout, no JavaScript (except optional Google Analytics)
- Table of contents, heading anchors, and syntax highlighting
- Lazy-loaded images that link to the full-size file
- Tags and categories, with a page for each
- Full-text RSS feed
- Open Graph, Twitter cards, and Schema.org data
- Colors, fonts, and width set in your site config

### Installation

Needs Hugo 0.160.0 or newer.

```sh
git submodule add https://github.com/gyli/hugo-theme-relisted.git themes/relisted
```

Add `theme = "relisted"` and `mainSections = ["posts"]` (the sections to list) to your site config. [`exampleSite/hugo.toml`](https://github.com/gyli/hugo-theme-relisted/blob/master/exampleSite/hugo.toml) shows the available settings.

To change colors, fonts, or width, set CSS variables under `[params.style]`. The defaults are in the theme's [`hugo.toml`](https://github.com/gyli/hugo-theme-relisted/blob/master/hugo.toml).

```toml
[params.style]
  color-accent = "#b5442c"
  content-width = "72ch"
```

### License

MIT. Listed is copyright © 2021 Ronalds Vilciņš, and was under the [MIT license](https://github.com/ronv/listed/blob/bc251c5683fdd40ebc3383233b60c9fee17cc3f9/LICENSE.md) when Relisted was forked from it. Relisted changes are copyright © 2022-2026 Guangyang Li.
反馈内容错误

看看同类模板

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