Static blog generator
Project description
wt - static blog generator
What
Pretty small and simplified static blog generator with following features:
- markdown for content
- yaml for project configuration
- jinja2 for templating
- atom for feed
- python's standard library
HTTPServer
as a development http server - only two types of content - page and post
- yaml front matter for content metadata
- 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 -
posts list pagination - support for tags
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.