How to Add New Blogs
How to Add a New Blog Post
Adding a new blog post to Future As Sama is simple. Just follow these steps:
1. Create a Markdown File
Navigate to the
text
content/blogstext
.mdExample:
text
my-new-post.mdtext
/blogs/my-new-post2. Add Frontmatter
At the top of your file, add the metadata (frontmatter) between three dashes
text
---yaml
---
title: "My New Post Title"
date: "2024-12-22"
image: "/images/my-post-image.jpg" # Optional
tags: ["Tech", "Space", "AI"]
excerpt: "A short summary of your post."
---
3. Write Your Content
Write your blog post using standard Markdown. You can use:
- Headers (,text
#,text##)text### - Lists (,text
-)text1. - Bold and Italic text
- Links and Images
- Code blocks
Code Block Example
javascript
console.log("Hello, Future As Sama!");
4. Push to GitHub
Once you've created the file:
- Commit your changes: text
git commit -m "Add new blog post" - Push to GitHub: text
git push
The site will automatically update with your new post (if deployed on Vercel/Netlify).
Enjoy blogging!