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

  • documentation
  • 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

If you're not sure about the file name format, learn more about wheel file names.

wt-2.1.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file wt-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: wt-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for wt-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 667d12ef4c528dfb093e6ba7849a908d6d5bc358592cc6a23fde2e9eeae024cf
MD5 17909dd708e492d610aa4e83f0af1c0a
BLAKE2b-256 89b398dfb2c56f962a59d7ea5e15ccd0791def0c4106a6bc053d629fd70df05a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page