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 details)

Uploaded Source

File details

Details for the file acrylamid-0.1.10.tar.gz.

File metadata

  • Download URL: acrylamid-0.1.10.tar.gz
  • Upload date:
  • Size: 100.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for acrylamid-0.1.10.tar.gz
Algorithm Hash digest
SHA256 13041e6f6ddad8e02ba9a5b5faaf7b40b5d200637a6e7fc5dfbcbe977828f8e0
MD5 6a62039132eb5f57aa9ae30f785c23a2
BLAKE2b-256 88fe084c188c15795f2c093d7654f597d9e3c9c02ab11b8874960ada97582831

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