Mdblog
Create blog from markdown files.
Unstable
This project is at a very early stage and the API is a subject of changes.
Commands
mdblog init blog
mdblog build [-t theme]
mdblog server [-p port]
Usage
$ mdblog init myblog
$ tree myblog
myblog
├── config.toml
├── posts
│ └── hello.md
└── _themes
└── simple
├── static
│ ├── css
│ │ ├── highlight.css
│ │ └── main.css
│ ├── img
│ │ ├── favicon.png
│ │ └── logo.png
│ └── js
│ ├── highlight.js
│ └── main.js
└── templates
├── base.tpl
├── index.tpl
├── post.tpl
└── tag.tpl
8 directories, 12 files
$ cd myblog
$ mdblog build
$ tree .
.
├── _builds
│ ├── blog
│ │ ├── modified.html
│ │ ├── posts
│ │ │ └── hello.html
│ │ └── tags
│ │ ├── hello.html
│ │ └── world.html
│ ├── index.html
│ └── static
│ ├── css
│ │ ├── highlight.css
│ │ └── main.css
│ ├── img
│ │ ├── favicon.png
│ │ └── logo.png
│ └── js
│ ├── highlight.js
│ └── main.js
├── config.toml
├── posts
│ └── hello.md
└── _themes
└── simple
├── static
│ ├── css
│ │ ├── highlight.css
│ │ └── main.css
│ ├── img
│ │ ├── favicon.png
│ │ └── logo.png
│ └── js
│ ├── highlight.js
│ └── main.js
└── templates
├── base.tpl
├── index.tpl
├── post.tpl
└── tag.tpl
16 directories, 23 files
config.toml
[]
= simple