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?

  1. Speed: Since it's static, there’s no backend latency.
  2. Security: No database means fewer vulnerabilities.
  3. Markdown Support: Write posts using simple Markdown.
  4. 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