Changes for version 0.03 - 2023-11-02
- FEATURES
- New route to render static assets in article's directory (eg: /blog/some-article/featured.jpg).
- New method <render_client_error> to properly render 404 in Liteblog's look and feel.
- If 'navigation' is set, on mobile displays, a hamburger menu is displayed. When the user clicks on it, the navigation items are displayed as a popup menu.
- Widgets now log what they do in Dancer2's logging system.
- (CSS) Blog post header has a nice styling even when no feature image is set.
- (CSS) Activities cards are now fixed to a maximum of 3 cards per row, with a maximum width of 320px and minimum width of 280px;
- (CSS) Use CSS variables for common colors in liteblog.css to ease theming changes.
- SCAFFOLDER
- The provided article is a little documentation about the 'Blog' widget, with guidelines on how to edit the article.
- FIXES
- (CSS) Images adapt their width to small screens.
- All routes for articles, pages, categories are now forced to their trailing slash version (/some/article/). Requests to the version without a trailing / are redirected. Needed to allow images loeaded locally from article locations.
- (CSS) Activities Cards sizes are now stable to 280px. Responsiveness is good now.
- (CSS) blog-cards sizes are now stable (420px max). Responsiveness is good now.
- Fix article->image accessor to return proper permalinks if the meta value of the 'image' parameter is relative.
- It's now possible to mount the Blog widget to the root of the site (/). This was causing many bugs in permalinks generation. Fixed now.
Modules
A minimalist, file-based blog engine for Dancer2.
Activities widget for LiteBlog
Represents a single article or page in LiteBlog.
Blog widget for Liteblog.
Base class for LiteBlog widgets
Provides
in lib/Dancer2/Plugin/LiteBlog/Scaffolder.pm
in lib/Dancer2/Plugin/LiteBlog/Scaffolder/Data.pm