a minimalistic static content generator
Python HTML CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pages Fix templates title Jan 11, 2016
posts
static
tag
templates
.editorconfig
.gitignore Package monopati Sep 2, 2016
LICENSE
MANIFEST.in
README.md
config.yml-dist
favicon.ico
monopati.py Exclude mailto links from url rewriting Jun 6, 2016
requirements.txt
setup.cfg Add setup.cfg Feb 25, 2016
setup.py

README.md

monopati

A minimalistic static content generator.

You can read the relevant post on why. Monopati is inspired by other great minimalistic content generators, like bucket3 and habu.

license

Usage

Clone the repository:

git clone https://github.com/comzeradd/monopati.git

Install dependencies:

pip install -r requirements.txt

Use posts, pages folders for blog and static content respectively.

Use templates for adjusting UI to fit your needs. Jinja2 template engine is being used for both templates and pages. Markdown for blog posts.

Copy configuration example and edit it to fit your site specifics.

cp config.yml-dist config.yml

Run monopati:

./monopati.py

This will generate all necessary files for serving the website. Monopati doesn't create any subfolder for generating the files, so it should be fairly easy to deploy it by just uploading the whole folder.

Example

The code comes with one example post (under the posts) folder. You can check how the metadata header is being user and some basic syntax and how images can be added to a post. Under the pages folder there is a static template example which serves as the landing and about page of your site.