FixIt Bundle

December 24, 2025 · View on GitHub

👉 简体中文说明 | English README

🌲 将 FixIt 核心主题和所有 hugo-fixit 组件捆绑成一个单一组件。

安装组件

首先确保你的项目本身是一个 Hugo 模块

然后在你的 hugo.toml 配置文件中添加这个主题组件:

[module]

[[module.imports]]
path = "github.com/hugo-fixit/fixit-bundle"

在 Hugo 首次启动时,它将下载所需的文件。

要更新到模块的最新版本,请运行:

hugo mod get -u
hugo mod tidy

使用方法

在你的 hugo.toml 中添加以下内容:

[params]
# ...

[outputs]
_merge = "shallow"

[taxonomies]
_merge = "shallow"

[markup]
_merge = "shallow"

[module]

[[module.imports]]
path = "github.com/hugo-fixit/fixit-bundle"

你可以使用所有包含的主题组件的配置和功能。

组件列表