Tags: pgsty/oink
Tags
Oink v0.1.0 First release after a full review of the theme inherited from Docsy. Correctness - Syntax highlighting works at all. The Chroma palettes the theme ships were never imported, and Hugo's default inlined a fixed palette, so light pages carried a black Monokai block identical in both color modes. A codeblock render hook forces class-based output, since Hugo ignores `markup` set by a theme. - The page-title dropdown and the TOC rail no longer build GitHub URLs independently; the rail is the single surface, and a page title containing &, # or + no longer breaks the issue link. - The iframe shortcode no longer throws on every cross-origin embed. - A default featured image can be set per section, with a theme placeholder as the fallback. Layout - The table of contents, the page actions and the taxonomies follow the reader below 1200px instead of disappearing with the rail. - Footer columns, hero height, blog rows and the mobile menu were reworked against measurements rather than impressions. Accessibility - Zero axe violations across both test sites, at seven widths, in two languages. Landmarks are named, heading order is repaired, and the mobile drawer traps focus the way the search dialog already did. Housekeeping - ~2,100 lines of unreachable Docsy-era code removed, with the reachability criterion corrected to include what a consuming site imports. - The example site builds from a clone. Requires Hugo 0.160.1 extended or newer.