Skip to main content

A static website generator

Project description

Blog

This is a simple static site generator. It traverses through a source directory of markdown files and creates a destination directory with equivalent HTML files.

Markdown In -> HTML Out

PyPI PyPI


Installation

$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install blog

Usage

(venv) $ python -m blog build /path/to/source-dir /path/to/build-dir

Simple by design

  • Nothing smart is done around friendly URLs / generating folders with index.html files
    • If you want an index.html file, create an index.md file in your source directory
  • There is no database
  • There is no configuration (for now)

Need something more complex?

  • Consider using Hugo, Gatsby, Django, writing your own server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blog-1.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

blog-1.0.1-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page