tomleo / blog

Static website generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Static website generator

License:GNU General Public License v3.0


Languages

Language:Python 96.9%Language:HTML 1.6%Language:Makefile 1.5%