Insert the following JSON structure into articles.json
:
{
"id": "identification number",
"title": "Title of the Article",
"category": "Article's Label",
"image": "ImageOfArticle.jpg",
"date": "Feb 9, 2025",
"description": "Short description of the article"
}
Each article should be added with the following structure:
{
"meta": {
// Article metadata (same or similar to what's in articles.json)
},
"data": {
// Full article content goes here
}
}
-
Add the new article (as described above).
-
Install GitHub Pages deployment tool:
ng add angular-cli-ghpages
-
Deploy the blog to GitHub Pages:
ng deploy --base-href=/Personal-Blog/