- Create blog/posts.json for managing blog post metadata - Add blog preview box (max 1/3 screen width) to homepage - Fetch latest post dynamically with image and excerpt - Updates automatically when new posts added to JSON - Styled to fit no-scroll homepage layout - Link to full blog page for each post
11 lines
314 B
JSON
11 lines
314 B
JSON
[
|
|
{
|
|
"id": "01",
|
|
"title": "First Blog Post",
|
|
"date": "2026-02-28",
|
|
"excerpt": "This is the first blog post excerpt. Add your own blog entries by updating this JSON file with a title, date, image path, and excerpt.",
|
|
"image": "./src/img/CannotConnect.JPEG",
|
|
"slug": "first-blog-post"
|
|
}
|
|
]
|