Introduction to Python & Pelican - A Static Site Generator
Posted on Mon 03 February 2025 in Python
🚀 What is Pelican?
Pelican is a static site generator written in Python. Unlike WordPress or Django, Pelican generates HTML pages before deployment, making sites blazing fast.
✅ Why Use Pelican?
- Speed: Since it's static, there’s no backend latency.
- Security: No database means fewer vulnerabilities.
- Markdown Support: Write posts using simple Markdown.
- Hosted on GitHub Pages: Free & easy deployment.
📌 How Pelican Works
Pelican takes your Markdown files (.md
) and converts them into HTML pages using Jinja2 templates.
```sh pelican content