Why Templates Are a Game Changer
Using template engine for specific pages
You might be wondering why we need a third type of file when we already have Markdown files for creating posts and pages. The magic of templates lies in their extended capabilities...
Posts and Pages
Writing with Markdown
Creating posts and pages manually in Blog-Doc is a breeze! Please keep in mind that creating posts and pages from the administration interface is much easier and safer...
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...
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...