Skip to main content

a minimalistic static content generator

Project description

# monopati

A minimalistic static content generator.

You can read the [relevant post](https://www.roussos.cc/2016/01/11/monopati/) on why I started building this. Monopati is inspired by other great minimalistic content generators, like [bucket3](https://github.com/vrypan/bucket3/) and [habu](https://github.com/botherder/habu).

[![license](https://img.shields.io/badge/license-AGPL%203.0-6672D8.svg)](LICENSE)

## Usage

Install from pypi:

` sudo pip install monopati `

On first run create the website folder:

` monopati --path=mywebsite init `

This will create a folder named mywebsite. Inside that folder there is a configuration example file that you should copy and edit to meet your needs.

` cd mywebsite cp config.yml.dist config.yml `

Finally, build your website:

` monopati render `

This will generate all necessary files for serving the website, under the folder you picked as output in your configuration file.

### Structure

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

Use templates for adjusting UI to fit your needs. [Jinja2](http://jinja.pocoo.org/) template engine is being used for both templates and pages. [Markdown](https://en.wikipedia.org/wiki/Markdown) for blog posts.

### 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.

## Support

[![Liberapay receiving](https://img.shields.io/liberapay/receives/comzeradd)](https://liberapay.com/comzeradd/donate)

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

monopati-0.3.2.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

monopati-0.3.2-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file monopati-0.3.2.tar.gz.

File metadata

  • Download URL: monopati-0.3.2.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for monopati-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b053decae10d814ac1d0116a7610ae735b370bb387006a00934fb862c1c89ad4
MD5 f1fdced57e3d53b8d3bbdd9bb8d77d18
BLAKE2b-256 6693d8f22794b5ba2aeeee2f2c6bb7fa2cb0b9841d21998ee7a111a28cbc89d2

See more details on using hashes here.

File details

Details for the file monopati-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: monopati-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for monopati-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b12d3ac41205b214841a0a9cdc6ecc483558ad3be36f5c5b3843f8fe970f888
MD5 94e3a9a66e720ff2093fa47a102099e4
BLAKE2b-256 52e34640ee31c2201e393451e1c7fbf87282be06dc801a9a90af91cf9dd297ff

See more details on using hashes here.

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