Metadata-Version: 2.1
Name: wt
Version: 2.0.1
Summary: Static blog generator
Home-page: https://github.com/ysegorov/wt
Author: Yuri Egorov
Author-email: ysegorov@gmail.com
License: MIT
Keywords: blog static site generator
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: markdown (>=3.0.1)
Requires-Dist: jinja2 (>=2.10)
Requires-Dist: pyyaml (>=3.13)
Requires-Dist: cached-property (>=1.3.0)
Provides-Extra: dev
Requires-Dist: twine (>=1.8.1) ; extra == 'dev'
Requires-Dist: coverage (>=4.2) ; extra == 'dev'
Requires-Dist: pytest (>=3.7.0) ; extra == 'dev'
Requires-Dist: pytest-cov (>=2.3.1) ; extra == 'dev'
Requires-Dist: pytest-describe (>=0.11.0) ; extra == 'dev'

# wt - static blog generator

![Logo](misc/logo96.png)

[![Current Version](https://img.shields.io/pypi/v/wt.svg?style=flat-square)](https://pypi.org/projects/wt/)
[![Build Status](https://img.shields.io/travis/ysegorov/wt/master.svg?style=flat-square)](https://travis-ci.org/ysegorov/wt)


## What

Yet another static blog generator with following features:

- [markdown][markdown] for content
- [yaml][yaml] for configuration
- [jinja2][jinja2] for templates
- [atom][atom] for feed
- two types of content - **page** and **post**
- [yaml][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][wt-docs].


## How

### Requirements

The only hard dependency is **python3**.

### Installation

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

```

### Bootstrapping

```shell
$ wt init .

```

### Configuration

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

### Usage

While writing content (ie in development mode):

```shell
$ 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:

```shell
$ wt build

```


## Roadmap

- [x] ~~documentation~~
- [x] ~~posts list pagination~~
- [ ] support for tags


## License

MIT


[markdown]: http://daringfireball.net/projects/markdown/
[yaml]: http://yaml.org/
[front-matter]: https://jekyllrb.com/docs/front-matter/
[jinja2]: http://jinja.pocoo.org/
[atom]: https://en.wikipedia.org/wiki/Atom_(standard)
[wt-docs]: https://ysegorov.github.io/wt/


