My First Post
Table of Contents
This is my first blog post, written in Markdown and generated with Hugo.
Why Hugo?
Hugo is a fast, flexible static site generator. It lets me write in plain Markdown and produces static HTML that can be hosted anywhere — including AWS S3.
How It Works
- Write content in Markdown (
content/en/posts/*.md) - Run
hugo --minifyto build - Deploy to Netlify
- Done!
Example Code
Here is a Python snippet:
def hello():
print("Hello from my Hugo blog!")
for i in range(10):
print(f" Post {i + 1} live")
And a Bash example:
# Build and deploy
cd /workspace/hugo-blog
hugo --minify
# Push to deploy
git push origin main
That’s it. No database, no backend, just static files.