Blog-Doc

The simplest Node.js CMS and SSG!

The Markdown route

Rendering posts and pages

In the default folder within the routes directory, you'll find the markdownRoute.js file—this is essentially the heart and soul of Blog-Doc. It...

Read the post


The pagination component

Navigating between blog's pages

In this post, we’ll dive into the pagination component of the blog and how it appears on the front end.

The pagination component is managed by a file called pagination.html, w...

Read the post


The Main Route

The blog behind the curtains

The mainRoute.js file, found in the default folder within the routes directory, is where all the magic happens for the blog. It takes care of gathering, organizing, and s...

Read the post