No database. No server. Just files.
| Feature | Hugo | Jekyll | Next.js |
|---|---|---|---|
| Build Speed | ⚡ ~1ms/page | ~100ms/page | ~50ms/page |
| Language | Go | Ruby | JavaScript |
| Templates | Go HTML | Liquid | React |
| Learning | Moderate | Easy | Complex |
// Basic Hugo project structure
mysite/
├── config.yaml // Site configuration
├── content/ // Your Markdown content
├── layouts/ // HTML templates
├── static/ // Images, CSS, JS
└── themes/ // Reusable themes
---
title: "My Blog Post"
date: 2025-01-01
tags: ["hugo", "tutorial"]
---
Your content goes here in **Markdown**.
{{ range .Pages }}
<article>
<h2>{{ .Title }}</h2>
<p>{{ .Summary }}</p>
<a href="{{ .Permalink }}">Read more</a>
</article>
{{ end }}
Hugo builds thousands of pages in seconds:
📄 10 pages → 50ms 📄 1,000 pages → 500ms 📄 10,000 pages → 5 seconds The fastest static site generator!✅ Documentation sites
✅ Blogs and portfolios
✅ Marketing landing pages
✅ Conference websites
✅ Slide presentations!
# Install Hugo
brew install hugo
# Create a new site
hugo new site mysite
# Add content
hugo new posts/hello-world.md
# Start dev server
hugo server -D
Start building faster websites today 🚀
Note: Key takeaways: