-
released this
2025-04-13 13:07:46 +02:00 | 84 commits to main since this releaseKey Highlights in 0.10.0
Enhanced Configuration
I've added several new variables to
config.shto give you more control over your site's behavior:RSS_ITEM_LIMIT: Customize the number of posts included in your RSS feed (defaults to 15).SHOW_TIMEZONE: Choose whether to display timezone offsets alongside dates throughout your site (defaults tofalse).REBUILD_AFTER_POST&REBUILD_AFTER_EDIT: Decide if the site should automatically rebuild after creating or editing posts using the./bssg.sh postand./bssg.sh editcommands (defaults totrue).
Improved Post Management
lastmodFrontmatter: You can now add an optionallastmodfield to your post's frontmatter. This allows you to specify a modification date separate from the original publishdate. This modification date will be used in yoursitemap.xmland RSS feed (<atom:updated>). If thelastmoddate differs from thedate, an "Updated on" notice will also appear on the post page itself.
User Experience Touches
- "Back to Top" Link: A localized "Back to Top" link has been added to the footer for easier navigation on long pages.
- Minimal Theme Enhancements: The included
minimaltheme has received visual tweaks and improvements for a cleaner look. - Editor Fallback Easter Egg: If the
EDITORenvironment variable isn't set andnanoisn't available, BSSG will now fall back to usingvi. As a small helper, ifviis used as the fallback, thepostandeditscripts will provide instructions on how to save and exitvi.
Internal Refinements
- Build Process Refactoring: The internal build logic has been reorganized from a single script (
scripts/build.sh) into multiple focused scripts within thescripts/build/directory. While this is an internal change aimed at improving efficiency and output quality, it represents a significant shift in the build process structure. Don't worry, the user-facing command./bssg.sh buildremains exactly the same!
Important Update Notes
While the main
./bssg.sh buildcommand functions as before, the internal refactoring mentioned above is a significant change. If you have custom scripts that interacted with the oldscripts/build.sh(like potentiallygenerate_theme_previews.shif customized) or have heavily modified theme templates (like the footer), please review them carefully after updating to ensure they still work as expected with the new build structure in thescripts/build/directory.To ensure a smooth transition and avoid potential issues from leftover files, I strongly recommend performing a clean rebuild after updating:
./bssg.sh build --clean-output --force-rebuildDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
5 downloads