Skip to content

Releases: LebCit/blog-doc

v3.2.0

18 Aug 03:37
Compare
Choose a tag to compare

Blog-Doc Version 3.2.0

New Features

  • RSS & Sitemap Enhancements: Added global routes for generating RSS feeds and sitemaps at build time. Introduced functions to rename RSS and sitemap links and preserve their order in the menu.
  • 404 Page: Added a function to create a custom 404 (Not Found) page at build time.

Improvements

  • Route Management: Updated themes' route aggregators to utilize global not found, RSS, and sitemap routes at build time.
  • Sitemap Functionality: Refactored the sitemap generation function and updated the node app's sitemapRoute to accommodate the new function signature.

Fixes

  • Theme Enhancements: Corrected default theme header to load the featured image if defined.
  • Post Excerpts: Fixed rendering issues with post excerpts in the default theme.

Cleanup

  • Route Optimization: Removed unnecessary RSS and sitemap routes from the build process.

v3.1.0

16 Aug 11:16
Compare
Choose a tag to compare

Blog-Doc v3.1.0

Changes

  • Removed Eta Template Engine: Replaced Eta with STE in various parts of the application, including initialization files, default and clean-blog theme templates, and routes.

Features

  • Enhanced Theme Support:
    • Added Midday theme with templates, stylesheets, and scripts.
    • Added build routes and screenshot for the Midday theme.
  • RSS and Sitemap Improvements:
    • Added global routes for RSS feed and sitemap generation.
    • Added XSL stylesheet for RSS feed rendering.
  • New Functionality:
    • Added transformLinksToObjects function for converting object keys and values into link objects with custom key names.
  • Default Theme Enhancements:
    • Added alternating 'blog-card' classes to post cards.

Improvements

  • Code Refactoring:
    • Simplified image path filtering and mapping.
    • Refactored markdown post-processing for improved readability and maintainability.
  • Theme Routes Update: Updated build routes for clean-blog, default, and midday themes.
  • Route and Template Updates:
    • Updated default and clean-blog themes to use STE instead of Eta.
    • Removed unneeded RSS and sitemap routes and templates.

Fixes

  • Bug Fixes:
    • Removed unnecessary check in file form creation.
    • Ensured theme routes are properly loaded after theme switching in administration.

Miscellaneous

  • Dependencies:
    • Updated adm-zip and marked to their latest versions.
    • Updated Blog-Doc version from 3.0.0 to 3.1.0.
    • Removed node_modules and package-lock.json, then reinstalled dependencies to clean up and apply updates.
  • Package.json: Specified minimum Node.js version 18.

v3.0.0

09 Aug 10:44
Compare
Choose a tag to compare

Blog-Doc v3.0.0

This major update introduces a range of enhancements and refinements to align Blog-Doc with LiteNode's latest features and requirements:

  • Front-Matter & Content Updates: Renamed and updated page and post front-matter snippets to meet LiteNode's parsing requirements. Updated content to reflect new version features.
  • Theme Enhancements: Implemented kebab case formatting for file names in both default and clean-blog themes. Libraries are now loaded from the vendors folder instead of CDN. Updated templates to support the new version's output.
  • Administration Overhaul:
    • Added Simple Markdown Editor (SME) with necessary libraries.
    • Introduced various utility functions for managing tags, files, and images in the admin panel.
    • Redesigned the admin interface, including new styles for the gallery, menu, tables, and modals.
    • Simplified the build process, including a function to trigger ZIP archive downloads.
  • Static Assets Management: Removed outdated and unneeded images, scripts, and SCSS files. Added new images and icons, along with loading enhancements for static assets.
  • Routing & Initialization: Streamlined and updated routing scripts, moving routes to their own directories and defining them with a generic signature. The initialization script now includes streamlined loading of LiteNode.
  • Miscellaneous Improvements: Updated settings, keywords, and author entries in package.json. Added bugs and homepage entries. Enhanced README and documentation to align with the latest changes.

This release significantly optimizes Blog-Doc for performance, maintainability, and future updates.

v2.5.3

19 Apr 22:43
Compare
Choose a tag to compare

Changes

All the modules have been updated to their respective latest version:

  • Update @hono/node-server from 1.8.1 to 1.11.1
  • Update adm-zip from 0.5.10 to 0.5.12
  • Update eta from 3.2.0 to 3.4.0
  • Update hono from 4.0.6 to 4.2.5
  • Update marked from 12.0.0 to 12.0.2

v2.5.2

25 Feb 11:11
Compare
Choose a tag to compare

Changes

Update @hono/node-server from 1.3.1 to 1.8.1
Update hono from 3.10.4 to 4.0.6
Update marked from 11.0.0 to 12.0.0

v2.5.1

26 Dec 21:36
Compare
Choose a tag to compare

New Features

  • Add Improved Build Function

Details

The build function that generates a static site was replaced by a new one.
The new build function is a much more improved version than the previous one.
The new build function architecture is modular which wasn't the case with the old one.
Here are some functionalities of the new build function:

  • Asynchronously ensures that the specified folders exist on the file system
  • Asynchronously removes empty folders recursively
  • Filter the copy of the "static" folder into "_site/static"
  • Provides a cleaner and safer way to write files in asynchronous code

Changes

  • Removed "build.js" file from "functions" folder
  • Added a "build" folder into "functions" folder
  • Added a "helpers" folder into "build" folder → Holds helper functions of build process
  • Added a "routes" folder into "build" folder → Holds the functions to create various pages
  • Added new "build.js" file into "build" folder → New build function
  • Changed the path of "build" script in "package.json"

v2.5.0

25 Dec 08:38
Compare
Choose a tag to compare

New Features

Details

In previous versions, created pages and posts were automatically added to the front-end.
Now it's possible to save pages and posts as drafts for later use.
Unpublished pages and posts can be previewed after submitting modifications.
Unpublished pages and posts can be published at any time by changing the publish option from False to True.

Unpublish a page or a post with Blog-Doc

Announcement

Blog-Doc has now a dedicated site for its documentation!
Please refer to Blog-Doc's comprehensive documentation for up-to-date information on Blog-Doc's functionalities.

Changes

  • Add icons gallery.
  • Update post method to add and remove icons and images.
  • Increase the number of icons/images that can be uploaded at once.
  • Update gallery card link.
  • Update admin menus.
  • Add publish option to allow saving pages and posts as drafts.
  • Update pages and posts snippets for those who prefer to create them manually.
  • Add alert in old documentation referring to new documentation site.
  • Update selected menu item styles in default theme.
  • Reorganize themes static files.

ENJOY 🎉

v2.4.0

03 Dec 14:48
Compare
Choose a tag to compare

This update brings a new feature to Blog-Doc!
Previously, to change the post preview fallback image and the featured image of a page or a post, you had to remember the name of the image and choose it from a select element.
Not anymore! Now, you just have to click on a button that opens a modal from which you can choose your image visually!
You can also use the URL input, located at the top of a gallery's modal, to fetch an image from an external source without including it in a gallery.
That's not all! You can now also change the favicon of your site with the same process!

Blog-Doc administration page showing the icons modal

Blog-Doc administration page showing the images modal

When you create a page or a post or change any image, keep in mind that you have the possibility to select the following icon to display a blank background instead of an image.

No image icon

The following changes were made:

  • Update images exclusion logic
  • Add method to get the icons from their directory
  • Add favicon to settings
  • Add favicon setting into build and routes
  • Add favicon setting to themes' heads
  • Add icons to /admin-config-site route
  • Add favicon modal to change it visually
  • Add postPreviewFallbackImage modal to change it visually
  • Add pageImage modal to change it visually
  • Add postImage modal to change it visually
  • Update routesImages from selects to modal
  • Add function to interact with all modals
  • Update post logic to /admin-config-site
  • Correct the fetch of posts logic for individual tag
  • Prevent content's duplication on create and update
  • Change default port value to avoid collision with the default port of Hono
  • Update port number in documentation
  • Update @hono/node-server from 1.2.0 to 1.3.1
  • Update eta from 3.1.1 to 3.2.0
  • Update hono from 3.7.4 to 3.10.4
  • Update marked from 9.1.0 to 11.0.0

ENJOY!

v2.3.1

05 Oct 03:33
Compare
Choose a tag to compare

The following updates were made:

  • Corrected a typo error
  • Minified Clean Blog Theme CSS
  • Update @hono/node-server from 1.1.1 to 1.2.0
  • Update hono from 3.6.3 to 3.7.4
  • Update marked from 9.0.1 to 9.1.0

v2.3.0

16 Sep 18:27
Compare
Choose a tag to compare

The modules highlight.js and marked-highlight have been removed.
Blog-Doc uses now only 5 modules !

The following updates were made:

  • Remove highlight.js and marked-highlight modules
  • Load and initialize highlight.js module in themes
  • Remove unused styles. Add color to line of code
  • Update aliases for blocks of code in posts
  • Update README.md and documentation
  • Update hono from 3.6.0 to 3.6.3
  • Update marked from 9.0.0 to 9.0.1