Releases: pszypowicz/hugo-theme-pager
Releases · pszypowicz/hugo-theme-pager
Release list
v0.2.2 - self-host JS lint + typecheck
Added
- Self-hosted ESLint and
tsc --checkJsforassets/js/. The theme
shipspackage.json(eslint + typescript devDeps,lint/
typecheckscripts) andeslint.config.mjs, andci.ymlgains a
lintjob. Consumers on Hugo Modules (where the theme's JS source
is not in the consumer tree) no longer need to re-host this tooling.
v0.2.1 - README honesty and no-rounded-cards cleanup
Changed
- README and
theme.tomldescribe the theme accurately: system
monospace for chrome + headings + code, humanist sans for body.
Drops the "monospace-first" framing that never matched the CSS. - README install section adds Hugo Modules as the recommended path,
and the "zero JavaScript" bullet reflects that the production build
ships a one-line inline preload-swap handler. - Dropped the no-op
"ss01" 1font-feature-setting on headings -
a Cascadia stylistic set that has been dead since v0.2.0 removed
the font.
Fixed
kbdelements and the dev debug overlay pills no longer have
rounded corners, honoring the "no rounded cards" rule in the README.
Removed
- Cascadia-Code credit in the README and a stale "Cascadia swaps in
later" reference inexampleSite/content/post/hello-world.md, both
left over after v0.2.0 dropped the font.
v0.2.0 - drop Cascadia, real iPad layout fix, dev debug overlay
Changed
--mono-stackfalls through toui-monospace/SFMono-Regular
instead of pulling in Cascadia Code. Thefont-display: optional
swap that drove the iPad Safari layout shift (fresh visit computed
against the fallback, second visit against the cached webfont) no
longer exists because there is no webfont.- Real grid fix for the "main column shifts right on long code lines
or wide TOC titles" iPad bug:
grid-template-columns: var(--col-aside) minmax(0, 1fr),
.main { overflow-x: hidden },pre/.highlight { min-width: 0 }.
Together these stop descendant min-content from inflating the main
track. - Inline
<code>drops the bottom border (previously read as a link)
and gains muted backtick pseudo-elements. Matches the terminal
voice and mirrors the Markdown source.
Added
- Dev-only debug overlay at
layouts/_partials/debug.html. Renders
two pills whenhugo.IsServerorCF_PAGES_BRANCH != "main":
a viewport / page-box / sidebar-box / main-box / computed grid
template readout with tap-to-copy JSON, and an auto-reload toggle
that polls the current URL every 5 s and reloads only when the
modeline SHA changes. Scripts live inassets/js/overlay.jsand
assets/js/autoreload.js, minified and fingerprinted via
js.Build. Production onmainships zero bytes of this. jsconfig.jsonenables strictcheckJsacrossassets/js/**..github/workflows/ci.ymlbuildsexampleSite/on every PR as a
lightweight sanity gate; actions/checkout pinned to v5.0.1 by SHA.exampleSite/hugo.tomlallowlistsCF_PAGES_*andCOMMIT_SHAin
security.funcs.getenvso the modeline footer'sos.Getenvcall
clears Hugo's default policy on consumer sites.
Removed
static/fonts/cascadia/*.woff2(normal + italic variable faces),
assets/scss/_fonts.scss, and the@import "fonts"in
rest.scss. No more web fonts shipped.
v0.1.9 - pin sidebar grid track against WebKit min-content inflation
Fixed
- iPad Safari sidebar-track inflation:
grid-template-columns: minmax(0, var(--col-aside)) 1frforces the
sidebar track's minimum to zero so no descendant can widen it, and
min-width: 0on.sidebar/.sidebar-botbreaks the flex chain
so monospace min-content from TOC<pre>content cannot bubble up
to the grid.
v0.1.8 - pin sidebar track, frame inline code with ticks, link modeline SHA
Changed
- Inline
<code>loses theborder-bottomthat read as a link and
gainscontentprefix / suffix in--ink-3. - Modeline optionally links the build SHA to a GitHub tree URL via
Site.Params.repoURL; falls back to a plain span when unset.
Fixed
min-width: 0on.sidebar-colto stop WebKit from expanding the
fixed grid track when a TOC widget's non-wrapping content reports
a larger min-content.
v0.1.7 - widen sidebar to 22ch so TOC titles stop truncating on tablet
Changed
--col-asidewidened from20chto22chso longer TOC titles
stop truncating on tablet widths.
v0.1.6 - collapse sidebars into single sticky column
Changed
- Primary and secondary sidebars rejoin into a single sticky column.
baseof.htmlwrapssidebar.html+sidebar-bot.htmlin
<div class="sidebar-col">;_layout.scssswitches to a two-
column grid (var(--col-aside) 1fr) and lets the wrapper stay
sticky on desktop.
v0.1.5 - add ai-assisted badge in post meta
Added
- Post meta renders an
ai-assistedbadge when front matter sets
ai_assisted = true. Ember accent, uppercase, small caps-tracking;
title=attribute explains the disclosure.
v0.1.4 - split sidebar for mobile read-order
Changed
- Split sidebar into two partials so mobile readers see articles
before taxonomy. Primary widgets (about, toc) render in
<aside class="sidebar">above<main>; secondary widgets render
in<aside class="sidebar-bot">below it. On desktop, a
grid-template-areaslayout pins both asides to the left column,
preserving the previous visual. - Widgets opt into the secondary block with
position = "bot"in
site config. Anything without apositionstays primary, so the
change is source-compatible for existing sites.
Added
layouts/_partials/sidebar-bot.html. Only emits an<aside>when
the current scope has at least one bot widget.
v0.1.3 - TOC polish
Changed
- Tighter TOC widget: line-height drops from 1.7 to 1.35 for a
proper terminal feel. - Each TOC entry now truncates with an ellipsis when longer than the
sidebar (previously either clipped silently or wrapped and broke
the tree alignment - both inconsistent). - TOC anchors carry a
title=attribute so the full heading text
surfaces on hover for truncated entries.