A NodeJS application to build our static website.
After installing NodeJS, use the following command inside this folder:
npm install
# Starts watching for changes and serving the website.
npm run serve
# You can now view the site @ localhost:8080
npm run build
Go to src/blog/
-directory. Create a Markdown (.md) file and write an article!
These are the settings for that particular article. You define things like article title and description here. You add them at the start of the document like so:
---
title: Title of the article
description: Description of the article
date: 2021-06-12 (Date published in ISO 8601 format, ie. YYYY-MM-DD)
image: /assets/bg002.jpg (Thumbnail image path)
---
This is the contents of the article.