taniko/saori-skeleton

v3.0.0 2017-05-17 13:53 UTC

This package is not auto-updated.

Last update: 2024-10-27 02:33:08 UTC


README

Installation

composer create-project taniko/saori-skeleton blog

Usage

php saori

# initialize
php saori init

# generate draft file
php saori draft first_article

# edit draft file
vim draft/first_article/article.md
vim draft/first_article/config.json

# post
php saori post first_article

# generate static site
php saori build

Setting

contents/config.json

{
    "id"        :   "username",
    "local"     :   "http://localhost:8000",
    "title"     :   "Example Blog",
    "author"    :   "John Doe",
    "theme"     :   "saori",
    "lang"      :   "en",
    "link"      :   {
        "github"    :   "https://github.com",
        "twitter"   :   "https://twitter.com"
    }
}