Repository navigation
OINK v1.3.0
OINK 1.3.0 adds Expo image albums and improves real-world site rendering across navigation, Landing pages, and Print output.
Highlights
- Expo albums with wall, masonry, and seamless layouts; original-image viewing, keyboard controls, touch gestures, and remembered reader preferences.
- Stable Docs and Book navigation across custom homepages, explicit trees, mobile drawers, and shared page actions.
- Complete aggregate Print output, including release sections, Markdown shortcode headings, encoded anchors, relative links, and custom local IDs.
- Scoped Landing component IDs, working RSS feeds, accessible code blocks, and consistent content styles.
- Consumer upgrade tooling that covers Hugo Modules and reports classic themes, validates exact published pins, and checks the four-style reader menu.
Toolchain and upgrade
Hugo Extended 0.166.0 is the minimum and sole development/CI baseline. The module declares Go 1.27.0. Ordinary sites need no Node.js or optional OINK CLI.
hugo mod get github.com/pgsty/oink@v1.3.0Classic theme consumers should update their themes/oink submodule or source copy to this tag. Retain params.ui.preset: paper and the explicit preset_menu: [paper, slate, ink, terminal] policy for maintained sites.
中文
OINK 1.3.0 新增 Expo 图片相册,并修复真实站点中发现的导航、Landing、RSS 与打印输出问题。聚合打印现在完整包含发布正文、短代码内标题与章节锚点,正确处理编码片段和相对链接。升级工具补齐传统主题目录盘点、正式版本校验及四种样式菜单检查。
最低版本及统一开发、CI 基线为 Hugo Extended 0.166.0;模块声明 Go 1.27.0。普通站点不需要 Node.js 或可选的 OINK CLI。