Static site generator
powered by Python

Pelican is a static site generator that requires no database or server-side logic.

a pelican

Features

Pelican has everything you need to build your static site. The builds are fast and it is well laid out.

Write content in reStructuredText or Markdown markup

Chronological content (e.g., articles, blog posts) as well as static pages

Integration with external services

Site themes (created using Jinja2 templates)

Publication of articles in multiple languages

Generation of Atom and RSS feeds

Code syntax highlighting via Pygments

Import existing content from WordPress, Dotclear, or RSS feeds

Fast rebuild times due to content caching and selective output writing

Extensible via a rich plugin ecosystem: Pelican Plugins

another pelican

Quickstart

Reading through all the documentation is highly recommended, but for the truly impatient, following are some quick steps to get started.

1

Installation

Install Pelican and Markdown.

python -m pip install "pelican[markdown]"
2

Create a project

Create a folder for your site and create a skeleton project inside of it.

mkdir -p ~/projects/yoursite
cd ~/projects/yoursite
pelican-quickstart

When asked for your URL prefix, enter your domain name as indicated (e.g., https://example.com).

3

Create an article

Create your first article with the following content in ~/projects/yoursite/content/keyboard-review.md:

Title: My First Review
Date: 2010-12-03 10:20
Category: Review

Following is a review of my favorite mechanical keyboard.
4

Preview your site

pelican -r -l

Preview your site by navigating to http://localhost:8000/ in your browser.

Support

Following are ways you can support Pelican’s development:

Pelican is supported by…

Thank you! ❤️

another pelican