Skip to main content

Static blog generator

Project description

Logo

Build Status

What

Pretty small and simplified static blog generator with following features:

  • markdown for content

  • yaml for configuration

  • jinja2 for templating

  • atom for feed

  • aiohttp for development server

  • only two types of content - page and post

  • content metadata lives in configuration file, configuration file can splitted into multiple nested files

  • have sensible defaults for content sources

  • no python coding needed to work with

Why

While pelican is great and is full of features and grow is
another one and looks very interesting in this field and there are a lot more
static site generators I wanted to create something easy to work with.

Hope someday somebody will find this library pretty usefull.

How

Requirements

The only hard dependency is python3.

Installation

$ mkdir blog && cd blog
$ mkdir env && virtualenv -p python3 env && source ./env/bin/activate
$ pip install wt

Bootstrapping

$ wt init .

Configuration

Your blog must have configuration file written in yaml and named
wt.yaml (name can be changed).

Usage

While writing content (ie in development mode):

$ wt develop

This command will start the development server listening at 127.0.0.1:9000.

When content is ready you will need to build it:

$ wt build

Roadmap

  • [ ] documentation

  • [x] [STRIKEOUT:posts list pagination]

  • [ ] support for tags

License

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wt-0.4.0-py3-none-any.whl (21.8 kB view hashes)

Uploaded Python 3

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