Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

simple blog generator

Project description

PyPI version Build Status

blogtopoid

This is pre-alpha. Most things don’t work yet.

blogtopoid is a blog generator - it takes a bunch of posts, renders them to HTML and saves them to a web directory.

Structure

Work flow:

  • take all documents from pagesdir, render them and save them to outputdir/.
  • take all posts from inputdir, render and save to outputdir/YYYY/mm/dd/. post filename must be “YYYYMMDD post title.ext”.
  • generate index.html linking all posts.
  • generate rss feed including all posts.
  • generate listing pages for all used tags.
  • pack and copy style files from style/ to outputdir/style/.

Post formats

Currently posts and pages can either be markdown2 or reStructuredText.

In posts and pages {{blogurl}} gets replaced with blogurl from config, in style files {{styleurl}} with blogurl/style.

Usage

  • pip install –pre blogtopoid
  • run blogtopoid –quickstart
  • run blogtopoid
  • see post-receive.example for automatically deploying from git commits.

TODO

  • implement –post
  • TEST!
  • make a shipable default template
  • paginate index (not relevant with current index)
  • check hashes

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 blogtopoid, version 0.0.2-alpha
Filename, size File type Python version Upload date Hashes
Filename, size blogtopoid-0.0.2-alpha.tar.gz (28.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page