Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 09:52
· 78 commits to main since this release
d645dbc

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.md and post.pt.md would otherwise both read as
    English. Ordered by date newest-first regardless of weight. Each post's title is
    the link's accessible name. params.hero.latestPosts sets how many (0 disables),
    per site or per language, and prefers-reduced-motion gets 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's identifier, so one block serves every language — an explicit name wins
    when you want a literal label. Anchors resolve against the current language's home, so
    they keep working from inside a blog post, and pageRef keeps 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.showBlog still overrides, and
    desktop and mobile now render from a single partial so they cannot drift apart.

Changed

  • Blog cards: the ~/blog/….md label follows the reader's language. It came from
    the file on disk, and post.md and post.pt.md collapse to one name, so every
    language showed the English one. It is built from the post title now, sharing
    partials/post-filename.html with the hero listing so the two cannot disagree.
    A long name is ellipsized rather than wrapping into the reading time.
  • Release: scripts/release.py now deletes the release/vX.Y.Z branch from the
    remote once the tag is pushed. It already removed the local copy, so the remote
    one accumulated — one orphan per release, as v0.2.3 left 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