Skip to content

Tuesday, March 10

Git Commits

days commits 7 ohnsh/days
  • 10:52 pm — John Sherrell <dev@ohn.sh>

    Clean up old pagination hack.

  • 9:50 pm — John Sherrell <dev@ohn.sh>

    Tweak <YouTube> styles. Copilot pulled out a pretty sweet custom Vite plugin that wraps the component's own CSS in a @layer so it can be overridden with no fuss.

  • 1:17 pm — John Sherrell <dev@ohn.sh>

    Add README.

  • 11:57 am — John Sherrell <dev@ohn.sh>

    Added 3/9 video, minor edits.

  • 2:55 am — John Sherrell <dev@ohn.sh>

    Day updates.

  • 2:28 am — John Sherrell <dev@ohn.sh>

    Refactor route middleware. Pagination now handled there so no need to override the Pagination component. Remove TOC from latest stream.

  • 12:51 am — John Sherrell <dev@ohn.sh>

    Index is now a paginated non-Starlight route with a hero on page 1. Getting rid of content/docs/index.mdx makes sense because it was an outlier in the content collection and because the index really needs to display a stream of recent posts. Astro's built-in pagination is a much better solution for such a stream. Date utils are finally in good shape. Moving away from Starlight-centric approach. Parsing dates directly from slugs rather than relying on route context set by Starlight middleware.

YouTube