Archive

A list of all the posts

The New Blog-Doc

A tiny flame in the darkness of error

In the vast landscape of Node.js apps, Blog-Doc shines as a tiny flame in the darkness of error. It is a remarkable and unique combination of a Content Management System (CMS)...

Read the post


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


The pagination component

Navigating between blog's pages

One of the functionalities that we have seen in [The Main Route](/posts/the-main-route) is how the blog gets paginated under the hood. In this post, we will talk about the paginati...

Read the post


The Main Route

The blog behind the curtains

The` mainRoute.js` file, under the **routes** folder, is where all the functionalities of the blog are defined. It collects, paginates and displays, all the Markdown files in the *...

Read the post


Archive and tags

Archive and tags pages

The archive and tags pages are very similar to the blog as mentioned before, except that they have no pagination. The archive is a reversed chronological list of all the posts in t...

Read the post


The blog

How the blog works ?

This post is an introduction to the blog design and functionalities. We'll explore how things are related and how they work together. We'll understand what's mandatory for the bl...

Read the post


What is Blog-Doc ?

A brief introduction to Blog-Doc.

Blog-Doc is **The Simplest Node.js CMS & SSG**. The CMS (Content Management System) allows the user to CRUD (Create, Read, Update, Delete) and control every aspect of the applicati...

Read the post


  • 2022/08/26

No description or tags

This post is for testing the output of an article that doesn't have a description or even a tag. Everything seems to be okay since the display of the tags and their respective nu...

Read the post


Excerpt length

Testing the excerpt of posts

In this post, I'm just trying to type some random text to see if the excerpt length will stop when I reach 180 characters. I also want to see how it looks like when the post is r...

Read the post


My first article

This is the description of my first article

This is the content of my first article ...

Read the post