Skip to main content

The most minimal blog engine you've never heard of

Project description

_I wrote about [my reasoning](

## Start your blog

1. Fork [unn-skeleton](
2. Clone your new repository to your computer (optionally, run `mkvirtualenv myblog`)
3. Run `pip install -r requirements.txt`
4. Edit to set up your deployment settings (default is S3)
5. Think of something good to write (this step is harder than the others)

## Use it day-to-day

`unn idea my-idea` to start a new draft. Use markdown for formatting.
`unn publish my-idea` to converta draft to a post.
`unn build` to build your site's pages.
`unn local` to serve it locally.
`unn deploy` to push it live. (this will build first, as a convenience)

## Customize it
Check the `_template` folder for the basic file structure. `unn` uses Jinja2 for templating.

The `index.html` template gets the following context:
"posts": [{
"Slug": ""
... all headers included in this post ...
}, ...]

The `single.html` template gets the following context:
"post_html": "<p>The rendered HTML of the post</p>",
... all headers included in this post ...

`base.html` defines the box that `index.html` and `single.html` live inside (ie. header/footer).
`error.html` is a generic error display page.

Project details

Download files

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

Files for unn, version 0.0.14
Filename, size File type Python version Upload date Hashes
Filename, size unn-0.0.14.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page