About

This site is built with a custom static site generator written in Python. The generator provides full access to the entire site’s context at build time, allowing for powerful templating and cross-referencing between pages.

Features

The generator supports:

  • Markdown processing with GitHub Flavored Markdown extensions
  • Frontmatter for metadata
  • Syntax highlighting using Pygments
  • Smart quotes and typography improvements
  • Jinja2 templates with full site context
  • Live reload during development

Code Example

Here’s a Python example with syntax highlighting:

def hello_world():
    print("Hello, World!")
    return 42

And some JavaScript:

const greeting = (name) => {
    console.log(`Hello, ${name}!`);
};

Philosophy

This generator follows the principle of simplicity — the entire build process is contained in less than 5 Python files, making it easy to understand and modify.