Skip to main content

Static blog generator

Project description

wt - static blog generator

Logo

Current Version Build Status

What

Yet another static blog generator with following features:

  • markdown for content
  • yaml for configuration
  • jinja2 for templates
  • atom for feed
  • two types of content - page and post
  • yaml-formatted front matter for content metadata
  • simple HTTPServer for development

Why

It was curiosity - "how would I do it?" and good intentions - "let's create something easy to work with".

Documentation

wt documentation is available online.

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

  • [x] documentation
  • [x] 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.

Files for wt, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size wt-2.1.1-py3-none-any.whl (23.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page