Blog-Doc

The simplest Node.js CMS and SSG!

Templates

Using EJS for specific pages

You may ask yourself the reason for a third option of files since we already can create posts and pages in Markdown. Well the reason is that a template can do much more than a Mark...

Read the post


Posts and Pages

Writing with Markdown

This post intends to show you how to format a Markdown file to write a post or a page.<br /> The bellow instructions are applicable if you want to create a post or a page by your...

Read the post


The Markdown route

Rendering posts and pages

Under the routes folder lives the `markdownRoute.js` file, it's the most important file of the app, the heart and soul of [Blog-Doc](/posts/what-is-blog-doc). This file looks at tw...

Read the post