Static site generator written in golang
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore update ignore files Nov 26, 2013
LICENSE add LICENSE Jun 4, 2016
README.md update README.md Mar 2, 2018
builder.go golint Mar 2, 2018
cmd_build.go -s -d for build command Mar 1, 2018
cmd_new.go use flag parser Mar 1, 2018
cmd_newpost.go use flag parser Mar 1, 2018
cmd_serve.go use flag parser Mar 1, 2018
helper.go golint Mar 2, 2018
helper_test.go fixes about go vet Jun 4, 2016
jedie.go use flag parser Mar 1, 2018
jedie_test.go Add some tests Jan 15, 2015
scaffold.go golint Mar 2, 2018
scaffold_test.go golint Mar 2, 2018

README.md

Jedie

GoDoc Go Report Card

     __       ___    
 __ / /__ ___/ (_)__
/ // / -_) _  / / -_)
L___/`__/`_,_/_/`__/

jedie - static site generator, jekyll replacement, in golang.

Install

Requirements

  • golang (of course!)
  • git

Install with go get

$ go get github.com/mattn/jedie

Or, Build after git clone

Get dependencies at first.

git clone https://github.com/mattn/jedie
cd jedie
go get github.com/flosch/pongo2
go get github.com/howeyc/fsnotify
go get github.com/russross/blackfriday
go get gopkg.in/yaml.v1
go build

Usage

At the first, create scaffold

$ mkdir /path/to/blog
$ jedie new /path/to/blog
$ cd /path/to/blog
$ vim _posts/2013-11-23-welcome-to-jedie.md
$ jedie build

Then, you can see your site is built in _site directory. If you want to serve your site with http server:

$ jedie serve

Configuration

name: Your New Jedie Site
description: You love golang, I love golang

For example, you can do your specified conversion like below.

conversion:
  js:
    ext: js
    command: minifyjs -m -i {{from}} -o {{to}}

Author

Yasuhiro Matsumoto (a.k.a mattn)

License

MIT