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. pygments and asciimathml for colored code listings respectively MathML. Typography needs smartypants. To get a full-featured installation do:

pip install docutils pygments asciimathml smartypants

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

Filters

See docs/filters.rst for detailed information. Currently supported by acrylamid:

  • 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

  • pass-through: don’t render with Markdown or reStructuredText

Views

  • articles: articles overview

  • entry: renders single entry to given slug

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

  • feeds: valid atom/rss feed

  • tags: sort by tag with pagination (/:tag and /:tag/:num)

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.11.tar.gz (99.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for acrylamid-0.1.11.tar.gz
Algorithm Hash digest
SHA256 b6bf17953358af75d95489ea172d00a6ae87c66bbbab3e24c1ddf97c1891b416
MD5 40d86eb0a6403cec6598d0066a583c28
BLAKE2b-256 8cce2c34042e983a9ef9e005e65f7e571ad0c0d38f8d0a2990792710a424a59a

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