Skip to main content

yet another static blog generator.

Project description

acrylamid is yet another lightweight static blogging software written in python and designed to get a high quality output. Its licensed under BSD Style, 2 clauses.

Features

Quickstart

pip install acrylamid

You’ll need python, jinja2 and either markdown (default) or docutils. For nicer urls also translitcodec is required. pygments and asciimathml for colored code listings respectively MathML. Full-featured installation do:

pip install docutils translitcodec pygments asciimathml

Get acrylamid and edit conf.yaml and layouts/. Run acrylamid with:

$> acrylamid init myblog
    create  myblog/content/
    ...
$> cd myblog/
$> acrylamid gen
      warn  using mtime from <fileentry f'content/sample entry.txt'>
    create  '/articles/index.html', written to output/articles/index.html
    create  'Die Verwandlung', written to output/2011/die-verwandlung/index.html
    create  '/atom/index.html', written to output/atom/index.html
    create  '/rss/index.html', written to output/rss/index.html
    create  '/', written to output/index.html

Using acrylamid

output/
├── 2011/
│   └── a-meaningful-title/
│       └── index.html
├── articles/
│   └── index.html
├── atom/
│   └── index.html
├── rss/
│   └── index.html
└── index.html

Filters

  • markdown: rendering Markdown (+asciimathml,pygments)

  • rest: reStructuredText (+pygments)

  • typography: https://code.google.com/p/typogrify/ (and custom modifications)

  • summarize: summarizes posts to 200 words

  • hyphenation: hyphenate words (len > 10) based on language

  • head_offset: decrease headings by offset

Views

  • articles: articles overview

  • entry: renders single entry to given slug

  • index: creates pagination / and /page/:num

  • feeds: valid atom/rss feed

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

acrylamid-0.1.10.tar.gz (100.0 kB view hashes)

Uploaded Source

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