Blog-Doc

Blog-Doc

lebcit

204 Users

The Simplest Node.js CMS & SSG!

A tiny flame in the darkness of error...

Documentation and preview

Kindly consult the comprehensive documentation for up-to-date information on Blog-Doc's functionalities.
If you want to have a quick look at Blog-Doc front-end and administration, head over Blog-Doc's preview where you'll also find useful information about Blog-Doc features.

Blazing fast and simple 🚀

  • A zero code configuration static site generator.
  • Ready to use as a Node.js CMS.
  • Without any unnecessary functionalities, loads in a blink of an eye.
  • Easy to install and use.

Design 🎨

  • Responsive, elegant and simple layout.
  • Ready to use template for blog and/or documentation.
  • Easy to modify if you opt for another design.

Features âš¡

  • Administrate your app from the front-end!
  • Themes to change the look and feel of your site!
  • Gallery to upload your images
  • Create, Read, Update & Delete your pages and posts
  • Paginated blog with chosen number of posts per page
  • Posts pagination to navigate between your posts
  • Write your content in Markdown
  • Ability to use HTML in Markdown
  • Tag(s) for posts
  • Featured image for posts and pages
  • Archive route for posts
  • Tags list route
  • Individual route for each tag
  • Titles & Meta Descriptions
  • Drag and drop your menu links to sort them
  • RSS feed
  • Sitemap
  • Search
  • Code highlighting with highlight.js
  • Ids for H2 till H4 in Markdown
  • No need for hot reloading in development mode (INFO FOR DEVELOPERS)

What's new?

New Feature

  • Add an enhanced version of velocy in a separated file called router.js in the functions folder.
  • Add a working 404 and 500 routes directly in the entry file, index.js.

Details

The previous versions of Blog-Doc for space showed a route not found message when the user was landing on a page that does not exists. Now, a 404 page is correctly displayed whenever a user visits a route that does not exists. A 500 error page was also added in case of an internal server error.

Changes

  • Add enhanced version of velocy as router.js file
  • Remove velocy from dependencies
  • Update dotenv to its latest version
  • Use enhanced version of velocy from router.js file
  • Import settings into entry file
  • Load eta in entry file
  • Define the 404 route using notFound method
  • Define the 500 route using the onError method
  • Delete errorRoute.js file