v2.1.0
Bug fixes and major enhancements (new features backported from my personal blog https://christham.net which uses this starter)
Bug fixes
- Some links in dev used to point to prod - now fixed.
- Paginate control links sometimes contained extra slashes - fixed.
Enhancements
- Next/Prev links at bottom of each blog post/documentation page.
- Updated packages (including new leaflet and photoswipe, and running on latest version of Astro).
- Photo Gallery support in Markdown pages (see sample markdown gallery blog post and instructions in "How to Use" post).
- Multiple images to be displayed at front of blog post using
images
frontmatter (array of relative image filenames). - Improved pagination control
- Improved "How to Use" blog post to add extra documentation to cover new features.
- Dates are now displayed by default in locale format (short form in the blog cards, long form in blog post)
Issues
- photo gallery lightbox does not work if
base
configuration property is specified inastro.config.mjs
(eg. the demo site). Unfortunately this is a bug in current version of Astro (it does not respect base in hoisted scripts, so the PhotoSwipe assets are not loaded properly). Will issue another release once the problem is addressed in Astro. - leaflet is loaded using CDN rather than a package (unfortunately no easy way to get around this as leaflet.css includes additional sprites which do not get loaded properly using using Astro to load from package).
- yarn dev is really slow (I think this is a problem in Astro but if you believe otherwise let me know).