Starlight Blog Changelog
0.22.0
Minor Changes
-
#144
93a5d70Thanks @HiDeoo! - Adds support for defining excerpts using excerpt delimiters in blog posts. Any content above an excerpt delimiter will be used as the excerpt of a blog post.To learn more about excerpts, check the new “Excerpts” guide.
0.21.0
Minor Changes
-
#139
6ed1559Thanks @HiDeoo! - Displays cover images for blog posts in pages that list blog posts such as the blog index page. -
#139
6ed1559Thanks @HiDeoo! - Adds a newnavigationoption to the blog configuration to control the type of navigation links to the blog to display on a page.The current behavior (
header-end) to add a link to the blog before the theme switcher in the header on large viewports and a link to the mobile menu sidebar for non-blog pages on smaller viewports remains unchanged. Two new behaviors are now available:header-start— Adds a link to the blog after the site title or logo in the header on large viewports. On smaller viewports, a link to the blog is added to the mobile menu sidebar for non-blog pages.none— Does not add any links to the blog and it is up to the user to add links to the blog wherever they want.
Patch Changes
-
#139
6ed1559Thanks @HiDeoo! - Fixes an inconsistency in blog post ordering for posts with the same date.Blog posts are now consistently ordered by their
datein descending order, and then by theirtitlein ascending order if the dates are identical.
0.20.0
Minor Changes
-
#131
32d0fddThanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version0.33.0.Please use the
@astrojs/upgradecommand to upgrade your project:Terminal window npx @astrojs/upgrade
0.19.0
Minor Changes
-
#128
047cc90Thanks @HiDeoo! - Exposes the cover image and Astro content collection entry of blog posts in the blog data object accessible on Starlight pages.See the “Blog Data” guide for more information.
0.18.0
Minor Changes
- #122
75dee60Thanks @HiDeoo! - Respects Starlight convention to generate URLs with a trailing slash when using thetrailingSlash: 'ignore'Astro configuration option (the default) as many common hosting providers redirect to URLs with a trailing slash by default.
0.17.3
Patch Changes
- #120
24172dbThanks @HiDeoo! - Fixes a potential build issue for blogs with more than 20 posts also generating an RSS feed.
0.17.2
Patch Changes
- #115
90da130Thanks @HiDeoo! - Improves build performance for large sites by adding a caching layer to blog entries and data.
0.17.1
Patch Changes
0.17.0
Minor Changes
-
#111
144e6b2Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version0.32.0.Please use the
@astrojs/upgradecommand to upgrade your project:Terminal window npx @astrojs/upgrade -
#111
144e6b2Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The Starlight Blog plugin no longer overrides the<Sidebar>component. If you were manually renderingstarlight-blog/overrides/Sidebar.astroin a custom override, you can now remove it. -
#111
144e6b2Thanks @HiDeoo! - Adds a blog data object accessible on Starlight pages usingAstro.locals.starlightBlogcontaining information about all the blog posts in your project. This can be useful for example to create a widget that lists recent blog posts on your homepage.See the “Blog Data” guide for more information.
-
#111
144e6b2Thanks @HiDeoo! - Fixes a regression introduced in version0.16.0of the plugin where the generated RSS feed no longer included content of blog posts due to a bug in Astro.