Releases: LebCit/blog-doc
v2.5.3
v2.5.2
v2.5.1
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
New Features
- An Icons gallery was added! Works exactly the same way as the Images gallery.
- A publish option was added, allowing to save pages and posts as drafts.
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
.
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
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!
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.
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
v2.3.0
The modules highlight.js and marked-highlight have been removed.
Blog-Doc uses now only 5 modules !
The following updates were made: