v0.3.0
Added
- Hero: the terminal lists the newest posts as a fourth command,
ls ~/blog --latest,
with each filename linking to its post. The home page gave no sign a blog existed
unless you read the nav; this surfaces it without adding a section or touching the
order of the existing ones. It appears on its own once a language has posts, and
the names are built from post titles so they follow the reader's language rather
than the file on disk —post.mdandpost.pt.mdwould otherwise both read as
English. Ordered by date newest-first regardless ofweight. Each post's title is
the link's accessible name.params.hero.latestPostssets how many (0disables),
per site or per language, andprefers-reduced-motiongets the links immediately. - Nav: the menu order is configurable through Hugo's native
[[menu.main]], sorted by
weight, instead of being hardcoded in the partial. Labels are translated from each
entry'sidentifier, so one block serves every language — an explicitnamewins
when you want a literal label. Anchors resolve against the current language's home, so
they keep working from inside a blog post, andpageRefkeeps internal links on the
right language. Sites without[[menu.main]]render exactly as before: the default
order is the fallback, and the minified output is byte-identical. The blog entry stays
conditional on the language having posts,params.navbar.showBlogstill overrides, and
desktop and mobile now render from a single partial so they cannot drift apart.
Changed
- Blog cards: the
~/blog/….mdlabel follows the reader's language. It came from
the file on disk, andpost.mdandpost.pt.mdcollapse to one name, so every
language showed the English one. It is built from the post title now, sharing
partials/post-filename.htmlwith the hero listing so the two cannot disagree.
A long name is ellipsized rather than wrapping into the reading time. - Release:
scripts/release.pynow deletes therelease/vX.Y.Zbranch from the
remote once the tag is pushed. It already removed the local copy, so the remote
one accumulated — one orphan per release, asv0.2.3left behind. The cleanup
runs after the release is complete and only reports if it fails, since a
leftover branch is litter rather than a broken release.
Full changelog: v0.2.3...v0.3.0